@alfalab/core-components-typography 6.0.13-alfasans → 6.0.14
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/colors.css +20 -20
- package/colors.module.css.js +1 -1
- package/cssm/text/component.js +18 -16
- package/cssm/text/component.js.map +1 -1
- package/cssm/text/index.module.css +21 -41
- package/cssm/title/common.module.css +8 -1
- package/cssm/title/component.d.ts +8 -2
- package/cssm/title/component.js +19 -14
- package/cssm/title/component.js.map +1 -1
- package/cssm/title/index.d.ts +4 -1
- package/cssm/title/index.module.css +74 -23
- package/cssm/title/utils.d.ts +1 -0
- package/cssm/title/utils.js +16 -0
- package/cssm/title/utils.js.map +1 -0
- package/cssm/title-mobile/component.d.ts +4 -1
- package/cssm/title-mobile/index.module.css +45 -28
- package/cssm/title-responsive/component.d.ts +4 -1
- package/esm/colors.css +20 -20
- package/esm/colors.module.css.js +1 -1
- package/esm/text/component.js +19 -17
- package/esm/text/component.js.map +1 -1
- package/esm/text/index.css +61 -81
- package/esm/text/index.module.css.js +1 -1
- package/esm/text/index.module.css.js.map +1 -1
- package/esm/title/common.css +13 -6
- package/esm/title/common.module.css.js +1 -1
- package/esm/title/common.module.css.js.map +1 -1
- package/esm/title/component.d.ts +8 -2
- package/esm/title/component.js +19 -14
- package/esm/title/component.js.map +1 -1
- package/esm/title/index.css +89 -38
- package/esm/title/index.d.ts +4 -1
- package/esm/title/index.module.css.js +1 -1
- package/esm/title/index.module.css.js.map +1 -1
- package/esm/title/utils.d.ts +1 -0
- package/esm/title/utils.js +12 -0
- package/esm/title/utils.js.map +1 -0
- package/esm/title-mobile/component.d.ts +4 -1
- package/esm/title-mobile/index.css +70 -53
- package/esm/title-mobile/index.module.css.js +1 -1
- package/esm/title-responsive/component.d.ts +4 -1
- package/modern/colors.css +20 -20
- package/modern/colors.module.css.js +1 -1
- package/modern/text/component.js +19 -17
- package/modern/text/component.js.map +1 -1
- package/modern/text/index.css +61 -81
- package/modern/text/index.module.css.js +1 -1
- package/modern/text/index.module.css.js.map +1 -1
- package/modern/title/common.css +13 -6
- package/modern/title/common.module.css.js +1 -1
- package/modern/title/common.module.css.js.map +1 -1
- package/modern/title/component.d.ts +8 -2
- package/modern/title/component.js +18 -13
- package/modern/title/component.js.map +1 -1
- package/modern/title/index.css +89 -38
- package/modern/title/index.d.ts +4 -1
- package/modern/title/index.module.css.js +1 -1
- package/modern/title/index.module.css.js.map +1 -1
- package/modern/title/utils.d.ts +1 -0
- package/modern/title/utils.js +12 -0
- package/modern/title/utils.js.map +1 -0
- package/modern/title-mobile/component.d.ts +4 -1
- package/modern/title-mobile/index.css +70 -53
- package/modern/title-mobile/index.module.css.js +1 -1
- package/modern/title-responsive/component.d.ts +4 -1
- package/moderncssm/text/component.js +19 -17
- package/moderncssm/text/component.js.map +1 -1
- package/moderncssm/text/index.module.css +21 -38
- package/moderncssm/title/common.module.css +10 -1
- package/moderncssm/title/component.d.ts +8 -2
- package/moderncssm/title/component.js +18 -13
- package/moderncssm/title/component.js.map +1 -1
- package/moderncssm/title/index.d.ts +4 -1
- package/moderncssm/title/index.module.css +79 -20
- package/moderncssm/title/utils.d.ts +1 -0
- package/moderncssm/title/utils.js +12 -0
- package/moderncssm/title/utils.js.map +1 -0
- package/moderncssm/title-mobile/component.d.ts +4 -1
- package/moderncssm/title-mobile/index.module.css +40 -25
- package/moderncssm/title-responsive/component.d.ts +4 -1
- package/package.json +6 -6
- package/src/common.module.css +10 -1
- package/src/text/component.tsx +36 -31
- package/src/title/component.tsx +41 -31
- package/src/title/index.module.css +8 -0
- package/src/title/utils.ts +14 -0
- package/text/component.js +18 -16
- package/text/component.js.map +1 -1
- package/text/index.css +61 -81
- package/text/index.module.css.js +1 -1
- package/text/index.module.css.js.map +1 -1
- package/title/common.css +13 -6
- package/title/common.module.css.js +1 -1
- package/title/common.module.css.js.map +1 -1
- package/title/component.d.ts +8 -2
- package/title/component.js +18 -13
- package/title/component.js.map +1 -1
- package/title/index.css +89 -38
- package/title/index.d.ts +4 -1
- package/title/index.module.css.js +1 -1
- package/title/index.module.css.js.map +1 -1
- package/title/utils.d.ts +1 -0
- package/title/utils.js +16 -0
- package/title/utils.js.map +1 -0
- package/title-mobile/component.d.ts +4 -1
- package/title-mobile/index.css +70 -53
- package/title-mobile/index.module.css.js +1 -1
- package/title-responsive/component.d.ts +4 -1
package/title/index.css
CHANGED
|
@@ -6,92 +6,143 @@
|
|
|
6
6
|
--gap-48: 48px;
|
|
7
7
|
}
|
|
8
8
|
:root {
|
|
9
|
-
--font-family-
|
|
10
|
-
|
|
11
|
-
|
|
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;
|
|
12
14
|
}
|
|
13
|
-
.
|
|
15
|
+
.typography__xlarge_xd7yh {
|
|
14
16
|
font-size: 48px;
|
|
15
17
|
line-height: 52px;
|
|
16
18
|
font-weight: 700;
|
|
17
|
-
|
|
18
|
-
font-family: var(--font-family-alfasans);
|
|
19
|
+
font-family: var(--font-family-system);
|
|
19
20
|
}
|
|
20
|
-
.
|
|
21
|
+
.typography__xlarge_xd7yh.typography__font_xd7yh {
|
|
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_xd7yh {
|
|
21
28
|
font-size: 48px;
|
|
22
29
|
line-height: 52px;
|
|
23
30
|
font-weight: 400;
|
|
24
|
-
|
|
25
|
-
font-family: var(--font-family-alfasans);
|
|
31
|
+
font-family: var(--font-family-system);
|
|
26
32
|
}
|
|
27
|
-
.
|
|
33
|
+
.typography__regular-xlarge_xd7yh.typography__font_xd7yh {
|
|
34
|
+
line-height: 64px;
|
|
35
|
+
font-feature-settings: 'ss01';
|
|
36
|
+
font-family: var(--font-family-styrene);
|
|
37
|
+
}
|
|
38
|
+
.typography__large_xd7yh {
|
|
28
39
|
font-size: 40px;
|
|
29
40
|
line-height: 48px;
|
|
30
41
|
font-weight: 700;
|
|
31
|
-
|
|
32
|
-
font-family: var(--font-family-alfasans);
|
|
42
|
+
font-family: var(--font-family-system);
|
|
33
43
|
}
|
|
34
|
-
.
|
|
44
|
+
.typography__large_xd7yh.typography__font_xd7yh {
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
font-feature-settings: 'ss01';
|
|
47
|
+
font-family: var(--font-family-styrene);
|
|
48
|
+
}
|
|
49
|
+
.typography__regular-large_xd7yh {
|
|
35
50
|
font-size: 40px;
|
|
36
51
|
line-height: 48px;
|
|
37
52
|
font-weight: 400;
|
|
38
|
-
|
|
39
|
-
font-family: var(--font-family-alfasans);
|
|
53
|
+
font-family: var(--font-family-system);
|
|
40
54
|
}
|
|
41
|
-
.
|
|
55
|
+
.typography__regular-large_xd7yh.typography__font_xd7yh {
|
|
56
|
+
font-feature-settings: 'ss01';
|
|
57
|
+
font-family: var(--font-family-styrene);
|
|
58
|
+
}
|
|
59
|
+
.typography__medium_xd7yh {
|
|
42
60
|
font-size: 30px;
|
|
43
61
|
line-height: 36px;
|
|
44
62
|
font-weight: 700;
|
|
45
|
-
|
|
46
|
-
font-family: var(--font-family-alfasans);
|
|
63
|
+
font-family: var(--font-family-system);
|
|
47
64
|
}
|
|
48
|
-
.
|
|
65
|
+
.typography__medium_xd7yh.typography__font_xd7yh {
|
|
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_xd7yh {
|
|
49
73
|
font-size: 30px;
|
|
50
74
|
line-height: 36px;
|
|
51
75
|
font-weight: 400;
|
|
52
|
-
|
|
53
|
-
font-family: var(--font-family-alfasans);
|
|
76
|
+
font-family: var(--font-family-system);
|
|
54
77
|
}
|
|
55
|
-
.
|
|
78
|
+
.typography__regular-medium_xd7yh.typography__font_xd7yh {
|
|
79
|
+
font-size: 32px;
|
|
80
|
+
line-height: 40px;
|
|
81
|
+
font-feature-settings: 'ss01';
|
|
82
|
+
font-family: var(--font-family-styrene);
|
|
83
|
+
}
|
|
84
|
+
.typography__small_xd7yh {
|
|
56
85
|
font-size: 22px;
|
|
57
86
|
line-height: 26px;
|
|
58
87
|
font-weight: 700;
|
|
59
|
-
|
|
60
|
-
font-family: var(--font-family-alfasans);
|
|
88
|
+
font-family: var(--font-family-system);
|
|
61
89
|
}
|
|
62
|
-
.
|
|
90
|
+
.typography__small_xd7yh.typography__font_xd7yh {
|
|
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_xd7yh {
|
|
63
98
|
font-size: 22px;
|
|
64
99
|
line-height: 26px;
|
|
65
100
|
font-weight: 400;
|
|
66
|
-
|
|
67
|
-
font-family: var(--font-family-alfasans);
|
|
101
|
+
font-family: var(--font-family-system);
|
|
68
102
|
}
|
|
69
|
-
.
|
|
103
|
+
.typography__regular-small_xd7yh.typography__font_xd7yh {
|
|
104
|
+
font-size: 24px;
|
|
105
|
+
line-height: 32px;
|
|
106
|
+
font-feature-settings: 'ss01';
|
|
107
|
+
font-family: var(--font-family-styrene);
|
|
108
|
+
}
|
|
109
|
+
.typography__xsmall_xd7yh {
|
|
70
110
|
font-size: 18px;
|
|
71
111
|
line-height: 22px;
|
|
72
112
|
font-weight: 700;
|
|
73
|
-
|
|
74
|
-
font-family: var(--font-family-alfasans);
|
|
113
|
+
font-family: var(--font-family-system);
|
|
75
114
|
}
|
|
76
|
-
.
|
|
115
|
+
.typography__xsmall_xd7yh.typography__font_xd7yh {
|
|
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_xd7yh {
|
|
77
123
|
font-size: 18px;
|
|
78
124
|
line-height: 22px;
|
|
79
125
|
font-weight: 400;
|
|
80
|
-
|
|
81
|
-
font-family: var(--font-family-alfasans);
|
|
126
|
+
font-family: var(--font-family-system);
|
|
82
127
|
}
|
|
83
|
-
.
|
|
128
|
+
.typography__regular-xsmall_xd7yh.typography__font_xd7yh {
|
|
129
|
+
font-size: 20px;
|
|
130
|
+
line-height: 24px;
|
|
131
|
+
font-feature-settings: 'ss01';
|
|
132
|
+
font-family: var(--font-family-styrene);
|
|
133
|
+
}
|
|
134
|
+
.typography__component_xd7yh.typography__margins-xlarge_xd7yh {
|
|
84
135
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
85
136
|
}
|
|
86
|
-
.
|
|
137
|
+
.typography__component_xd7yh.typography__margins-large_xd7yh {
|
|
87
138
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
88
139
|
}
|
|
89
|
-
.
|
|
140
|
+
.typography__component_xd7yh.typography__margins-medium_xd7yh {
|
|
90
141
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
91
142
|
}
|
|
92
|
-
.
|
|
143
|
+
.typography__component_xd7yh.typography__margins-small_xd7yh {
|
|
93
144
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
94
145
|
}
|
|
95
|
-
.
|
|
146
|
+
.typography__component_xd7yh.typography__margins-xsmall_xd7yh {
|
|
96
147
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
97
148
|
}
|
package/title/index.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ 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"
|
|
8
|
+
font?: "styrene" | "system" | "alfasans" | {
|
|
9
|
+
font: "alfasans";
|
|
10
|
+
systemCompat: boolean;
|
|
11
|
+
};
|
|
9
12
|
defaultMargins?: boolean;
|
|
10
13
|
className?: string;
|
|
11
14
|
dataTestId?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"xlarge":"
|
|
5
|
+
var styles = {"xlarge":"typography__xlarge_xd7yh","font":"typography__font_xd7yh","regular-xlarge":"typography__regular-xlarge_xd7yh","large":"typography__large_xd7yh","regular-large":"typography__regular-large_xd7yh","medium":"typography__medium_xd7yh","regular-medium":"typography__regular-medium_xd7yh","small":"typography__small_xd7yh","regular-small":"typography__regular-small_xd7yh","xsmall":"typography__xsmall_xd7yh","regular-xsmall":"typography__regular-xsmall_xd7yh","component":"typography__component_xd7yh","margins-xlarge":"typography__margins-xlarge_xd7yh","margins-large":"typography__margins-large_xd7yh","margins-medium":"typography__margins-medium_xd7yh","margins-small":"typography__margins-small_xd7yh","margins-xsmall":"typography__margins-xsmall_xd7yh"};
|
|
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\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;;;;"}
|
|
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;;;;"}
|
package/title/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
|
package/title/utils.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;;;;"}
|
|
@@ -4,7 +4,10 @@ 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"
|
|
7
|
+
font?: "styrene" | "system" | "alfasans" | {
|
|
8
|
+
font: "alfasans";
|
|
9
|
+
systemCompat: boolean;
|
|
10
|
+
};
|
|
8
11
|
defaultMargins?: boolean;
|
|
9
12
|
className?: string;
|
|
10
13
|
dataTestId?: string;
|
package/title-mobile/index.css
CHANGED
|
@@ -5,112 +5,129 @@
|
|
|
5
5
|
--gap-40: 40px;
|
|
6
6
|
}
|
|
7
7
|
:root {
|
|
8
|
-
--font-family-
|
|
9
|
-
|
|
10
|
-
|
|
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;
|
|
11
13
|
}
|
|
12
|
-
.
|
|
14
|
+
.typography__xlarge_k7ygb {
|
|
13
15
|
font-size: 34px;
|
|
14
16
|
line-height: 40px;
|
|
15
|
-
font-weight:
|
|
16
|
-
|
|
17
|
-
font-family: var(--font-family-alfasans);
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
font-family: var(--font-family-system);
|
|
18
19
|
}
|
|
19
|
-
.
|
|
20
|
+
.typography__xlarge_k7ygb.typography__font_k7ygb {
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
font-feature-settings: 'ss01';
|
|
23
|
+
font-family: var(--font-family-styrene);
|
|
20
24
|
}
|
|
21
|
-
.typography__regular-
|
|
25
|
+
.typography__regular-xlarge_k7ygb {
|
|
22
26
|
font-size: 34px;
|
|
23
27
|
line-height: 40px;
|
|
24
28
|
font-weight: 400;
|
|
25
|
-
|
|
26
|
-
font-family: var(--font-family-alfasans);
|
|
29
|
+
font-family: var(--font-family-system);
|
|
27
30
|
}
|
|
28
|
-
.typography__regular-
|
|
31
|
+
.typography__regular-xlarge_k7ygb.typography__system_k7ygb {
|
|
32
|
+
font-feature-settings: 'ss01';
|
|
33
|
+
font-family: var(--font-family-styrene);
|
|
29
34
|
}
|
|
30
|
-
.
|
|
35
|
+
.typography__large_k7ygb {
|
|
31
36
|
font-size: 30px;
|
|
32
37
|
line-height: 36px;
|
|
33
|
-
font-weight:
|
|
34
|
-
|
|
35
|
-
font-family: var(--font-family-alfasans);
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
font-family: var(--font-family-system);
|
|
36
40
|
}
|
|
37
|
-
.
|
|
41
|
+
.typography__large_k7ygb.typography__font_k7ygb {
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
font-feature-settings: 'ss01';
|
|
44
|
+
font-family: var(--font-family-styrene);
|
|
38
45
|
}
|
|
39
|
-
.typography__regular-
|
|
46
|
+
.typography__regular-large_k7ygb {
|
|
40
47
|
font-size: 30px;
|
|
41
48
|
line-height: 36px;
|
|
42
49
|
font-weight: 400;
|
|
43
|
-
|
|
44
|
-
font-family: var(--font-family-alfasans);
|
|
50
|
+
font-family: var(--font-family-system);
|
|
45
51
|
}
|
|
46
|
-
.typography__regular-
|
|
52
|
+
.typography__regular-large_k7ygb.typography__system_k7ygb {
|
|
53
|
+
font-feature-settings: 'ss01';
|
|
54
|
+
font-family: var(--font-family-styrene);
|
|
47
55
|
}
|
|
48
|
-
.
|
|
56
|
+
.typography__medium_k7ygb {
|
|
49
57
|
font-size: 26px;
|
|
50
58
|
line-height: 32px;
|
|
51
|
-
font-weight:
|
|
52
|
-
|
|
53
|
-
font-family: var(--font-family-alfasans);
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
font-family: var(--font-family-system);
|
|
54
61
|
}
|
|
55
|
-
.
|
|
62
|
+
.typography__medium_k7ygb.typography__font_k7ygb {
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
font-feature-settings: 'ss01';
|
|
65
|
+
font-family: var(--font-family-styrene);
|
|
56
66
|
}
|
|
57
|
-
.typography__regular-
|
|
67
|
+
.typography__regular-medium_k7ygb {
|
|
58
68
|
font-size: 26px;
|
|
59
69
|
line-height: 32px;
|
|
60
70
|
font-weight: 400;
|
|
61
|
-
|
|
62
|
-
font-family: var(--font-family-alfasans);
|
|
71
|
+
font-family: var(--font-family-system);
|
|
63
72
|
}
|
|
64
|
-
.typography__regular-
|
|
73
|
+
.typography__regular-medium_k7ygb.typography__system_k7ygb {
|
|
74
|
+
font-feature-settings: 'ss01';
|
|
75
|
+
font-family: var(--font-family-styrene);
|
|
65
76
|
}
|
|
66
|
-
.
|
|
77
|
+
.typography__small_k7ygb {
|
|
67
78
|
font-size: 20px;
|
|
68
79
|
line-height: 28px;
|
|
69
|
-
font-weight:
|
|
70
|
-
|
|
71
|
-
font-family: var(--font-family-alfasans);
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
font-family: var(--font-family-system);
|
|
72
82
|
}
|
|
73
|
-
.
|
|
83
|
+
.typography__small_k7ygb.typography__font_k7ygb {
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
font-feature-settings: 'ss01';
|
|
86
|
+
font-family: var(--font-family-styrene);
|
|
74
87
|
}
|
|
75
|
-
.typography__regular-
|
|
88
|
+
.typography__regular-small_k7ygb {
|
|
76
89
|
font-size: 20px;
|
|
77
90
|
line-height: 28px;
|
|
78
91
|
font-weight: 400;
|
|
79
|
-
|
|
80
|
-
font-family: var(--font-family-alfasans);
|
|
92
|
+
font-family: var(--font-family-system);
|
|
81
93
|
}
|
|
82
|
-
.typography__regular-
|
|
94
|
+
.typography__regular-small_k7ygb.typography__system_k7ygb {
|
|
95
|
+
font-feature-settings: 'ss01';
|
|
96
|
+
font-family: var(--font-family-styrene);
|
|
83
97
|
}
|
|
84
|
-
.
|
|
98
|
+
.typography__xsmall_k7ygb {
|
|
85
99
|
font-size: 16px;
|
|
86
100
|
line-height: 20px;
|
|
87
|
-
font-weight:
|
|
88
|
-
|
|
89
|
-
font-family: var(--font-family-alfasans);
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
font-family: var(--font-family-system);
|
|
90
103
|
}
|
|
91
|
-
.
|
|
104
|
+
.typography__xsmall_k7ygb.typography__font_k7ygb {
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
font-feature-settings: 'ss01';
|
|
107
|
+
font-family: var(--font-family-styrene);
|
|
92
108
|
}
|
|
93
|
-
.typography__regular-
|
|
109
|
+
.typography__regular-xsmall_k7ygb {
|
|
94
110
|
font-size: 16px;
|
|
95
111
|
line-height: 20px;
|
|
96
112
|
font-weight: 400;
|
|
97
|
-
|
|
98
|
-
font-family: var(--font-family-alfasans);
|
|
113
|
+
font-family: var(--font-family-system);
|
|
99
114
|
}
|
|
100
|
-
.typography__regular-
|
|
115
|
+
.typography__regular-xsmall_k7ygb.typography__system_k7ygb {
|
|
116
|
+
font-feature-settings: 'ss01';
|
|
117
|
+
font-family: var(--font-family-styrene);
|
|
101
118
|
}
|
|
102
|
-
.
|
|
119
|
+
.typography__component_k7ygb.typography__margins-xlarge_k7ygb {
|
|
103
120
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
104
121
|
}
|
|
105
|
-
.
|
|
122
|
+
.typography__component_k7ygb.typography__margins-large_k7ygb {
|
|
106
123
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
107
124
|
}
|
|
108
|
-
.
|
|
125
|
+
.typography__component_k7ygb.typography__margins-medium_k7ygb {
|
|
109
126
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
110
127
|
}
|
|
111
|
-
.
|
|
128
|
+
.typography__component_k7ygb.typography__margins-small_k7ygb {
|
|
112
129
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
113
130
|
}
|
|
114
|
-
.
|
|
131
|
+
.typography__component_k7ygb .typography__margins-xsmall_k7ygb {
|
|
115
132
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
116
133
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"xlarge":"
|
|
5
|
+
var styles = {"xlarge":"typography__xlarge_k7ygb","font":"typography__font_k7ygb","regular-xlarge":"typography__regular-xlarge_k7ygb","system":"typography__system_k7ygb","large":"typography__large_k7ygb","regular-large":"typography__regular-large_k7ygb","medium":"typography__medium_k7ygb","regular-medium":"typography__regular-medium_k7ygb","small":"typography__small_k7ygb","regular-small":"typography__regular-small_k7ygb","xsmall":"typography__xsmall_k7ygb","regular-xsmall":"typography__regular-xsmall_k7ygb","component":"typography__component_k7ygb","margins-xlarge":"typography__margins-xlarge_k7ygb","margins-large":"typography__margins-large_k7ygb","margins-medium":"typography__margins-medium_k7ygb","margins-small":"typography__margins-small_k7ygb","margins-xsmall":"typography__margins-xsmall_k7ygb"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -16,7 +16,10 @@ 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"
|
|
19
|
+
font?: "styrene" | "system" | "alfasans" | {
|
|
20
|
+
font: "alfasans";
|
|
21
|
+
systemCompat: boolean;
|
|
22
|
+
};
|
|
20
23
|
defaultMargins?: boolean;
|
|
21
24
|
className?: string;
|
|
22
25
|
dataTestId?: string;
|