@livetiles/reach-plugin-types 0.5.0-preview.989 → 0.5.0-preview.990
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 +199 -164
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4083,7 +4083,7 @@ declare module "libs/reach/util/common/src/reach-2/GlobalStyles" {
|
|
|
4083
4083
|
import { FC } from 'react';
|
|
4084
4084
|
export const GlobalApp2Styles: FC;
|
|
4085
4085
|
export const BorderStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
4086
|
-
export const EditorScrollbarStyles: (hideWhenNotHovered?: boolean, showBackground?: boolean) => import("styled-components").
|
|
4086
|
+
export const EditorScrollbarStyles: (hideWhenNotHovered?: boolean, showBackground?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4087
4087
|
}
|
|
4088
4088
|
declare module "libs/reach/util/common/src/reach-2/useNewExperienceStorage" {
|
|
4089
4089
|
export function useNewUserExperienceStorage(): {
|
|
@@ -5887,71 +5887,6 @@ 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
|
-
}
|
|
5955
5890
|
declare module "libs/reach/ui/common/src/reach-2/icons/Icon" {
|
|
5956
5891
|
import { FC, SVGProps } from 'react';
|
|
5957
5892
|
interface IconProps {
|
|
@@ -5978,6 +5913,8 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
5978
5913
|
export { ReactComponent as CancelIcon } from './assets/cancel.svg';
|
|
5979
5914
|
export { ReactComponent as ChainActiveIcon } from './assets/chain-active.svg';
|
|
5980
5915
|
export { ReactComponent as ChainIcon } from './assets/chain.svg';
|
|
5916
|
+
export { ReactComponent as Checked } from './assets/checked.svg';
|
|
5917
|
+
export { ReactComponent as ChevronDownIcon } from './assets/chevronDown.svg';
|
|
5981
5918
|
export { ReactComponent as ChevronLeftIcon } from './assets/chevronLeft.svg';
|
|
5982
5919
|
export { ReactComponent as ChevronRightIcon } from './assets/chevronRight.svg';
|
|
5983
5920
|
export { ReactComponent as CloseActiveIcon } from './assets/close-active.svg';
|
|
@@ -6064,6 +6001,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6064
6001
|
export { ReactComponent as TitleActiveIcon } from './assets/title-active.svg';
|
|
6065
6002
|
export { ReactComponent as TitleIcon } from './assets/title.svg';
|
|
6066
6003
|
export { ReactComponent as TrashCanIcon } from './assets/trash-can.svg';
|
|
6004
|
+
export { ReactComponent as Unchecked } from './assets/unchecked.svg';
|
|
6067
6005
|
export { ReactComponent as UploadActiveIcon } from './assets/upload-active.svg';
|
|
6068
6006
|
export { ReactComponent as UploadIcon } from './assets/upload.svg';
|
|
6069
6007
|
export { ReactComponent as WindowsIcon } from './assets/windows.svg';
|
|
@@ -6072,6 +6010,27 @@ declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
|
6072
6010
|
export { default as Icon } from "libs/reach/ui/common/src/reach-2/icons/Icon";
|
|
6073
6011
|
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
6074
6012
|
}
|
|
6013
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
6014
|
+
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
6015
|
+
import { FC } from 'react';
|
|
6016
|
+
export type BasePopoverAlignType = 'start' | 'center' | 'end';
|
|
6017
|
+
export type BasePopoverSideType = 'top' | 'left' | 'bottom' | 'right';
|
|
6018
|
+
export interface BasePopoverProps {
|
|
6019
|
+
align?: BasePopoverAlignType;
|
|
6020
|
+
alignOffset?: number;
|
|
6021
|
+
anchor?: JSX.Element;
|
|
6022
|
+
className?: string;
|
|
6023
|
+
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
6024
|
+
isOpen?: boolean;
|
|
6025
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
6026
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
6027
|
+
onOpenChange?: (open: boolean) => void;
|
|
6028
|
+
side?: BasePopoverSideType;
|
|
6029
|
+
sideOffset?: number;
|
|
6030
|
+
trigger?: JSX.Element;
|
|
6031
|
+
}
|
|
6032
|
+
export const BasePopover: FC<BasePopoverProps>;
|
|
6033
|
+
}
|
|
6075
6034
|
declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
|
|
6076
6035
|
import { FC } from 'react';
|
|
6077
6036
|
export const Skeleton: FC<{
|
|
@@ -6155,6 +6114,170 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
|
6155
6114
|
const BaseIconButton: import("react").ForwardRefExoticComponent<BaseIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6156
6115
|
export default BaseIconButton;
|
|
6157
6116
|
}
|
|
6117
|
+
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6118
|
+
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
6119
|
+
const variantMapping: {
|
|
6120
|
+
readonly body1: "span";
|
|
6121
|
+
readonly body2: "span";
|
|
6122
|
+
readonly buttonLabel1: "span";
|
|
6123
|
+
readonly buttonLabel2: "span";
|
|
6124
|
+
readonly caption1: "span";
|
|
6125
|
+
readonly caption2: "span";
|
|
6126
|
+
readonly h1: "h1";
|
|
6127
|
+
readonly h2: "h2";
|
|
6128
|
+
readonly h3: "h3";
|
|
6129
|
+
readonly h4: "h4";
|
|
6130
|
+
readonly inherit: "span";
|
|
6131
|
+
readonly subtitle1: "span";
|
|
6132
|
+
readonly subtitle2: "span";
|
|
6133
|
+
};
|
|
6134
|
+
export interface ITypographyProps<T extends ElementType = typeof variantMapping['body1']> {
|
|
6135
|
+
/**
|
|
6136
|
+
* Set the text alignment.
|
|
6137
|
+
* @default 'inherit'
|
|
6138
|
+
*/
|
|
6139
|
+
align?: 'center' | 'justify' | 'left' | 'right';
|
|
6140
|
+
/**
|
|
6141
|
+
* The HTML element to use as the container for the text (overrides the variant default HTML element).
|
|
6142
|
+
* @default undefined
|
|
6143
|
+
*/
|
|
6144
|
+
as?: T;
|
|
6145
|
+
/**
|
|
6146
|
+
* Set the font decoration/style.
|
|
6147
|
+
* @default undefined
|
|
6148
|
+
*/
|
|
6149
|
+
decoration?: 'line-through' | 'underline';
|
|
6150
|
+
/**
|
|
6151
|
+
* Whether text should be italic
|
|
6152
|
+
* @default false
|
|
6153
|
+
*/
|
|
6154
|
+
italic?: boolean;
|
|
6155
|
+
/**
|
|
6156
|
+
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
6157
|
+
*
|
|
6158
|
+
* Note that text overflow can only happen with block or inline-block level elements
|
|
6159
|
+
* (the element needs to have a width in order to overflow).
|
|
6160
|
+
* @default false
|
|
6161
|
+
*/
|
|
6162
|
+
noWrap?: boolean;
|
|
6163
|
+
/**
|
|
6164
|
+
* Set the typography variant.
|
|
6165
|
+
* @default 'body1'
|
|
6166
|
+
*/
|
|
6167
|
+
variant?: keyof typeof variantMapping;
|
|
6168
|
+
/**
|
|
6169
|
+
* Set the font weight.
|
|
6170
|
+
* @default 'normal'
|
|
6171
|
+
*/
|
|
6172
|
+
weight?: 'bold' | 'normal' | 'semibold';
|
|
6173
|
+
}
|
|
6174
|
+
type TTypographyOverridenProps<T extends ElementType> = PropsWithChildren<ITypographyProps<T>> & Omit<ComponentPropsWithoutRef<T>, keyof ITypographyProps<T>>;
|
|
6175
|
+
const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
|
|
6176
|
+
export default Typography;
|
|
6177
|
+
}
|
|
6178
|
+
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6179
|
+
import React, { SVGProps } from 'react';
|
|
6180
|
+
interface TagProps {
|
|
6181
|
+
className?: string;
|
|
6182
|
+
error?: boolean;
|
|
6183
|
+
icon?: SVGProps<SVGElement>;
|
|
6184
|
+
label: string;
|
|
6185
|
+
onClick?: () => void;
|
|
6186
|
+
onClose?: () => void;
|
|
6187
|
+
}
|
|
6188
|
+
const Tag: React.FC<TagProps>;
|
|
6189
|
+
export default Tag;
|
|
6190
|
+
}
|
|
6191
|
+
declare module "libs/reach/ui/common/src/reach-2/Select" {
|
|
6192
|
+
import React from 'react';
|
|
6193
|
+
export interface SelectItemProps {
|
|
6194
|
+
id: string;
|
|
6195
|
+
label: string;
|
|
6196
|
+
}
|
|
6197
|
+
interface SelectProps {
|
|
6198
|
+
allowCreation?: boolean;
|
|
6199
|
+
classname?: string;
|
|
6200
|
+
disabled?: boolean;
|
|
6201
|
+
errorItems?: string[];
|
|
6202
|
+
emptyLabel?: string;
|
|
6203
|
+
errorLabel?: string;
|
|
6204
|
+
multiple?: boolean;
|
|
6205
|
+
onAddItem?: (id: string) => void;
|
|
6206
|
+
onInputChange?: (value: string) => void;
|
|
6207
|
+
onRemoveItem?: (id: string) => void;
|
|
6208
|
+
options: SelectItemProps[];
|
|
6209
|
+
placeholder?: string;
|
|
6210
|
+
searchable?: boolean;
|
|
6211
|
+
values?: SelectItemProps[];
|
|
6212
|
+
}
|
|
6213
|
+
const Select: React.FC<SelectProps>;
|
|
6214
|
+
export default Select;
|
|
6215
|
+
}
|
|
6216
|
+
declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
|
|
6217
|
+
export { ReactComponent as Logo } from './logo.svg';
|
|
6218
|
+
export { ReactComponent as Conversation } from './conversations.svg';
|
|
6219
|
+
export { default as Background } from './background.svg';
|
|
6220
|
+
}
|
|
6221
|
+
declare module "libs/reach/ui/common/src/reach-2/assets/index" {
|
|
6222
|
+
export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
|
|
6223
|
+
}
|
|
6224
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
|
|
6225
|
+
import { FC } from 'react';
|
|
6226
|
+
export enum AvatarSize {
|
|
6227
|
+
xxs = 0,
|
|
6228
|
+
xs = 1,
|
|
6229
|
+
sm = 2,
|
|
6230
|
+
md = 3,
|
|
6231
|
+
lg = 4,
|
|
6232
|
+
xl = 5
|
|
6233
|
+
}
|
|
6234
|
+
interface IProps {
|
|
6235
|
+
backgroundColor?: string;
|
|
6236
|
+
className?: string;
|
|
6237
|
+
displayName: string;
|
|
6238
|
+
noInitials?: boolean;
|
|
6239
|
+
size?: AvatarSize;
|
|
6240
|
+
tenantId?: string;
|
|
6241
|
+
userPrincipalName?: string;
|
|
6242
|
+
}
|
|
6243
|
+
const Avatar: FC<IProps>;
|
|
6244
|
+
export default Avatar;
|
|
6245
|
+
}
|
|
6246
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
6247
|
+
import { FC } from 'react';
|
|
6248
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6249
|
+
export interface AvatarUser {
|
|
6250
|
+
displayName?: string;
|
|
6251
|
+
userPrincipalName?: string;
|
|
6252
|
+
}
|
|
6253
|
+
interface CommentsGroupAvatarProps {
|
|
6254
|
+
avatarsLimit?: number;
|
|
6255
|
+
avatarsSize?: AvatarSize;
|
|
6256
|
+
users: AvatarUser[];
|
|
6257
|
+
}
|
|
6258
|
+
const GroupAvatar: FC<CommentsGroupAvatarProps>;
|
|
6259
|
+
export default GroupAvatar;
|
|
6260
|
+
}
|
|
6261
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
6262
|
+
import { FC } from 'react';
|
|
6263
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6264
|
+
interface IProps {
|
|
6265
|
+
className?: string;
|
|
6266
|
+
displayName: string;
|
|
6267
|
+
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
6268
|
+
subtitle?: string | JSX.Element;
|
|
6269
|
+
title: string;
|
|
6270
|
+
userPrincipalName: string;
|
|
6271
|
+
}
|
|
6272
|
+
const Persona: FC<IProps>;
|
|
6273
|
+
export default Persona;
|
|
6274
|
+
}
|
|
6275
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
6276
|
+
export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6277
|
+
export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6278
|
+
export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6279
|
+
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
6280
|
+
}
|
|
6158
6281
|
declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
|
|
6159
6282
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6160
6283
|
export type IconButtonSizeType = 'Large' | 'Medium' | 'Small';
|
|
@@ -6255,67 +6378,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
|
6255
6378
|
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6256
6379
|
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
|
|
6257
6380
|
}
|
|
6258
|
-
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6259
|
-
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
6260
|
-
const variantMapping: {
|
|
6261
|
-
readonly body1: "span";
|
|
6262
|
-
readonly body2: "span";
|
|
6263
|
-
readonly buttonLabel1: "span";
|
|
6264
|
-
readonly buttonLabel2: "span";
|
|
6265
|
-
readonly caption1: "span";
|
|
6266
|
-
readonly caption2: "span";
|
|
6267
|
-
readonly h1: "h1";
|
|
6268
|
-
readonly h2: "h2";
|
|
6269
|
-
readonly h3: "h3";
|
|
6270
|
-
readonly h4: "h4";
|
|
6271
|
-
readonly inherit: "span";
|
|
6272
|
-
readonly subtitle1: "span";
|
|
6273
|
-
readonly subtitle2: "span";
|
|
6274
|
-
};
|
|
6275
|
-
export interface ITypographyProps<T extends ElementType = typeof variantMapping['body1']> {
|
|
6276
|
-
/**
|
|
6277
|
-
* Set the text alignment.
|
|
6278
|
-
* @default 'inherit'
|
|
6279
|
-
*/
|
|
6280
|
-
align?: 'center' | 'justify' | 'left' | 'right';
|
|
6281
|
-
/**
|
|
6282
|
-
* The HTML element to use as the container for the text (overrides the variant default HTML element).
|
|
6283
|
-
* @default undefined
|
|
6284
|
-
*/
|
|
6285
|
-
as?: T;
|
|
6286
|
-
/**
|
|
6287
|
-
* Set the font decoration/style.
|
|
6288
|
-
* @default undefined
|
|
6289
|
-
*/
|
|
6290
|
-
decoration?: 'line-through' | 'underline';
|
|
6291
|
-
/**
|
|
6292
|
-
* Whether text should be italic
|
|
6293
|
-
* @default false
|
|
6294
|
-
*/
|
|
6295
|
-
italic?: boolean;
|
|
6296
|
-
/**
|
|
6297
|
-
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
6298
|
-
*
|
|
6299
|
-
* Note that text overflow can only happen with block or inline-block level elements
|
|
6300
|
-
* (the element needs to have a width in order to overflow).
|
|
6301
|
-
* @default false
|
|
6302
|
-
*/
|
|
6303
|
-
noWrap?: boolean;
|
|
6304
|
-
/**
|
|
6305
|
-
* Set the typography variant.
|
|
6306
|
-
* @default 'body1'
|
|
6307
|
-
*/
|
|
6308
|
-
variant?: keyof typeof variantMapping;
|
|
6309
|
-
/**
|
|
6310
|
-
* Set the font weight.
|
|
6311
|
-
* @default 'normal'
|
|
6312
|
-
*/
|
|
6313
|
-
weight?: 'bold' | 'normal' | 'semibold';
|
|
6314
|
-
}
|
|
6315
|
-
type TTypographyOverridenProps<T extends ElementType> = PropsWithChildren<ITypographyProps<T>> & Omit<ComponentPropsWithoutRef<T>, keyof ITypographyProps<T>>;
|
|
6316
|
-
const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
|
|
6317
|
-
export default Typography;
|
|
6318
|
-
}
|
|
6319
6381
|
declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
|
|
6320
6382
|
import { FC } from 'react';
|
|
6321
6383
|
const Legend: FC<{
|
|
@@ -6383,6 +6445,8 @@ declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
|
|
|
6383
6445
|
disabled?: boolean;
|
|
6384
6446
|
hasDivider?: boolean;
|
|
6385
6447
|
icon?: SVGProps<SVGElement>;
|
|
6448
|
+
id?: string;
|
|
6449
|
+
isFocused?: boolean;
|
|
6386
6450
|
isSelected?: boolean;
|
|
6387
6451
|
label: string;
|
|
6388
6452
|
onClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -6393,13 +6457,14 @@ declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
|
|
|
6393
6457
|
export default MenuItem;
|
|
6394
6458
|
}
|
|
6395
6459
|
declare module "libs/reach/ui/common/src/reach-2/lists/MenuList" {
|
|
6396
|
-
import {
|
|
6460
|
+
import { ReactNode } from 'react';
|
|
6397
6461
|
export interface MenuProps {
|
|
6462
|
+
children: ReactNode;
|
|
6398
6463
|
className?: string;
|
|
6399
6464
|
title?: string;
|
|
6400
6465
|
}
|
|
6401
|
-
const
|
|
6402
|
-
export default
|
|
6466
|
+
const _default_1: import("react").ForwardRefExoticComponent<MenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6467
|
+
export default _default_1;
|
|
6403
6468
|
}
|
|
6404
6469
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
|
|
6405
6470
|
import { FC, MouseEvent } from 'react';
|
|
@@ -6498,25 +6563,6 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog" {
|
|
|
6498
6563
|
description?: string;
|
|
6499
6564
|
}>;
|
|
6500
6565
|
}
|
|
6501
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
6502
|
-
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
6503
|
-
import { FC } from 'react';
|
|
6504
|
-
export type BasePopoverAlignType = 'start' | 'center' | 'end';
|
|
6505
|
-
export type BasePopoverSideType = 'top' | 'left' | 'bottom' | 'right';
|
|
6506
|
-
export interface BasePopoverProps {
|
|
6507
|
-
align?: BasePopoverAlignType;
|
|
6508
|
-
alignOffset?: number;
|
|
6509
|
-
anchor?: JSX.Element;
|
|
6510
|
-
className?: string;
|
|
6511
|
-
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
6512
|
-
isOpen?: boolean;
|
|
6513
|
-
onOpenChange?: (open: boolean) => void;
|
|
6514
|
-
side?: BasePopoverSideType;
|
|
6515
|
-
sideOffset?: number;
|
|
6516
|
-
trigger?: JSX.Element;
|
|
6517
|
-
}
|
|
6518
|
-
export const BasePopover: FC<BasePopoverProps>;
|
|
6519
|
-
}
|
|
6520
6566
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/index" {
|
|
6521
6567
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
6522
6568
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Panel";
|
|
@@ -6569,19 +6615,6 @@ declare module "libs/reach/ui/common/src/reach-2/table/Table" {
|
|
|
6569
6615
|
const Table: FC<TableProps>;
|
|
6570
6616
|
export default Table;
|
|
6571
6617
|
}
|
|
6572
|
-
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6573
|
-
import React, { SVGProps } from 'react';
|
|
6574
|
-
interface TagProps {
|
|
6575
|
-
className?: string;
|
|
6576
|
-
error?: boolean;
|
|
6577
|
-
icon?: SVGProps<SVGElement>;
|
|
6578
|
-
label: string;
|
|
6579
|
-
onClick?: () => void;
|
|
6580
|
-
onClose?: () => void;
|
|
6581
|
-
}
|
|
6582
|
-
const Tag: React.FC<TagProps>;
|
|
6583
|
-
export default Tag;
|
|
6584
|
-
}
|
|
6585
6618
|
declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
6586
6619
|
export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
|
|
6587
6620
|
export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
|
|
@@ -6592,6 +6625,8 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
|
6592
6625
|
}
|
|
6593
6626
|
declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
6594
6627
|
export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
|
|
6628
|
+
export { default as Select } from "libs/reach/ui/common/src/reach-2/Select";
|
|
6629
|
+
export type { SelectItemProps } from "libs/reach/ui/common/src/reach-2/Select";
|
|
6595
6630
|
export * from "libs/reach/ui/common/src/reach-2/assets/index";
|
|
6596
6631
|
export * from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6597
6632
|
export * from "libs/reach/ui/common/src/reach-2/buttons/index";
|
|
@@ -11653,8 +11688,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
11653
11688
|
shortcuts?: string[];
|
|
11654
11689
|
useHardBreak?: boolean;
|
|
11655
11690
|
}
|
|
11656
|
-
const
|
|
11657
|
-
export default
|
|
11691
|
+
const _default_2: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
|
|
11692
|
+
export default _default_2;
|
|
11658
11693
|
}
|
|
11659
11694
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
11660
11695
|
import { FC } from 'react';
|