@livetiles/reach-plugin-types 0.5.0-preview.1140 → 0.5.0-preview.1142
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 +51 -49
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6442,55 +6442,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
|
|
|
6442
6442
|
const FloatingButton: FC<FloatingButtonProps>;
|
|
6443
6443
|
export default FloatingButton;
|
|
6444
6444
|
}
|
|
6445
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6446
|
-
import { FC } from 'react';
|
|
6447
|
-
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6448
|
-
interface IProfileButtonProps {
|
|
6449
|
-
className?: string;
|
|
6450
|
-
showLabel?: boolean;
|
|
6451
|
-
size?: AvatarSize;
|
|
6452
|
-
}
|
|
6453
|
-
const ProfileButton: FC<IProfileButtonProps>;
|
|
6454
|
-
export default ProfileButton;
|
|
6455
|
-
}
|
|
6456
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButton" {
|
|
6457
|
-
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>;
|
|
6458
|
-
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>;
|
|
6459
|
-
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>;
|
|
6460
|
-
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>;
|
|
6461
|
-
}
|
|
6462
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6463
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6464
|
-
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6465
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6466
|
-
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6467
|
-
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6468
|
-
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6469
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
|
|
6470
|
-
}
|
|
6471
|
-
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
6472
|
-
import { FC } from 'react';
|
|
6473
|
-
interface Props {
|
|
6474
|
-
value: string;
|
|
6475
|
-
showWeekDay?: boolean;
|
|
6476
|
-
showAsRelative?: boolean;
|
|
6477
|
-
showAsAbsolute?: boolean;
|
|
6478
|
-
className?: string;
|
|
6479
|
-
}
|
|
6480
|
-
export const DateTimeDisplay: FC<Props>;
|
|
6481
|
-
}
|
|
6482
|
-
declare module "libs/reach/ui/common/src/reach-2/divider/Divider" {
|
|
6483
|
-
import { FC } from 'react';
|
|
6484
|
-
type Orientation = 'horizontal' | 'vertical';
|
|
6485
|
-
interface IDividerProps {
|
|
6486
|
-
className?: string;
|
|
6487
|
-
marginEnd?: number;
|
|
6488
|
-
marginStart?: number;
|
|
6489
|
-
orientation?: Orientation;
|
|
6490
|
-
}
|
|
6491
|
-
export const Divider: FC<IDividerProps>;
|
|
6492
|
-
export default Divider;
|
|
6493
|
-
}
|
|
6494
6445
|
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6495
6446
|
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
6496
6447
|
const variantMapping: {
|
|
@@ -6552,6 +6503,56 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
|
6552
6503
|
const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
|
|
6553
6504
|
export default Typography;
|
|
6554
6505
|
}
|
|
6506
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6507
|
+
import { FC } from 'react';
|
|
6508
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6509
|
+
interface IProfileButtonProps {
|
|
6510
|
+
className?: string;
|
|
6511
|
+
disabled?: boolean;
|
|
6512
|
+
showLabel?: boolean;
|
|
6513
|
+
size?: AvatarSize;
|
|
6514
|
+
}
|
|
6515
|
+
const ProfileButton: FC<IProfileButtonProps>;
|
|
6516
|
+
export default ProfileButton;
|
|
6517
|
+
}
|
|
6518
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButton" {
|
|
6519
|
+
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>;
|
|
6520
|
+
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>;
|
|
6521
|
+
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>;
|
|
6522
|
+
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>;
|
|
6523
|
+
}
|
|
6524
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6525
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6526
|
+
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6527
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6528
|
+
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6529
|
+
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6530
|
+
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6531
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
|
|
6532
|
+
}
|
|
6533
|
+
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
6534
|
+
import { FC } from 'react';
|
|
6535
|
+
interface Props {
|
|
6536
|
+
value: string;
|
|
6537
|
+
showWeekDay?: boolean;
|
|
6538
|
+
showAsRelative?: boolean;
|
|
6539
|
+
showAsAbsolute?: boolean;
|
|
6540
|
+
className?: string;
|
|
6541
|
+
}
|
|
6542
|
+
export const DateTimeDisplay: FC<Props>;
|
|
6543
|
+
}
|
|
6544
|
+
declare module "libs/reach/ui/common/src/reach-2/divider/Divider" {
|
|
6545
|
+
import { FC } from 'react';
|
|
6546
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
6547
|
+
interface IDividerProps {
|
|
6548
|
+
className?: string;
|
|
6549
|
+
marginEnd?: number;
|
|
6550
|
+
marginStart?: number;
|
|
6551
|
+
orientation?: Orientation;
|
|
6552
|
+
}
|
|
6553
|
+
export const Divider: FC<IDividerProps>;
|
|
6554
|
+
export default Divider;
|
|
6555
|
+
}
|
|
6555
6556
|
declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
|
|
6556
6557
|
import { FC } from 'react';
|
|
6557
6558
|
const Legend: FC<{
|
|
@@ -12874,6 +12875,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12874
12875
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
12875
12876
|
import { FC } from 'react';
|
|
12876
12877
|
interface ICommentEditorProps {
|
|
12878
|
+
autofocus?: boolean;
|
|
12877
12879
|
comment?: Comment;
|
|
12878
12880
|
isCollapsed?: boolean;
|
|
12879
12881
|
isSaving?: boolean;
|