@omnia/fx-models 8.0.395-dev → 8.0.397-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 { guid, FilterEngineSettings, RollupMetricSettings, BorderStylingDefinition, ColorValue, Spacing, TextBlueprint, FillDefinitionValue, ContainerFillBlueprint } from "@omnia/fx-models";
1
+ import { guid, FilterEngineSettings, RollupMetricSettings, BorderStylingDefinition, ColorValue, Spacing, TextBlueprint, TextFillDefinitionValue, ContainerFillBlueprint } from "@omnia/fx-models";
2
2
  import { EnterprisePropertyDefinition } from "../enterprise-properties/EnterpriseProperty";
3
3
  import { AppInstanceScopedQueryTypes, PropertyIndexedType } from "../Enums";
4
4
  import { MultilingualString } from "../MultilingualString";
@@ -99,7 +99,7 @@ export interface AppInstanceRollupCardViewSettings extends AppInstanceRollupView
99
99
  overlayColor: ColorValue;
100
100
  titleOnImageColor: ColorValue;
101
101
  textBlueprint?: TextBlueprint;
102
- overlay?: FillDefinitionValue;
102
+ overlay?: TextFillDefinitionValue;
103
103
  container?: ContainerFillBlueprint;
104
104
  }
105
105
  export interface AppInstanceRollupCardViewTermProperty {
@@ -1,4 +1,4 @@
1
- import { BackgroundDefinition, BlueprintsReference, ColorValue, FillDefinitionValue } from "./ThemeDefinition";
1
+ import { BackgroundDefinition, BlueprintsReference, ColorValue, TextFillDefinitionValue } from "./ThemeDefinition";
2
2
  import { SpacingDefinition, Spacing, SpacingValue } from "./Spacing";
3
3
  import { TypographyFontDefinition, TextStyleValue } from "./Typography";
4
4
  import { ThemeBase } from "./ThemeBase";
@@ -40,10 +40,11 @@ export interface TextFillBlueprints extends VariantBlueprints<TextFillBlueprint>
40
40
  }
41
41
  export interface TextFillBlueprint extends Blueprints, BlueprintsReference {
42
42
  name?: string;
43
- fill: FillDefinitionValue;
43
+ fill: TextFillDefinitionValue;
44
44
  }
45
45
  export interface ContainerFillBlueprints extends VariantBlueprints<ContainerFillBlueprint>, Blueprints, BlueprintsReference {
46
46
  }
47
+ export type ContainerFillValue = BlueprintVariant | ContainerFillBlueprint;
47
48
  export interface ContainerFillBlueprint extends Blueprints, BlueprintsReference {
48
49
  name?: string;
49
50
  background?: BackgroundDefinition;
@@ -161,14 +162,14 @@ export interface TabsBlueprint extends Blueprint {
161
162
  };
162
163
  }
163
164
  export interface TextBlueprint extends Blueprint {
164
- color?: FillDefinitionValue;
165
+ color?: TextFillDefinitionValue;
165
166
  textStyle?: TextStyleValue;
166
167
  }
167
168
  export interface IconBlueprint extends Blueprint {
168
- color?: FillDefinitionValue;
169
+ color?: TextFillDefinitionValue;
169
170
  size?: number;
170
171
  }
171
172
  export interface ChipBlueprint extends Blueprint {
172
- bgColor?: FillDefinitionValue;
173
- textColor?: FillDefinitionValue;
173
+ bgColor?: TextFillDefinitionValue;
174
+ textColor?: TextFillDefinitionValue;
174
175
  }
@@ -155,7 +155,7 @@ export interface ColorGradientValue {
155
155
  }
156
156
  /**Background */
157
157
  export interface BackgroundDefinition {
158
- fill?: FillDefinitionValue;
158
+ fill?: TextFillDefinitionValue;
159
159
  border?: BorderStylingDefinition;
160
160
  elevation?: number;
161
161
  media?: BackgroundMediaDefinition;
@@ -170,7 +170,7 @@ export interface FillDefinition {
170
170
  colors: Array<ColorValue | ColorGradientValue>;
171
171
  acrylic?: boolean;
172
172
  }
173
- export type FillDefinitionValue = BlueprintVariant | FillDefinition | ColorValue;
173
+ export type TextFillDefinitionValue = BlueprintVariant | FillDefinition | ColorValue;
174
174
  export interface LinearGradientFillDefinition extends FillDefinition {
175
175
  degrees: number;
176
176
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.395-dev",
4
+ "version": "8.0.397-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"