@xhsreds/reds-token-next 0.2.15-beta202502261948 → 0.2.15-beta202502271458

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.
@@ -3,89 +3,89 @@
3
3
  var fontWeight = require('../const/fontWeight.js');
4
4
 
5
5
  const H1 = {
6
- FontWeight: fontWeight.FontWeight.Semibold,
7
- FontSize: 32,
8
- LineHeight: 40
6
+ fontWeight: fontWeight.FontWeight.Semibold,
7
+ fontSize: 32,
8
+ lineHeight: 40
9
9
  };
10
10
  const H2 = {
11
- FontWeight: fontWeight.FontWeight.Semibold,
12
- FontSize: 24,
13
- LineHeight: 32
11
+ fontWeight: fontWeight.FontWeight.Semibold,
12
+ fontSize: 24,
13
+ lineHeight: 32
14
14
  };
15
15
  const H3 = {
16
- FontWeight: fontWeight.FontWeight.Semibold,
17
- FontSize: 20,
18
- LineHeight: 28
16
+ fontWeight: fontWeight.FontWeight.Semibold,
17
+ fontSize: 20,
18
+ lineHeight: 28
19
19
  };
20
20
  const T1 = {
21
- FontWeight: fontWeight.FontWeight.Semibold,
22
- FontSize: 18,
23
- LineHeight: 26
21
+ fontWeight: fontWeight.FontWeight.Semibold,
22
+ fontSize: 18,
23
+ lineHeight: 26
24
24
  };
25
25
  const T2 = {
26
- FontWeight: fontWeight.FontWeight.Medium,
27
- FontSize: 16,
28
- LineHeight: 24
26
+ fontWeight: fontWeight.FontWeight.Medium,
27
+ fontSize: 16,
28
+ lineHeight: 24
29
29
  };
30
30
  const T3 = {
31
- FontWeight: fontWeight.FontWeight.Medium,
32
- FontSize: 14,
33
- LineHeight: 20
31
+ fontWeight: fontWeight.FontWeight.Medium,
32
+ fontSize: 14,
33
+ lineHeight: 20
34
34
  };
35
35
  const B1 = {
36
- FontWeight: fontWeight.FontWeight.Regular,
37
- FontSize: 16,
38
- LineHeight: 24
36
+ fontWeight: fontWeight.FontWeight.Regular,
37
+ fontSize: 16,
38
+ lineHeight: 24
39
39
  };
40
40
  const B1Loose = {
41
- FontWeight: fontWeight.FontWeight.Regular,
42
- FontSize: 16,
43
- LineHeight: 26
41
+ fontWeight: fontWeight.FontWeight.Regular,
42
+ fontSize: 16,
43
+ lineHeight: 26
44
44
  };
45
45
  const B2 = {
46
- FontWeight: fontWeight.FontWeight.Regular,
47
- FontSize: 14,
48
- LineHeight: 20
46
+ fontWeight: fontWeight.FontWeight.Regular,
47
+ fontSize: 14,
48
+ lineHeight: 20
49
49
  };
50
50
  const B2Loose = {
51
- FontWeight: fontWeight.FontWeight.Regular,
52
- FontSize: 14,
53
- LineHeight: 22
51
+ fontWeight: fontWeight.FontWeight.Regular,
52
+ fontSize: 14,
53
+ lineHeight: 22
54
54
  };
55
55
  const B2LooseSwitch = {
56
- FontWeight: fontWeight.FontWeight.Regular,
57
- FontSize: 15,
58
- LineHeight: 22
56
+ fontWeight: fontWeight.FontWeight.Regular,
57
+ fontSize: 15,
58
+ lineHeight: 22
59
59
  };
60
60
  const C1 = {
61
- FontWeight: fontWeight.FontWeight.Regular,
62
- FontSize: 13,
63
- LineHeight: 20
61
+ fontWeight: fontWeight.FontWeight.Regular,
62
+ fontSize: 13,
63
+ lineHeight: 20
64
64
  };
