@alfalab/core-components-typography 6.0.13 → 6.0.14-alfasans

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.
Files changed (108) hide show
  1. package/colors.css +20 -20
  2. package/colors.module.css.js +1 -1
  3. package/cssm/text/component.js +18 -16
  4. package/cssm/text/component.js.map +1 -1
  5. package/cssm/text/index.module.css +48 -14
  6. package/cssm/title/common.module.css +8 -1
  7. package/cssm/title/component.d.ts +2 -8
  8. package/cssm/title/component.js +16 -17
  9. package/cssm/title/component.js.map +1 -1
  10. package/cssm/title/index.d.ts +1 -4
  11. package/cssm/title/index.module.css +23 -74
  12. package/cssm/title-mobile/component.d.ts +1 -4
  13. package/cssm/title-mobile/index.module.css +28 -45
  14. package/cssm/title-responsive/component.d.ts +1 -4
  15. package/esm/colors.css +20 -20
  16. package/esm/colors.module.css.js +1 -1
  17. package/esm/text/component.js +19 -17
  18. package/esm/text/component.js.map +1 -1
  19. package/esm/text/index.css +88 -54
  20. package/esm/text/index.module.css.js +1 -1
  21. package/esm/text/index.module.css.js.map +1 -1
  22. package/esm/title/common.css +13 -6
  23. package/esm/title/common.module.css.js +1 -1
  24. package/esm/title/common.module.css.js.map +1 -1
  25. package/esm/title/component.d.ts +2 -8
  26. package/esm/title/component.js +16 -17
  27. package/esm/title/component.js.map +1 -1
  28. package/esm/title/index.css +38 -89
  29. package/esm/title/index.d.ts +1 -4
  30. package/esm/title/index.module.css.js +1 -1
  31. package/esm/title/index.module.css.js.map +1 -1
  32. package/esm/title-mobile/component.d.ts +1 -4
  33. package/esm/title-mobile/index.css +53 -70
  34. package/esm/title-mobile/index.module.css.js +1 -1
  35. package/esm/title-responsive/component.d.ts +1 -4
  36. package/modern/colors.css +20 -20
  37. package/modern/colors.module.css.js +1 -1
  38. package/modern/text/component.js +19 -17
  39. package/modern/text/component.js.map +1 -1
  40. package/modern/text/index.css +88 -54
  41. package/modern/text/index.module.css.js +1 -1
  42. package/modern/text/index.module.css.js.map +1 -1
  43. package/modern/title/common.css +13 -6
  44. package/modern/title/common.module.css.js +1 -1
  45. package/modern/title/common.module.css.js.map +1 -1
  46. package/modern/title/component.d.ts +2 -8
  47. package/modern/title/component.js +15 -16
  48. package/modern/title/component.js.map +1 -1
  49. package/modern/title/index.css +38 -89
  50. package/modern/title/index.d.ts +1 -4
  51. package/modern/title/index.module.css.js +1 -1
  52. package/modern/title/index.module.css.js.map +1 -1
  53. package/modern/title-mobile/component.d.ts +1 -4
  54. package/modern/title-mobile/index.css +53 -70
  55. package/modern/title-mobile/index.module.css.js +1 -1
  56. package/modern/title-responsive/component.d.ts +1 -4
  57. package/moderncssm/text/component.js +19 -17
  58. package/moderncssm/text/component.js.map +1 -1
  59. package/moderncssm/text/index.module.css +47 -12
  60. package/moderncssm/title/common.module.css +10 -1
  61. package/moderncssm/title/component.d.ts +2 -8
  62. package/moderncssm/title/component.js +15 -16
  63. package/moderncssm/title/component.js.map +1 -1
  64. package/moderncssm/title/index.d.ts +1 -4
  65. package/moderncssm/title/index.module.css +20 -79
  66. package/moderncssm/title-mobile/component.d.ts +1 -4
  67. package/moderncssm/title-mobile/index.module.css +25 -40
  68. package/moderncssm/title-responsive/component.d.ts +1 -4
  69. package/package.json +6 -6
  70. package/src/common.module.css +10 -1
  71. package/src/text/component.tsx +36 -31
  72. package/src/title/component.tsx +36 -36
  73. package/src/title/index.module.css +0 -8
  74. package/text/component.js +18 -16
  75. package/text/component.js.map +1 -1
  76. package/text/index.css +88 -54
  77. package/text/index.module.css.js +1 -1
  78. package/text/index.module.css.js.map +1 -1
  79. package/title/common.css +13 -6
  80. package/title/common.module.css.js +1 -1
  81. package/title/common.module.css.js.map +1 -1
  82. package/title/component.d.ts +2 -8
  83. package/title/component.js +15 -16
  84. package/title/component.js.map +1 -1
  85. package/title/index.css +38 -89
  86. package/title/index.d.ts +1 -4
  87. package/title/index.module.css.js +1 -1
  88. package/title/index.module.css.js.map +1 -1
  89. package/title-mobile/component.d.ts +1 -4
  90. package/title-mobile/index.css +53 -70
  91. package/title-mobile/index.module.css.js +1 -1
  92. package/title-responsive/component.d.ts +1 -4
  93. package/cssm/title/utils.d.ts +0 -1
  94. package/cssm/title/utils.js +0 -16
  95. package/cssm/title/utils.js.map +0 -1
  96. package/esm/title/utils.d.ts +0 -1
  97. package/esm/title/utils.js +0 -12
  98. package/esm/title/utils.js.map +0 -1
  99. package/modern/title/utils.d.ts +0 -1
  100. package/modern/title/utils.js +0 -12
  101. package/modern/title/utils.js.map +0 -1
  102. package/moderncssm/title/utils.d.ts +0 -1
  103. package/moderncssm/title/utils.js +0 -12
  104. package/moderncssm/title/utils.js.map +0 -1
  105. package/src/title/utils.ts +0 -14
  106. package/title/utils.d.ts +0 -1
  107. package/title/utils.js +0 -16
  108. package/title/utils.js.map +0 -1
