@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/esm/text/index.css
CHANGED
|
@@ -3,206 +3,186 @@
|
|
|
3
3
|
--gap-12: 12px;
|
|
4
4
|
}
|
|
5
5
|
:root {
|
|
6
|
-
--font-family-
|
|
7
|
-
|
|
8
|
-
Helvetica, sans-serif;
|
|
6
|
+
--font-family-system:
|
|
7
|
+
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
9
8
|
}
|
|
10
|
-
.
|
|
11
|
-
|
|
9
|
+
.typography__transparent_1j1xz {
|
|
10
|
+
visibility: hidden;
|
|
11
|
+
}
|
|
12
|
+
.typography__skeleton_1j1xz {
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset: 0;
|
|
15
|
+
}
|
|
16
|
+
.typography__root_1j1xz {
|
|
17
|
+
position: relative;
|
|
12
18
|
}
|
|
13
19
|
:root {
|
|
14
20
|
--text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
|
|
15
21
|
}
|
|
16
|
-
.
|
|
22
|
+
.typography__paragraph_1j1xz {
|
|
17
23
|
margin: var(--gap-0);
|
|
18
24
|
padding: var(--gap-0);
|
|
19
25
|
}
|
|
20
|
-
.
|
|
26
|
+
.typography__paragraphWithMargins_1j1xz {
|
|
21
27
|
padding: var(--gap-0);
|
|
22
28
|
margin: var(--text-paragraph-margin-bottom);
|
|
23
29
|
}
|
|
24
|
-
.
|
|
30
|
+
.typography__component_1j1xz {
|
|
25
31
|
font-size: 16px;
|
|
26
32
|
line-height: 20px;
|
|
27
33
|
font-weight: 400;
|
|
28
|
-
|
|
29
|
-
font-family: var(--font-family-alfasans);
|
|
34
|
+
font-family: var(--font-family-system);
|
|
30
35
|
}
|
|
31
|
-
.
|
|
36
|
+
.typography__component_1j1xz.typography__bold_1j1xz {
|
|
32
37
|
font-weight: 700;
|
|
33
|
-
letter-spacing: 0.43px;
|
|
34
38
|
}
|
|
35
|
-
.
|
|
39
|
+
.typography__component_1j1xz.typography__medium_1j1xz {
|
|
36
40
|
font-weight: 500;
|
|
37
|
-
letter-spacing: -0.05px;
|
|
38
41
|
}
|
|
39
|
-
.
|
|
42
|
+
.typography__caps_1j1xz {
|
|
40
43
|
font-size: 12px;
|
|
41
44
|
line-height: 16px;
|
|
42
45
|
font-weight: 400;
|
|
43
46
|
letter-spacing: 1.25px;
|
|
44
47
|
text-transform: uppercase;
|
|
45
|
-
font-family: var(--font-family-
|
|
48
|
+
font-family: var(--font-family-system);
|
|
46
49
|
}
|
|
47
|
-
.
|
|
50
|
+
.typography__caps_1j1xz.typography__bold_1j1xz {
|
|
48
51
|
font-weight: 700;
|
|
49
52
|
}
|
|
50
|
-
.
|
|
53
|
+
.typography__caps_1j1xz.typography__medium_1j1xz {
|
|
51
54
|
font-weight: 500;
|
|
52
55
|
}
|
|
53
|
-
.
|
|
56
|
+
.typography__tagline_1j1xz {
|
|
54
57
|
font-size: 12px;
|
|
55
58
|
line-height: 16px;
|
|
56
59
|
font-weight: 400;
|
|
57
60
|
letter-spacing: 1.25px;
|
|
58
61
|
text-transform: uppercase;
|
|
59
|
-
font-family: var(--font-family-
|
|
62
|
+
font-family: var(--font-family-system);
|
|
60
63
|
}
|
|
61
|
-
.
|
|
64
|
+
.typography__tagline_1j1xz.typography__bold_1j1xz {
|
|
62
65
|
font-weight: 700;
|
|
63
66
|
}
|
|
64
|
-
.
|
|
67
|
+
.typography__tagline_1j1xz.typography__medium_1j1xz {
|
|
65
68
|
font-weight: 500;
|
|
66
69
|
}
|
|
67
|
-
.typography__primary-
|
|
70
|
+
.typography__primary-large_1j1xz {
|
|
68
71
|
font-size: 18px;
|
|
69
72
|
line-height: 24px;
|
|
70
73
|
font-weight: 400;
|
|
71
|
-
|
|
72
|
-
font-family: var(--font-family-alfasans);
|
|
74
|
+
font-family: var(--font-family-system);
|
|
73
75
|
}
|
|
74
|
-
.typography__primary-
|
|
76
|
+
.typography__primary-large_1j1xz.typography__bold_1j1xz {
|
|
75
77
|
font-weight: 700;
|
|
76
|
-
letter-spacing: 0.38px;
|
|
77
78
|
}
|
|
78
|
-
.typography__primary-
|
|
79
|
+
.typography__primary-large_1j1xz.typography__medium_1j1xz {
|
|
79
80
|
font-weight: 500;
|
|
80
|
-
letter-spacing: -0.17px;
|
|
81
81
|
}
|
|
82
|
-
.typography__primary-
|
|
82
|
+
.typography__primary-medium_1j1xz {
|
|
83
83
|
font-size: 16px;
|
|
84
84
|
line-height: 24px;
|
|
85
85
|
font-weight: 400;
|
|
86
|
-
|
|
87
|
-
font-family: var(--font-family-alfasans);
|
|
86
|
+
font-family: var(--font-family-system);
|
|
88
87
|
}
|
|
89
|
-
.typography__primary-
|
|
88
|
+
.typography__primary-medium_1j1xz.typography__bold_1j1xz {
|
|
90
89
|
font-weight: 700;
|
|
91
|
-
letter-spacing: 0.43px;
|
|
92
90
|
}
|
|
93
|
-
.typography__primary-
|
|
91
|
+
.typography__primary-medium_1j1xz.typography__medium_1j1xz {
|
|
94
92
|
font-weight: 500;
|
|
95
|
-
letter-spacing: -0.05px;
|
|
96
93
|
}
|
|
97
|
-
.typography__primary-
|
|
94
|
+
.typography__primary-small_1j1xz {
|
|
98
95
|
font-size: 14px;
|
|
99
96
|
line-height: 20px;
|
|
100
97
|
font-weight: 400;
|
|
101
|
-
|
|
102
|
-
font-family: var(--font-family-alfasans);
|
|
98
|
+
font-family: var(--font-family-system);
|
|
103
99
|
}
|
|
104
|
-
.typography__primary-
|
|
100
|
+
.typography__primary-small_1j1xz.typography__bold_1j1xz {
|
|
105
101
|
font-weight: 700;
|
|
106
|
-
letter-spacing: 0.47px;
|
|
107
102
|
}
|
|
108
|
-
.typography__primary-
|
|
103
|
+
.typography__primary-small_1j1xz.typography__medium_1j1xz {
|
|
109
104
|
font-weight: 500;
|
|
110
|
-
letter-spacing: 0.07px;
|
|
111
105
|
}
|
|
112
|
-
.typography__component-
|
|
106
|
+
.typography__component-primary_1j1xz {
|
|
113
107
|
font-size: 16px;
|
|
114
108
|
line-height: 20px;
|
|
115
109
|
font-weight: 400;
|
|
116
|
-
|
|
117
|
-
font-family: var(--font-family-alfasans);
|
|
110
|
+
font-family: var(--font-family-system);
|
|
118
111
|
}
|
|
119
|
-
.typography__component-
|
|
112
|
+
.typography__component-primary_1j1xz.typography__bold_1j1xz {
|
|
120
113
|
font-weight: 700;
|
|
121
|
-
letter-spacing: 0.43px;
|
|
122
114
|
}
|
|
123
|
-
.typography__component-
|
|
115
|
+
.typography__component-primary_1j1xz.typography__medium_1j1xz {
|
|
124
116
|
font-weight: 500;
|
|
125
|
-
letter-spacing: -0.05px;
|
|
126
117
|
}
|
|
127
|
-
.typography__secondary-
|
|
118
|
+
.typography__secondary-large_1j1xz {
|
|
128
119
|
font-size: 13px;
|
|
129
120
|
line-height: 16px;
|
|
130
121
|
font-weight: 400;
|
|
131
|
-
font-family: var(--font-family-
|
|
122
|
+
font-family: var(--font-family-system);
|
|
132
123
|
}
|
|
133
|
-
.typography__secondary-
|
|
124
|
+
.typography__secondary-large_1j1xz.typography__bold_1j1xz {
|
|
134
125
|
font-weight: 700;
|
|
135
|
-
letter-spacing: 0.54px;
|
|
136
126
|
}
|
|
137
|
-
.typography__secondary-
|
|
127
|
+
.typography__secondary-large_1j1xz.typography__medium_1j1xz {
|
|
138
128
|
font-weight: 500;
|
|
139
|
-
letter-spacing: 0.13px;
|
|
140
129
|
}
|
|
141
|
-
.typography__secondary-
|
|
130
|
+
.typography__secondary-medium_1j1xz {
|
|
142
131
|
font-size: 12px;
|
|
143
132
|
line-height: 16px;
|
|
144
133
|
font-weight: 400;
|
|
145
|
-
|
|
146
|
-
font-family: var(--font-family-alfasans);
|
|
134
|
+
font-family: var(--font-family-system);
|
|
147
135
|
}
|
|
148
|
-
.typography__secondary-
|
|
136
|
+
.typography__secondary-medium_1j1xz.typography__bold_1j1xz {
|
|
149
137
|
font-weight: 700;
|
|
150
|
-
letter-spacing: 0.57px;
|
|
151
138
|
}
|
|
152
|
-
.typography__secondary-
|
|
139
|
+
.typography__secondary-medium_1j1xz.typography__medium_1j1xz {
|
|
153
140
|
font-weight: 500;
|
|
154
|
-
letter-spacing: 0.19px;
|
|
155
141
|
}
|
|
156
|
-
.typography__secondary-
|
|
142
|
+
.typography__secondary-small_1j1xz {
|
|
157
143
|
font-size: 11px;
|
|
158
144
|
line-height: 16px;
|
|
159
145
|
font-weight: 400;
|
|
160
|
-
|
|
161
|
-
font-family: var(--font-family-alfasans);
|
|
146
|
+
font-family: var(--font-family-system);
|
|
162
147
|
}
|
|
163
|
-
.typography__secondary-
|
|
148
|
+
.typography__secondary-small_1j1xz.typography__bold_1j1xz {
|
|
164
149
|
font-weight: 700;
|
|
165
|
-
letter-spacing: 0.54px;
|
|
166
150
|
}
|
|
167
|
-
.typography__secondary-
|
|
151
|
+
.typography__secondary-small_1j1xz.typography__medium_1j1xz {
|
|
168
152
|
font-weight: 500;
|
|
169
|
-
letter-spacing: 0.24px;
|
|
170
153
|
}
|
|
171
|
-
.typography__component-
|
|
154
|
+
.typography__component-secondary_1j1xz {
|
|
172
155
|
font-size: 14px;
|
|
173
156
|
line-height: 18px;
|
|
174
157
|
font-weight: 400;
|
|
175
|
-
|
|
176
|
-
font-family: var(--font-family-alfasans);
|
|
158
|
+
font-family: var(--font-family-system);
|
|
177
159
|
}
|
|
178
|
-
.typography__component-
|
|
160
|
+
.typography__component-secondary_1j1xz.typography__bold_1j1xz {
|
|
179
161
|
font-weight: 700;
|
|
180
|
-
letter-spacing: 0.47px;
|
|
181
162
|
}
|
|
182
|
-
.typography__component-
|
|
163
|
+
.typography__component-secondary_1j1xz.typography__medium_1j1xz {
|
|
183
164
|
font-weight: 500;
|
|
184
|
-
letter-spacing: 0.07px;
|
|
185
165
|
}
|
|
186
|
-
.
|
|
166
|
+
.typography__rowLimit1_1j1xz {
|
|
187
167
|
-webkit-line-clamp: 1;
|
|
188
168
|
display: -webkit-box;
|
|
189
169
|
-webkit-box-orient: vertical;
|
|
190
170
|
overflow: hidden;
|
|
191
171
|
word-break: break-all;
|
|
192
172
|
}
|
|
193
|
-
.
|
|
173
|
+
.typography__rowLimit2_1j1xz {
|
|
194
174
|
-webkit-line-clamp: 2;
|
|
195
175
|
display: -webkit-box;
|
|
196
176
|
-webkit-box-orient: vertical;
|
|
197
177
|
overflow: hidden;
|
|
198
178
|
}
|
|
199
|
-
.
|
|
179
|
+
.typography__rowLimit3_1j1xz {
|
|
200
180
|
-webkit-line-clamp: 3;
|
|
201
181
|
display: -webkit-box;
|
|
202
182
|
-webkit-box-orient: vertical;
|
|
203
183
|
overflow: hidden;
|
|
204
184
|
}
|
|
205
|
-
.
|
|
185
|
+
.typography__monospace_1j1xz {
|
|
206
186
|
font-feature-settings: "tnum";
|
|
207
187
|
font-variant-numeric: tabular-nums;
|
|
208
188
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"transparent":"
|
|
3
|
+
var styles = {"transparent":"typography__transparent_1j1xz","skeleton":"typography__skeleton_1j1xz","root":"typography__root_1j1xz","paragraph":"typography__paragraph_1j1xz","paragraphWithMargins":"typography__paragraphWithMargins_1j1xz","component":"typography__component_1j1xz","bold":"typography__bold_1j1xz","medium":"typography__medium_1j1xz","caps":"typography__caps_1j1xz","tagline":"typography__tagline_1j1xz","primary-large":"typography__primary-large_1j1xz","primary-medium":"typography__primary-medium_1j1xz","primary-small":"typography__primary-small_1j1xz","component-primary":"typography__component-primary_1j1xz","secondary-large":"typography__secondary-large_1j1xz","secondary-medium":"typography__secondary-medium_1j1xz","secondary-small":"typography__secondary-small_1j1xz","component-secondary":"typography__component-secondary_1j1xz","rowLimit1":"typography__rowLimit1_1j1xz","rowLimit2":"typography__rowLimit2_1j1xz","rowLimit3":"typography__rowLimit3_1j1xz","monospace":"typography__monospace_1j1xz"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../src/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../common.module.css';\n\n:root {\n --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);\n}\n\n.paragraph {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.paragraphWithMargins {\n padding: var(--gap-0);\n margin: var(--text-paragraph-margin-bottom);\n}\n\n@each $view in component, caps, tagline {\n .$(view) {\n @mixin paragraph_$(view);\n }\n\n .$(view).bold {\n @subtract-mixin accent_$(view), paragraph_$(view);\n }\n\n .$(view).medium {\n @subtract-mixin action_$(view), paragraph_$(view);\n }\n}\n\n@each $kind in primary, secondary {\n @each $size in large, medium, small {\n .$(kind)-$(size) {\n /* prettier-ignore */\n @mixin paragraph_$(kind)_$(size);\n }\n\n .$(kind)-$(size).bold {\n @subtract-mixin accent_$(kind)_$(size), paragraph_$(kind)_$(size);\n }\n\n .$(kind)-$(size).medium {\n @subtract-mixin action_$(kind)_$(size), paragraph_$(kind)_$(size);\n }\n }\n\n .component-$(kind) {\n @mixin paragraph_component_$(kind);\n\n &.bold {\n @subtract-mixin accent_component_$(kind), paragraph_component_$(kind);\n }\n\n &.medium {\n @subtract-mixin action_component_$(kind), paragraph_component_$(kind);\n }\n }\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n\n.monospace {\n font-variant-numeric: tabular-nums;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,WAAW,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,WAAW,CAAC,6BAA6B,CAAC,MAAM,CAAC,wBAAwB,CAAC,QAAQ,CAAC,0BAA0B,CAAC,MAAM,CAAC,wBAAwB,CAAC,SAAS,CAAC,2BAA2B,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../src/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../common.module.css';\n\n:root {\n --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);\n}\n\n.paragraph {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.paragraphWithMargins {\n padding: var(--gap-0);\n margin: var(--text-paragraph-margin-bottom);\n}\n\n@each $view in component, caps, tagline {\n .$(view) {\n @mixin paragraph_$(view);\n }\n\n .$(view).bold {\n @subtract-mixin accent_$(view), paragraph_$(view);\n }\n\n .$(view).medium {\n @subtract-mixin action_$(view), paragraph_$(view);\n }\n}\n\n@each $kind in primary, secondary {\n @each $size in large, medium, small {\n .$(kind)-$(size) {\n /* prettier-ignore */\n @mixin paragraph_$(kind)_$(size);\n }\n\n .$(kind)-$(size).bold {\n @subtract-mixin accent_$(kind)_$(size), paragraph_$(kind)_$(size);\n }\n\n .$(kind)-$(size).medium {\n @subtract-mixin action_$(kind)_$(size), paragraph_$(kind)_$(size);\n }\n }\n\n .component-$(kind) {\n @mixin paragraph_component_$(kind);\n\n &.bold {\n @subtract-mixin accent_component_$(kind), paragraph_component_$(kind);\n }\n\n &.medium {\n @subtract-mixin action_component_$(kind), paragraph_component_$(kind);\n }\n }\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n\n.monospace {\n font-variant-numeric: tabular-nums;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,UAAU,CAAC,4BAA4B,CAAC,MAAM,CAAC,wBAAwB,CAAC,WAAW,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,WAAW,CAAC,6BAA6B,CAAC,MAAM,CAAC,wBAAwB,CAAC,QAAQ,CAAC,0BAA0B,CAAC,MAAM,CAAC,wBAAwB,CAAC,SAAS,CAAC,2BAA2B,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
package/esm/title/common.css
CHANGED
|
@@ -1,27 +1,34 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
5
|
-
|
|
4
|
+
.typography__transparent_3kstk {
|
|
5
|
+
visibility: hidden;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
.typography__skeleton_3kstk {
|
|
8
|
+
position: absolute;
|
|
9
|
+
inset: 0;
|
|
10
|
+
}
|
|
11
|
+
.typography__root_3kstk {
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
.typography__component_3kstk {
|
|
8
15
|
margin: var(--gap-0);
|
|
9
16
|
padding: var(--gap-0);
|
|
10
17
|
}
|
|
11
|
-
.
|
|
18
|
+
.typography__rowLimit1_3kstk {
|
|
12
19
|
-webkit-line-clamp: 1;
|
|
13
20
|
display: -webkit-box;
|
|
14
21
|
-webkit-box-orient: vertical;
|
|
15
22
|
overflow: hidden;
|
|
16
23
|
word-break: break-all;
|
|
17
24
|
}
|
|
18
|
-
.
|
|
25
|
+
.typography__rowLimit2_3kstk {
|
|
19
26
|
-webkit-line-clamp: 2;
|
|
20
27
|
display: -webkit-box;
|
|
21
28
|
-webkit-box-orient: vertical;
|
|
22
29
|
overflow: hidden;
|
|
23
30
|
}
|
|
24
|
-
.
|
|
31
|
+
.typography__rowLimit3_3kstk {
|
|
25
32
|
-webkit-line-clamp: 3;
|
|
26
33
|
display: -webkit-box;
|
|
27
34
|
-webkit-box-orient: vertical;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './common.css';
|
|
2
2
|
|
|
3
|
-
var commonStyles = {"transparent":"
|
|
3
|
+
var commonStyles = {"transparent":"typography__transparent_3kstk","skeleton":"typography__skeleton_3kstk","root":"typography__root_3kstk","component":"typography__component_3kstk","rowLimit1":"typography__rowLimit1_3kstk","rowLimit2":"typography__rowLimit2_3kstk","rowLimit3":"typography__rowLimit3_3kstk"};
|
|
4
4
|
|
|
5
5
|
export { commonStyles as default };
|
|
6
6
|
//# sourceMappingURL=common.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.module.css.js","sources":["../src/title/common.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../common.module.css';\n\n.component {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;AAEgB,mBAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"common.module.css.js","sources":["../src/title/common.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../common.module.css';\n\n.component {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;AAEgB,mBAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,UAAU,CAAC,4BAA4B,CAAC,MAAM,CAAC,wBAAwB,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
package/esm/title/component.d.ts
CHANGED
|
@@ -22,7 +22,10 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
22
22
|
/**
|
|
23
23
|
* Шрифт текста
|
|
24
24
|
*/
|
|
25
|
-
font?: 'styrene' | 'system'
|
|
25
|
+
font?: 'styrene' | 'system' | 'alfasans' | {
|
|
26
|
+
font: 'alfasans';
|
|
27
|
+
systemCompat: boolean;
|
|
28
|
+
};
|
|
26
29
|
/**
|
|
27
30
|
* Добавляет отступы
|
|
28
31
|
*/
|
|
@@ -83,7 +86,10 @@ export declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps
|
|
|
83
86
|
/**
|
|
84
87
|
* Шрифт текста
|
|
85
88
|
*/
|
|
86
|
-
font?: "styrene" | "system"
|
|
89
|
+
font?: "styrene" | "system" | "alfasans" | {
|
|
90
|
+
font: "alfasans";
|
|
91
|
+
systemCompat: boolean;
|
|
92
|
+
};
|
|
87
93
|
/**
|
|
88
94
|
* Добавляет отступы
|
|
89
95
|
*/
|
package/esm/title/component.js
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
|
-
import React, { forwardRef } from 'react';
|
|
2
|
+
import React, { forwardRef, Fragment } from 'react';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
|
+
import { isObject } from '@alfalab/core-components-shared/esm';
|
|
5
6
|
import { useSkeleton } from '@alfalab/core-components-skeleton/esm';
|
|
7
|
+
import { getDefaultWeight } from './utils.js';
|
|
6
8
|
import colors from '../colors.module.css.js';
|
|
7
9
|
import commonStyles from './common.module.css.js';
|
|
8
10
|
|
|
9
11
|
var TitleBase = forwardRef(function (_a, ref) {
|
|
10
12
|
var _b;
|
|
11
|
-
var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, font = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? getDefaultWeight(isObject(font) ? font.font : font, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = __rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
|
|
14
|
+
var _h = useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
|
|
15
|
+
var Root = showSkeleton ? 'div' : Fragment;
|
|
16
|
+
var rootProps = showSkeleton
|
|
17
|
+
? { className: cn(commonStyles.root, className) }
|
|
18
|
+
: {};
|
|
19
|
+
return (React.createElement(Root, __assign({}, rootProps),
|
|
20
|
+
React.createElement(Component, __assign({ className: cn(commonStyles.component, styles.component, !showSkeleton && className, styles["".concat(weight === 'regular' ? 'regular-' : '').concat(view)], defaultMargins && styles["margins-".concat(view)], color && colors[color], (_b = {},
|
|
21
|
+
_b[commonStyles["rowLimit".concat(rowLimit)]] = rowLimit,
|
|
22
|
+
_b[commonStyles.transparent] = showSkeleton,
|
|
23
|
+
_b[styles.font] = (isObject(font) && !font.systemCompat) || !(font === 'system'),
|
|
24
|
+
_b)), "data-test-id": dataTestId, ref: mergeRefs([ref, textRef]) }, restProps), children),
|
|
25
|
+
showSkeleton && (React.createElement("div", { className: commonStyles.skeleton }, renderSkeleton({
|
|
26
|
+
wrapperClassName: cn(defaultMargins && styles["margins-".concat(view)]),
|
|
27
|
+
dataTestId: dataTestId,
|
|
28
|
+
})))));
|
|
24
29
|
});
|
|
25
30
|
|
|
26
31
|
export { TitleBase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system';\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font,\n platform,\n weight =
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../src/title/component.tsx"],"sourcesContent":["import React, { type ComponentProps, forwardRef, Fragment, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { isObject } from '@alfalab/core-components-shared';\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(font) ? font.font : font, platform),\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n const Root = showSkeleton ? 'div' : Fragment;\n const rootProps: ComponentProps<typeof Root> = showSkeleton\n ? { className: cn(commonStyles.root, className) }\n : {};\n\n return (\n <Root {...rootProps}>\n <Component\n className={cn(\n commonStyles.component,\n styles.component,\n !showSkeleton && className,\n styles[`${weight === 'regular' ? 'regular-' : ''}${view}`],\n defaultMargins && styles[`margins-${view}`],\n color && colors[color],\n {\n [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,\n [commonStyles.transparent]: showSkeleton,\n [styles.font]:\n (isObject(font) && !font.systemCompat) || !(font === 'system'),\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n {showSkeleton && (\n <div className={commonStyles.skeleton}>\n {renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n })}\n </div>\n )}\n </Root>\n );\n },\n);\n"],"names":[],"mappings":"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"}
|
package/esm/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
|
}
|