65
65
  const C1Emphasized = {
66
- FontWeight: fontWeight.FontWeight.Medium,
67
- FontSize: 13,
68
- LineHeight: 20
66
+ fontWeight: fontWeight.FontWeight.Medium,
67
+ fontSize: 13,
68
+ lineHeight: 20
69
69
  };
70
70
  const C2 = {
71
- FontWeight: fontWeight.FontWeight.Regular,
72
- FontSize: 12,
73
- LineHeight: 18
71
+ fontWeight: fontWeight.FontWeight.Regular,
72
+ fontSize: 12,
73
+ lineHeight: 18
74
74
  };
75
75
  const C2Emphasized = {
76
- FontWeight: fontWeight.FontWeight.Medium,
77
- FontSize: 12,
78
- LineHeight: 18
76
+ fontWeight: fontWeight.FontWeight.Medium,
77
+ fontSize: 12,
78
+ lineHeight: 18
79
79
  };
80
80
  const C3 = {
81
- FontWeight: fontWeight.FontWeight.Regular,
82
- FontSize: 10,
83
- LineHeight: 14
81
+ fontWeight: fontWeight.FontWeight.Regular,
82
+ fontSize: 10,
83
+ lineHeight: 14
84
84
  };
85
85
  const C3Emphasized = {
86
- FontWeight: fontWeight.FontWeight.Medium,
87
- FontSize: 10,
88
- LineHeight: 14
86
+ fontWeight: fontWeight.FontWeight.Medium,
87
+ fontSize: 10,
88
+ lineHeight: 14
89
89
  };
90
90
 
91
91
  exports.B1 = B1;
@@ -1 +1 @@
1
- {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 32,\n LineHeight: 40,\n};\n\nexport const H2 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 24,\n LineHeight: 32,\n};\n\nexport const H3 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 20,\n LineHeight: 28,\n};\n\nexport const T1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 18,\n LineHeight: 26,\n};\n\nexport const T2 = {\n FontWeight: FontWeight.Medium,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const T3 = {\n FontWeight: FontWeight.Medium,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const B1Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 26,\n};\n\nexport const B2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B2Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n FontWeight: FontWeight.Regular,\n FontSize: 15,\n LineHeight: 22,\n};\n\nexport const C1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C1Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C2Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C3 = {\n FontWeight: FontWeight.Regular,\n FontSize: 10,\n LineHeight: 14,\n};\n\nexport const C3Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 10,\n LineHeight: 14,\n};\n"],"names":["FontWeight"],"mappings":";;;;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EA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e,GAAA;AAAA,EAC1B,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 32,\n lineHeight: 40,\n};\n\nexport const H2 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 24,\n lineHeight: 32,\n};\n\nexport const H3 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 20,\n lineHeight: 28,\n};\n\nexport const T1 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 18,\n lineHeight: 26,\n};\n\nexport const T2 = {\n fontWeight: FontWeight.Medium,\n fontSize: 16,\n lineHeight: 24,\n};\n\nexport const T3 = {\n fontWeight: FontWeight.Medium,\n fontSize: 14,\n lineHeight: 20,\n};\n\nexport const B1 = {\n fontWeight: FontWeight.Regular,\n fontSize: 16,\n lineHeight: 24,\n};\n\nexport const B1Loose = {\n fontWeight: FontWeight.Regular,\n fontSize: 16,\n lineHeight: 26,\n};\n\nexport const B2 = {\n fontWeight: FontWeight.Regular,\n fontSize: 14,\n lineHeight: 20,\n};\n\nexport const B2Loose = {\n fontWeight: FontWeight.Regular,\n fontSize: 14,\n lineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n fontWeight: FontWeight.Regular,\n fontSize: 15,\n lineHeight: 22,\n};\n\nexport const C1 = {\n fontWeight: FontWeight.Regular,\n fontSize: 13,\n lineHeight: 20,\n};\n\nexport const C1Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 13,\n lineHeight: 20,\n};\n\nexport const C2 = {\n fontWeight: FontWeight.Regular,\n fontSize: 12,\n lineHeight: 18,\n};\n\nexport const C2Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 12,\n lineHeight: 18,\n};\n\nexport const C3 = {\n fontWeight: FontWeight.Regular,\n fontSize: 10,\n lineHeight: 14,\n};\n\nexport const C3Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 10,\n lineHeight: 14,\n};\n"],"names":["FontWeight"],"mappings":";;;;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,OAAU,GAAA;AAAA,EACrB,YAAYA,qBAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,M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1
  import { FontWeight } from '../const/fontWeight.js';
