@omnia/fx-models 8.0.533-dev → 8.0.535-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.
package/Tenant.d.ts
CHANGED
|
@@ -24,6 +24,11 @@ export declare class TenantLanguageSettings extends TenantProperty {
|
|
|
24
24
|
excludeCountry?: boolean;
|
|
25
25
|
constructor();
|
|
26
26
|
}
|
|
27
|
+
export declare class TenantLegacyChrome extends TenantProperty {
|
|
28
|
+
versionLayoutId: number;
|
|
29
|
+
publishedVersionId: number;
|
|
30
|
+
constructor();
|
|
31
|
+
}
|
|
27
32
|
export declare class TenantThemeManager extends TenantProperty {
|
|
28
33
|
constructor();
|
|
29
34
|
selected: ThemeSelection;
|
package/Tenant.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantPreSetup = exports.TenantFaviconSettings = exports.TenantEnterpriseGlossary = exports.AllEnterprisePropertyDataTypesContentHashSettings = exports.AllEnterprisePropertiesContentHashSettings = exports.TenantApiSettings = exports.TenantPeopleInformation = exports.TenantTypographyFonts = exports.TenantAuthenticationSettings = exports.TenantInfoSettings = exports.TenantErrorInformation = exports.TenantCSOMClientContextFallbackUrl = exports.TenantThemeManager = exports.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
|
3
|
+
exports.TenantPreSetup = exports.TenantFaviconSettings = exports.TenantEnterpriseGlossary = exports.AllEnterprisePropertyDataTypesContentHashSettings = exports.AllEnterprisePropertiesContentHashSettings = exports.TenantApiSettings = exports.TenantPeopleInformation = exports.TenantTypographyFonts = exports.TenantAuthenticationSettings = exports.TenantInfoSettings = exports.TenantErrorInformation = exports.TenantCSOMClientContextFallbackUrl = exports.TenantThemeManager = exports.TenantLegacyChrome = exports.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
|
4
4
|
const ManifestIds_1 = require("./shared-mobile/ManifestIds");
|
|
5
5
|
const shared_mobile_1 = require("./shared-mobile");
|
|
6
6
|
class TenantProperty extends shared_mobile_1.OmniaNamedModel {
|
|
@@ -18,6 +18,12 @@ class TenantLanguageSettings extends TenantProperty {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.TenantLanguageSettings = TenantLanguageSettings;
|
|
21
|
+
class TenantLegacyChrome extends TenantProperty {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(ManifestIds_1.OmniaService.Id, "legacyChrome");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.TenantLegacyChrome = TenantLegacyChrome;
|
|
21
27
|
class TenantThemeManager extends TenantProperty {
|
|
22
28
|
constructor() {
|
|
23
29
|
super(ManifestIds_1.OmniaService.Id, "themingManager");
|
|
@@ -28,13 +28,13 @@ export interface EditorChromeConfiguration {
|
|
|
28
28
|
title?: string;
|
|
29
29
|
hidden?: boolean | (() => boolean);
|
|
30
30
|
icon?: IIcon;
|
|
31
|
-
journey?: boolean;
|
|
32
31
|
onActivated?: () => void;
|
|
33
32
|
focused?: boolean;
|
|
34
33
|
settings?: {
|
|
35
34
|
displayResizable?: boolean;
|
|
36
35
|
zoomable?: boolean;
|
|
37
36
|
backNavigation?: boolean;
|
|
37
|
+
renderingMode?: "default" | "journey" | "center-panel";
|
|
38
38
|
};
|
|
39
39
|
active?: boolean;
|
|
40
40
|
rightDrawer?: {
|
|
@@ -110,6 +110,7 @@ export interface ICssRules {
|
|
|
110
110
|
boxShadow(boxShadow: string): StylexValue;
|
|
111
111
|
textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
|
|
112
112
|
textFillColor(textFillColor: string): StylexValue;
|
|
113
|
+
borderColor(borderColor: string): StylexValue;
|
|
113
114
|
};
|
|
114
115
|
nest: {
|
|
115
116
|
iframe: {
|
|
@@ -2,6 +2,7 @@ import { guid } from "../Guid";
|
|
|
2
2
|
import { FillDefinition } from "./ThemeDefinition";
|
|
3
3
|
import { ThemeBase } from "./ThemeBase";
|
|
4
4
|
import { VariantBlueprints } from "./Blueprints";
|
|
5
|
+
import { MultilingualString } from "../MultilingualString";
|
|
5
6
|
export interface TypographyFontDefinition extends ThemeBase {
|
|
6
7
|
family: string;
|
|
7
8
|
cdn?: string;
|
|
@@ -120,6 +121,15 @@ export interface ThemedTextStyleValue {
|
|
|
120
121
|
italic?: boolean;
|
|
121
122
|
bold?: boolean;
|
|
122
123
|
}
|
|
124
|
+
export interface TextStyleConfiguration {
|
|
125
|
+
id: guid;
|
|
126
|
+
title: MultilingualString;
|
|
127
|
+
builtin?: boolean;
|
|
128
|
+
isDefault?: boolean;
|
|
129
|
+
role?: "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
130
|
+
textStyle: TextStyleValue;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
}
|
|
123
133
|
export type TextStyleValue = TextStyleDefinition | ThemedTextStyleValue;
|
|
124
134
|
export type TextStyleBreakpointType = "lg" | "md" | "sm";
|
|
125
135
|
export type TextStyleSize = keyof typeof TextStyleSizes;
|