@omnia/fx-models 8.0.312-dev → 8.0.313-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/Icon.js CHANGED
@@ -45,6 +45,9 @@ class FontAwesomeIcon {
45
45
  }
46
46
  }
47
47
  setIconStyle(style) {
48
+ if (!this.faClass) {
49
+ return;
50
+ }
48
51
  const split = this.faClass.split(" ");
49
52
  const end = split[split.length - 1];
50
53
  this.faClass = style + " " + end;
@@ -23,8 +23,8 @@ export interface ColorStyles {
23
23
  all: object | string;
24
24
  }
25
25
  export interface ColorSchemas extends ColorSchemasReference, AccentBlueprints<ColorSchema> {
26
- primary: ColorSchema;
27
- secondary: ColorSchema;
26
+ primary?: ColorSchema;
27
+ secondary?: ColorSchema;
28
28
  accent1?: ColorSchema;
29
29
  accent2?: ColorSchema;
30
30
  accent3?: ColorSchema;
@@ -34,13 +34,13 @@ export interface ColorSchemas extends ColorSchemasReference, AccentBlueprints<Co
34
34
  accent7?: ColorSchema;
35
35
  accent8?: ColorSchema;
36
36
  accent9?: ColorSchema;
37
- neutral: ColorSchema;
38
- background: ColorSchema;
39
- error: ColorSchema;
40
- info: ColorSchema;
41
- warning: ColorSchema;
42
- notification: ColorSchema;
43
- success: ColorSchema;
37
+ neutral?: ColorSchema;
38
+ background?: ColorSchema;
39
+ error?: ColorSchema;
40
+ info?: ColorSchema;
41
+ warning?: ColorSchema;
42
+ notification?: ColorSchema;
43
+ success?: ColorSchema;
44
44
  }
45
45
  export interface BlueprintsReference {
46
46
  id: guid;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.312-dev",
4
+ "version": "8.0.313-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"