2
2
 
3
3
  const H1 = {
4
- FontWeight: FontWeight.Semibold,
5
- FontSize: 32,
6
- LineHeight: 40
4
+ fontWeight: FontWeight.Semibold,
5
+ fontSize: 32,
6
+ lineHeight: 40
7
7
  };
8
8
  const H2 = {
9
- FontWeight: FontWeight.Semibold,
10
- FontSize: 24,
11
- LineHeight: 32
9
+ fontWeight: FontWeight.Semibold,
10
+ fontSize: 24,
11
+ lineHeight: 32
12
12
  };
13
13
  const H3 = {
14
- FontWeight: FontWeight.Semibold,
15
- FontSize: 20,
16
- LineHeight: 28
14
+ fontWeight: FontWeight.Semibold,
15
+ fontSize: 20,
16
+ lineHeight: 28
17
17
  };
18
18
  const T1 = {
19
- FontWeight: FontWeight.Semibold,
20
- FontSize: 18,
21
- LineHeight: 26
19
+ fontWeight: FontWeight.Semibold,
20
+ fontSize: 18,
21
+ lineHeight: 26
22
22
  };
23
23
  const T2 = {
24
- FontWeight: FontWeight.Medium,
25
- FontSize: 16,
26
- LineHeight: 24
24
+ fontWeight: FontWeight.Medium,
25
+ fontSize: 16,
26
+ lineHeight: 24
27
27
  };
28
28
  const T3 = {
29
- FontWeight: FontWeight.Medium,
30
- FontSize: 14,
31
- LineHeight: 20
29
+ fontWeight: FontWeight.Medium,
30
+ fontSize: 14,
31
+ lineHeight: 20
32
32
  };
33
33
  const B1 = {
34
- FontWeight: FontWeight.Regular,
35
- FontSize: 16,
36
- LineHeight: 24
34
+ fontWeight: FontWeight.Regular,
35
+ fontSize: 16,
36
+ lineHeight: 24
37
37
  };
38
38
  const B1Loose = {
39
- FontWeight: FontWeight.Regular,
40
- FontSize: 16,
41
- LineHeight: 26
39
+ fontWeight: FontWeight.Regular,
40
+ fontSize: 16,
41
+ lineHeight: 26
42
42
  };
43
43
  const B2 = {
44
- FontWeight: FontWeight.Regular,
45
- FontSize: 14,
46
- LineHeight: 20
44
+ fontWeight: FontWeight.Regular,
45
+ fontSize: 14,
46
+ lineHeight: 20
47
47
  };
48
48
  const B2Loose = {
49
- FontWeight: FontWeight.Regular,
50
- FontSize: 14,
51
- LineHeight: 22
49
+ fontWeight: FontWeight.Regular,
50
+ fontSize: 14,
51
+ lineHeight: 22
52
52
  };
53
53
  const B2LooseSwitch = {
54
- FontWeight: FontWeight.Regular,
55
- FontSize: 15,
56
- LineHeight: 22
54
+ fontWeight: FontWeight.Regular,
55
+ fontSize: 15,
56
+ lineHeight: 22
57
57
  };
58
58
  const C1 = {
59
- FontWeight: FontWeight.Regular,
60
- FontSize: 13,
61
- LineHeight: 20
59
+ fontWeight: FontWeight.Regular,
60
+ fontSize: 13,
61
+ lineHeight: 20
62
62
  };
