@omnia/velcron 8.0.402-dev → 8.0.403-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.
|
@@ -87,9 +87,9 @@ export interface TextStyleDefinition {
|
|
|
87
87
|
}
|
|
88
88
|
export interface TextStyleBreakPoint {
|
|
89
89
|
custom?: boolean;
|
|
90
|
-
weight
|
|
91
|
-
size
|
|
92
|
-
lineHeight
|
|
90
|
+
weight?: number;
|
|
91
|
+
size?: number;
|
|
92
|
+
lineHeight?: number;
|
|
93
93
|
letterSpacing?: number;
|
|
94
94
|
}
|
|
95
95
|
export interface TypographyFontRef {
|
|
@@ -102,7 +102,8 @@ export declare enum TextStyleTypes {
|
|
|
102
102
|
navigation = "navigation",
|
|
103
103
|
label = "label",
|
|
104
104
|
variants = "variants",
|
|
105
|
-
fills = "fills"
|
|
105
|
+
fills = "fills",
|
|
106
|
+
typeScale = "typeScale"
|
|
106
107
|
}
|
|
107
108
|
export interface ThemedTextStyleValue {
|
|
108
109
|
type: TextStyleType;
|
|
@@ -123,7 +124,17 @@ export declare enum TextStyleSizes {
|
|
|
123
124
|
variant5 = "variant5",
|
|
124
125
|
variant6 = "variant6",
|
|
125
126
|
variant7 = "variant7",
|
|
126
|
-
variant8 = "variant8"
|
|
127
|
+
variant8 = "variant8",
|
|
128
|
+
scale1 = "s1",
|
|
129
|
+
scale2 = "s2",
|
|
130
|
+
scale3 = "s3",
|
|
131
|
+
scale4 = "s4",
|
|
132
|
+
scale5 = "s5",
|
|
133
|
+
scale6 = "s6",
|
|
134
|
+
scale7 = "s7",
|
|
135
|
+
scale8 = "s8",
|
|
136
|
+
scale9 = "s9",
|
|
137
|
+
scale10 = "s10"
|
|
127
138
|
}
|
|
128
139
|
/**this reflect TypographySizes for member check*/
|
|
129
140
|
export declare const AvailableTextStyleSizes: string[];
|
|
@@ -10,6 +10,7 @@ var TextStyleTypes;
|
|
|
10
10
|
//button = "button",
|
|
11
11
|
TextStyleTypes["variants"] = "variants";
|
|
12
12
|
TextStyleTypes["fills"] = "fills";
|
|
13
|
+
TextStyleTypes["typeScale"] = "typeScale";
|
|
13
14
|
})(TextStyleTypes || (exports.TextStyleTypes = TextStyleTypes = {}));
|
|
14
15
|
var TextStyleSizes;
|
|
15
16
|
(function (TextStyleSizes) {
|
|
@@ -26,6 +27,16 @@ var TextStyleSizes;
|
|
|
26
27
|
TextStyleSizes["variant6"] = "variant6";
|
|
27
28
|
TextStyleSizes["variant7"] = "variant7";
|
|
28
29
|
TextStyleSizes["variant8"] = "variant8";
|
|
30
|
+
TextStyleSizes["scale1"] = "s1";
|
|
31
|
+
TextStyleSizes["scale2"] = "s2";
|
|
32
|
+
TextStyleSizes["scale3"] = "s3";
|
|
33
|
+
TextStyleSizes["scale4"] = "s4";
|
|
34
|
+
TextStyleSizes["scale5"] = "s5";
|
|
35
|
+
TextStyleSizes["scale6"] = "s6";
|
|
36
|
+
TextStyleSizes["scale7"] = "s7";
|
|
37
|
+
TextStyleSizes["scale8"] = "s8";
|
|
38
|
+
TextStyleSizes["scale9"] = "s9";
|
|
39
|
+
TextStyleSizes["scale10"] = "s10";
|
|
29
40
|
})(TextStyleSizes || (exports.TextStyleSizes = TextStyleSizes = {}));
|
|
30
41
|
/**this reflect TypographySizes for member check*/
|
|
31
|
-
exports.AvailableTextStyleSizes = ["xl", "l", "m", "s", "xs", "variant1", "variant2", "variant3", "variant4", "variant5", "variant6", "variant7", "variant8"];
|
|
42
|
+
exports.AvailableTextStyleSizes = ["xl", "l", "m", "s", "xs", "variant1", "variant2", "variant3", "variant4", "variant5", "variant6", "variant7", "variant8", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10"];
|