@omnia/fx 8.0.298-dev → 8.0.299-dev

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.
@@ -1,4 +1,4 @@
1
- import { OmniaEnvironmentContext, Theme, OmniaTokenContext, IOmniaContext, IBusinessProfile, IMessageBusTopicSubscription, ITenant, guid, UserWithPropertyBag, IAppRoute } from "../models";
1
+ import { OmniaEnvironmentContext, LegacyTheming, OmniaTokenContext, IOmniaContext, IBusinessProfile, IMessageBusTopicSubscription, ITenant, guid, UserWithPropertyBag, IAppRoute } from "../models";
2
2
  /**
3
3
  * Provides Omnia related contexts. This context should be injected using @Inject(OmniaContext)
4
4
  * @class OmniaContext
@@ -33,7 +33,7 @@ export declare class OmniaContext implements IOmniaContext {
33
33
  /**
34
34
  * Theming related context
35
35
  */
36
- get theming(): Theme;
36
+ get theming(): LegacyTheming;
37
37
  /**
38
38
  * Information about current user
39
39
  */
@@ -1,4 +1,4 @@
1
- import { IOmniaContext, IMutableContextProvider, OmniaEnvironmentContext, Theme, OmniaTokenContext, IMessageBusTopicSubscription, IMutableContext, IBusinessProfile, HttpHeaders, ITenant, guid, UserWithPropertyBag, IAppRoute, AppInstanceContext } from "../models";
1
+ import { IOmniaContext, IMutableContextProvider, OmniaEnvironmentContext, LegacyTheming, OmniaTokenContext, IMessageBusTopicSubscription, IMutableContext, IBusinessProfile, HttpHeaders, ITenant, guid, UserWithPropertyBag, IAppRoute, AppInstanceContext } from "../models";
2
2
  import { AxiosResponse } from "axios";
3
3
  declare global {
4
4
  let _spPageContextInfo: {
@@ -22,7 +22,7 @@ export declare class OmniaContextProvider implements IMutableContextProvider<IOm
22
22
  get businessProfile(): IBusinessProfile;
23
23
  get appRoute(): IAppRoute;
24
24
  get tenant(): ITenant;
25
- get theming(): Theme;
25
+ get theming(): LegacyTheming;
26
26
  get user(): Promise<UserWithPropertyBag>;
27
27
  get tokens(): OmniaTokenContext;
28
28
  get activatedFeatures(): guid[];
@@ -1,6 +1,6 @@
1
1
  import { Color, LegacyThemeColorDefinition, ThemeStyling, LegacyThemeDefinition, LegacyBorderDefinition } from "../../models";
2
2
  import { OmniaTheming } from "../OmniaTheming";
3
- import { guid, ThemeType } from "../../models";
3
+ import { guid, LegacyThemeType } from "../../models";
4
4
  export declare class ThemeManager {
5
5
  static omniaTheming: OmniaTheming;
6
6
  static isDarkColor(color: string): boolean;
@@ -24,5 +24,5 @@ export declare class ThemeManager {
24
24
  static MigrateBorder(borderDefinition: LegacyBorderDefinition): void;
25
25
  static CreateThemeStylingFromDefinition(themeDefinition: LegacyThemeColorDefinition): ThemeStyling;
26
26
  static CreateDefaultBorderDefinition(): LegacyBorderDefinition;
27
- static CreateThemeDefinition(primaryColor: string, secondaryColor: string, name: string, themeType: ThemeType, id?: guid, readOnly?: boolean): LegacyThemeDefinition;
27
+ static CreateThemeDefinition(primaryColor: string, secondaryColor: string, name: string, themeType: LegacyThemeType, id?: guid, readOnly?: boolean): LegacyThemeDefinition;
28
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.298-dev",
4
+ "version": "8.0.299-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.298-dev",
23
+ "@omnia/fx-models": "8.0.299-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",