63
63
  const C1Emphasized = {
64
- FontWeight: FontWeight.Medium,
65
- FontSize: 13,
66
- LineHeight: 20
64
+ fontWeight: FontWeight.Medium,
65
+ fontSize: 13,
66
+ lineHeight: 20
67
67
  };
68
68
  const C2 = {
69
- FontWeight: FontWeight.Regular,
70
- FontSize: 12,
71
- LineHeight: 18
69
+ fontWeight: FontWeight.Regular,
70
+ fontSize: 12,
71
+ lineHeight: 18
72
72
  };
73
73
  const C2Emphasized = {
74
- FontWeight: FontWeight.Medium,
75
- FontSize: 12,
76
- LineHeight: 18
74
+ fontWeight: FontWeight.Medium,
75
+ fontSize: 12,
76
+ lineHeight: 18
77
77
  };
78
78
  const C3 = {
79
- FontWeight: FontWeight.Regular,
80
- FontSize: 10,
81
- LineHeight: 14
79
+ fontWeight: FontWeight.Regular,
80
+ fontSize: 10,
81
+ lineHeight: 14
82
82
  };
83
83
  const C3Emphasized = {
84
- FontWeight: FontWeight.Medium,
85
- FontSize: 10,
86
- LineHeight: 14
84
+ fontWeight: FontWeight.Medium,
85
+ fontSize: 10,
86
+ lineHeight: 14
87
87
  };
88
88
 
89
89
  export { B1, B1Loose, B2, B2Loose, B2LooseSwitch, C1, C1Emphasized, C2, C2Emphasized, C3, C3Emphasized, H1, H2, H3, T1, T2, T3 };
@@ -1 +1 @@
1
- {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 32,\n LineHeight: 40,\n};\n\nexport const H2 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 24,\n LineHeight: 32,\n};\n\nexport const H3 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 20,\n LineHeight: 28,\n};\n\nexport const T1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 18,\n LineHeight: 26,\n};\n\nexport const T2 = {\n FontWeight: FontWeight.Medium,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const T3 = {\n FontWeight: FontWeight.Medium,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const B1Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 26,\n};\n\nexport const B2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B2Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n FontWeight: FontWeight.Regular,\n FontSize: 15,\n LineHeight: 22,\n};\n\nexport const C1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C1Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C2Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C3 = {\n FontWeight: FontWeight.Regular,\n FontSize: 10,\n LineHeight: 14,\n};\n\nexport const C3Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 10,\n LineHeight: 14,\n};\n"],"names":[],"mappings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;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,aAAgB,GAAA;AAAA,EAC3B,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd;;;;"}
1
+ {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 32,\n lineHeight: 40,\n};\n\nexport const H2 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 24,\n lineHeight: 32,\n};\n\nexport const H3 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 20,\n lineHeight: 28,\n};\n\nexport const T1 = {\n fontWeight: FontWeight.Semibold,\n fontSize: 18,\n lineHeight: 26,\n};\n\nexport const T2 = {\n fontWeight: FontWeight.Medium,\n fontSize: 16,\n lineHeight: 24,\n};\n\nexport const T3 = {\n fontWeight: FontWeight.Medium,\n fontSize: 14,\n lineHeight: 20,\n};\n\nexport const B1 = {\n fontWeight: FontWeight.Regular,\n fontSize: 16,\n lineHeight: 24,\n};\n\nexport const B1Loose = {\n fontWeight: FontWeight.Regular,\n fontSize: 16,\n lineHeight: 26,\n};\n\nexport const B2 = {\n fontWeight: FontWeight.Regular,\n fontSize: 14,\n lineHeight: 20,\n};\n\nexport const B2Loose = {\n fontWeight: FontWeight.Regular,\n fontSize: 14,\n lineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n fontWeight: FontWeight.Regular,\n fontSize: 15,\n lineHeight: 22,\n};\n\nexport const C1 = {\n fontWeight: FontWeight.Regular,\n fontSize: 13,\n lineHeight: 20,\n};\n\nexport const C1Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 13,\n lineHeight: 20,\n};\n\nexport const C2 = {\n fontWeight: FontWeight.Regular,\n fontSize: 12,\n lineHeight: 18,\n};\n\nexport const C2Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 12,\n lineHeight: 18,\n};\n\nexport const C3 = {\n fontWeight: FontWeight.Regular,\n fontSize: 10,\n lineHeight: 14,\n};\n\nexport const C3Emphasized = {\n fontWeight: FontWeight.Medium,\n fontSize: 10,\n lineHeight: 14,\n};\n"],"names":[],"mappings":";;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,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AA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd;;;;"}
@@ -1,87 +1,87 @@
1
1
  declare const H1: {
2
- FontWeight: "400" | "500" | "600" | "700";
3
- FontSize: number;
4
- LineHeight: number;
2
+ fontWeight: "400" | "500" | "600" | "700";
3
+ fontSize: number;
4
+ lineHeight: number;
5
5
  };
