@omnia/fx-models 8.0.455-dev → 8.0.457-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/Layout.d.ts CHANGED
@@ -263,7 +263,7 @@ export interface HeaderItemSettings {
263
263
  titleSettings: BlockTitleSettings;
264
264
  anchorName?: string;
265
265
  scrollIntoViewDisabled: boolean;
266
- titleRenderer?: HeaderBlueprint;
266
+ titleRenderer?: HeaderBlueprint | BlueprintVariant;
267
267
  }
268
268
  export interface SpacingItemSettings {
269
269
  padding: Spacing;
@@ -52,6 +52,12 @@ export declare class HttpBuilder {
52
52
  build(): Http;
53
53
  }
54
54
  export declare class Http {
55
+ static globalInterceptors: Partial<HttpConfig["interceptors"]>;
56
+ /**
57
+ * Set global interceptors for all Http requests
58
+ * @param interceptors Partial<HttpConfig["interceptors"]>
59
+ */
60
+ static setGlobalInterceptors(interceptors: Partial<HttpConfig["interceptors"]>): void;
55
61
  _baseConfig: HttpConfig | Future<HttpConfig> | Promise<HttpConfig>;
56
62
  /**
57
63
  * Create a new instance of Http using the HttpBuilder
@@ -31,10 +31,11 @@ export interface VariantBlueprints<T> extends Blueprints {
31
31
  variant8?: T;
32
32
  }
33
33
  export interface HeaderBlueprint extends Blueprint {
34
- renderer?: VelcronRendererResolverReference | BlueprintVariant;
34
+ renderer?: VelcronRendererResolverReference;
35
35
  state?: any;
36
36
  }
37
- export interface HeaderBlueprints extends VariantBlueprints<HeaderBlueprint>, Blueprints, BlueprintsReference {
37
+ export interface HeaderBlueprints extends Blueprints, VariantBlueprints<HeaderBlueprint>, BlueprintsReference {
38
+ primary?: TabsBlueprint;
38
39
  }
39
40
  export interface TextFillBlueprints extends VariantBlueprints<TextFillBlueprint>, Blueprints, BlueprintsReference {
40
41
  }
@@ -142,6 +143,7 @@ export interface TabsBlueprints extends Blueprints, VariantBlueprints<TabsBluepr
142
143
  export interface TabsBlueprint extends Blueprint {
143
144
  background?: BackgroundDefinition;
144
145
  padding?: Spacing;
146
+ iconPadding?: SpacingValue;
145
147
  margin?: Spacing;
146
148
  vertical?: boolean;
147
149
  hideSlider?: boolean;
@@ -154,13 +156,16 @@ export interface TabsBlueprint extends Blueprint {
154
156
  text?: TextBlueprint;
155
157
  icon?: IconBlueprint;
156
158
  active?: {
159
+ viewTemplate?: VelcronRendererResolverReference;
157
160
  padding?: Spacing;
161
+ iconPadding?: SpacingValue;
158
162
  background?: BackgroundDefinition;
159
163
  text?: TextBlueprint;
160
164
  icon?: IconBlueprint;
161
165
  };
162
166
  inactive?: {
163
167
  background?: BackgroundDefinition;
168
+ viewTemplate?: VelcronRendererResolverReference;
164
169
  };
165
170
  }
166
171
  export interface TextBlueprint extends Blueprint {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.455-dev",
4
+ "version": "8.0.457-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"