@livetiles/reach-plugin-types 0.5.0-preview.529 → 0.5.0-preview.530
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 +36 -17
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5615,8 +5615,7 @@ declare module "libs/reach/ui/common/src/ColorEditor" {
|
|
|
5615
5615
|
}>;
|
|
5616
5616
|
}
|
|
5617
5617
|
declare module "libs/reach/ui/common/src/reach-2/Icon" {
|
|
5618
|
-
import { FC,
|
|
5619
|
-
import { IButton } from 'office-ui-fabric-react';
|
|
5618
|
+
import { FC, SVGProps } from 'react';
|
|
5620
5619
|
export enum IconLabelDirection {
|
|
5621
5620
|
Row = "row",
|
|
5622
5621
|
Column = "column"
|
|
@@ -5624,22 +5623,11 @@ declare module "libs/reach/ui/common/src/reach-2/Icon" {
|
|
|
5624
5623
|
export interface IconProps {
|
|
5625
5624
|
defaultSVG: SVGProps<SVGElement>;
|
|
5626
5625
|
hoveredSVG?: SVGProps<SVGElement>;
|
|
5627
|
-
selectedSVG?: SVGProps<SVGElement>;
|
|
5628
5626
|
label?: string | number;
|
|
5629
5627
|
labelDirection?: IconLabelDirection;
|
|
5630
5628
|
size?: number;
|
|
5631
5629
|
className?: string;
|
|
5632
5630
|
}
|
|
5633
|
-
export const IconNavLink: FC<IconProps & {
|
|
5634
|
-
to: string;
|
|
5635
|
-
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
5636
|
-
}>;
|
|
5637
|
-
export const IconActionButton: import("react").ForwardRefExoticComponent<IconProps & {
|
|
5638
|
-
onClick: (event: MouseEvent<any>) => void;
|
|
5639
|
-
disabled?: boolean;
|
|
5640
|
-
} & {
|
|
5641
|
-
children?: import("react").ReactNode;
|
|
5642
|
-
} & import("react").RefAttributes<IButton>>;
|
|
5643
5631
|
export const Icon: FC<IconProps>;
|
|
5644
5632
|
}
|
|
5645
5633
|
declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
@@ -5715,7 +5703,7 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
|
5715
5703
|
}
|
|
5716
5704
|
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5717
5705
|
}
|
|
5718
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/
|
|
5706
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
5719
5707
|
import { FC } from 'react';
|
|
5720
5708
|
import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
5721
5709
|
export const OutlinedButton: FC<BaseButtonProps>;
|
|
@@ -5724,8 +5712,38 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/Buttons" {
|
|
|
5724
5712
|
export const TertiaryButton: FC<BaseButtonProps>;
|
|
5725
5713
|
export const TextButton: FC<BaseButtonProps>;
|
|
5726
5714
|
}
|
|
5715
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
|
|
5716
|
+
import { MouseEvent, SVGProps } from 'react';
|
|
5717
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
5718
|
+
export interface IconActionButtonProps extends Omit<IconProps, 'size'> {
|
|
5719
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
5720
|
+
iconSize?: number;
|
|
5721
|
+
onClick: (event: MouseEvent<any>) => void;
|
|
5722
|
+
disabled?: boolean;
|
|
5723
|
+
}
|
|
5724
|
+
export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5725
|
+
}
|
|
5726
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
|
|
5727
|
+
import { SVGProps } from 'react';
|
|
5728
|
+
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
5729
|
+
export interface ContentActionButtonProps extends IconActionButtonProps {
|
|
5730
|
+
selectedSVG?: SVGProps<SVGElement>;
|
|
5731
|
+
}
|
|
5732
|
+
export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5733
|
+
}
|
|
5734
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconNavLink" {
|
|
5735
|
+
import { FC, MouseEvent } from 'react';
|
|
5736
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
5737
|
+
export const IconNavLink: FC<IconProps & {
|
|
5738
|
+
to: string;
|
|
5739
|
+
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
5740
|
+
}>;
|
|
5741
|
+
}
|
|
5727
5742
|
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
5728
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/
|
|
5743
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
5744
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
5745
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
5746
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
5729
5747
|
}
|
|
5730
5748
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
|
|
5731
5749
|
import { FC, MouseEvent } from 'react';
|
|
@@ -10623,6 +10641,7 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextM
|
|
|
10623
10641
|
import { FC } from 'react';
|
|
10624
10642
|
export const ContextMenuButton: FC<{
|
|
10625
10643
|
onDismiss?: () => void;
|
|
10644
|
+
size?: number;
|
|
10626
10645
|
className?: string;
|
|
10627
10646
|
}>;
|
|
10628
10647
|
}
|
|
@@ -10711,10 +10730,10 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLike
|
|
|
10711
10730
|
}>;
|
|
10712
10731
|
}
|
|
10713
10732
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton" {
|
|
10714
|
-
import { FC } from 'react';
|
|
10733
|
+
import { FC, SVGProps } from 'react';
|
|
10715
10734
|
export const ShareButton: FC<{
|
|
10716
10735
|
onClick: () => void;
|
|
10717
|
-
|
|
10736
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
10718
10737
|
className?: string;
|
|
10719
10738
|
}>;
|
|
10720
10739
|
}
|