@omnia/fx-models 8.0.459-dev → 8.0.460-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.
@@ -4,6 +4,7 @@ import { TypographyFontDefinition, TextStyleValue } from "./Typography";
4
4
  import { ThemeBase } from "./ThemeBase";
5
5
  import { VelcronRendererResolverReference } from "../velcron";
6
6
  import { TextAlignment } from "../Enums";
7
+ import { HorizontalAlignments, VerticalAlignments } from "@omnia/fx-models";
7
8
  export interface BlueprintStrategy {
8
9
  buttons: {
9
10
  primary: ButtonBlueprint;
@@ -31,21 +32,28 @@ export interface VariantBlueprints<T> extends Blueprints {
31
32
  variant7?: T;
32
33
  variant8?: T;
33
34
  }
34
- export interface HeaderIconSettings {
35
+ export interface HeaderIconBlueprint {
35
36
  blueprint?: IconBlueprint;
36
37
  background?: BackgroundDefinition;
37
- spacing?: Spacing;
38
+ alignX?: HorizontalAlignments;
39
+ alignY?: VerticalAlignments;
40
+ backgroundHeight?: number;
41
+ margin?: Spacing;
38
42
  }
39
43
  export interface HeaderBlueprint extends Blueprint {
40
44
  /**velcron */
41
45
  renderer?: VelcronRendererResolverReference;
46
+ iconMargin?: SpacingValue;
47
+ noIcon?: boolean;
42
48
  state?: any;
43
49
  /**Settings */
44
50
  background?: BackgroundDefinition;
45
51
  textAlign?: TextAlignment;
46
- padding?: SpacingValue;
52
+ upperCase?: boolean;
53
+ padding?: Spacing;
54
+ margin?: Spacing;
47
55
  text?: TextBlueprint;
48
- iconSettings?: HeaderIconSettings;
56
+ icon?: HeaderIconBlueprint;
49
57
  }
50
58
  export interface HeaderBlueprints extends Blueprints, VariantBlueprints<HeaderBlueprint>, BlueprintsReference {
51
59
  primary?: HeaderBlueprint;
@@ -113,13 +121,16 @@ export interface ButtonBlueprintVariant {
113
121
  category: ButtonBlueprintType;
114
122
  }
115
123
  export interface ButtonBlueprint extends Blueprint {
116
- paddingX?: SpacingValue;
117
- iconPaddingX?: SpacingValue;
124
+ padding?: Spacing;
125
+ iconMargin?: SpacingValue;
118
126
  height?: number;
119
127
  background?: BackgroundDefinition;
120
128
  alterCase?: boolean;
121
129
  text?: TextBlueprint;
122
130
  icon?: IconBlueprint;
131
+ iconPosition?: HorizontalAlignments;
132
+ iconBackground?: BackgroundDefinition;
133
+ iconBackgroundHeight?: number;
123
134
  viewTemplate?: VelcronRendererResolverReference;
124
135
  }
125
136
  export interface ButtonBlueprints extends Blueprints {
@@ -5,7 +5,7 @@ import { DynamicState, VelcronDefinition, VelcronEffects } from "..";
5
5
  import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
6
6
  import { Properties } from "csstype";
7
7
  import type { AnimationOptionsWithOverrides, InViewOptions, VariantDefinition, Variants } from "motion";
8
- import { useColorSchemaStore, useThemeStore } from "internal/fx/ux/mobile";
8
+ import { useColorSchemaStore } from "internal/fx/ux/mobile";
9
9
  export interface ResolvedComponentRenderer {
10
10
  component: unknown;
11
11
  definition: VelcronDefinition;
@@ -83,7 +83,6 @@ export interface VelcronRenderContext {
83
83
  id?: string;
84
84
  rootContext: DynamicState;
85
85
  currentContext: DynamicState;
86
- theming?: ReturnType<typeof useThemeStore>;
87
86
  colors?: ReturnType<typeof useColorSchemaStore>;
88
87
  actions?: {
89
88
  [name: string]: Array<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.459-dev",
4
+ "version": "8.0.460-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -20,4 +20,6 @@ export declare const LayoutEditorCanvasStyles: {
20
20
  settingsDrawer: NestedCSSPropertiesExtends;
21
21
  closeButton: NestedCSSPropertiesExtends;
22
22
  rightResizer: (backgroundColor: string) => NestedCSSPropertiesExtends;
23
+ fixedPane: NestedCSSPropertiesExtends;
24
+ drawerWrapper: NestedCSSPropertiesExtends;
23
25
  };