package/title/index.css CHANGED
@@ -6,143 +6,92 @@
6
6
  --gap-48: 48px;
7
7
  }
8
8
  :root {
9
- --font-family-system:
10
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
11
- --font-family-styrene:
12
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
13
- sans-serif;
9
+ --font-family-alfasans:
10
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
11
+ Helvetica, sans-serif;
14
12
  }
15
- .typography__xlarge_gmqy9 {
13
+ .typography__xlarge_1ntge {
16
14
  font-size: 48px;
17
15
  line-height: 52px;
18
16
  font-weight: 700;
19
- font-family: var(--font-family-system);
17
+ letter-spacing: 0.1px;
18
+ font-family: var(--font-family-alfasans);
20
19
  }
21
- .typography__xlarge_gmqy9.typography__font_gmqy9 {
22
- line-height: 64px;
23
- font-weight: 500;
24
- font-feature-settings: 'ss01';
25
- font-family: var(--font-family-styrene);
26
- }
27
- .typography__regular-xlarge_gmqy9 {
20
+ .typography__regular-xlarge_1ntge {
28
21
  font-size: 48px;
29
22
  line-height: 52px;
30
23
  font-weight: 400;
31
- font-family: var(--font-family-system);
24
+ letter-spacing: -2.1px;
25
+ font-family: var(--font-family-alfasans);
32
26
  }
33
- .typography__regular-xlarge_gmqy9.typography__font_gmqy9 {
34
- line-height: 64px;
35
- font-feature-settings: 'ss01';
36
- font-family: var(--font-family-styrene);
37
- }
38
- .typography__large_gmqy9 {
27
+ .typography__large_1ntge {
39
28
  font-size: 40px;
40
29
  line-height: 48px;
41
30
  font-weight: 700;
42
- font-family: var(--font-family-system);
31
+ letter-spacing: 0.1px;
32
+ font-family: var(--font-family-alfasans);
43
33
  }
44
- .typography__large_gmqy9.typography__font_gmqy9 {
45
- font-weight: 500;
46
- font-feature-settings: 'ss01';
47
- font-family: var(--font-family-styrene);
48
- }
49
- .typography__regular-large_gmqy9 {
34
+ .typography__regular-large_1ntge {
50
35
  font-size: 40px;
51
36
  line-height: 48px;
52
37
  font-weight: 400;
53
- font-family: var(--font-family-system);
38
+ letter-spacing: -1.7px;
39
+ font-family: var(--font-family-alfasans);
54
40
  }
55
- .typography__regular-large_gmqy9.typography__font_gmqy9 {
56
- font-feature-settings: 'ss01';
57
- font-family: var(--font-family-styrene);
58
- }
59
- .typography__medium_gmqy9 {
41
+ .typography__medium_1ntge {
60
42
  font-size: 30px;
61
43
  line-height: 36px;
62
44
  font-weight: 700;
63
- font-family: var(--font-family-system);
45
+ letter-spacing: 0.1px;
46
+ font-family: var(--font-family-alfasans);
64
47
  }
65
- .typography__medium_gmqy9.typography__font_gmqy9 {
66
- font-size: 32px;
67
- line-height: 40px;
68
- font-weight: 500;
69
- font-feature-settings: 'ss01';
70
- font-family: var(--font-family-styrene);
71
- }
72
- .typography__regular-medium_gmqy9 {
48
+ .typography__regular-medium_1ntge {
73
49
  font-size: 30px;
74
50
  line-height: 36px;
75
51
  font-weight: 400;
76
- font-family: var(--font-family-system);
52
+ letter-spacing: -1.25px;
53
+ font-family: var(--font-family-alfasans);
77
54
  }
78
- .typography__regular-medium_gmqy9.typography__font_gmqy9 {
79
- font-size: 32px;
80
- line-height: 40px;
81
- font-feature-settings: 'ss01';
82
- font-family: var(--font-family-styrene);
83
- }
84
- .typography__small_gmqy9 {
55
+ .typography__small_1ntge {
85
56
  font-size: 22px;
86
57
  line-height: 26px;
87
58
  font-weight: 700;
88
- font-family: var(--font-family-system);
59
+ letter-spacing: 0.2px;
60
+ font-family: var(--font-family-alfasans);
89
61
  }
90
- .typography__small_gmqy9.typography__font_gmqy9 {
91
- font-size: 24px;
92
- line-height: 32px;
93
- font-weight: 500;
94
- font-feature-settings: 'ss01';
95
- font-family: var(--font-family-styrene);
96
- }
97
- .typography__regular-small_gmqy9 {
62
+ .typography__regular-small_1ntge {
98
63
  font-size: 22px;
99
64
  line-height: 26px;
100
65
  font-weight: 400;
101
- font-family: var(--font-family-system);
66
+ letter-spacing: -0.8px;
67
+ font-family: var(--font-family-alfasans);
102
68
  }
103
- .typography__regular-small_gmqy9.typography__font_gmqy9 {
104
- font-size: 24px;
105
- line-height: 32px;
106
- font-feature-settings: 'ss01';
107
- font-family: var(--font-family-styrene);
108
- }
109
- .typography__xsmall_gmqy9 {
69
+ .typography__xsmall_1ntge {
110
70
  font-size: 18px;
111
71
  line-height: 22px;
112
72
  font-weight: 700;
113
- font-family: var(--font-family-system);
73
+ letter-spacing: 0.38px;
74
+ font-family: var(--font-family-alfasans);
114
75
  }
115
- .typography__xsmall_gmqy9.typography__font_gmqy9 {
116
- font-size: 20px;
117
- line-height: 24px;
118
- font-weight: 500;
119
- font-feature-settings: 'ss01';
120
- font-family: var(--font-family-styrene);
121
- }
122
- .typography__regular-xsmall_gmqy9 {
76
+ .typography__regular-xsmall_1ntge {
123
77
  font-size: 18px;
124
78
  line-height: 22px;
125
79
  font-weight: 400;
126
- font-family: var(--font-family-system);
80
+ letter-spacing: -0.36px;
81
+ font-family: var(--font-family-alfasans);
127
82
  }
128
- .typography__regular-xsmall_gmqy9.typography__font_gmqy9 {
129
- font-size: 20px;
130
- line-height: 24px;
131
- font-feature-settings: 'ss01';
132
- font-family: var(--font-family-styrene);
133
- }
134
- .typography__component_gmqy9.typography__margins-xlarge_gmqy9 {
83
+ .typography__component_1ntge.typography__margins-xlarge_1ntge {
135
84
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
136
85
  }
137
- .typography__component_gmqy9.typography__margins-large_gmqy9 {
86
+ .typography__component_1ntge.typography__margins-large_1ntge {
138
87
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
139
88
  }
140
- .typography__component_gmqy9.typography__margins-medium_gmqy9 {
89
+ .typography__component_1ntge.typography__margins-medium_1ntge {
141
90
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
142
91
  }
143
- .typography__component_gmqy9.typography__margins-small_gmqy9 {
92
+ .typography__component_1ntge.typography__margins-small_1ntge {
144
93
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
145
94
  }
146
- .typography__component_gmqy9.typography__margins-xsmall_gmqy9 {
95
+ .typography__component_1ntge.typography__margins-xsmall_1ntge {
147
96
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
148
97
  }
package/title/index.d.ts CHANGED
@@ -5,10 +5,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
5
5
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
6
6
  color?: import("..").Color;
7
7
  weight?: "regular" | "medium" | "bold" | "semibold";
8
- font?: "styrene" | "system" | "alfasans" | {
9
- font: "alfasans";
10
- systemCompat: boolean;
11
- };
8
+ font?: "styrene" | "system";
12
9
  defaultMargins?: boolean;
13
10
  className?: string;
14
11
  dataTestId?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"xlarge":"typography__xlarge_gmqy9","font":"typography__font_gmqy9","regular-xlarge":"typography__regular-xlarge_gmqy9","large":"typography__large_gmqy9","regular-large":"typography__regular-large_gmqy9","medium":"typography__medium_gmqy9","regular-medium":"typography__regular-medium_gmqy9","small":"typography__small_gmqy9","regular-small":"typography__regular-small_gmqy9","xsmall":"typography__xsmall_gmqy9","regular-xsmall":"typography__regular-xsmall_gmqy9","component":"typography__component_gmqy9","margins-xlarge":"typography__margins-xlarge_gmqy9","margins-large":"typography__margins-large_gmqy9","margins-medium":"typography__margins-medium_gmqy9","margins-small":"typography__margins-small_gmqy9","margins-xsmall":"typography__margins-xsmall_gmqy9"};
5
+ var styles = {"xlarge":"typography__xlarge_1ntge","regular-xlarge":"typography__regular-xlarge_1ntge","large":"typography__large_1ntge","regular-large":"typography__regular-large_1ntge","medium":"typography__medium_1ntge","regular-medium":"typography__regular-medium_1ntge","small":"typography__small_1ntge","regular-small":"typography__regular-small_1ntge","xsmall":"typography__xsmall_1ntge","regular-xsmall":"typography__regular-xsmall_1ntge","component":"typography__component_1ntge","margins-xlarge":"typography__margins-xlarge_1ntge","margins-large":"typography__margins-large_1ntge","margins-medium":"typography__margins-medium_1ntge","margins-small":"typography__margins-small_1ntge","margins-xsmall":"typography__margins-xsmall_1ntge"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../margins.module.css';\n\n@each $view in xlarge, large, medium, small, xsmall {\n .$(view) {\n @mixin headline-system_$(view);\n\n &.font {\n @subtract-mixin headline_$(view), headline-system_$(view);\n }\n }\n\n .regular-$(view) {\n @mixin promo-system_$(view);\n\n &.font {\n @subtract-mixin promo_$(view), promo-system_$(view);\n }\n }\n}\n\n.component {\n &.margins-xlarge {\n @mixin margin-large;\n }\n\n &.margins-large {\n @mixin margin-medium;\n }\n\n &.margins-medium {\n @mixin margin-medium;\n }\n\n &.margins-small {\n @mixin margin-small;\n }\n\n &.margins-xsmall {\n @mixin margin-small;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,WAAW,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
1
+ {"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../margins.module.css';\n\n@each $view in xlarge, large, medium, small, xsmall {\n .$(view) {\n @mixin headline-system_$(view);\n }\n\n .regular-$(view) {\n @mixin promo-system_$(view);\n }\n}\n\n.component {\n &.margins-xlarge {\n @mixin margin-large;\n }\n\n &.margins-large {\n @mixin margin-medium;\n }\n\n &.margins-medium {\n @mixin margin-medium;\n }\n\n &.margins-small {\n @mixin margin-small;\n }\n\n &.margins-xsmall {\n @mixin margin-small;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,WAAW,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
@@ -4,10 +4,7 @@ export declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTM
4
4
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
5
5
  color?: import("..").Color;
6
6
  weight?: "regular" | "medium" | "bold" | "semibold";
7
- font?: "styrene" | "system" | "alfasans" | {
8
- font: "alfasans";
9
- systemCompat: boolean;
10
- };
7
+ font?: "styrene" | "system";
11
8
  defaultMargins?: boolean;
12
9
  className?: string;
13
10
  dataTestId?: string;
@@ -5,129 +5,112 @@
5
5
  --gap-40: 40px;
6
6
  }
7
7
  :root {
8
- --font-family-system:
9
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
- --font-family-styrene:
11
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
12
- sans-serif;
8
+ --font-family-alfasans:
9
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
10
+ Helvetica, sans-serif;
13
11
  }
14
- .typography__xlarge_6rtoj {
12
+ .typography__xlarge_4wmck {
15
13
  font-size: 34px;
16
14
  line-height: 40px;
17
- font-weight: 600;
18
- font-family: var(--font-family-system);
15
+ font-weight: 500;
16
+ letter-spacing: -0.32px;
17
+ font-family: var(--font-family-alfasans);
19
18
  }
20
- .typography__xlarge_6rtoj.typography__font_6rtoj {
21
- font-weight: 500;
22
- font-feature-settings: 'ss01';
23
- font-family: var(--font-family-styrene);
19
+ .typography__xlarge_4wmck.typography__font_4wmck {
24
20
  }
25
- .typography__regular-xlarge_6rtoj {
21
+ .typography__regular-xlarge_4wmck {
26
22
  font-size: 34px;
27
23
  line-height: 40px;
28
24
  font-weight: 400;
29
- font-family: var(--font-family-system);
25
+ letter-spacing: -1.36px;
26
+ font-family: var(--font-family-alfasans);
30
27
  }
31
- .typography__regular-xlarge_6rtoj.typography__system_6rtoj {
32
- font-feature-settings: 'ss01';
33
- font-family: var(--font-family-styrene);
28
+ .typography__regular-xlarge_4wmck.typography__system_4wmck {
34
29
  }
35
- .typography__large_6rtoj {
30
+ .typography__large_4wmck {
36
31
  font-size: 30px;
37
32
  line-height: 36px;
38
- font-weight: 600;
39
- font-family: var(--font-family-system);
33
+ font-weight: 500;
34
+ letter-spacing: -0.25px;
35
+ font-family: var(--font-family-alfasans);
40
36
  }
41
- .typography__large_6rtoj.typography__font_6rtoj {
42
- font-weight: 500;
43
- font-feature-settings: 'ss01';
44
- font-family: var(--font-family-styrene);
37
+ .typography__large_4wmck.typography__font_4wmck {
45
38
  }
46
- .typography__regular-large_6rtoj {
39
+ .typography__regular-large_4wmck {
47
40
  font-size: 30px;
48
41
  line-height: 36px;
49
42
  font-weight: 400;
50
- font-family: var(--font-family-system);
43
+ letter-spacing: -1.25px;
44
+ font-family: var(--font-family-alfasans);
51
45
  }
52
- .typography__regular-large_6rtoj.typography__system_6rtoj {
53
- font-feature-settings: 'ss01';
54
- font-family: var(--font-family-styrene);
46
+ .typography__regular-large_4wmck.typography__system_4wmck {
55
47
  }
56
- .typography__medium_6rtoj {
48
+ .typography__medium_4wmck {
57
49
  font-size: 26px;
58
50
  line-height: 32px;
59
- font-weight: 600;
60
- font-family: var(--font-family-system);
51
+ font-weight: 500;
52
+ letter-spacing: -0.25px;
53
+ font-family: var(--font-family-alfasans);
61
54
  }
62
- .typography__medium_6rtoj.typography__font_6rtoj {
63
- font-weight: 500;
64
- font-feature-settings: 'ss01';
65
- font-family: var(--font-family-styrene);
55
+ .typography__medium_4wmck.typography__font_4wmck {
66
56
  }
67
- .typography__regular-medium_6rtoj {
57
+ .typography__regular-medium_4wmck {
68
58
  font-size: 26px;
69
59
  line-height: 32px;
70
60
  font-weight: 400;
71
- font-family: var(--font-family-system);
61
+ letter-spacing: -1px;
62
+ font-family: var(--font-family-alfasans);
72
63
  }
73
- .typography__regular-medium_6rtoj.typography__system_6rtoj {
74
- font-feature-settings: 'ss01';
75
- font-family: var(--font-family-styrene);
64
+ .typography__regular-medium_4wmck.typography__system_4wmck {
76
65
  }
77
- .typography__small_6rtoj {
66
+ .typography__small_4wmck {
78
67
  font-size: 20px;
79
68
  line-height: 28px;
80
- font-weight: 600;
81
- font-family: var(--font-family-system);
69
+ font-weight: 500;
70
+ letter-spacing: -0.15px;
71
+ font-family: var(--font-family-alfasans);
82
72
  }
83
- .typography__small_6rtoj.typography__font_6rtoj {
84
- font-weight: 500;
85
- font-feature-settings: 'ss01';
86
- font-family: var(--font-family-styrene);
73
+ .typography__small_4wmck.typography__font_4wmck {
87
74
  }
88
- .typography__regular-small_6rtoj {
75
+ .typography__regular-small_4wmck {
89
76
  font-size: 20px;
90
77
  line-height: 28px;
91
78
  font-weight: 400;
92
- font-family: var(--font-family-system);
79
+ letter-spacing: -0.68px;
80
+ font-family: var(--font-family-alfasans);
93
81
  }
94
- .typography__regular-small_6rtoj.typography__system_6rtoj {
95
- font-feature-settings: 'ss01';
96
- font-family: var(--font-family-styrene);
82
+ .typography__regular-small_4wmck.typography__system_4wmck {
97
83
  }
98
- .typography__xsmall_6rtoj {
84
+ .typography__xsmall_4wmck {
99
85
  font-size: 16px;
100
86
  line-height: 20px;
101
- font-weight: 600;
102
- font-family: var(--font-family-system);
87
+ font-weight: 500;
88
+ letter-spacing: 0.17px;
89
+ font-family: var(--font-family-alfasans);
103
90
  }
104
- .typography__xsmall_6rtoj.typography__font_6rtoj {
105
- font-weight: 500;
106
- font-feature-settings: 'ss01';
107
- font-family: var(--font-family-styrene);
91
+ .typography__xsmall_4wmck.typography__font_4wmck {
108
92
  }
109
- .typography__regular-xsmall_6rtoj {
93
+ .typography__regular-xsmall_4wmck {
110
94
  font-size: 16px;
111
95
  line-height: 20px;
112
96
  font-weight: 400;
113
- font-family: var(--font-family-system);
97
+ letter-spacing: -0.24px;
98
+ font-family: var(--font-family-alfasans);
114
99
  }
115
- .typography__regular-xsmall_6rtoj.typography__system_6rtoj {
116
- font-feature-settings: 'ss01';
117
- font-family: var(--font-family-styrene);
100
+ .typography__regular-xsmall_4wmck.typography__system_4wmck {
118
101
  }
119
- .typography__component_6rtoj.typography__margins-xlarge_6rtoj {
102
+ .typography__component_4wmck.typography__margins-xlarge_4wmck {
120
103
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
121
104
  }
122
- .typography__component_6rtoj.typography__margins-large_6rtoj {
105
+ .typography__component_4wmck.typography__margins-large_4wmck {
123
106
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
124
107
  }
125
- .typography__component_6rtoj.typography__margins-medium_6rtoj {
108
+ .typography__component_4wmck.typography__margins-medium_4wmck {
126
109
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
127
110
  }
128
- .typography__component_6rtoj.typography__margins-small_6rtoj {
111
+ .typography__component_4wmck.typography__margins-small_4wmck {
129
112
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
130
113
  }
131
- .typography__component_6rtoj .typography__margins-xsmall_6rtoj {
114
+ .typography__component_4wmck .typography__margins-xsmall_4wmck {
132
115
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
133
116
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"xlarge":"typography__xlarge_6rtoj","font":"typography__font_6rtoj","regular-xlarge":"typography__regular-xlarge_6rtoj","system":"typography__system_6rtoj","large":"typography__large_6rtoj","regular-large":"typography__regular-large_6rtoj","medium":"typography__medium_6rtoj","regular-medium":"typography__regular-medium_6rtoj","small":"typography__small_6rtoj","regular-small":"typography__regular-small_6rtoj","xsmall":"typography__xsmall_6rtoj","regular-xsmall":"typography__regular-xsmall_6rtoj","component":"typography__component_6rtoj","margins-xlarge":"typography__margins-xlarge_6rtoj","margins-large":"typography__margins-large_6rtoj","margins-medium":"typography__margins-medium_6rtoj","margins-small":"typography__margins-small_6rtoj","margins-xsmall":"typography__margins-xsmall_6rtoj"};
5
+ var styles = {"xlarge":"typography__xlarge_4wmck","font":"typography__font_4wmck","regular-xlarge":"typography__regular-xlarge_4wmck","system":"typography__system_4wmck","large":"typography__large_4wmck","regular-large":"typography__regular-large_4wmck","medium":"typography__medium_4wmck","regular-medium":"typography__regular-medium_4wmck","small":"typography__small_4wmck","regular-small":"typography__regular-small_4wmck","xsmall":"typography__xsmall_4wmck","regular-xsmall":"typography__regular-xsmall_4wmck","component":"typography__component_4wmck","margins-xlarge":"typography__margins-xlarge_4wmck","margins-large":"typography__margins-large_4wmck","margins-medium":"typography__margins-medium_4wmck","margins-small":"typography__margins-small_4wmck","margins-xsmall":"typography__margins-xsmall_4wmck"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -16,10 +16,7 @@ export declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React
16
16
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
17
17
  color?: import("..").Color;
18
18
  weight?: "regular" | "medium" | "bold" | "semibold";
19
- font?: "styrene" | "system" | "alfasans" | {
20
- font: "alfasans";
21
- systemCompat: boolean;
22
- };
19
+ font?: "styrene" | "system";
23
20
  defaultMargins?: boolean;
24
21
  className?: string;
25
22
  dataTestId?: string;
@@ -1 +0,0 @@
1
- export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- function getDefaultWeight(font, platform) {
6
- if (font === 'styrene' || font === 'alfasans') {
7
- return 'medium';
8
- }
9
- if (platform === 'desktop') {
10
- return 'bold';
11
- }
12
- return 'semibold';
13
- }
14
-
15
- exports.getDefaultWeight = getDefaultWeight;
16
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":";;;;AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;IAE9B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;;AAGnB,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;;AAGjB,IAAA,OAAO,UAAU;AACrB;;;;"}
@@ -1 +0,0 @@
1
- export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
@@ -1,12 +0,0 @@
1
- function getDefaultWeight(font, platform) {
2
- if (font === 'styrene' || font === 'alfasans') {
3
- return 'medium';
4
- }
5
- if (platform === 'desktop') {
6
- return 'bold';
7
- }
8
- return 'semibold';
9
- }
10
-
11
- export { getDefaultWeight };
12
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":"AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;IAE9B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;;AAGnB,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;;AAGjB,IAAA,OAAO,UAAU;AACrB;;;;"}
@@ -1 +0,0 @@
1
- export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
@@ -1,12 +0,0 @@
1
- function getDefaultWeight(font, platform) {
2
- if (font === 'styrene' || font === 'alfasans') {
3
- return 'medium';
4
- }
5
- if (platform === 'desktop') {
6
- return 'bold';
7
- }
8
- return 'semibold';
9
- }
10
-
11
- export { getDefaultWeight };
12
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":"AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;IAE9B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;;AAGnB,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;;AAGjB,IAAA,OAAO,UAAU;AACrB;;;;"}
@@ -1 +0,0 @@
1
- export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
@@ -1,12 +0,0 @@
1
- function getDefaultWeight(font, platform) {
2
- if (font === 'styrene' || font === 'alfasans') {
3
- return 'medium';
4
- }
5
- if (platform === 'desktop') {
6
- return 'bold';
7
- }
8
- return 'semibold';
9
- }
10
-
11
- export { getDefaultWeight };
12
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":"AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;IAE9B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;;AAGnB,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;;AAGjB,IAAA,OAAO,UAAU;AACrB;;;;"}
@@ -1,14 +0,0 @@
1
- export function getDefaultWeight(
2
- font: 'styrene' | 'system' | 'alfasans',
3
- platform: 'mobile' | 'desktop',
4
- ) {
5
- if (font === 'styrene' || font === 'alfasans') {
6
- return 'medium';
7
- }
8
-
9
- if (platform === 'desktop') {
10
- return 'bold';
11
- }
12
-
13
- return 'semibold';
14
- }
package/title/utils.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
package/title/utils.js DELETED
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- function getDefaultWeight(font, platform) {
6
- if (font === 'styrene' || font === 'alfasans') {
7
- return 'medium';
8
- }
9
- if (platform === 'desktop') {
10
- return 'bold';
11
- }
12
- return 'semibold';
13
- }
14
-
15
- exports.getDefaultWeight = getDefaultWeight;
16
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../src/title/utils.ts"],"sourcesContent":["export function getDefaultWeight(\n font: 'styrene' | 'system' | 'alfasans',\n platform: 'mobile' | 'desktop',\n) {\n if (font === 'styrene' || font === 'alfasans') {\n return 'medium';\n }\n\n if (platform === 'desktop') {\n return 'bold';\n }\n\n return 'semibold';\n}\n"],"names":[],"mappings":";;;;AAAgB,SAAA,gBAAgB,CAC5B,IAAuC,EACvC,QAA8B,EAAA;IAE9B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE;AAC3C,QAAA,OAAO,QAAQ;;AAGnB,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AACxB,QAAA,OAAO,MAAM;;AAGjB,IAAA,OAAO,UAAU;AACrB;;;;"}