@alfalab/core-components-typography 2.3.0 → 2.4.0
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 +12 -0
- package/dist/colors.css +13 -13
- package/dist/{colors.module-35c48cf7.d.ts → colors.module-b49595f3.d.ts} +0 -0
- package/dist/{colors.module-35c48cf7.js → colors.module-b49595f3.js} +1 -1
- package/dist/common.module-f1e23ebf.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.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/esm/colors.css +13 -13
- package/dist/esm/{colors.module-2c206829.d.ts → colors.module-7fc54cb2.d.ts} +0 -0
- package/dist/esm/{colors.module-2c206829.js → colors.module-7fc54cb2.js} +1 -1
- package/dist/esm/common.module-6a3ec549.js +4 -0
- package/dist/esm/component.d.ts +2 -0
- package/dist/esm/component.js +4 -2
- 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 +46 -46
- package/dist/esm/title-responsive/index.js +2 -2
- package/dist/index.js +3 -2
- package/dist/modern/colors.css +13 -13
- package/dist/modern/colors.module-63a7d62a.js +4 -0
- package/dist/modern/common.module-6a3ec549.js +4 -0
- package/dist/modern/component.d.ts +2 -0
- package/dist/modern/component.js +4 -2
- 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 +46 -46
- 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 +46 -46
- package/dist/title-responsive/index.js +2 -2
- package/package.json +2 -2
- package/dist/common.module-8f8baeca.js +0 -6
- package/dist/esm/common.module-c6bc7a27.js +0 -4
- package/dist/modern/colors.module-148ba739.js +0 -4
- package/dist/modern/common.module-c6bc7a27.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dmklw */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -18,83 +18,83 @@
|
|
|
18
18
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
19
|
}
|
|
20
20
|
/* TODO: поменять медиа-запросы на миксины */
|
|
21
|
-
.typography__styrene-
|
|
21
|
+
.typography__styrene-xlarge_1u73v {
|
|
22
22
|
font-size: 32px;
|
|
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-
|
|
28
|
+
.typography__styrene-large_1u73v {
|
|
29
29
|
font-size: 24px;
|
|
30
30
|
line-height: 32px;
|
|
31
31
|
font-weight: 500;
|
|
32
32
|
font-feature-settings: 'ss01';
|
|
33
33
|
font-family: var(--font-family-styrene);
|
|
34
34
|
}
|
|
35
|
-
.typography__styrene-
|
|
35
|
+
.typography__styrene-medium_1u73v {
|
|
36
36
|
font-size: 20px;
|
|
37
37
|
line-height: 24px;
|
|
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_1u73v {
|
|
43
43
|
font-size: 20px;
|
|
44
44
|
line-height: 24px;
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
font-feature-settings: 'ss01';
|
|
47
47
|
font-family: var(--font-family-styrene);
|
|
48
48
|
}
|
|
49
|
-
.typography__styrene-
|
|
49
|
+
.typography__styrene-xsmall_1u73v {
|
|
50
50
|
font-size: 20px;
|
|
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_1u73v {
|
|
57
57
|
font-size: 30px;
|
|
58
58
|
line-height: 36px;
|
|
59
59
|
font-weight: 700;
|
|
60
60
|
}
|
|
61
|
-
.typography__system-
|
|
61
|
+
.typography__system-large_1u73v {
|
|
62
62
|
font-size: 22px;
|
|
63
63
|
line-height: 26px;
|
|
64
64
|
font-weight: 700;
|
|
65
65
|
}
|
|
66
|
-
.typography__system-
|
|
66
|
+
.typography__system-medium_1u73v {
|
|
67
67
|
font-size: 18px;
|
|
68
68
|
line-height: 22px;
|
|
69
69
|
font-weight: 700;
|
|
70
70
|
}
|
|
71
|
-
.typography__system-
|
|
71
|
+
.typography__system-small_1u73v {
|
|
72
72
|
font-size: 18px;
|
|
73
73
|
line-height: 22px;
|
|
74
74
|
font-weight: 700;
|
|
75
75
|
}
|
|
76
|
-
.typography__system-
|
|
76
|
+
.typography__system-xsmall_1u73v {
|
|
77
77
|
font-size: 18px;
|
|
78
78
|
line-height: 22px;
|
|
79
79
|
font-weight: 700;
|
|
80
80
|
}
|
|
81
|
-
.typography__margins-
|
|
81
|
+
.typography__margins-xlarge_1u73v {
|
|
82
82
|
margin: 0 0 var(--gap-xl);
|
|
83
83
|
}
|
|
84
|
-
.typography__margins-
|
|
84
|
+
.typography__margins-large_1u73v {
|
|
85
85
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
86
86
|
}
|
|
87
|
-
.typography__margins-
|
|
87
|
+
.typography__margins-medium_1u73v {
|
|
88
88
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
89
89
|
}
|
|
90
|
-
.typography__margins-
|
|
90
|
+
.typography__margins-small_1u73v {
|
|
91
91
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
92
92
|
}
|
|
93
|
-
.typography__margins-
|
|
93
|
+
.typography__margins-xsmall_1u73v {
|
|
94
94
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
95
95
|
}
|
|
96
96
|
@media screen and (min-width: 600px) {
|
|
97
|
-
.typography__styrene-
|
|
97
|
+
.typography__styrene-xlarge_1u73v {
|
|
98
98
|
font-size: 40px;
|
|
99
99
|
line-height: 48px;
|
|
100
100
|
font-weight: 500;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
font-family: var(--font-family-styrene);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.typography__styrene-
|
|
105
|
+
.typography__styrene-large_1u73v {
|
|
106
106
|
font-size: 32px;
|
|
107
107
|
line-height: 40px;
|
|
108
108
|
font-weight: 500;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
font-family: var(--font-family-styrene);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.typography__styrene-
|
|
113
|
+
.typography__styrene-medium_1u73v {
|
|
114
114
|
font-size: 24px;
|
|
115
115
|
line-height: 32px;
|
|
116
116
|
font-weight: 500;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
font-family: var(--font-family-styrene);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.typography__styrene-
|
|
121
|
+
.typography__styrene-small_1u73v {
|
|
122
122
|
font-size: 24px;
|
|
123
123
|
line-height: 32px;
|
|
124
124
|
font-weight: 500;
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
font-family: var(--font-family-styrene);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.typography__styrene-
|
|
129
|
+
.typography__styrene-xsmall_1u73v {
|
|
130
130
|
font-size: 20px;
|
|
131
131
|
line-height: 24px;
|
|
132
132
|
font-weight: 500;
|
|
@@ -134,58 +134,58 @@
|
|
|
134
134
|
font-family: var(--font-family-styrene);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.typography__system-
|
|
137
|
+
.typography__system-xlarge_1u73v {
|
|
138
138
|
font-size: 40px;
|
|
139
139
|
line-height: 48px;
|
|
140
140
|
font-weight: 700;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.typography__system-
|
|
143
|
+
.typography__system-large_1u73v {
|
|
144
144
|
font-size: 30px;
|
|
145
145
|
line-height: 36px;
|
|
146
146
|
font-weight: 700;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.typography__system-
|
|
149
|
+
.typography__system-medium_1u73v {
|
|
150
150
|
font-size: 22px;
|
|
151
151
|
line-height: 26px;
|
|
152
152
|
font-weight: 700;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.typography__system-
|
|
155
|
+
.typography__system-small_1u73v {
|
|
156
156
|
font-size: 22px;
|
|
157
157
|
line-height: 26px;
|
|
158
158
|
font-weight: 700;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.typography__system-
|
|
161
|
+
.typography__system-xsmall_1u73v {
|
|
162
162
|
font-size: 18px;
|
|
163
163
|
line-height: 22px;
|
|
164
164
|
font-weight: 700;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.typography__margins-
|
|
167
|
+
.typography__margins-xlarge_1u73v {
|
|
168
168
|
margin: 0 0 var(--gap-xl);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.typography__margins-
|
|
171
|
+
.typography__margins-large_1u73v {
|
|
172
172
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.typography__margins-
|
|
175
|
+
.typography__margins-medium_1u73v {
|
|
176
176
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.typography__margins-
|
|
179
|
+
.typography__margins-small_1u73v {
|
|
180
180
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.typography__margins-
|
|
183
|
+
.typography__margins-xsmall_1u73v {
|
|
184
184
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
@media screen and (min-width: 1024px) {
|
|
188
|
-
.typography__styrene-
|
|
188
|
+
.typography__styrene-xlarge_1u73v {
|
|
189
189
|
font-size: 48px;
|
|
190
190
|
line-height: 64px;
|
|
191
191
|
font-weight: 500;
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
font-family: var(--font-family-styrene);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.typography__styrene-
|
|
196
|
+
.typography__styrene-large_1u73v {
|
|
197
197
|
font-size: 40px;
|
|
198
198
|
line-height: 48px;
|
|
199
199
|
font-weight: 500;
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
font-family: var(--font-family-styrene);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.typography__styrene-
|
|
204
|
+
.typography__styrene-medium_1u73v {
|
|
205
205
|
font-size: 32px;
|
|
206
206
|
line-height: 40px;
|
|
207
207
|
font-weight: 500;
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
font-family: var(--font-family-styrene);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.typography__styrene-
|
|
212
|
+
.typography__styrene-small_1u73v {
|
|
213
213
|
font-size: 24px;
|
|
214
214
|
line-height: 32px;
|
|
215
215
|
font-weight: 500;
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
font-family: var(--font-family-styrene);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.typography__styrene-
|
|
220
|
+
.typography__styrene-xsmall_1u73v {
|
|
221
221
|
font-size: 20px;
|
|
222
222
|
line-height: 24px;
|
|
223
223
|
font-weight: 500;
|
|
@@ -225,53 +225,53 @@
|
|
|
225
225
|
font-family: var(--font-family-styrene);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.typography__system-
|
|
228
|
+
.typography__system-xlarge_1u73v {
|
|
229
229
|
font-size: 48px;
|
|
230
230
|
line-height: 52px;
|
|
231
231
|
font-weight: 700;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.typography__system-
|
|
234
|
+
.typography__system-large_1u73v {
|
|
235
235
|
font-size: 40px;
|
|
236
236
|
line-height: 48px;
|
|
237
237
|
font-weight: 700;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
.typography__system-
|
|
240
|
+
.typography__system-medium_1u73v {
|
|
241
241
|
font-size: 30px;
|
|
242
242
|
line-height: 36px;
|
|
243
243
|
font-weight: 700;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.typography__system-
|
|
246
|
+
.typography__system-small_1u73v {
|
|
247
247
|
font-size: 22px;
|
|
248
248
|
line-height: 26px;
|
|
249
249
|
font-weight: 700;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
.typography__system-
|
|
252
|
+
.typography__system-xsmall_1u73v {
|
|
253
253
|
font-size: 18px;
|
|
254
254
|
line-height: 22px;
|
|
255
255
|
font-weight: 700;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.typography__margins-
|
|
258
|
+
.typography__margins-xlarge_1u73v {
|
|
259
259
|
margin: 0 0 var(--gap-xl);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.typography__margins-
|
|
262
|
+
.typography__margins-large_1u73v {
|
|
263
263
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.typography__margins-
|
|
266
|
+
.typography__margins-medium_1u73v {
|
|
267
267
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
.typography__margins-
|
|
270
|
+
.typography__margins-small_1u73v {
|
|
271
271
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
.typography__margins-
|
|
274
|
+
.typography__margins-xsmall_1u73v {
|
|
275
275
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-63a7d62a.js';
|
|
4
4
|
import '../title/component.js';
|
|
5
|
-
import '../common.module-
|
|
5
|
+
import '../common.module-6a3ec549.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-b49595f3.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_1tveu","primary-large":"typography__primary-large_1tveu","primary-medium":"typography__primary-medium_1tveu","primary-small":"typography__primary-small_1tveu","secondary-large":"typography__secondary-large_1tveu","secondary-medium":"typography__secondary-medium_1tveu","secondary-small":"typography__secondary-small_1tveu","component":"typography__component_1tveu","caps":"typography__caps_1tveu","bold":"typography__bold_1tveu","medium":"typography__medium_1tveu","regular":"typography__regular_1tveu","monospace":"typography__monospace_1tveu"};
|
|
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: qtgiq */
|
|
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_1tveu {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_1tveu {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_1tveu {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_1tveu {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_1tveu {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_1tveu {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_1tveu {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_1tveu {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_1tveu {
|
|
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_1tveu {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_1tveu {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_1tveu {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_1tveu {
|
|
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: 1uxaw */
|
|
2
|
+
.typography__component_1fjjn {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_1fjjn {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_1fjjn {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_1fjjn {
|
|
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: 1gcj5 */
|
|
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_411ik {
|
|
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_411ik {
|
|
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_411ik {
|
|
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_411ik {
|
|
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_411ik {
|
|
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_411ik {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_411ik {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_411ik {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_411ik {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_411ik {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_411ik {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_411ik {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_411ik {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_411ik {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_411ik {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_411ik {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_411ik {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_411ik {
|
|
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-b49595f3.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-f1e23ebf.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_411ik","styrene-large":"typography__styrene-large_411ik","styrene-medium":"typography__styrene-medium_411ik","styrene-small":"typography__styrene-small_411ik","styrene-xsmall":"typography__styrene-xsmall_411ik","system-xlarge":"typography__system-xlarge_411ik","system-large":"typography__system-large_411ik","system-medium":"typography__system-medium_411ik","system-small":"typography__system-small_411ik","system-xsmall":"typography__system-xsmall_411ik","margins-xlarge":"typography__margins-xlarge_411ik","margins-large":"typography__margins-large_411ik","margins-medium":"typography__margins-medium_411ik","margins-small":"typography__margins-small_411ik","margins-xsmall":"typography__margins-xsmall_411ik","bold":"typography__bold_411ik","medium":"typography__medium_411ik","regular":"typography__regular_411ik"};
|
|
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-b49595f3.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
var title_component = require('../title/component.js');
|
|
9
|
+
var common_module = require('../common.module-f1e23ebf.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_qomdc","styrene-large":"typography__styrene-large_qomdc","styrene-medium":"typography__styrene-medium_qomdc","styrene-small":"typography__styrene-small_qomdc","styrene-xsmall":"typography__styrene-xsmall_qomdc","system-xlarge":"typography__system-xlarge_qomdc","system-large":"typography__system-large_qomdc","system-medium":"typography__system-medium_qomdc","system-small":"typography__system-small_qomdc","system-xsmall":"typography__system-xsmall_qomdc","bold":"typography__bold_qomdc","medium":"typography__medium_qomdc","regular":"typography__regular_qomdc"};
|
|
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;
|