@livetiles/reach-plugin-types 0.5.0-preview.966 → 0.5.0-preview.968
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 +75 -57
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5905,6 +5905,18 @@ 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/buttons/IconActionButton" {
|
|
5909
|
+
import { MouseEventHandler, SVGProps } from 'react';
|
|
5910
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
5911
|
+
export interface IconActionButtonProps extends Omit<IconProps, 'size'> {
|
|
5912
|
+
disabled?: boolean;
|
|
5913
|
+
domIdentifier?: string;
|
|
5914
|
+
iconSize?: number;
|
|
5915
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
5916
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
5917
|
+
}
|
|
5918
|
+
export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5919
|
+
}
|
|
5908
5920
|
declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
5909
5921
|
export { ReactComponent as AddActiveIcon } from './assets/add-active.svg';
|
|
5910
5922
|
export { ReactComponent as AddIcon } from './assets/add.svg';
|
|
@@ -6004,26 +6016,17 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6004
6016
|
export { ReactComponent as UploadIcon } from './assets/upload.svg';
|
|
6005
6017
|
export { ReactComponent as WindowsIcon } from './assets/windows.svg';
|
|
6006
6018
|
}
|
|
6007
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
|
|
6008
|
-
import { MouseEventHandler, SVGProps } from 'react';
|
|
6009
|
-
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
6010
|
-
export interface IconActionButtonProps extends Omit<IconProps, 'size'> {
|
|
6011
|
-
disabled?: boolean;
|
|
6012
|
-
domIdentifier?: string;
|
|
6013
|
-
iconSize?: number;
|
|
6014
|
-
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
6015
|
-
secondarySVG?: SVGProps<SVGElement>;
|
|
6016
|
-
}
|
|
6017
|
-
export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6018
|
-
}
|
|
6019
6019
|
declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
|
|
6020
6020
|
import { FC } from 'react';
|
|
6021
|
+
export type SearchBoxSizeType = 'Large' | 'Small';
|
|
6021
6022
|
export const SearchBox: FC<{
|
|
6022
|
-
searchText: string;
|
|
6023
|
-
onChange: (searchText: string) => void;
|
|
6024
|
-
placeholder?: string;
|
|
6025
6023
|
autoFocus?: boolean;
|
|
6026
6024
|
className?: string;
|
|
6025
|
+
disabled?: boolean;
|
|
6026
|
+
onChange: (value: string) => void;
|
|
6027
|
+
placeholder?: string;
|
|
6028
|
+
size?: SearchBoxSizeType;
|
|
6029
|
+
value: string;
|
|
6027
6030
|
}>;
|
|
6028
6031
|
}
|
|
6029
6032
|
declare module "libs/reach/ui/common/src/reach-2/TextField" {
|
|
@@ -6252,6 +6255,48 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/IconNavLink" {
|
|
|
6252
6255
|
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
6253
6256
|
}>;
|
|
6254
6257
|
}
|
|
6258
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6259
|
+
import { FC } from 'react';
|
|
6260
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6261
|
+
interface IProfileButtonProps {
|
|
6262
|
+
className?: string;
|
|
6263
|
+
showLabel?: boolean;
|
|
6264
|
+
size?: AvatarSize;
|
|
6265
|
+
}
|
|
6266
|
+
const ProfileButton: FC<IProfileButtonProps>;
|
|
6267
|
+
export default ProfileButton;
|
|
6268
|
+
}
|
|
6269
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
6270
|
+
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>;
|
|
6271
|
+
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>;
|
|
6272
|
+
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>;
|
|
6273
|
+
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>;
|
|
6274
|
+
}
|
|
6275
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6276
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6277
|
+
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6278
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6279
|
+
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6280
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6281
|
+
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6282
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6283
|
+
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6284
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6285
|
+
}
|
|
6286
|
+
declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
|
|
6287
|
+
import { FC } from 'react';
|
|
6288
|
+
interface IOTPInputProps {
|
|
6289
|
+
code: string;
|
|
6290
|
+
codeLength: number;
|
|
6291
|
+
onChange: (code: string) => void;
|
|
6292
|
+
className?: string;
|
|
6293
|
+
}
|
|
6294
|
+
const OTPInput: FC<IOTPInputProps>;
|
|
6295
|
+
export default OTPInput;
|
|
6296
|
+
}
|
|
6297
|
+
declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
|
|
6298
|
+
export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
|
|
6299
|
+
}
|
|
6255
6300
|
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6256
6301
|
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
6257
6302
|
const variantMapping: {
|
|
@@ -6313,48 +6358,6 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
|
6313
6358
|
const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
|
|
6314
6359
|
export default Typography;
|
|
6315
6360
|
}
|
|
6316
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6317
|
-
import { FC } from 'react';
|
|
6318
|
-
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6319
|
-
interface IProfileButtonProps {
|
|
6320
|
-
className?: string;
|
|
6321
|
-
showLabel?: boolean;
|
|
6322
|
-
size?: AvatarSize;
|
|
6323
|
-
}
|
|
6324
|
-
const ProfileButton: FC<IProfileButtonProps>;
|
|
6325
|
-
export default ProfileButton;
|
|
6326
|
-
}
|
|
6327
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
6328
|
-
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>;
|
|
6329
|
-
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>;
|
|
6330
|
-
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>;
|
|
6331
|
-
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>;
|
|
6332
|
-
}
|
|
6333
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6334
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6335
|
-
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6336
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6337
|
-
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6338
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6339
|
-
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6340
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6341
|
-
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6342
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6343
|
-
}
|
|
6344
|
-
declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
|
|
6345
|
-
import { FC } from 'react';
|
|
6346
|
-
interface IOTPInputProps {
|
|
6347
|
-
code: string;
|
|
6348
|
-
codeLength: number;
|
|
6349
|
-
onChange: (code: string) => void;
|
|
6350
|
-
className?: string;
|
|
6351
|
-
}
|
|
6352
|
-
const OTPInput: FC<IOTPInputProps>;
|
|
6353
|
-
export default OTPInput;
|
|
6354
|
-
}
|
|
6355
|
-
declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
|
|
6356
|
-
export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
|
|
6357
|
-
}
|
|
6358
6361
|
declare module "libs/reach/ui/common/src/reach-2/lists/MenuList" {
|
|
6359
6362
|
import { FC, MouseEventHandler } from 'react';
|
|
6360
6363
|
export type MenuItem = {
|
|
@@ -6522,6 +6525,19 @@ declare module "libs/reach/ui/common/src/reach-2/tabs/TabGroup" {
|
|
|
6522
6525
|
export const TabGroup: FC<ITabGroupProps>;
|
|
6523
6526
|
export default TabGroup;
|
|
6524
6527
|
}
|
|
6528
|
+
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6529
|
+
import React from 'react';
|
|
6530
|
+
interface TagProps {
|
|
6531
|
+
className?: string;
|
|
6532
|
+
error?: boolean;
|
|
6533
|
+
icon?: React.ReactNode;
|
|
6534
|
+
label: string;
|
|
6535
|
+
onClick?: () => void;
|
|
6536
|
+
onClose?: () => void;
|
|
6537
|
+
}
|
|
6538
|
+
const Tag: React.FC<TagProps>;
|
|
6539
|
+
export default Tag;
|
|
6540
|
+
}
|
|
6525
6541
|
declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
6526
6542
|
export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
|
|
6527
6543
|
export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
|
|
@@ -6545,7 +6561,9 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
6545
6561
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
|
|
6546
6562
|
export { default as Card } from "libs/reach/ui/common/src/reach-2/surfaces/Card";
|
|
6547
6563
|
export { default as TabGroup } from "libs/reach/ui/common/src/reach-2/tabs/TabGroup";
|
|
6564
|
+
export { default as Tag } from "libs/reach/ui/common/src/reach-2/tags/Tag";
|
|
6548
6565
|
export { default as Typography } from "libs/reach/ui/common/src/reach-2/typography/Typography";
|
|
6566
|
+
export type { ITypographyProps } from "libs/reach/ui/common/src/reach-2/typography/Typography";
|
|
6549
6567
|
export * from "libs/reach/ui/common/src/reach-2/utils";
|
|
6550
6568
|
}
|
|
6551
6569
|
declare module "libs/reach/ui/common/src/index" {
|