@omnia/fx-models 8.0.301-dev → 8.0.302-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/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +8 -5
- package/internal-do-not-import-from-here/shared/models/theme/Blueprints.js +11 -1
- package/internal-do-not-import-from-here/shared/models/theme/ThemeDefinition.d.ts +2 -3
- package/internal-do-not-import-from-here/shared/models/theme/Typography.d.ts +14 -1
- package/internal-do-not-import-from-here/shared/models/theme/Typography.js +5 -1
- package/package.json +1 -1
@@ -20,7 +20,8 @@ export interface BoxDimensions extends Spacing {
|
|
20
20
|
export interface Blueprints {
|
21
21
|
name?: string;
|
22
22
|
}
|
23
|
-
export type BlueprintVariant = "primary" | "secondary" | "variant1" | "variant2" | "variant3" | "variant4";
|
23
|
+
export type BlueprintVariant = "primary" | "secondary" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
|
24
|
+
export declare const BlueprintVariants: Array<BlueprintVariant>;
|
24
25
|
export interface ChromeBlueprints extends Blueprints, BlueprintsReference {
|
25
26
|
primary: ChromeBlueprint;
|
26
27
|
variant1?: ChromeBlueprint;
|
@@ -32,6 +33,10 @@ export interface VariantBlueprints<T> extends Blueprints, BlueprintsReference {
|
|
32
33
|
variant2?: T;
|
33
34
|
variant3?: T;
|
34
35
|
variant4?: T;
|
36
|
+
variant5?: T;
|
37
|
+
variant6?: T;
|
38
|
+
variant7?: T;
|
39
|
+
variant8?: T;
|
35
40
|
}
|
36
41
|
export interface HeaderBlueprint extends Blueprint {
|
37
42
|
viewTemplate?: VelcronRendererResolverReference;
|
@@ -89,6 +94,7 @@ export declare enum VelcronBlueprintDefintionTypes {
|
|
89
94
|
button = "button"
|
90
95
|
}
|
91
96
|
export interface Blueprint {
|
97
|
+
name?: string;
|
92
98
|
}
|
93
99
|
export interface SearchBoxBlueprint extends Blueprint {
|
94
100
|
borderRadius?: BoxDimensions;
|
@@ -149,11 +155,8 @@ export interface ButtonBlueprints extends Blueprints {
|
|
149
155
|
variant8?: ButtonBlueprint;
|
150
156
|
};
|
151
157
|
}
|
152
|
-
export interface TabsBlueprints extends Blueprints {
|
158
|
+
export interface TabsBlueprints extends Blueprints, VariantBlueprints<TabsBlueprint> {
|
153
159
|
primary?: TabsBlueprint;
|
154
|
-
variant1?: TabsBlueprint;
|
155
|
-
variant2?: TabsBlueprint;
|
156
|
-
variant3?: TabsBlueprint;
|
157
160
|
}
|
158
161
|
export interface TabsBlueprint extends Blueprint {
|
159
162
|
background?: BackgroundDefinition;
|
@@ -1,6 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.VelcronBlueprintDefintionTypes = exports.WebBlueprintItemDefintionTypes = void 0;
|
3
|
+
exports.VelcronBlueprintDefintionTypes = exports.WebBlueprintItemDefintionTypes = exports.BlueprintVariants = void 0;
|
4
|
+
exports.BlueprintVariants = [
|
5
|
+
"variant1",
|
6
|
+
"variant2",
|
7
|
+
"variant3",
|
8
|
+
"variant4",
|
9
|
+
"variant5",
|
10
|
+
"variant6",
|
11
|
+
"variant7",
|
12
|
+
"variant8"
|
13
|
+
];
|
4
14
|
var WebBlueprintItemDefintionTypes;
|
5
15
|
(function (WebBlueprintItemDefintionTypes) {
|
6
16
|
WebBlueprintItemDefintionTypes["button"] = "button";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { guid } from "../Guid";
|
2
2
|
import { Id } from "../Id";
|
3
|
-
import { BoxDimensions, ButtonBlueprint, ComponentBlueprints, SpacingBlueprints, TypographyBlueprints } from "./Blueprints";
|
3
|
+
import { BlueprintVariant, BoxDimensions, ButtonBlueprint, ComponentBlueprints, SpacingBlueprints, TypographyBlueprints } from "./Blueprints";
|
4
4
|
import { Color } from "./Color";
|
5
5
|
import { LegacyBorderDefinition, LegacyThemeDefinition } from "./LegacyThemeDefinition";
|
6
6
|
import { ThemeBase } from "./ThemeBase";
|
@@ -143,8 +143,7 @@ export interface FillDefinition {
|
|
143
143
|
colors: Array<ColorValue | ColorGradientValue>;
|
144
144
|
acrylic?: boolean;
|
145
145
|
}
|
146
|
-
export type
|
147
|
-
export type FillDefinitionValue = FillVariant | FillDefinition | ColorValue;
|
146
|
+
export type FillDefinitionValue = BlueprintVariant | FillDefinition | ColorValue;
|
148
147
|
export interface LinearGradientFillDefinition extends FillDefinition {
|
149
148
|
degrees: number;
|
150
149
|
}
|
@@ -13,6 +13,11 @@ export interface TypographyBlueprint {
|
|
13
13
|
variant1?: FillDefinition;
|
14
14
|
variant2?: FillDefinition;
|
15
15
|
variant3?: FillDefinition;
|
16
|
+
variant4?: FillDefinition;
|
17
|
+
variant5?: FillDefinition;
|
18
|
+
variant6?: FillDefinition;
|
19
|
+
variant7?: FillDefinition;
|
20
|
+
variant8?: FillDefinition;
|
16
21
|
};
|
17
22
|
title: {
|
18
23
|
xl: TypographyDefinition;
|
@@ -51,6 +56,10 @@ export interface TypographyBlueprint {
|
|
51
56
|
variant2?: TypographyDefinition;
|
52
57
|
variant3?: TypographyDefinition;
|
53
58
|
variant4?: TypographyDefinition;
|
59
|
+
variant5?: TypographyDefinition;
|
60
|
+
variant6?: TypographyDefinition;
|
61
|
+
variant7?: TypographyDefinition;
|
62
|
+
variant8?: TypographyDefinition;
|
54
63
|
font?: TypographyFontRef;
|
55
64
|
};
|
56
65
|
}
|
@@ -93,7 +102,11 @@ export declare enum TypographySizes {
|
|
93
102
|
variant1 = "variant1",
|
94
103
|
variant2 = "variant2",
|
95
104
|
variant3 = "variant3",
|
96
|
-
variant4 = "variant4"
|
105
|
+
variant4 = "variant4",
|
106
|
+
variant5 = "variant5",
|
107
|
+
variant6 = "variant6",
|
108
|
+
variant7 = "variant7",
|
109
|
+
variant8 = "variant8"
|
97
110
|
}
|
98
111
|
/**this reflect TypographySizes for member check*/
|
99
112
|
export declare const AvailableTypographySizes: string[];
|
@@ -19,6 +19,10 @@ var TypographySizes;
|
|
19
19
|
TypographySizes["variant2"] = "variant2";
|
20
20
|
TypographySizes["variant3"] = "variant3";
|
21
21
|
TypographySizes["variant4"] = "variant4";
|
22
|
+
TypographySizes["variant5"] = "variant5";
|
23
|
+
TypographySizes["variant6"] = "variant6";
|
24
|
+
TypographySizes["variant7"] = "variant7";
|
25
|
+
TypographySizes["variant8"] = "variant8";
|
22
26
|
})(TypographySizes || (exports.TypographySizes = TypographySizes = {}));
|
23
27
|
/**this reflect TypographySizes for member check*/
|
24
|
-
exports.AvailableTypographySizes = ["xl", "l", "m", "s", "xs", "variant1", "variant2", "variant3", "variant4"];
|
28
|
+
exports.AvailableTypographySizes = ["xl", "l", "m", "s", "xs", "variant1", "variant2", "variant3", "variant4", "variant5", "variant6", "variant7", "variant8"];
|