@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.
@@ -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
- typography?: TextStyleValue;
165
+ textStyle?: TextStyleValue;
160
166
  }
161
167
  export interface IconBlueprint extends Blueprint {
162
168
  color?: FillDefinitionValue;
@@ -10,5 +10,7 @@ export declare enum ThemeTypes {
10
10
  Typography = 2,
11
11
  Spacing = 3,
12
12
  Blueprints = 4,
13
- Fonts = 5
13
+ Fonts = 5,
14
+ ContainerFill = 6,
15
+ TextFill = 7
14
16
  }
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.393-dev",
4
+ "version": "8.0.395-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"