@omnia/velcron 8.0.393-dev → 8.0.395-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/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +7 -1
- package/internal-do-not-import-from-here/shared/models/theme/ThemeBase.d.ts +3 -1
- package/internal-do-not-import-from-here/shared/models/theme/ThemeBase.js +2 -0
- package/internal-do-not-import-from-here/shared/models/theme/ThemeDefinition.d.ts +6 -2
- package/package.json +1 -1
|
@@ -36,6 +36,12 @@ export interface HeaderBlueprint extends Blueprint {
|
|
|
36
36
|
}
|
|
37
37
|
export interface HeaderBlueprints extends VariantBlueprints<HeaderBlueprint>, Blueprints, BlueprintsReference {
|
|
38
38
|
}
|
|
39
|
+
export interface TextFillBlueprints extends VariantBlueprints<TextFillBlueprint>, Blueprints, BlueprintsReference {
|
|
40
|
+
}
|
|
41
|
+
export interface TextFillBlueprint extends Blueprints, BlueprintsReference {
|
|
42
|
+
name?: string;
|
|
43
|
+
fill: FillDefinitionValue;
|
|
44
|
+
}
|
|
39
45
|
export interface ContainerFillBlueprints extends VariantBlueprints<ContainerFillBlueprint>, Blueprints, BlueprintsReference {
|
|
40
46
|
}
|
|
41
47
|
export interface ContainerFillBlueprint extends Blueprints, BlueprintsReference {
|
|
@@ -156,7 +162,7 @@ export interface TabsBlueprint extends Blueprint {
|
|
|
156
162
|
}
|
|
157
163
|
export interface TextBlueprint extends Blueprint {
|
|
158
164
|
color?: FillDefinitionValue;
|
|
159
|
-
|
|
165
|
+
textStyle?: TextStyleValue;
|
|
160
166
|
}
|
|
161
167
|
export interface IconBlueprint extends Blueprint {
|
|
162
168
|
color?: FillDefinitionValue;
|
|
@@ -9,4 +9,6 @@ var ThemeTypes;
|
|
|
9
9
|
ThemeTypes[ThemeTypes["Spacing"] = 3] = "Spacing";
|
|
10
10
|
ThemeTypes[ThemeTypes["Blueprints"] = 4] = "Blueprints";
|
|
11
11
|
ThemeTypes[ThemeTypes["Fonts"] = 5] = "Fonts";
|
|
12
|
+
ThemeTypes[ThemeTypes["ContainerFill"] = 6] = "ContainerFill";
|
|
13
|
+
ThemeTypes[ThemeTypes["TextFill"] = 7] = "TextFill";
|
|
12
14
|
})(ThemeTypes || (exports.ThemeTypes = ThemeTypes = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { guid } from "../Guid";
|
|
2
2
|
import { Id } from "../Id";
|
|
3
|
-
import { BlueprintVariant, BoxDimensions, ButtonBlueprint, ComponentBlueprints, SpacingBlueprint } from "./Blueprints";
|
|
3
|
+
import { BlueprintVariant, BoxDimensions, ButtonBlueprint, ComponentBlueprints, ContainerFillBlueprints, SpacingBlueprint, TextFillBlueprints } from "./Blueprints";
|
|
4
4
|
import { Color } from "./Color";
|
|
5
5
|
import { LegacyBorderDefinition, LegacyThemeDefinition } from "./LegacyThemeDefinition";
|
|
6
6
|
import { ThemeBase } from "./ThemeBase";
|
|
@@ -76,6 +76,8 @@ export interface ResolvedThemeDefinition extends ThemeDefinition<ColorSchemas> {
|
|
|
76
76
|
typography?: TypographyBlueprint;
|
|
77
77
|
spacing?: SpacingBlueprint;
|
|
78
78
|
components?: ComponentBlueprints;
|
|
79
|
+
containerFill?: ContainerFillBlueprints;
|
|
80
|
+
textFill?: TextFillBlueprints;
|
|
79
81
|
}
|
|
80
82
|
export interface ThemeSelection {
|
|
81
83
|
adminThemeId?: guid;
|
|
@@ -87,7 +89,7 @@ export interface ITemplateRegistration<TTemplateType = any> {
|
|
|
87
89
|
hidden?: boolean;
|
|
88
90
|
custom?: boolean;
|
|
89
91
|
}
|
|
90
|
-
export type TemplateRegistrationType = "button" | "fill" | "border" | "tabs" | "chrome" | "chromes" | "components" | "spacings" | "spacing" | "typography" | "icons" | "colorschema" | "theme" | "availablefonts";
|
|
92
|
+
export type TemplateRegistrationType = "button" | "fill" | "border" | "tabs" | "chrome" | "chromes" | "components" | "spacings" | "spacing" | "typography" | "icons" | "colorschema" | "theme" | "availablefonts" | "containerfills" | "textfills";
|
|
91
93
|
export interface ITemplateRegistration<TTemplateType = any, TType = TemplateRegistrationType> {
|
|
92
94
|
type: TemplateRegistrationType;
|
|
93
95
|
id: guid;
|
|
@@ -285,6 +287,8 @@ export interface ThemeDefinition<TColor = ColorSchemasReferenceId> extends Theme
|
|
|
285
287
|
colors?: TColor;
|
|
286
288
|
typographyId?: ThemeDefinitionId;
|
|
287
289
|
spacingId?: ThemeDefinitionId;
|
|
290
|
+
containerFillId?: ThemeDefinitionId;
|
|
291
|
+
textFillId?: ThemeDefinitionId;
|
|
288
292
|
componentsId?: ThemeDefinitionId;
|
|
289
293
|
chrome?: {
|
|
290
294
|
versionLayoutId: number;
|