@livetiles/reach-plugin-types 0.5.0-preview.960 → 0.5.0-preview.961
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 +16 -12
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6157,7 +6157,7 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
|
6157
6157
|
iconPosition?: 'left' | 'right';
|
|
6158
6158
|
isLoading?: boolean;
|
|
6159
6159
|
label?: string;
|
|
6160
|
-
onClick
|
|
6160
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
6161
6161
|
size?: BaseButtonSizeType;
|
|
6162
6162
|
}
|
|
6163
6163
|
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -6170,16 +6170,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
|
|
|
6170
6170
|
}
|
|
6171
6171
|
export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6172
6172
|
}
|
|
6173
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton" {
|
|
6174
|
-
import { FC } from 'react';
|
|
6175
|
-
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6176
|
-
interface FloatingActionButtonProps extends IconActionButtonProps {
|
|
6177
|
-
offsetRight?: number;
|
|
6178
|
-
offsetBottom?: number;
|
|
6179
|
-
}
|
|
6180
|
-
const FloatingActionButton: FC<FloatingActionButtonProps>;
|
|
6181
|
-
export default FloatingActionButton;
|
|
6182
|
-
}
|
|
6183
6173
|
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
6184
6174
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6185
6175
|
export interface BaseIconButtonProps {
|
|
@@ -6194,6 +6184,20 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
|
6194
6184
|
const BaseIconButton: import("react").ForwardRefExoticComponent<BaseIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6195
6185
|
export default BaseIconButton;
|
|
6196
6186
|
}
|
|
6187
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
|
|
6188
|
+
import { FC, MouseEventHandler, SVGProps } from 'react';
|
|
6189
|
+
export type FloatingButtonSizeType = 'Large' | 'Small';
|
|
6190
|
+
interface FloatingButtonProps {
|
|
6191
|
+
buttonSize?: FloatingButtonSizeType;
|
|
6192
|
+
className?: string;
|
|
6193
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6194
|
+
disabled?: boolean;
|
|
6195
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6196
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6197
|
+
}
|
|
6198
|
+
const FloatingButton: FC<FloatingButtonProps>;
|
|
6199
|
+
export default FloatingButton;
|
|
6200
|
+
}
|
|
6197
6201
|
declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
|
|
6198
6202
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6199
6203
|
export type IconButtonSizeType = 'Large' | 'Medium' | 'Small';
|
|
@@ -6299,7 +6303,7 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
|
6299
6303
|
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6300
6304
|
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6301
6305
|
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6302
|
-
export { default as
|
|
6306
|
+
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6303
6307
|
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6304
6308
|
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6305
6309
|
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|