@atb-as/theme 14.4.0 → 15.0.1
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/CHANGELOG.md +18 -0
- package/lib/generated/typography.css +185 -239
- package/lib/generated/typography.module.css +185 -239
- package/lib/typography/android.js +48 -69
- package/lib/typography/android.js.map +1 -1
- package/lib/typography/ios.js +45 -68
- package/lib/typography/ios.js.map +1 -1
- package/lib/typography/types.d.ts +1 -1
- package/lib/typography/types.js +15 -21
- package/lib/typography/types.js.map +1 -1
- package/package.json +1 -1
package/lib/typography/ios.js
CHANGED
|
@@ -12,25 +12,41 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.iosTextTypeStyles = exports.iosFontData = void 0;
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
var SEMIBOLD_WEIGHT = '600';
|
|
16
|
+
var xSmallBase = {
|
|
17
|
+
fontSize: 12,
|
|
18
|
+
lineHeight: 16,
|
|
19
|
+
letterSpacing: 0,
|
|
19
20
|
};
|
|
20
|
-
var
|
|
21
|
+
var smallBase = {
|
|
21
22
|
fontSize: 14,
|
|
22
|
-
lineHeight:
|
|
23
|
+
lineHeight: 18,
|
|
23
24
|
letterSpacing: -0.15,
|
|
24
25
|
};
|
|
25
|
-
var
|
|
26
|
-
fontSize:
|
|
27
|
-
lineHeight:
|
|
28
|
-
letterSpacing: 0,
|
|
26
|
+
var mediumBase = {
|
|
27
|
+
fontSize: 16,
|
|
28
|
+
lineHeight: 20,
|
|
29
|
+
letterSpacing: -0.3,
|
|
29
30
|
};
|
|
30
|
-
var
|
|
31
|
-
fontSize:
|
|
32
|
-
lineHeight:
|
|
33
|
-
letterSpacing: 0,
|
|
31
|
+
var largeBase = {
|
|
32
|
+
fontSize: 20,
|
|
33
|
+
lineHeight: 24,
|
|
34
|
+
letterSpacing: -0.3,
|
|
35
|
+
};
|
|
36
|
+
var xLargeBase = {
|
|
37
|
+
fontSize: 24,
|
|
38
|
+
lineHeight: 28,
|
|
39
|
+
letterSpacing: -0.3,
|
|
40
|
+
};
|
|
41
|
+
var xxLargeBase = {
|
|
42
|
+
fontSize: 32,
|
|
43
|
+
lineHeight: 36,
|
|
44
|
+
letterSpacing: -0.3,
|
|
45
|
+
};
|
|
46
|
+
var xxxLargeBase = {
|
|
47
|
+
fontSize: 36,
|
|
48
|
+
lineHeight: 44,
|
|
49
|
+
letterSpacing: -0.3,
|
|
34
50
|
};
|
|
35
51
|
exports.iosFontData = {
|
|
36
52
|
main: {
|
|
@@ -38,59 +54,20 @@ exports.iosFontData = {
|
|
|
38
54
|
},
|
|
39
55
|
};
|
|
40
56
|
exports.iosTextTypeStyles = {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
'body__primary--jumbo': {
|
|
57
|
-
fontSize: 36,
|
|
58
|
-
lineHeight: 40,
|
|
59
|
-
letterSpacing: 0.41,
|
|
60
|
-
},
|
|
61
|
-
'body__primary--jumbo--bold': {
|
|
62
|
-
fontSize: 36,
|
|
63
|
-
lineHeight: 40,
|
|
64
|
-
letterSpacing: 0.41,
|
|
65
|
-
fontWeight: 'bold',
|
|
66
|
-
},
|
|
67
|
-
body__secondary: secondaryBase,
|
|
68
|
-
'body__secondary--bold': __assign(__assign({}, secondaryBase), { fontWeight: '600' }),
|
|
69
|
-
body__tertiary: tertiaryBase,
|
|
70
|
-
'body__tertiary--bold': __assign(__assign({}, tertiaryBase), { fontWeight: '600' }),
|
|
71
|
-
'body__tertiary--strike': __assign(__assign({}, tertiaryBase), { textDecorationLine: 'line-through' }),
|
|
72
|
-
'body__tertiary--uppercase': __assign(__assign({}, primaryBase), { textTransform: 'uppercase' }),
|
|
73
|
-
heading__title: __assign(__assign({}, primaryBase), { fontWeight: 'bold' }),
|
|
74
|
-
heading__component: __assign(__assign({}, primaryBase), { fontWeight: '600' }),
|
|
75
|
-
heading__paragraph: __assign(__assign({}, primaryBase), { fontWeight: '600' }),
|
|
76
|
-
'heading--medium': {
|
|
77
|
-
fontSize: 20,
|
|
78
|
-
lineHeight: 24,
|
|
79
|
-
letterSpacing: -0.31,
|
|
80
|
-
fontWeight: '600',
|
|
81
|
-
},
|
|
82
|
-
'heading--big': {
|
|
83
|
-
fontSize: 24,
|
|
84
|
-
lineHeight: 28,
|
|
85
|
-
letterSpacing: -0.31,
|
|
86
|
-
fontWeight: '600',
|
|
87
|
-
},
|
|
88
|
-
'heading--jumbo': {
|
|
89
|
-
fontSize: 32,
|
|
90
|
-
lineHeight: 38,
|
|
91
|
-
letterSpacing: -0.31,
|
|
92
|
-
fontWeight: '600',
|
|
93
|
-
},
|
|
94
|
-
label__uppercase: __assign(__assign({}, labelBase), { textTransform: 'uppercase' }),
|
|
57
|
+
body__m: __assign({}, mediumBase),
|
|
58
|
+
body__m__strong: __assign(__assign({}, mediumBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
59
|
+
body__m__underline: __assign(__assign({}, mediumBase), { textDecorationLine: 'underline' }),
|
|
60
|
+
body__m__strike: __assign(__assign({}, mediumBase), { textDecorationLine: 'line-through' }),
|
|
61
|
+
body__s: __assign({}, smallBase),
|
|
62
|
+
body__s__strong: __assign(__assign({}, smallBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
63
|
+
body__xs: __assign({}, xSmallBase),
|
|
64
|
+
body__xs__strike: __assign(__assign({}, xSmallBase), { textDecorationLine: 'line-through' }),
|
|
65
|
+
heading__3xl: __assign(__assign({}, xxxLargeBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
66
|
+
heading__2xl: __assign(__assign({}, xxLargeBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
67
|
+
heading__xl: __assign(__assign({}, xLargeBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
68
|
+
heading__l: __assign(__assign({}, largeBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
69
|
+
heading__m: __assign(__assign({}, mediumBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
70
|
+
heading__s: __assign(__assign({}, smallBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
71
|
+
heading__xs: __assign(__assign({}, xSmallBase), { fontWeight: SEMIBOLD_WEIGHT }),
|
|
95
72
|
};
|
|
96
73
|
//# sourceMappingURL=ios.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ios.js","sourceRoot":"","sources":["../../src/typography/ios.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,IAAM,
|
|
1
|
+
{"version":3,"file":"ios.js","sourceRoot":"","sources":["../../src/typography/ios.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,IAAM,eAAe,GAAG,KAAK,CAAC;AAE9B,IAAM,UAAU,GAAc;IAC5B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC;CACjB,CAAC;AACF,IAAM,SAAS,GAAc;IAC3B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,IAAI;CACrB,CAAC;AACF,IAAM,UAAU,GAAc;IAC5B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,GAAG;CACpB,CAAC;AACF,IAAM,SAAS,GAAc;IAC3B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,GAAG;CACpB,CAAC;AACF,IAAM,UAAU,GAAc;IAC5B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,GAAG;CACpB,CAAC;AACF,IAAM,WAAW,GAAc;IAC7B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,GAAG;CACpB,CAAC;AACF,IAAM,YAAY,GAAc;IAC9B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,GAAG;CACpB,CAAC;AAEW,QAAA,WAAW,GAAa;IACnC,IAAI,EAAE;QACJ,UAAU,EAAE,kDAAkD;KAC/D;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAmB;IAC/C,OAAO,eACF,UAAU,CACd;IACD,eAAe,wBACV,UAAU,KACb,UAAU,EAAE,eAAe,GAC5B;IACD,kBAAkB,wBACb,UAAU,KACb,kBAAkB,EAAE,WAAW,GAChC;IACD,eAAe,wBACV,UAAU,KACb,kBAAkB,EAAE,cAAc,GACnC;IACD,OAAO,eACF,SAAS,CACb;IACD,eAAe,wBACV,SAAS,KACZ,UAAU,EAAE,eAAe,GAC5B;IACD,QAAQ,eACH,UAAU,CACd;IACD,gBAAgB,wBACX,UAAU,KACb,kBAAkB,EAAE,cAAc,GACnC;IACD,YAAY,wBACP,YAAY,KACf,UAAU,EAAE,eAAe,GAC5B;IACD,YAAY,wBACP,WAAW,KACd,UAAU,EAAE,eAAe,GAC5B;IACD,WAAW,wBACN,UAAU,KACb,UAAU,EAAE,eAAe,GAC5B;IACD,UAAU,wBACL,SAAS,KACZ,UAAU,EAAE,eAAe,GAC5B;IACD,UAAU,wBACL,UAAU,KACb,UAAU,EAAE,eAAe,GAC5B;IACD,UAAU,wBACL,SAAS,KACZ,UAAU,EAAE,eAAe,GAC5B;IACD,WAAW,wBACN,UAAU,KACb,UAAU,EAAE,eAAe,GAC5B;CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const textNames: readonly ["
|
|
1
|
+
export declare const textNames: readonly ["body__m", "body__m__strong", "body__m__underline", "body__m__strike", "body__s", "body__s__strong", "body__xs", "body__xs__strike", "heading__3xl", "heading__2xl", "heading__xl", "heading__l", "heading__m", "heading__s", "heading__xs"];
|
|
2
2
|
export type FontMetadata = {
|
|
3
3
|
url?: string;
|
|
4
4
|
fontFamily: string;
|
package/lib/typography/types.js
CHANGED
|
@@ -2,26 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.textNames = void 0;
|
|
4
4
|
exports.textNames = [
|
|
5
|
-
'
|
|
6
|
-
'
|
|
7
|
-
'
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'heading__component',
|
|
21
|
-
'heading__paragraph',
|
|
22
|
-
'heading--medium',
|
|
23
|
-
'heading--big',
|
|
24
|
-
'heading--jumbo',
|
|
25
|
-
'label__uppercase',
|
|
5
|
+
'body__m',
|
|
6
|
+
'body__m__strong',
|
|
7
|
+
'body__m__underline',
|
|
8
|
+
'body__m__strike',
|
|
9
|
+
'body__s',
|
|
10
|
+
'body__s__strong',
|
|
11
|
+
'body__xs',
|
|
12
|
+
'body__xs__strike',
|
|
13
|
+
'heading__3xl',
|
|
14
|
+
'heading__2xl',
|
|
15
|
+
'heading__xl',
|
|
16
|
+
'heading__l',
|
|
17
|
+
'heading__m',
|
|
18
|
+
'heading__s',
|
|
19
|
+
'heading__xs',
|
|
26
20
|
];
|
|
27
21
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/typography/types.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/typography/types.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,SAAS;IACT,iBAAiB;IACjB,oBAAoB;IACpB,iBAAiB;IACjB,SAAS;IACT,iBAAiB;IACjB,UAAU;IACV,kBAAkB;IAClB,cAAc;IACd,cAAc;IACd,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,aAAa;CACL,CAAC"}
|