@livetiles/reach-plugin-types 0.5.0-preview.1183 → 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.
- package/lib/index.d.ts +7 -0
- 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;
|