6
6
  declare const H2: {
7
- FontWeight: "400" | "500" | "600" | "700";
8
- FontSize: number;
9
- LineHeight: number;
7
+ fontWeight: "400" | "500" | "600" | "700";
8
+ fontSize: number;
9
+ lineHeight: number;
10
10
  };
11
11
  declare const H3: {
12
- FontWeight: "400" | "500" | "600" | "700";
13
- FontSize: number;
14
- LineHeight: number;
12
+ fontWeight: "400" | "500" | "600" | "700";
13
+ fontSize: number;
14
+ lineHeight: number;
15
15
  };
16
16
  declare const T1: {
17
- FontWeight: "400" | "500" | "600" | "700";
18
- FontSize: number;
19
- LineHeight: number;
17
+ fontWeight: "400" | "500" | "600" | "700";
18
+ fontSize: number;
19
+ lineHeight: number;
20
20
  };
21
21
  declare const T2: {
22
- FontWeight: "400" | "500" | "600" | "700";
23
- FontSize: number;
24
- LineHeight: number;
22
+ fontWeight: "400" | "500" | "600" | "700";
23
+ fontSize: number;
24
+ lineHeight: number;
25
25
  };
26
26
  declare const T3: {
27
- FontWeight: "400" | "500" | "600" | "700";
28
- FontSize: number;
29
- LineHeight: number;
27
+ fontWeight: "400" | "500" | "600" | "700";
28
+ fontSize: number;
29
+ lineHeight: number;
30
30
  };
31
31
  declare const B1: {
32
- FontWeight: "400" | "500" | "600" | "700";
33
- FontSize: number;
34
- LineHeight: number;
32
+ fontWeight: "400" | "500" | "600" | "700";
33
+ fontSize: number;
34
+ lineHeight: number;
35
35
  };
36
36
  declare const B1Loose: {
37
- FontWeight: "400" | "500" | "600" | "700";
38
- FontSize: number;
39
- LineHeight: number;
37
+ fontWeight: "400" | "500" | "600" | "700";
38
+ fontSize: number;
39
+ lineHeight: number;
40
40
  };
41
41
  declare const B2: {
42
- FontWeight: "400" | "500" | "600" | "700";
43
- FontSize: number;
44
- LineHeight: number;
42
+ fontWeight: "400" | "500" | "600" | "700";
43
+ fontSize: number;
44
+ lineHeight: number;
45
45
  };
46
46
  declare const B2Loose: {
47
- FontWeight: "400" | "500" | "600" | "700";
48
- FontSize: number;
49
- LineHeight: number;
47
+ fontWeight: "400" | "500" | "600" | "700";
48
+ fontSize: number;
49
+ lineHeight: number;
50
50
  };
