@livetiles/reach-plugin-types 0.5.0-preview.1182 → 0.5.0-preview.1184

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 +24 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3956,6 +3956,12 @@ declare module "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogg
3956
3956
  export function usePageScrollDirectionForTogglingControls(disableOnLargeScreen?: boolean, maximumAllowedScreenWidth?: number, upThreshold?: number, downThreshold?: number): boolean;
3957
3957
  export function useDirectionAwarePageScrollListener(onScrollDown: () => void, onScrollUp: () => void, shouldDisable?: (containerWidth: number) => boolean, upThreshold?: number, downThreshold?: number): void;
3958
3958
  }
3959
+ declare module "libs/reach/util/common/src/reach-2/channels/useChannelsQuery" {
3960
+ import { Channel } from "libs/reach/util/common/src/channels/index";
3961
+ export const useChannelsQuery: () => {
3962
+ renameChannel: (id: string, name: string) => Promise<Channel>;
3963
+ };
3964
+ }
3959
3965
  declare module "libs/reach/util/common/src/reach-2/index" {
3960
3966
  export * from "libs/reach/util/common/src/reach-2/FocusStyles";
3961
3967
  export * from "libs/reach/util/common/src/reach-2/GlobalStyles";
@@ -3965,6 +3971,7 @@ declare module "libs/reach/util/common/src/reach-2/index" {
3965
3971
  export * from "libs/reach/util/common/src/reach-2/nested-groups/index";
3966
3972
  export * from "libs/reach/util/common/src/reach-2/resources/index";
3967
3973
  export * from "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls";
3974
+ export * from "libs/reach/util/common/src/reach-2/channels/useChannelsQuery";
3968
3975
  }
3969
3976
  declare module "libs/reach/util/common/src/reachClassNames" {
3970
3977
  export const reachClassNames: string;
@@ -6647,6 +6654,22 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6647
6654
  const OTPInput: FC<IOTPInputProps>;
6648
6655
  export default OTPInput;
6649
6656
  }
6657
+ declare module "libs/reach/ui/common/src/reach-2/inputs/RadioGroup" {
6658
+ import { ReactNode } from 'react';
6659
+ interface IRadioOption<T> {
6660
+ content?: ReactNode;
6661
+ label: ReactNode;
6662
+ value: T;
6663
+ }
6664
+ interface IRadioGroupProps<T> {
6665
+ name: string;
6666
+ onChange: (value: T) => void;
6667
+ options: IRadioOption<T>[];
6668
+ selectedValue: T;
6669
+ }
6670
+ const RadioGroup: <T extends string | number = string>({ name, onChange, options, selectedValue, }: IRadioGroupProps<T>) => JSX.Element;
6671
+ export default RadioGroup;
6672
+ }
6650
6673
  declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6651
6674
  import { FC } from 'react';
6652
6675
  import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
@@ -6672,6 +6695,7 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/Textarea" {
6672
6695
  declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6673
6696
  export { default as Input } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6674
6697
  export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6698
+ export { default as RadioGroup } from "libs/reach/ui/common/src/reach-2/inputs/RadioGroup";
6675
6699
  export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6676
6700
  export { default as Textarea } from "libs/reach/ui/common/src/reach-2/inputs/Textarea";
6677
6701
  }
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.1182",
7
+ "version": "0.5.0-preview.1184",
8
8
  "dependencies": {}
9
9
  }