@omnia/fx-models 8.0.101-dev → 8.0.102-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,6 +1,6 @@
1
1
  import { GuidValue } from "../Guid";
2
2
  import { VelcronAppDefinition } from "../velcron";
3
- import { BoxDimensions } from "./BlueprintDefinition";
3
+ import { BoxDimensions } from "./ComponentDefinitions";
4
4
  import { SpacingSettings } from "./SpacingSetting";
5
5
  import { ColorValue } from "./ThemeDefinitionV2";
6
6
  export interface ChromeDefinition {
@@ -1,3 +1,4 @@
1
+ import { ColorValue } from "./ThemeDefinitionV2";
1
2
  import { ChromeDefinition } from "./ChromeDefinition";
2
3
  import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
3
4
  import { TypographyDefinition } from "./TypographyDefinition";
@@ -35,7 +36,20 @@ export interface SpacingBlueprint extends BlueprintDefinition {
35
36
  }
36
37
  export interface ComponentBlueprint extends BlueprintDefinition {
37
38
  type: "component";
38
- default: BlueprintItemDefinition[];
39
+ buttons?: {
40
+ high: {
41
+ regular: ButtonBlueprint;
42
+ icon: ButtonBlueprint;
43
+ };
44
+ medium: {
45
+ regular: ButtonBlueprint;
46
+ icon: ButtonBlueprint;
47
+ };
48
+ low: {
49
+ regular: ButtonBlueprint;
50
+ icon: ButtonBlueprint;
51
+ };
52
+ };
39
53
  }
40
54
  export interface SpacingItemBluePrintDefinition {
41
55
  layout: SpacingDefinition;
@@ -59,3 +73,20 @@ export interface SearchBoxBlueprint extends BlueprintItemDefinition {
59
73
  borderRadius?: BoxDimensions;
60
74
  variant?: "outlined" | "solo" | "regular" | "plain" | "underlined";
61
75
  }
76
+ export interface ButtonBlueprint extends BlueprintItemDefinition {
77
+ type: "button";
78
+ variant?: "outlined" | "tonal" | "text" | "plain";
79
+ density?: "compact" | "comfortable";
80
+ size?: "x-small" | "small" | "large" | "x-large";
81
+ rounded?: string;
82
+ alterCaps?: boolean;
83
+ background?: {
84
+ color?: ColorValue;
85
+ filled?: boolean;
86
+ opacity?: number;
87
+ };
88
+ textColor?: ColorValue;
89
+ elevation?: number;
90
+ border?: BoxDimensions;
91
+ borderColor?: ColorValue;
92
+ }
@@ -1,5 +1,5 @@
1
1
  import { Guid } from "../Guid";
2
- import { BlueprintDefinition } from "./BlueprintDefinition";
2
+ import { BlueprintDefinition } from "./ComponentDefinitions";
3
3
  export interface ColorTypeResult<resultType> {
4
4
  base: resultType;
5
5
  baseTone: resultType;
@@ -1,5 +1,5 @@
1
1
  import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes } from "./ThemeDefinitionV2";
2
- import { BlueprintDefinition, BlueprintType } from "./BlueprintDefinition";
2
+ import { BlueprintDefinition, BlueprintType } from "./ComponentDefinitions";
3
3
  export declare function useThemeMethods(getThemeDefinition: () => any): {
4
4
  colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => ColorSchema;
5
5
  bluePrintbyType: <TType extends BlueprintDefinition>(type: BlueprintType) => TType;
@@ -1,7 +1,7 @@
1
1
  export * from "./ThemeDefinitionV2";
2
2
  export * from "./TypographyDefinition";
3
3
  export * from "./UseThemeMethods";
4
- export * from "./BlueprintDefinition";
4
+ export * from "./ComponentDefinitions";
5
5
  export * from "./SpacingSetting";
6
6
  export * from "./SharedBlueprintMethods";
7
7
  export * from "./SharedColorMethods";
@@ -5,7 +5,7 @@ tslib_1.__exportStar(require("./ThemeDefinitionV2"), exports);
5
5
  tslib_1.__exportStar(require("./TypographyDefinition"), exports);
6
6
  //export * from "./OmniaThemes";
7
7
  tslib_1.__exportStar(require("./UseThemeMethods"), exports);
8
- tslib_1.__exportStar(require("./BlueprintDefinition"), exports);
8
+ tslib_1.__exportStar(require("./ComponentDefinitions"), exports);
9
9
  tslib_1.__exportStar(require("./SpacingSetting"), exports);
10
10
  tslib_1.__exportStar(require("./SharedBlueprintMethods"), exports);
11
11
  tslib_1.__exportStar(require("./SharedColorMethods"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.101-dev",
4
+ "version": "8.0.102-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"