51
51
  declare const B2LooseSwitch: {
52
- FontWeight: "400" | "500" | "600" | "700";
53
- FontSize: number;
54
- LineHeight: number;
52
+ fontWeight: "400" | "500" | "600" | "700";
53
+ fontSize: number;
54
+ lineHeight: number;
55
55
  };
56
56
  declare const C1: {
57
- FontWeight: "400" | "500" | "600" | "700";
58
- FontSize: number;
59
- LineHeight: number;
57
+ fontWeight: "400" | "500" | "600" | "700";
58
+ fontSize: number;
59
+ lineHeight: number;
60
60
  };
61
61
  declare const C1Emphasized: {
62
- FontWeight: "400" | "500" | "600" | "700";
63
- FontSize: number;
64
- LineHeight: number;
62
+ fontWeight: "400" | "500" | "600" | "700";
63
+ fontSize: number;
64
+ lineHeight: number;
65
65
  };
66
66
  declare const C2: {
67
- FontWeight: "400" | "500" | "600" | "700";
68
- FontSize: number;
69
- LineHeight: number;
67
+ fontWeight: "400" | "500" | "600" | "700";
68
+ fontSize: number;
69
+ lineHeight: number;
70
70
  };
71
71
  declare const C2Emphasized: {
72
- FontWeight: "400" | "500" | "600" | "700";
73
- FontSize: number;
74
- LineHeight: number;
72
+ fontWeight: "400" | "500" | "600" | "700";
73
+ fontSize: number;
74
+ lineHeight: number;
75
75
  };
76
76
  declare const C3: {
77
- FontWeight: "400" | "500" | "600" | "700";
78
- FontSize: number;
79
- LineHeight: number;
77
+ fontWeight: "400" | "500" | "600" | "700";
78
+ fontSize: number;
79
+ lineHeight: number;
80
80
  };
81
81
  declare const C3Emphasized: {
82
- FontWeight: "400" | "500" | "600" | "700";
83
- FontSize: number;
84
- LineHeight: number;
82
+ fontWeight: "400" | "500" | "600" | "700";
83
+ fontSize: number;
84
+ lineHeight: number;
85
85
  };
86
86
 
