@alfalab/core-components-typography 2.2.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/dist/colors.css +13 -13
- package/dist/{colors.module-7d312c25.d.ts → colors.module-45b4d802.d.ts} +0 -0
- package/dist/{colors.module-7d312c25.js → colors.module-45b4d802.js} +1 -1
- package/dist/common.module-adb3fff7.js +6 -0
- package/dist/component.d.ts +2 -0
- package/dist/component.js +4 -2
- package/dist/cssm/component.d.ts +2 -0
- package/dist/cssm/component.js +3 -0
- package/dist/cssm/index.d.ts +2 -0
- package/dist/cssm/index.js +2 -0
- package/dist/cssm/title-mobile/component.d.ts +5 -0
- package/dist/cssm/title-mobile/component.js +27 -0
- package/dist/cssm/title-mobile/index.d.ts +1 -0
- package/dist/cssm/title-mobile/index.js +16 -0
- package/dist/cssm/title-mobile/index.module.css +81 -0
- package/dist/cssm/title-responsive/index.module.css +7 -47
- package/dist/esm/colors.css +13 -13
- package/dist/esm/{colors.module-c988507f.d.ts → colors.module-75191c3e.d.ts} +0 -0
- package/dist/esm/{colors.module-c988507f.js → colors.module-75191c3e.js} +1 -1
- package/dist/esm/common.module-21808f5a.js +4 -0
- package/dist/esm/component.d.ts +2 -0
- package/dist/esm/component.js +4 -2
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/text/component.js +2 -2
- package/dist/esm/text/index.css +14 -14
- package/dist/esm/text/index.js +1 -1
- package/dist/esm/title/common.css +5 -5
- package/dist/esm/title/component.js +1 -1
- package/dist/esm/title/index.css +19 -19
- package/dist/esm/title/index.js +3 -3
- package/dist/esm/title-mobile/component.d.ts +5 -0
- package/dist/esm/title-mobile/component.js +18 -0
- package/dist/esm/title-mobile/index.css +82 -0
- package/dist/esm/title-mobile/index.d.ts +1 -0
- package/dist/esm/title-mobile/index.js +6 -0
- package/dist/esm/title-responsive/component.js +3 -3
- package/dist/esm/title-responsive/index.css +48 -88
- package/dist/esm/title-responsive/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -2
- package/dist/modern/colors.css +13 -13
- package/dist/modern/colors.module-fc3a89e7.js +4 -0
- package/dist/modern/common.module-21808f5a.js +4 -0
- package/dist/modern/component.d.ts +2 -0
- package/dist/modern/component.js +4 -2
- package/dist/modern/index.d.ts +2 -0
- package/dist/modern/index.js +3 -2
- package/dist/modern/text/component.js +2 -2
- package/dist/modern/text/index.css +14 -14
- package/dist/modern/text/index.js +1 -1
- package/dist/modern/title/common.css +5 -5
- package/dist/modern/title/component.js +1 -1
- package/dist/modern/title/index.css +19 -19
- package/dist/modern/title/index.js +3 -3
- package/dist/modern/title-mobile/component.d.ts +5 -0
- package/dist/modern/title-mobile/component.js +18 -0
- package/dist/modern/title-mobile/index.css +82 -0
- package/dist/modern/title-mobile/index.d.ts +1 -0
- package/dist/modern/title-mobile/index.js +6 -0
- package/dist/modern/title-responsive/component.js +3 -3
- package/dist/modern/title-responsive/index.css +48 -88
- package/dist/modern/title-responsive/index.js +2 -2
- package/dist/text/component.js +2 -2
- package/dist/text/index.css +14 -14
- package/dist/text/index.js +1 -1
- package/dist/title/common.css +5 -5
- package/dist/title/component.js +1 -1
- package/dist/title/index.css +19 -19
- package/dist/title/index.js +3 -3
- package/dist/title-mobile/component.d.ts +5 -0
- package/dist/title-mobile/component.js +26 -0
- package/dist/title-mobile/index.css +82 -0
- package/dist/title-mobile/index.d.ts +1 -0
- package/dist/title-mobile/index.js +14 -0
- package/dist/title-responsive/component.js +3 -3
- package/dist/title-responsive/index.css +48 -88
- package/dist/title-responsive/index.js +2 -2
- package/package.json +2 -2
- package/dist/common.module-c6130e05.js +0 -6
- package/dist/esm/common.module-15dfca9d.js +0 -4
- package/dist/modern/colors.module-3f74b55a.js +0 -4
- package/dist/modern/common.module-15dfca9d.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jz36j */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -18,174 +18,134 @@
|
|
|
18
18
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
19
|
}
|
|
20
20
|
/* TODO: поменять медиа-запросы на миксины */
|
|
21
|
-
.typography__styrene-
|
|
22
|
-
font-size:
|
|
21
|
+
.typography__styrene-xlarge_1pkyv {
|
|
22
|
+
font-size: 34px;
|
|
23
23
|
line-height: 40px;
|
|
24
24
|
font-weight: 500;
|
|
25
25
|
font-feature-settings: 'ss01';
|
|
26
26
|
font-family: var(--font-family-styrene);
|
|
27
27
|
}
|
|
28
|
-
.typography__styrene-
|
|
29
|
-
font-size:
|
|
30
|
-
line-height:
|
|
28
|
+
.typography__styrene-large_1pkyv {
|
|
29
|
+
font-size: 30px;
|
|
30
|
+
line-height: 36px;
|
|
31
31
|
font-weight: 500;
|
|
32
32
|
font-feature-settings: 'ss01';
|
|
33
33
|
font-family: var(--font-family-styrene);
|
|
34
34
|
}
|
|
35
|
-
.typography__styrene-
|
|
36
|
-
font-size:
|
|
37
|
-
line-height:
|
|
35
|
+
.typography__styrene-medium_1pkyv {
|
|
36
|
+
font-size: 26px;
|
|
37
|
+
line-height: 32px;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
font-feature-settings: 'ss01';
|
|
40
40
|
font-family: var(--font-family-styrene);
|
|
41
41
|
}
|
|
42
|
-
.typography__styrene-
|
|
42
|
+
.typography__styrene-small_1pkyv {
|
|
43
43
|
font-size: 20px;
|
|
44
|
-
line-height:
|
|
44
|
+
line-height: 28px;
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
font-feature-settings: 'ss01';
|
|
47
47
|
font-family: var(--font-family-styrene);
|
|
48
48
|
}
|
|
49
|
-
.typography__styrene-
|
|
50
|
-
font-size:
|
|
49
|
+
.typography__styrene-xsmall_1pkyv {
|
|
50
|
+
font-size: 16px;
|
|
51
51
|
line-height: 24px;
|
|
52
52
|
font-weight: 500;
|
|
53
53
|
font-feature-settings: 'ss01';
|
|
54
54
|
font-family: var(--font-family-styrene);
|
|
55
55
|
}
|
|
56
|
-
.typography__system-
|
|
56
|
+
.typography__system-xlarge_1pkyv {
|
|
57
57
|
font-size: 30px;
|
|
58
58
|
line-height: 36px;
|
|
59
59
|
font-weight: 700;
|
|
60
60
|
}
|
|
61
|
-
.typography__system-
|
|
61
|
+
.typography__system-large_1pkyv {
|
|
62
62
|
font-size: 22px;
|
|
63
63
|
line-height: 26px;
|
|
64
64
|
font-weight: 700;
|
|
65
65
|
}
|
|
66
|
-
.typography__system-
|
|
66
|
+
.typography__system-medium_1pkyv {
|
|
67
67
|
font-size: 18px;
|
|
68
68
|
line-height: 22px;
|
|
69
69
|
font-weight: 700;
|
|
70
70
|
}
|
|
71
|
-
.typography__system-
|
|
71
|
+
.typography__system-small_1pkyv {
|
|
72
72
|
font-size: 18px;
|
|
73
73
|
line-height: 22px;
|
|
74
74
|
font-weight: 700;
|
|
75
75
|
}
|
|
76
|
-
.typography__system-
|
|
76
|
+
.typography__system-xsmall_1pkyv {
|
|
77
77
|
font-size: 18px;
|
|
78
78
|
line-height: 22px;
|
|
79
79
|
font-weight: 700;
|
|
80
80
|
}
|
|
81
|
-
.typography__margins-
|
|
81
|
+
.typography__margins-xlarge_1pkyv {
|
|
82
82
|
margin: 0 0 var(--gap-xl);
|
|
83
83
|
}
|
|
84
|
-
.typography__margins-
|
|
84
|
+
.typography__margins-large_1pkyv {
|
|
85
85
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
86
86
|
}
|
|
87
|
-
.typography__margins-
|
|
87
|
+
.typography__margins-medium_1pkyv {
|
|
88
88
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
89
89
|
}
|
|
90
|
-
.typography__margins-
|
|
90
|
+
.typography__margins-small_1pkyv {
|
|
91
91
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
92
92
|
}
|
|
93
|
-
.typography__margins-
|
|
93
|
+
.typography__margins-xsmall_1pkyv {
|
|
94
94
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
95
95
|
}
|
|
96
96
|
@media screen and (min-width: 600px) {
|
|
97
|
-
.
|
|
98
|
-
font-size: 40px;
|
|
99
|
-
line-height: 48px;
|
|
100
|
-
font-weight: 500;
|
|
101
|
-
font-feature-settings: 'ss01';
|
|
102
|
-
font-family: var(--font-family-styrene);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.typography__styrene-large_denbh {
|
|
106
|
-
font-size: 32px;
|
|
107
|
-
line-height: 40px;
|
|
108
|
-
font-weight: 500;
|
|
109
|
-
font-feature-settings: 'ss01';
|
|
110
|
-
font-family: var(--font-family-styrene);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.typography__styrene-medium_denbh {
|
|
114
|
-
font-size: 24px;
|
|
115
|
-
line-height: 32px;
|
|
116
|
-
font-weight: 500;
|
|
117
|
-
font-feature-settings: 'ss01';
|
|
118
|
-
font-family: var(--font-family-styrene);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.typography__styrene-small_denbh {
|
|
122
|
-
font-size: 24px;
|
|
123
|
-
line-height: 32px;
|
|
124
|
-
font-weight: 500;
|
|
125
|
-
font-feature-settings: 'ss01';
|
|
126
|
-
font-family: var(--font-family-styrene);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.typography__styrene-xsmall_denbh {
|
|
130
|
-
font-size: 20px;
|
|
131
|
-
line-height: 24px;
|
|
132
|
-
font-weight: 500;
|
|
133
|
-
font-feature-settings: 'ss01';
|
|
134
|
-
font-family: var(--font-family-styrene);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.typography__system-xlarge_denbh {
|
|
97
|
+
.typography__system-xlarge_1pkyv {
|
|
138
98
|
font-size: 40px;
|
|
139
99
|
line-height: 48px;
|
|
140
100
|
font-weight: 700;
|
|
141
101
|
}
|
|
142
102
|
|
|
143
|
-
.typography__system-
|
|
103
|
+
.typography__system-large_1pkyv {
|
|
144
104
|
font-size: 30px;
|
|
145
105
|
line-height: 36px;
|
|
146
106
|
font-weight: 700;
|
|
147
107
|
}
|
|
148
108
|
|
|
149
|
-
.typography__system-
|
|
109
|
+
.typography__system-medium_1pkyv {
|
|
150
110
|
font-size: 22px;
|
|
151
111
|
line-height: 26px;
|
|
152
112
|
font-weight: 700;
|
|
153
113
|
}
|
|
154
114
|
|
|
155
|
-
.typography__system-
|
|
115
|
+
.typography__system-small_1pkyv {
|
|
156
116
|
font-size: 22px;
|
|
157
117
|
line-height: 26px;
|
|
158
118
|
font-weight: 700;
|
|
159
119
|
}
|
|
160
120
|
|
|
161
|
-
.typography__system-
|
|
121
|
+
.typography__system-xsmall_1pkyv {
|
|
162
122
|
font-size: 18px;
|
|
163
123
|
line-height: 22px;
|
|
164
124
|
font-weight: 700;
|
|
165
125
|
}
|
|
166
126
|
|
|
167
|
-
.typography__margins-
|
|
127
|
+
.typography__margins-xlarge_1pkyv {
|
|
168
128
|
margin: 0 0 var(--gap-xl);
|
|
169
129
|
}
|
|
170
130
|
|
|
171
|
-
.typography__margins-
|
|
131
|
+
.typography__margins-large_1pkyv {
|
|
172
132
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
173
133
|
}
|
|
174
134
|
|
|
175
|
-
.typography__margins-
|
|
135
|
+
.typography__margins-medium_1pkyv {
|
|
176
136
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
177
137
|
}
|
|
178
138
|
|
|
179
|
-
.typography__margins-
|
|
139
|
+
.typography__margins-small_1pkyv {
|
|
180
140
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
181
141
|
}
|
|
182
142
|
|
|
183
|
-
.typography__margins-
|
|
143
|
+
.typography__margins-xsmall_1pkyv {
|
|
184
144
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
185
145
|
}
|
|
186
146
|
}
|
|
187
147
|
@media screen and (min-width: 1024px) {
|
|
188
|
-
.typography__styrene-
|
|
148
|
+
.typography__styrene-xlarge_1pkyv {
|
|
189
149
|
font-size: 48px;
|
|
190
150
|
line-height: 64px;
|
|
191
151
|
font-weight: 500;
|
|
@@ -193,7 +153,7 @@
|
|
|
193
153
|
font-family: var(--font-family-styrene);
|
|
194
154
|
}
|
|
195
155
|
|
|
196
|
-
.typography__styrene-
|
|
156
|
+
.typography__styrene-large_1pkyv {
|
|
197
157
|
font-size: 40px;
|
|
198
158
|
line-height: 48px;
|
|
199
159
|
font-weight: 500;
|
|
@@ -201,7 +161,7 @@
|
|
|
201
161
|
font-family: var(--font-family-styrene);
|
|
202
162
|
}
|
|
203
163
|
|
|
204
|
-
.typography__styrene-
|
|
164
|
+
.typography__styrene-medium_1pkyv {
|
|
205
165
|
font-size: 32px;
|
|
206
166
|
line-height: 40px;
|
|
207
167
|
font-weight: 500;
|
|
@@ -209,7 +169,7 @@
|
|
|
209
169
|
font-family: var(--font-family-styrene);
|
|
210
170
|
}
|
|
211
171
|
|
|
212
|
-
.typography__styrene-
|
|
172
|
+
.typography__styrene-small_1pkyv {
|
|
213
173
|
font-size: 24px;
|
|
214
174
|
line-height: 32px;
|
|
215
175
|
font-weight: 500;
|
|
@@ -217,7 +177,7 @@
|
|
|
217
177
|
font-family: var(--font-family-styrene);
|
|
218
178
|
}
|
|
219
179
|
|
|
220
|
-
.typography__styrene-
|
|
180
|
+
.typography__styrene-xsmall_1pkyv {
|
|
221
181
|
font-size: 20px;
|
|
222
182
|
line-height: 24px;
|
|
223
183
|
font-weight: 500;
|
|
@@ -225,53 +185,53 @@
|
|
|
225
185
|
font-family: var(--font-family-styrene);
|
|
226
186
|
}
|
|
227
187
|
|
|
228
|
-
.typography__system-
|
|
188
|
+
.typography__system-xlarge_1pkyv {
|
|
229
189
|
font-size: 48px;
|
|
230
190
|
line-height: 52px;
|
|
231
191
|
font-weight: 700;
|
|
232
192
|
}
|
|
233
193
|
|
|
234
|
-
.typography__system-
|
|
194
|
+
.typography__system-large_1pkyv {
|
|
235
195
|
font-size: 40px;
|
|
236
196
|
line-height: 48px;
|
|
237
197
|
font-weight: 700;
|
|
238
198
|
}
|
|
239
199
|
|
|
240
|
-
.typography__system-
|
|
200
|
+
.typography__system-medium_1pkyv {
|
|
241
201
|
font-size: 30px;
|
|
242
202
|
line-height: 36px;
|
|
243
203
|
font-weight: 700;
|
|
244
204
|
}
|
|
245
205
|
|
|
246
|
-
.typography__system-
|
|
206
|
+
.typography__system-small_1pkyv {
|
|
247
207
|
font-size: 22px;
|
|
248
208
|
line-height: 26px;
|
|
249
209
|
font-weight: 700;
|
|
250
210
|
}
|
|
251
211
|
|
|
252
|
-
.typography__system-
|
|
212
|
+
.typography__system-xsmall_1pkyv {
|
|
253
213
|
font-size: 18px;
|
|
254
214
|
line-height: 22px;
|
|
255
215
|
font-weight: 700;
|
|
256
216
|
}
|
|
257
217
|
|
|
258
|
-
.typography__margins-
|
|
218
|
+
.typography__margins-xlarge_1pkyv {
|
|
259
219
|
margin: 0 0 var(--gap-xl);
|
|
260
220
|
}
|
|
261
221
|
|
|
262
|
-
.typography__margins-
|
|
222
|
+
.typography__margins-large_1pkyv {
|
|
263
223
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
264
224
|
}
|
|
265
225
|
|
|
266
|
-
.typography__margins-
|
|
226
|
+
.typography__margins-medium_1pkyv {
|
|
267
227
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
268
228
|
}
|
|
269
229
|
|
|
270
|
-
.typography__margins-
|
|
230
|
+
.typography__margins-small_1pkyv {
|
|
271
231
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
272
232
|
}
|
|
273
233
|
|
|
274
|
-
.typography__margins-
|
|
234
|
+
.typography__margins-xsmall_1pkyv {
|
|
275
235
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
276
236
|
}
|
|
277
237
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-fc3a89e7.js';
|
|
4
4
|
import '../title/component.js';
|
|
5
|
-
import '../common.module-
|
|
5
|
+
import '../common.module-21808f5a.js';
|
|
6
6
|
export { TitleResponsive } from './component.js';
|
package/dist/text/component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var colors_module = require('../colors.module-
|
|
5
|
+
var colors_module = require('../colors.module-45b4d802.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
|
|
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"paragraph":"
|
|
14
|
+
var styles = {"paragraph":"typography__paragraph_1w8ug","primary-large":"typography__primary-large_1w8ug","primary-medium":"typography__primary-medium_1w8ug","primary-small":"typography__primary-small_1w8ug","secondary-large":"typography__secondary-large_1w8ug","secondary-medium":"typography__secondary-medium_1w8ug","secondary-small":"typography__secondary-small_1w8ug","component":"typography__component_1w8ug","caps":"typography__caps_1w8ug","bold":"typography__bold_1w8ug","medium":"typography__medium_1w8ug","regular":"typography__regular_1w8ug","monospace":"typography__monospace_1w8ug"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Text = React.forwardRef(function (_a, ref) {
|
package/dist/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fkots */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,62 +13,62 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.typography__paragraph_1w8ug {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_1w8ug {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_1w8ug {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_1w8ug {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_1w8ug {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_1w8ug {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_1w8ug {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_1w8ug {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_1w8ug {
|
|
56
56
|
font-size: 12px;
|
|
57
57
|
line-height: 16px;
|
|
58
58
|
font-weight: 500;
|
|
59
59
|
letter-spacing: 1.25px;
|
|
60
60
|
text-transform: uppercase;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.typography__bold_1w8ug {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_1w8ug {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_1w8ug {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_1w8ug {
|
|
72
72
|
font-feature-settings: "tnum";
|
|
73
73
|
font-variant-numeric: tabular-nums;
|
|
74
74
|
}
|
package/dist/text/index.js
CHANGED
package/dist/title/common.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: 2ojzo */
|
|
2
|
+
.typography__component_3klin {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_3klin {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_3klin {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_3klin {
|
|
16
16
|
font-weight: normal;
|
|
17
17
|
}
|
package/dist/title/component.js
CHANGED
package/dist/title/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ec8z */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -17,87 +17,87 @@
|
|
|
17
17
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
18
18
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
19
|
}
|
|
20
|
-
.typography__styrene-
|
|
20
|
+
.typography__styrene-xlarge_1xsxq {
|
|
21
21
|
font-size: 48px;
|
|
22
22
|
line-height: 64px;
|
|
23
23
|
font-weight: 500;
|
|
24
24
|
font-feature-settings: 'ss01';
|
|
25
25
|
font-family: var(--font-family-styrene);
|
|
26
26
|
}
|
|
27
|
-
.typography__styrene-
|
|
27
|
+
.typography__styrene-large_1xsxq {
|
|
28
28
|
font-size: 40px;
|
|
29
29
|
line-height: 48px;
|
|
30
30
|
font-weight: 500;
|
|
31
31
|
font-feature-settings: 'ss01';
|
|
32
32
|
font-family: var(--font-family-styrene);
|
|
33
33
|
}
|
|
34
|
-
.typography__styrene-
|
|
34
|
+
.typography__styrene-medium_1xsxq {
|
|
35
35
|
font-size: 32px;
|
|
36
36
|
line-height: 40px;
|
|
37
37
|
font-weight: 500;
|
|
38
38
|
font-feature-settings: 'ss01';
|
|
39
39
|
font-family: var(--font-family-styrene);
|
|
40
40
|
}
|
|
41
|
-
.typography__styrene-
|
|
41
|
+
.typography__styrene-small_1xsxq {
|
|
42
42
|
font-size: 24px;
|
|
43
43
|
line-height: 32px;
|
|
44
44
|
font-weight: 500;
|
|
45
45
|
font-feature-settings: 'ss01';
|
|
46
46
|
font-family: var(--font-family-styrene);
|
|
47
47
|
}
|
|
48
|
-
.typography__styrene-
|
|
48
|
+
.typography__styrene-xsmall_1xsxq {
|
|
49
49
|
font-size: 20px;
|
|
50
50
|
line-height: 24px;
|
|
51
51
|
font-weight: 500;
|
|
52
52
|
font-feature-settings: 'ss01';
|
|
53
53
|
font-family: var(--font-family-styrene);
|
|
54
54
|
}
|
|
55
|
-
.typography__system-
|
|
55
|
+
.typography__system-xlarge_1xsxq {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_1xsxq {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_1xsxq {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_1xsxq {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_1xsxq {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_1xsxq {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_1xsxq {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_1xsxq {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_1xsxq {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_1xsxq {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_1xsxq {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_1xsxq {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_1xsxq {
|
|
102
102
|
font-weight: normal;
|
|
103
103
|
}
|
package/dist/title/index.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var colors_module = require('../colors.module-
|
|
5
|
+
var colors_module = require('../colors.module-45b4d802.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
var title_component = require('./component.js');
|
|
9
|
-
var common_module = require('../common.module-
|
|
9
|
+
var common_module = require('../common.module-adb3fff7.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
|
|
15
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
15
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1xsxq","styrene-large":"typography__styrene-large_1xsxq","styrene-medium":"typography__styrene-medium_1xsxq","styrene-small":"typography__styrene-small_1xsxq","styrene-xsmall":"typography__styrene-xsmall_1xsxq","system-xlarge":"typography__system-xlarge_1xsxq","system-large":"typography__system-large_1xsxq","system-medium":"typography__system-medium_1xsxq","system-small":"typography__system-small_1xsxq","system-xsmall":"typography__system-xsmall_1xsxq","margins-xlarge":"typography__margins-xlarge_1xsxq","margins-large":"typography__margins-large_1xsxq","margins-medium":"typography__margins-medium_1xsxq","margins-small":"typography__margins-small_1xsxq","margins-xsmall":"typography__margins-xsmall_1xsxq","bold":"typography__bold_1xsxq","medium":"typography__medium_1xsxq","regular":"typography__regular_1xsxq"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Title = function (props) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var colors_module = require('../colors.module-45b4d802.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
var title_component = require('../title/component.js');
|
|
9
|
+
var common_module = require('../common.module-adb3fff7.js');
|
|
10
|
+
|
|
11
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
+
|
|
13
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
|
+
|
|
15
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_49j98","styrene-large":"typography__styrene-large_49j98","styrene-medium":"typography__styrene-medium_49j98","styrene-small":"typography__styrene-small_49j98","styrene-xsmall":"typography__styrene-xsmall_49j98","system-xlarge":"typography__system-xlarge_49j98","system-large":"typography__system-large_49j98","system-medium":"typography__system-medium_49j98","system-small":"typography__system-small_49j98","system-xsmall":"typography__system-xsmall_49j98","bold":"typography__bold_49j98","medium":"typography__medium_49j98","regular":"typography__regular_49j98"};
|
|
16
|
+
require('./index.css')
|
|
17
|
+
|
|
18
|
+
var TitleMobile = function (props) {
|
|
19
|
+
/**
|
|
20
|
+
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
21
|
+
* Видимо, это особенность работы jest и css-modules.
|
|
22
|
+
*/
|
|
23
|
+
return React__default['default'].createElement(title_component.Title, colors_module.__assign({}, props, { styles: Object.assign(common_module.commonStyles, styles) }));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.TitleMobile = TitleMobile;
|