@livetiles/reach-plugin-types 0.5.0-preview.517 → 0.5.0-preview.519

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +46 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5779,6 +5779,51 @@ declare module "libs/reach/ui/common/src/reach-2/Panel" {
5779
5779
  import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/BaseDialog";
5780
5780
  export const Panel: FC<BaseDialogProps>;
5781
5781
  }
5782
+ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
5783
+ import { MouseEventHandler } from 'react';
5784
+ export type BaseButtonSizeType = 'Default' | 'Small';
5785
+ export interface BaseButtonProps {
5786
+ size?: BaseButtonSizeType;
5787
+ label?: string;
5788
+ icon?: JSX.Element;
5789
+ disabled?: boolean;
5790
+ onClick?: MouseEventHandler<HTMLButtonElement>;
5791
+ className?: string;
5792
+ }
5793
+ export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
5794
+ }
5795
+ declare module "libs/reach/ui/common/src/reach-2/buttons/PrimaryButton" {
5796
+ import { FC } from 'react';
5797
+ import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
5798
+ export const PrimaryButton: FC<BaseButtonProps>;
5799
+ }
5800
+ declare module "libs/reach/ui/common/src/reach-2/buttons/SecondaryButton" {
5801
+ import { FC } from 'react';
5802
+ import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
5803
+ export const SecondaryButton: FC<BaseButtonProps>;
5804
+ }
5805
+ declare module "libs/reach/ui/common/src/reach-2/buttons/TertiaryButton" {
5806
+ import { FC } from 'react';
5807
+ import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
5808
+ export const TertiaryButton: FC<BaseButtonProps>;
5809
+ }
5810
+ declare module "libs/reach/ui/common/src/reach-2/buttons/OutlinedButton" {
5811
+ import { FC } from 'react';
5812
+ import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
5813
+ export const OutlinedButton: FC<BaseButtonProps>;
5814
+ }
5815
+ declare module "libs/reach/ui/common/src/reach-2/buttons/TextButton" {
5816
+ import { FC } from 'react';
5817
+ import { BaseButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
5818
+ export const TextButton: FC<BaseButtonProps>;
5819
+ }
5820
+ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
5821
+ export * from "libs/reach/ui/common/src/reach-2/buttons/PrimaryButton";
5822
+ export * from "libs/reach/ui/common/src/reach-2/buttons/SecondaryButton";
5823
+ export * from "libs/reach/ui/common/src/reach-2/buttons/TertiaryButton";
5824
+ export * from "libs/reach/ui/common/src/reach-2/buttons/OutlinedButton";
5825
+ export * from "libs/reach/ui/common/src/reach-2/buttons/TextButton";
5826
+ }
5782
5827
  declare module "libs/reach/ui/common/src/reach-2/index" {
5783
5828
  export * from "libs/reach/ui/common/src/reach-2/Icon";
5784
5829
  export * from "libs/reach/ui/common/src/reach-2/icons/index";
@@ -5788,6 +5833,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
5788
5833
  export * from "libs/reach/ui/common/src/reach-2/ModalBottomSheetWithStackedChildren";
5789
5834
  export * from "libs/reach/ui/common/src/reach-2/Dialog";
5790
5835
  export * from "libs/reach/ui/common/src/reach-2/Panel";
5836
+ export * from "libs/reach/ui/common/src/reach-2/buttons/index";
5791
5837
  }
5792
5838
  declare module "libs/reach/ui/common/src/index" {
5793
5839
  export * from "libs/reach/ui/common/src/LegacyDialog";
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.517",
7
+ "version": "0.5.0-preview.519",
8
8
  "dependencies": {}
9
9
  }