87
87
  export { B1, B1Loose, B2, B2Loose, B2LooseSwitch, C1, C1Emphasized, C2, C2Emphasized, C3, C3Emphasized, H1, H2, H3, T1, T2, T3 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xhsreds/reds-token-next",
3
- "version": "0.2.15-beta202502261948",
3
+ "version": "0.2.15-beta202502271458",
4
4
  "description": "ReDS style utils",
5
5
  "main": "lib/cjs/index.js",
6
6
  "typings": "lib/types/index.d.ts",
@@ -1,103 +1,103 @@
1
1
  import { FontWeight } from "../const/fontWeight";
2
2
 
3
3
  export const H1 = {
4
- FontWeight: FontWeight.Semibold,
5
- FontSize: 32,
6
- LineHeight: 40,
4
+ fontWeight: FontWeight.Semibold,
5
+ fontSize: 32,
6
+ lineHeight: 40,
7
7
  };
8
8
 
9
9
  export const H2 = {
10
- FontWeight: FontWeight.Semibold,
11
- FontSize: 24,
12
- LineHeight: 32,
10
+ fontWeight: FontWeight.Semibold,
11
+ fontSize: 24,
12
+ lineHeight: 32,
13
13
  };
14
14
 
15
15
  export const H3 = {
16
- FontWeight: FontWeight.Semibold,
17
- FontSize: 20,
18
- LineHeight: 28,
16
+ fontWeight: FontWeight.Semibold,
17
+ fontSize: 20,
18
+ lineHeight: 28,
19
19
  };
20
20
 
21
21
  export const T1 = {
22
- FontWeight: FontWeight.Semibold,
23
- FontSize: 18,
24
- LineHeight: 26,
22
+ fontWeight: FontWeight.Semibold,
23
+ fontSize: 18,
24
+ lineHeight: 26,
25
25
  };
26
26
 
27
27
  export const T2 = {
28
- FontWeight: FontWeight.Medium,
29
- FontSize: 16,
30
- LineHeight: 24,
28
+ fontWeight: FontWeight.Medium,
29
+ fontSize: 16,
30
+ lineHeight: 24,
31
31
  };
32
32
 
33
33
  export const T3 = {
34
- FontWeight: FontWeight.Medium,
35
- FontSize: 14,
36
- LineHeight: 20,
34
+ fontWeight: FontWeight.Medium,
35
+ fontSize: 14,
36
+ lineHeight: 20,
37
37
  };
38
38
 
39
39
  export const B1 = {
40
- FontWeight: FontWeight.Regular,
41
- FontSize: 16,
42
- LineHeight: 24,
40
+ fontWeight: FontWeight.Regular,
41
+ fontSize: 16,
42
+ lineHeight: 24,
43
43
  };
44
44
 
45
45
  export const B1Loose = {
46
- FontWeight: FontWeight.Regular,
47
- FontSize: 16,
48
- LineHeight: 26,
46
+ fontWeight: FontWeight.Regular,
47
+ fontSize: 16,
48
+ lineHeight: 26,
49
49
  };
50
50
 
51
51
  export const B2 = {
52
- FontWeight: FontWeight.Regular,
53
- FontSize: 14,
54
- LineHeight: 20,
52
+ fontWeight: FontWeight.Regular,
53
+ fontSize: 14,
54
+ lineHeight: 20,
55
55
  };
56
56
 
57
57
  export const B2Loose = {
58
- FontWeight: FontWeight.Regular,
59
- FontSize: 14,
60
- LineHeight: 22,
58
+ fontWeight: FontWeight.Regular,
59
+ fontSize: 14,
60
+ lineHeight: 22,
61
61
  };
62
62
 
63
63
  export const B2LooseSwitch = {
64
- FontWeight: FontWeight.Regular,
65
- FontSize: 15,
66
- LineHeight: 22,
64
+ fontWeight: FontWeight.Regular,
65
+ fontSize: 15,
66
+ lineHeight: 22,
67
67
  };
68
68
 
69
69
  export const C1 = {
70
- FontWeight: FontWeight.Regular,
71
- FontSize: 13,
72
- LineHeight: 20,
70
+ fontWeight: FontWeight.Regular,
71
+ fontSize: 13,
72
+ lineHeight: 20,
73
73
  };
74
74
 
75
75
  export const C1Emphasized = {
76
- FontWeight: FontWeight.Medium,
77
- FontSize: 13,
78
- LineHeight: 20,
76
+ fontWeight: FontWeight.Medium,
77
+ fontSize: 13,
78
+ lineHeight: 20,
79
79
  };
80
80
 
81
81
  export const C2 = {
82
- FontWeight: FontWeight.Regular,
83
- FontSize: 12,
84
- LineHeight: 18,
82
+ fontWeight: FontWeight.Regular,
83
+ fontSize: 12,
84
+ lineHeight: 18,
85
85
  };
86
86
 
87
87
  export const C2Emphasized = {
88
- FontWeight: FontWeight.Medium,
89
- FontSize: 12,
90
- LineHeight: 18,
88
+ fontWeight: FontWeight.Medium,
89
+ fontSize: 12,
90
+ lineHeight: 18,
91
91
  };
92
92
 
93
93
  export const C3 = {
94
- FontWeight: FontWeight.Regular,
95
- FontSize: 10,
96
- LineHeight: 14,
94
+ fontWeight: FontWeight.Regular,
95
+ fontSize: 10,
96
+ lineHeight: 14,
97
97
  };
98
98
 
99
99
  export const C3Emphasized = {
100
- FontWeight: FontWeight.Medium,
101
- FontSize: 10,
102
- LineHeight: 14,
100
+ fontWeight: FontWeight.Medium,
101
+ fontSize: 10,
102
+ lineHeight: 14,
103
103
  };