@livetiles/reach-plugin-types 0.5.0-preview.735 → 0.5.0-preview.736
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 +25 -7
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="draft-js" />
|
|
3
|
-
declare module "libs/reach/util/common/src/
|
|
4
|
-
export const
|
|
3
|
+
declare module "libs/reach/util/common/src/LegacyFocusStyles" {
|
|
4
|
+
export const LegacyFocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
5
5
|
export const applyFocusStyle: (input: string) => string;
|
|
6
6
|
}
|
|
7
7
|
declare module "libs/reach/util/common/src/GlobalStyles" {
|
|
@@ -3192,22 +3192,23 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
3192
3192
|
isGood: boolean;
|
|
3193
3193
|
};
|
|
3194
3194
|
}
|
|
3195
|
-
declare module "libs/reach/util/common/src/theme/
|
|
3195
|
+
declare module "libs/reach/util/common/src/theme/LegacyThemeContext" {
|
|
3196
3196
|
import { FC, ReactNode } from 'react';
|
|
3197
3197
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
3198
3198
|
import { IReachTheme } from "libs/reach/util/common/src/theme/ThemeService";
|
|
3199
|
-
export const
|
|
3199
|
+
export const LegacyThemeContext: import("react").Context<{
|
|
3200
3200
|
setTheme: (theme: Theme) => unknown;
|
|
3201
3201
|
theme: IReachTheme;
|
|
3202
3202
|
}>;
|
|
3203
|
-
export const
|
|
3203
|
+
export const LegacyThemeContextProvider: FC<{
|
|
3204
|
+
defaultTheme?: Theme;
|
|
3204
3205
|
disableUiFabricThemeOverwrite?: boolean;
|
|
3205
3206
|
children: ReactNode;
|
|
3206
3207
|
}>;
|
|
3207
3208
|
export function useTheme(): IReachTheme;
|
|
3208
3209
|
}
|
|
3209
3210
|
declare module "libs/reach/util/common/src/theme/index" {
|
|
3210
|
-
export * from "libs/reach/util/common/src/theme/
|
|
3211
|
+
export * from "libs/reach/util/common/src/theme/LegacyThemeContext";
|
|
3211
3212
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3212
3213
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3213
3214
|
}
|
|
@@ -3565,12 +3566,29 @@ declare module "libs/reach/util/common/src/reach-2/resources/ResourceContextProv
|
|
|
3565
3566
|
declare module "libs/reach/util/common/src/reach-2/resources/index" {
|
|
3566
3567
|
export * from "libs/reach/util/common/src/reach-2/resources/ResourceContextProvider";
|
|
3567
3568
|
}
|
|
3569
|
+
declare module "libs/reach/util/common/src/reach-2/ThemeContext" {
|
|
3570
|
+
import { FC, ReactNode } from 'react';
|
|
3571
|
+
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
3572
|
+
export const DefaultTheme: Theme;
|
|
3573
|
+
export const ThemeContext: import("react").Context<{
|
|
3574
|
+
setTheme: (theme: Theme) => unknown;
|
|
3575
|
+
theme: any;
|
|
3576
|
+
}>;
|
|
3577
|
+
export const ThemeContextProvider: FC<{
|
|
3578
|
+
children: ReactNode;
|
|
3579
|
+
}>;
|
|
3580
|
+
}
|
|
3581
|
+
declare module "libs/reach/util/common/src/reach-2/FocusStyles" {
|
|
3582
|
+
export const FocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
3583
|
+
}
|
|
3568
3584
|
declare module "libs/reach/util/common/src/reach-2/index" {
|
|
3569
3585
|
export * from "libs/reach/util/common/src/reach-2/NewUserExperienceContext";
|
|
3570
3586
|
export * from "libs/reach/util/common/src/reach-2/useNewExperienceStorage";
|
|
3571
3587
|
export * from "libs/reach/util/common/src/reach-2/GlobalStyles";
|
|
3572
3588
|
export * from "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls";
|
|
3573
3589
|
export * from "libs/reach/util/common/src/reach-2/resources/index";
|
|
3590
|
+
export * from "libs/reach/util/common/src/reach-2/ThemeContext";
|
|
3591
|
+
export * from "libs/reach/util/common/src/reach-2/FocusStyles";
|
|
3574
3592
|
}
|
|
3575
3593
|
declare module "libs/reach/util/common/src/useReachClassNames" {
|
|
3576
3594
|
export function useReachClassNames(): string;
|
|
@@ -3589,7 +3607,7 @@ declare module "libs/reach/util/common/src/authorization/index" {
|
|
|
3589
3607
|
}
|
|
3590
3608
|
declare module "libs/reach/util/common/src/index" {
|
|
3591
3609
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3592
|
-
export * from "libs/reach/util/common/src/
|
|
3610
|
+
export * from "libs/reach/util/common/src/LegacyFocusStyles";
|
|
3593
3611
|
export * from "libs/reach/util/common/src/GlobalStyles";
|
|
3594
3612
|
export * from "libs/reach/util/common/src/reachClassNames";
|
|
3595
3613
|
export * from "libs/reach/util/common/src/PaginatedList";
|