@omnia/velcron 8.0.114-dev → 8.0.115-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,7 +1,7 @@
|
|
|
1
|
-
import { BackgroundDefinition,
|
|
1
|
+
import { BackgroundDefinition, FillDefinition } from "./ThemeDefinitionV2";
|
|
2
2
|
import { ChromeDefinition } from "./ChromeDefinition";
|
|
3
3
|
import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
|
|
4
|
-
import { TypographyDefinition } from "./TypographyDefinition";
|
|
4
|
+
import { TypographyDefinition, TypographyValue } from "./TypographyDefinition";
|
|
5
5
|
export interface BoxDimensions extends SpacingSettings {
|
|
6
6
|
}
|
|
7
7
|
export interface ChromeBluePrintDefinitions {
|
|
@@ -56,7 +56,7 @@ export interface SpacingItemBluePrintDefinition {
|
|
|
56
56
|
inner: SpacingDefinition;
|
|
57
57
|
}
|
|
58
58
|
export type SpacingBlueprintTypes = "inner" | "layout";
|
|
59
|
-
export type WebBlueprintItemDefintionType = "button" | "searchbox";
|
|
59
|
+
export type WebBlueprintItemDefintionType = "button" | "searchbox" | "text" | "icon";
|
|
60
60
|
export declare enum WebBlueprintItemDefintionTypes {
|
|
61
61
|
button = "button",
|
|
62
62
|
searchbox = "searchbox"
|
|
@@ -75,10 +75,19 @@ export interface SearchBoxBlueprint extends BlueprintItemDefinition {
|
|
|
75
75
|
}
|
|
76
76
|
export interface ButtonBlueprint extends BlueprintItemDefinition {
|
|
77
77
|
type: "button";
|
|
78
|
-
density?: "compact" | "comfortable";
|
|
79
|
-
size?: "x-small" | "small" | "large" | "x-large";
|
|
80
78
|
padding?: SpacingSettings;
|
|
81
79
|
background?: BackgroundDefinition;
|
|
82
80
|
alterCase?: boolean;
|
|
83
|
-
|
|
81
|
+
text?: TextBlueprint;
|
|
82
|
+
icon?: IconBlueprint;
|
|
83
|
+
}
|
|
84
|
+
export interface TextBlueprint extends BlueprintItemDefinition {
|
|
85
|
+
type: "text";
|
|
86
|
+
color?: FillDefinition;
|
|
87
|
+
typography?: TypographyValue;
|
|
88
|
+
}
|
|
89
|
+
export interface IconBlueprint extends BlueprintItemDefinition {
|
|
90
|
+
type: "icon";
|
|
91
|
+
color?: FillDefinition;
|
|
92
|
+
size?: number;
|
|
84
93
|
}
|
|
@@ -45,7 +45,7 @@ export declare enum TypographyTypes {
|
|
|
45
45
|
navigation = "navigation"
|
|
46
46
|
}
|
|
47
47
|
export interface ThemedTypographyValue {
|
|
48
|
-
|
|
48
|
+
type: TypographyType;
|
|
49
49
|
size: TypographySize;
|
|
50
50
|
}
|
|
51
51
|
export type TypographyValue = string | ThemedTypographyValue;
|