@vitality-ds/system-react-native 4.0.0 → 4.0.1-alpha.0
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/dist/esm/stitches.config.js +1 -1
- package/dist/stitches.config.js +1 -1
- package/dist/system-react-native/src/stitches.config.d.ts +163 -163
- package/dist/tokens/src/Elevation/types.d.ts +1 -1
- package/dist/tokens/src/Elevation/types.d.ts.map +1 -1
- package/dist/tokens/src/Font/fontFamilies.d.ts +2 -4
- package/dist/tokens/src/Font/fontFamilies.d.ts.map +1 -1
- package/dist/tokens/src/Font/fontSizes.d.ts +2 -4
- package/dist/tokens/src/Font/fontSizes.d.ts.map +1 -1
- package/dist/tokens/src/Font/fontStyles.d.ts.map +1 -1
- package/dist/tokens/src/Font/types.d.ts +23 -5
- package/dist/tokens/src/Font/types.d.ts.map +1 -1
- package/dist/tokens/src/Radii/types.d.ts +1 -1
- package/dist/tokens/src/Radii/types.d.ts.map +1 -1
- package/dist/tokens/src/Space/types.d.ts +1 -1
- package/dist/tokens/src/Space/types.d.ts.map +1 -1
- package/dist/tokens/src/Theme/constants.d.ts +41 -0
- package/dist/tokens/src/Theme/constants.d.ts.map +1 -0
- package/dist/tokens/src/Theme/getters/getFontSizes.d.ts +7 -7
- package/dist/tokens/src/Theme/getters/getFontSizes.d.ts.map +1 -1
- package/dist/tokens/src/Theme/getters/getFontWeights.d.ts +7 -7
- package/dist/tokens/src/Theme/getters/getFontWeights.d.ts.map +1 -1
- package/dist/tokens/src/Theme/getters/getFonts.d.ts +7 -7
- package/dist/tokens/src/Theme/getters/getFonts.d.ts.map +1 -1
- package/dist/tokens/src/Theme/getters/getLetterSpacings.d.ts +7 -7
- package/dist/tokens/src/Theme/getters/getLetterSpacings.d.ts.map +1 -1
- package/dist/tokens/src/Theme/getters/getLineHeights.d.ts +7 -7
- package/dist/tokens/src/Theme/getters/getLineHeights.d.ts.map +1 -1
- package/dist/tokens/src/Theme/getters/getTheme.d.ts +25 -25
- package/dist/tokens/src/Theme/types.d.ts +1 -1
- package/dist/tokens/src/Theme/types.d.ts.map +1 -1
- package/dist/tokens/src/types.d.ts +1 -1
- package/dist/tokens/src/types.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/tokens/src/Font/constants.d.ts +0 -7
- package/dist/tokens/src/Font/constants.d.ts.map +0 -1
|
@@ -24,7 +24,7 @@ export declare type ElevationsType = {
|
|
|
24
24
|
};
|
|
25
25
|
export declare type ElevationPlatformValues = {
|
|
26
26
|
web: string;
|
|
27
|
-
|
|
27
|
+
reactNative: ElevationToken["dataRN"];
|
|
28
28
|
};
|
|
29
29
|
export declare type ThemeElevationType<T extends Platforms> = {
|
|
30
30
|
[key in ElevationsKeys]: ElevationPlatformValues[T];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Elevation/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,aAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,YAAY,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AACD,oBAAY,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,oBAAY,cAAc,GAAG;KAAG,IAAI,IAAI,cAAc,GAAG,cAAc;CAAE,CAAC;AAE1E,oBAAY,uBAAuB,GAAG;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Elevation/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,aAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,YAAY,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AACD,oBAAY,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,oBAAY,cAAc,GAAG;KAAG,IAAI,IAAI,cAAc,GAAG,cAAc;CAAE,CAAC;AAE1E,oBAAY,uBAAuB,GAAG;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,CAAC,CAAC,SAAS,SAAS,IAAI;KACnD,GAAG,IAAI,cAAc,GAAG,uBAAuB,CAAC,CAAC,CAAC;CACpD,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const FontFamilies:
|
|
3
|
-
[x: string]: FontFamilyToken;
|
|
4
|
-
};
|
|
1
|
+
import { FontFamilyTokens } from "./types";
|
|
2
|
+
declare const FontFamilies: FontFamilyTokens;
|
|
5
3
|
export default FontFamilies;
|
|
6
4
|
//# sourceMappingURL=fontFamilies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontFamilies.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontFamilies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fontFamilies.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontFamilies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,QAAA,MAAM,YAAY,EAAE,gBAuCnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontSizes.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontSizes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fontSizes.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontSizes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAa,MAAM,SAAS,CAAC;AAEpD,QAAA,MAAM,SAAS,EAAE,cAkLhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontStyles.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontStyles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"fontStyles.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/fontStyles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,cAqgBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare type FontSizeValue = {
|
|
|
10
10
|
* Font Size multipler in relative (rem) units.
|
|
11
11
|
*/
|
|
12
12
|
size: number;
|
|
13
|
-
sizeUnit
|
|
13
|
+
sizeUnit?: typeof SIZE_UNIT;
|
|
14
14
|
lineHeight: number;
|
|
15
15
|
letterSpacing: number;
|
|
16
16
|
};
|
|
@@ -25,13 +25,22 @@ export interface FontWeightToken extends BaseToken {
|
|
|
25
25
|
name: "regular" | "medium" | "semibold" | "bold";
|
|
26
26
|
data: FontWeightValue;
|
|
27
27
|
}
|
|
28
|
+
export declare type FontFamilyTokens = {
|
|
29
|
+
[platform in Platforms]: {
|
|
30
|
+
[x in "sans" | "sansDisplay"]: FontFamilyToken;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare type FontSizeTokens = {
|
|
34
|
+
[platform in Platforms]: {
|
|
35
|
+
[x in FontSizeKeys]: FontSizeToken;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
28
38
|
export declare type FontStyleValue = FontSizeValue & FontFamilyValue & {
|
|
29
39
|
weight: number;
|
|
30
40
|
weightAsString: string;
|
|
31
41
|
};
|
|
32
42
|
declare type FontFamilyValue = {
|
|
33
43
|
fontName: string;
|
|
34
|
-
fontFamilyRN: string;
|
|
35
44
|
fontFamily: string;
|
|
36
45
|
};
|
|
37
46
|
export interface FontFamilyToken extends BaseToken {
|
|
@@ -40,13 +49,22 @@ export interface FontFamilyToken extends BaseToken {
|
|
|
40
49
|
export interface FontStyleToken extends BaseToken {
|
|
41
50
|
data: FontStyleValue;
|
|
42
51
|
}
|
|
43
|
-
export declare type
|
|
52
|
+
export declare type FontSizeKeys = "h100" | "h200" | "h300" | "h400" | "h500" | "h600" | "h700" | "h800" | "h900";
|
|
53
|
+
export declare type CommonFontStyleKeys = "display100" | "display200" | "display300" | "display400" | "display500" | "display600" | "display700" | "display800" | "display900";
|
|
54
|
+
export declare type WebFontStyleKeys = "body" | "caption" | "pageTitle" | "sectionTitle" | "sectionSubtitle" | "button" | "textInput" | CommonFontStyleKeys;
|
|
55
|
+
export declare type RnFontStyleKeys = "microcopy" | "caption" | "body" | "sectionSubtitle" | "sectionTitle" | "pageTitle" | "navTitle" | "navTitleCompacted" | "button" | CommonFontStyleKeys;
|
|
56
|
+
declare type FontStyleKeys = WebFontStyleKeys | CommonFontStyleKeys;
|
|
44
57
|
export declare type FontStylesType = {
|
|
45
|
-
|
|
58
|
+
web: {
|
|
59
|
+
[styleName in WebFontStyleKeys]: FontStyleToken;
|
|
60
|
+
};
|
|
61
|
+
reactNative: {
|
|
62
|
+
[styleName in RnFontStyleKeys]: FontStyleToken;
|
|
63
|
+
};
|
|
46
64
|
};
|
|
47
65
|
export declare type FontSizePlatformValues = {
|
|
48
66
|
web: string;
|
|
49
|
-
|
|
67
|
+
reactNative: number;
|
|
50
68
|
};
|
|
51
69
|
export declare type ThemeFontStylesType<T extends Platforms> = {
|
|
52
70
|
FontFamilies: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,SAAS,QAAQ,CAAC;AAE/B,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Font/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -10,7 +10,7 @@ export declare type RadiiType = {
|
|
|
10
10
|
};
|
|
11
11
|
declare type RadiiPlatformValues = {
|
|
12
12
|
web: `${string}px`;
|
|
13
|
-
|
|
13
|
+
reactNative: number;
|
|
14
14
|
};
|
|
15
15
|
export declare type ThemeRadiiType<T extends Platforms> = {
|
|
16
16
|
[key in RadiiKeys]: RadiiPlatformValues[T];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Radii/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,oBAAY,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AACxD,oBAAY,SAAS,GAAG;KAAG,CAAC,IAAI,SAAS,GAAG,WAAW;CAAE,CAAC;AAE1D,aAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,GAAG,MAAM,IAAI,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Radii/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,oBAAY,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AACxD,oBAAY,SAAS,GAAG;KAAG,CAAC,IAAI,SAAS,GAAG,WAAW;CAAE,CAAC;AAE1D,aAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,GAAG,MAAM,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,cAAc,CAAC,CAAC,SAAS,SAAS,IAAI;KAC/C,GAAG,IAAI,SAAS,GAAG,mBAAmB,CAAC,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare type SpaceType = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare type ThemeSpaceValueType = {
|
|
12
12
|
web: string;
|
|
13
|
-
|
|
13
|
+
reactNative: number;
|
|
14
14
|
};
|
|
15
15
|
export declare type ThemeSpaceType<T extends Platforms> = {
|
|
16
16
|
[key in SpaceKeys]: ThemeSpaceValueType[T];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Space/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AACjE,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,oBAAY,SAAS,GAAG;KAAG,CAAC,IAAI,SAAS,GAAG,UAAU;CAAE,CAAC;AACzD,oBAAY,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Space/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AACjE,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,oBAAY,SAAS,GAAG;KAAG,CAAC,IAAI,SAAS,GAAG,UAAU;CAAE,CAAC;AACzD,oBAAY,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,cAAc,CAAC,CAAC,SAAS,SAAS,IAAI;KAC/C,GAAG,IAAI,SAAS,GAAG,mBAAmB,CAAC,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const fontStylesTokens: {
|
|
2
|
+
web: {
|
|
3
|
+
display100: import("..").FontStyleToken;
|
|
4
|
+
display200: import("..").FontStyleToken;
|
|
5
|
+
display300: import("..").FontStyleToken;
|
|
6
|
+
display400: import("..").FontStyleToken;
|
|
7
|
+
display500: import("..").FontStyleToken;
|
|
8
|
+
display600: import("..").FontStyleToken;
|
|
9
|
+
display700: import("..").FontStyleToken;
|
|
10
|
+
display800: import("..").FontStyleToken;
|
|
11
|
+
display900: import("..").FontStyleToken;
|
|
12
|
+
body: import("..").FontStyleToken;
|
|
13
|
+
caption: import("..").FontStyleToken;
|
|
14
|
+
pageTitle: import("..").FontStyleToken;
|
|
15
|
+
sectionTitle: import("..").FontStyleToken;
|
|
16
|
+
sectionSubtitle: import("..").FontStyleToken;
|
|
17
|
+
button: import("..").FontStyleToken;
|
|
18
|
+
textInput: import("..").FontStyleToken;
|
|
19
|
+
};
|
|
20
|
+
reactNative: {
|
|
21
|
+
display100: import("..").FontStyleToken;
|
|
22
|
+
display200: import("..").FontStyleToken;
|
|
23
|
+
display300: import("..").FontStyleToken;
|
|
24
|
+
display400: import("..").FontStyleToken;
|
|
25
|
+
display500: import("..").FontStyleToken;
|
|
26
|
+
display600: import("..").FontStyleToken;
|
|
27
|
+
display700: import("..").FontStyleToken;
|
|
28
|
+
display800: import("..").FontStyleToken;
|
|
29
|
+
display900: import("..").FontStyleToken;
|
|
30
|
+
body: import("..").FontStyleToken;
|
|
31
|
+
caption: import("..").FontStyleToken;
|
|
32
|
+
pageTitle: import("..").FontStyleToken;
|
|
33
|
+
sectionTitle: import("..").FontStyleToken;
|
|
34
|
+
sectionSubtitle: import("..").FontStyleToken;
|
|
35
|
+
button: import("..").FontStyleToken;
|
|
36
|
+
microcopy: import("..").FontStyleToken;
|
|
37
|
+
navTitle: import("..").FontStyleToken;
|
|
38
|
+
navTitleCompacted: import("..").FontStyleToken;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Theme/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG5B,CAAC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Platforms } from "../../types";
|
|
2
2
|
declare const _default: <T extends Platforms>(platform: T) => {
|
|
3
|
-
body: import("../../Font/types").FontSizePlatformValues[T];
|
|
4
|
-
caption: import("../../Font/types").FontSizePlatformValues[T];
|
|
5
|
-
pageTitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
6
|
-
sectionTitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
7
|
-
sectionSubtitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
8
|
-
button: import("../../Font/types").FontSizePlatformValues[T];
|
|
9
|
-
textInput: import("../../Font/types").FontSizePlatformValues[T];
|
|
10
3
|
display100: import("../../Font/types").FontSizePlatformValues[T];
|
|
11
4
|
display200: import("../../Font/types").FontSizePlatformValues[T];
|
|
12
5
|
display300: import("../../Font/types").FontSizePlatformValues[T];
|
|
@@ -16,6 +9,13 @@ declare const _default: <T extends Platforms>(platform: T) => {
|
|
|
16
9
|
display700: import("../../Font/types").FontSizePlatformValues[T];
|
|
17
10
|
display800: import("../../Font/types").FontSizePlatformValues[T];
|
|
18
11
|
display900: import("../../Font/types").FontSizePlatformValues[T];
|
|
12
|
+
body: import("../../Font/types").FontSizePlatformValues[T];
|
|
13
|
+
caption: import("../../Font/types").FontSizePlatformValues[T];
|
|
14
|
+
pageTitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
15
|
+
sectionTitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
16
|
+
sectionSubtitle: import("../../Font/types").FontSizePlatformValues[T];
|
|
17
|
+
button: import("../../Font/types").FontSizePlatformValues[T];
|
|
18
|
+
textInput: import("../../Font/types").FontSizePlatformValues[T];
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
//# sourceMappingURL=getFontSizes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFontSizes.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFontSizes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFontSizes.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFontSizes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;AAkBxC,wBAK4C"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Platforms } from "../../types";
|
|
2
2
|
declare const _default: <T extends Platforms>(platform: T) => {
|
|
3
|
-
body: number;
|
|
4
|
-
caption: number;
|
|
5
|
-
pageTitle: number;
|
|
6
|
-
sectionTitle: number;
|
|
7
|
-
sectionSubtitle: number;
|
|
8
|
-
button: number;
|
|
9
|
-
textInput: number;
|
|
10
3
|
display100: number;
|
|
11
4
|
display200: number;
|
|
12
5
|
display300: number;
|
|
@@ -16,6 +9,13 @@ declare const _default: <T extends Platforms>(platform: T) => {
|
|
|
16
9
|
display700: number;
|
|
17
10
|
display800: number;
|
|
18
11
|
display900: number;
|
|
12
|
+
body: number;
|
|
13
|
+
caption: number;
|
|
14
|
+
pageTitle: number;
|
|
15
|
+
sectionTitle: number;
|
|
16
|
+
sectionSubtitle: number;
|
|
17
|
+
button: number;
|
|
18
|
+
textInput: number;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
//# sourceMappingURL=getFontWeights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFontWeights.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFontWeights.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFontWeights.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFontWeights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;AAkBxC,wBAK8C"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Platforms } from "../../types";
|
|
2
2
|
declare const _default: <T extends Platforms>(platform: T) => {
|
|
3
|
-
body: string;
|
|
4
|
-
caption: string;
|
|
5
|
-
pageTitle: string;
|
|
6
|
-
sectionTitle: string;
|
|
7
|
-
sectionSubtitle: string;
|
|
8
|
-
button: string;
|
|
9
|
-
textInput: string;
|
|
10
3
|
display100: string;
|
|
11
4
|
display200: string;
|
|
12
5
|
display300: string;
|
|
@@ -16,6 +9,13 @@ declare const _default: <T extends Platforms>(platform: T) => {
|
|
|
16
9
|
display700: string;
|
|
17
10
|
display800: string;
|
|
18
11
|
display900: string;
|
|
12
|
+
body: string;
|
|
13
|
+
caption: string;
|
|
14
|
+
pageTitle: string;
|
|
15
|
+
sectionTitle: string;
|
|
16
|
+
sectionSubtitle: string;
|
|
17
|
+
button: string;
|
|
18
|
+
textInput: string;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFonts.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFonts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getFonts.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getFonts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;AAkBxC,wBAW+C"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Platforms } from "../../types";
|
|
2
2
|
declare const _default: <T extends Platforms>(platform: T) => {
|
|
3
|
-
body: number;
|
|
4
|
-
caption: number;
|
|
5
|
-
pageTitle: number;
|
|
6
|
-
sectionTitle: number;
|
|
7
|
-
sectionSubtitle: number;
|
|
8
|
-
button: number;
|
|
9
|
-
textInput: number;
|
|
10
3
|
display100: number;
|
|
11
4
|
display200: number;
|
|
12
5
|
display300: number;
|
|
@@ -16,6 +9,13 @@ declare const _default: <T extends Platforms>(platform: T) => {
|
|
|
16
9
|
display700: number;
|
|
17
10
|
display800: number;
|
|
18
11
|
display900: number;
|
|
12
|
+
body: number;
|
|
13
|
+
caption: number;
|
|
14
|
+
pageTitle: number;
|
|
15
|
+
sectionTitle: number;
|
|
16
|
+
sectionSubtitle: number;
|
|
17
|
+
button: number;
|
|
18
|
+
textInput: number;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
//# sourceMappingURL=getLetterSpacings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLetterSpacings.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getLetterSpacings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getLetterSpacings.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getLetterSpacings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;AAkBxC,wBAKiD"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Platforms } from "../../types";
|
|
2
2
|
declare const _default: <T extends Platforms>(platform: T) => {
|
|
3
|
-
body: number;
|
|
4
|
-
caption: number;
|
|
5
|
-
pageTitle: number;
|
|
6
|
-
sectionTitle: number;
|
|
7
|
-
sectionSubtitle: number;
|
|
8
|
-
button: number;
|
|
9
|
-
textInput: number;
|
|
10
3
|
display100: number;
|
|
11
4
|
display200: number;
|
|
12
5
|
display300: number;
|
|
@@ -16,6 +9,13 @@ declare const _default: <T extends Platforms>(platform: T) => {
|
|
|
16
9
|
display700: number;
|
|
17
10
|
display800: number;
|
|
18
11
|
display900: number;
|
|
12
|
+
body: number;
|
|
13
|
+
caption: number;
|
|
14
|
+
pageTitle: number;
|
|
15
|
+
sectionTitle: number;
|
|
16
|
+
sectionSubtitle: number;
|
|
17
|
+
button: number;
|
|
18
|
+
textInput: number;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
//# sourceMappingURL=getLineHeights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLineHeights.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getLineHeights.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getLineHeights.d.ts","sourceRoot":"","sources":["../../../../../../tokens/src/Theme/getters/getLineHeights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;AAkBxC,wBAK8C"}
|
|
@@ -215,13 +215,6 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
215
215
|
};
|
|
216
216
|
};
|
|
217
217
|
fonts: {
|
|
218
|
-
body: string;
|
|
219
|
-
caption: string;
|
|
220
|
-
pageTitle: string;
|
|
221
|
-
sectionTitle: string;
|
|
222
|
-
sectionSubtitle: string;
|
|
223
|
-
button: string;
|
|
224
|
-
textInput: string;
|
|
225
218
|
display100: string;
|
|
226
219
|
display200: string;
|
|
227
220
|
display300: string;
|
|
@@ -231,16 +224,16 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
231
224
|
display700: string;
|
|
232
225
|
display800: string;
|
|
233
226
|
display900: string;
|
|
227
|
+
body: string;
|
|
228
|
+
caption: string;
|
|
229
|
+
pageTitle: string;
|
|
230
|
+
sectionTitle: string;
|
|
231
|
+
sectionSubtitle: string;
|
|
232
|
+
button: string;
|
|
233
|
+
textInput: string;
|
|
234
234
|
default: string;
|
|
235
235
|
};
|
|
236
236
|
fontSizes: {
|
|
237
|
-
body: import("../..").FontSizePlatformValues[T];
|
|
238
|
-
caption: import("../..").FontSizePlatformValues[T];
|
|
239
|
-
pageTitle: import("../..").FontSizePlatformValues[T];
|
|
240
|
-
sectionTitle: import("../..").FontSizePlatformValues[T];
|
|
241
|
-
sectionSubtitle: import("../..").FontSizePlatformValues[T];
|
|
242
|
-
button: import("../..").FontSizePlatformValues[T];
|
|
243
|
-
textInput: import("../..").FontSizePlatformValues[T];
|
|
244
237
|
display100: import("../..").FontSizePlatformValues[T];
|
|
245
238
|
display200: import("../..").FontSizePlatformValues[T];
|
|
246
239
|
display300: import("../..").FontSizePlatformValues[T];
|
|
@@ -250,15 +243,15 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
250
243
|
display700: import("../..").FontSizePlatformValues[T];
|
|
251
244
|
display800: import("../..").FontSizePlatformValues[T];
|
|
252
245
|
display900: import("../..").FontSizePlatformValues[T];
|
|
246
|
+
body: import("../..").FontSizePlatformValues[T];
|
|
247
|
+
caption: import("../..").FontSizePlatformValues[T];
|
|
248
|
+
pageTitle: import("../..").FontSizePlatformValues[T];
|
|
249
|
+
sectionTitle: import("../..").FontSizePlatformValues[T];
|
|
250
|
+
sectionSubtitle: import("../..").FontSizePlatformValues[T];
|
|
251
|
+
button: import("../..").FontSizePlatformValues[T];
|
|
252
|
+
textInput: import("../..").FontSizePlatformValues[T];
|
|
253
253
|
};
|
|
254
254
|
fontWeights: {
|
|
255
|
-
body: number;
|
|
256
|
-
caption: number;
|
|
257
|
-
pageTitle: number;
|
|
258
|
-
sectionTitle: number;
|
|
259
|
-
sectionSubtitle: number;
|
|
260
|
-
button: number;
|
|
261
|
-
textInput: number;
|
|
262
255
|
display100: number;
|
|
263
256
|
display200: number;
|
|
264
257
|
display300: number;
|
|
@@ -268,8 +261,6 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
268
261
|
display700: number;
|
|
269
262
|
display800: number;
|
|
270
263
|
display900: number;
|
|
271
|
-
};
|
|
272
|
-
letterSpacings: {
|
|
273
264
|
body: number;
|
|
274
265
|
caption: number;
|
|
275
266
|
pageTitle: number;
|
|
@@ -277,6 +268,8 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
277
268
|
sectionSubtitle: number;
|
|
278
269
|
button: number;
|
|
279
270
|
textInput: number;
|
|
271
|
+
};
|
|
272
|
+
letterSpacings: {
|
|
280
273
|
display100: number;
|
|
281
274
|
display200: number;
|
|
282
275
|
display300: number;
|
|
@@ -286,8 +279,6 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
286
279
|
display700: number;
|
|
287
280
|
display800: number;
|
|
288
281
|
display900: number;
|
|
289
|
-
};
|
|
290
|
-
lineHeights: {
|
|
291
282
|
body: number;
|
|
292
283
|
caption: number;
|
|
293
284
|
pageTitle: number;
|
|
@@ -295,6 +286,8 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
295
286
|
sectionSubtitle: number;
|
|
296
287
|
button: number;
|
|
297
288
|
textInput: number;
|
|
289
|
+
};
|
|
290
|
+
lineHeights: {
|
|
298
291
|
display100: number;
|
|
299
292
|
display200: number;
|
|
300
293
|
display300: number;
|
|
@@ -304,6 +297,13 @@ declare const getTheme: <T extends Platforms>(platform: T) => {
|
|
|
304
297
|
display700: number;
|
|
305
298
|
display800: number;
|
|
306
299
|
display900: number;
|
|
300
|
+
body: number;
|
|
301
|
+
caption: number;
|
|
302
|
+
pageTitle: number;
|
|
303
|
+
sectionTitle: number;
|
|
304
|
+
sectionSubtitle: number;
|
|
305
|
+
button: number;
|
|
306
|
+
textInput: number;
|
|
307
307
|
};
|
|
308
308
|
radii: import("../..").ThemeRadiiType<T>;
|
|
309
309
|
shadows: import("../..").ThemeElevationType<T>;
|
|
@@ -3,7 +3,7 @@ import { FontStylesType } from "../Font/types";
|
|
|
3
3
|
import { RadiiType } from "../Radii/types";
|
|
4
4
|
import { SpaceType } from "../Space/types";
|
|
5
5
|
import { Platforms } from "../types";
|
|
6
|
-
declare type PossibleTokens = FontStylesType | RadiiType | ElevationsType | SpaceType;
|
|
6
|
+
declare type PossibleTokens = FontStylesType["web"] | FontStylesType["reactNative"] | RadiiType | ElevationsType | SpaceType;
|
|
7
7
|
export declare type CommonGetterParams = {
|
|
8
8
|
platform: Platforms;
|
|
9
9
|
tokens: PossibleTokens;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,aAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../tokens/src/Theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,aAAK,cAAc,GACf,cAAc,CAAC,KAAK,CAAC,GACrB,cAAc,CAAC,aAAa,CAAC,GAC7B,SAAS,GACT,cAAc,GACd,SAAS,CAAC;AAEd,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,CAAC,SAAS,KAAA,EAAE,QAAQ,EAAE,SAAS,KAAK,OAAO,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../tokens/src/types.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,oBAAY,SAAS,GAAG,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../tokens/src/types.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,oBAAY,SAAS,GAAG,KAAK,GAAG,aAAa,CAAC"}
|