@alfalab/core-components-typography 2.7.1 → 3.0.2
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/{dist/esm/colors.css → colors.css} +13 -13
- package/{dist/colors.d.ts → colors.d.ts} +0 -0
- package/{dist/colors.js → colors.js} +0 -0
- package/{dist/colors.module-e8299846.d.ts → colors.module-2cc8e807.d.ts} +0 -0
- package/{dist/colors.module-e8299846.js → colors.module-2cc8e807.js} +1 -1
- package/common.module-0606ddd8.js +6 -0
- package/{dist/component.d.ts → component.d.ts} +0 -0
- package/{dist/component.js → component.js} +2 -2
- package/{dist/cssm → cssm}/colors.d.ts +0 -0
- package/{dist/cssm → cssm}/colors.js +0 -0
- package/{dist/cssm → cssm}/colors.module.css +0 -0
- package/{dist/cssm → cssm}/component.d.ts +0 -0
- package/{dist/cssm → cssm}/component.js +0 -0
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +0 -0
- package/{dist/cssm → cssm}/margins.module.css +0 -0
- package/{dist/cssm → cssm}/presets.d.ts +0 -0
- package/{dist/cssm → cssm}/presets.js +0 -0
- package/{dist/cssm → cssm}/text/component.d.ts +0 -0
- package/{dist/cssm → cssm}/text/component.js +0 -0
- package/{dist/cssm → cssm}/text/index.d.ts +0 -0
- package/{dist/cssm → cssm}/text/index.js +0 -0
- package/{dist/cssm → cssm}/text/index.module.css +0 -0
- package/{dist/cssm → cssm}/title/common.module.css +0 -0
- package/{dist/cssm → cssm}/title/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title/component.js +0 -0
- package/{dist/cssm → cssm}/title/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title/index.js +0 -0
- package/{dist/cssm → cssm}/title/index.module.css +0 -0
- package/{dist/cssm → cssm}/title-mobile/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title-mobile/component.js +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.js +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.module.css +0 -0
- package/{dist/cssm → cssm}/title-responsive/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title-responsive/component.js +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.js +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.module.css +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
- package/{dist → esm}/colors.css +13 -13
- package/{dist/esm → esm}/colors.d.ts +0 -0
- package/{dist/esm → esm}/colors.js +0 -0
- package/{dist/esm/colors.module-95947b68.d.ts → esm/colors.module-6065797e.d.ts} +0 -0
- package/{dist/esm/colors.module-95947b68.js → esm/colors.module-6065797e.js} +1 -1
- package/esm/common.module-879f9853.js +4 -0
- package/{dist/esm → esm}/component.d.ts +0 -0
- package/{dist/esm → esm}/component.js +2 -2
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +2 -2
- package/{dist/esm → esm}/presets.d.ts +0 -0
- package/{dist/esm → esm}/presets.js +0 -0
- package/{dist/esm → esm}/text/component.d.ts +0 -0
- package/{dist/esm → esm}/text/component.js +2 -2
- package/{dist/esm → esm}/text/index.css +14 -14
- package/{dist/esm → esm}/text/index.d.ts +0 -0
- package/{dist/esm → esm}/text/index.js +1 -1
- package/esm/title/common.css +17 -0
- package/{dist/esm → esm}/title/component.d.ts +0 -0
- package/{dist/esm → esm}/title/component.js +1 -1
- package/{dist/modern → esm}/title/index.css +19 -19
- package/{dist/esm → esm}/title/index.d.ts +0 -0
- package/esm/title/index.js +18 -0
- package/{dist/esm → esm}/title-mobile/component.d.ts +0 -0
- package/esm/title-mobile/component.js +18 -0
- package/{dist/esm → esm}/title-mobile/index.css +14 -14
- package/{dist/esm → esm}/title-mobile/index.d.ts +0 -0
- package/{dist/modern → esm}/title-mobile/index.js +2 -2
- package/{dist/esm → esm}/title-responsive/component.d.ts +0 -0
- package/esm/title-responsive/component.js +18 -0
- package/{dist → esm}/title-responsive/index.css +41 -41
- package/{dist/esm → esm}/title-responsive/index.d.ts +0 -0
- package/{dist/modern → esm}/title-responsive/index.js +2 -2
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +2 -2
- package/{dist/modern → modern}/colors.css +13 -13
- package/{dist/modern → modern}/colors.d.ts +0 -0
- package/{dist/modern → modern}/colors.js +0 -0
- package/modern/colors.module-4a1750d9.js +4 -0
- package/modern/common.module-879f9853.js +4 -0
- package/{dist/modern → modern}/component.d.ts +0 -0
- package/{dist/modern → modern}/component.js +2 -2
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +2 -2
- package/{dist/modern → modern}/presets.d.ts +0 -0
- package/{dist/modern → modern}/presets.js +0 -0
- package/{dist/modern → modern}/text/component.d.ts +0 -0
- package/modern/text/component.js +10 -0
- package/{dist/modern → modern}/text/index.css +14 -14
- package/{dist/modern → modern}/text/index.d.ts +0 -0
- package/{dist/modern → modern}/text/index.js +1 -1
- package/modern/title/common.css +17 -0
- package/{dist/modern → modern}/title/component.d.ts +0 -0
- package/{dist/modern → modern}/title/component.js +1 -1
- package/{dist → modern}/title/index.css +19 -19
- package/{dist/modern → modern}/title/index.d.ts +0 -0
- package/modern/title/index.js +18 -0
- package/{dist/modern → modern}/title-mobile/component.d.ts +0 -0
- package/modern/title-mobile/component.js +18 -0
- package/{dist → modern}/title-mobile/index.css +14 -14
- package/{dist/modern → modern}/title-mobile/index.d.ts +0 -0
- package/{dist/esm → modern}/title-mobile/index.js +2 -2
- package/{dist/modern → modern}/title-responsive/component.d.ts +0 -0
- package/modern/title-responsive/component.js +18 -0
- package/{dist/esm → modern}/title-responsive/index.css +41 -41
- package/{dist/modern → modern}/title-responsive/index.d.ts +0 -0
- package/{dist/esm → modern}/title-responsive/index.js +2 -2
- package/package.json +7 -10
- package/{dist/presets.d.ts → presets.d.ts} +0 -0
- package/{dist/presets.js → presets.js} +0 -0
- package/{dist/send-stats.js → send-stats.js} +0 -0
- package/{dist/text → text}/component.d.ts +0 -0
- package/{dist/text → text}/component.js +2 -2
- package/{dist/text → text}/index.css +14 -14
- package/{dist/text → text}/index.d.ts +0 -0
- package/{dist/text → text}/index.js +1 -1
- package/title/common.css +17 -0
- package/{dist/title → title}/component.d.ts +0 -0
- package/{dist/title → title}/component.js +1 -1
- package/{dist/esm/title → title}/index.css +19 -19
- package/{dist/title → title}/index.d.ts +0 -0
- package/title/index.js +26 -0
- package/{dist/title-mobile → title-mobile}/component.d.ts +0 -0
- package/{dist/title-mobile → title-mobile}/component.js +3 -3
- package/{dist/modern/title-mobile → title-mobile}/index.css +14 -14
- package/{dist/title-mobile → title-mobile}/index.d.ts +0 -0
- package/{dist/title-mobile → title-mobile}/index.js +2 -2
- package/{dist/title-responsive → title-responsive}/component.d.ts +0 -0
- package/title-responsive/component.js +26 -0
- package/{dist/modern/title-responsive → title-responsive}/index.css +41 -41
- package/{dist/title-responsive → title-responsive}/index.d.ts +0 -0
- package/{dist/title-responsive → title-responsive}/index.js +2 -2
- package/CHANGELOG.md +0 -217
- package/dist/common.module-1484d53b.js +0 -6
- package/dist/esm/common.module-aa7e5b60.js +0 -4
- package/dist/esm/title/common.css +0 -17
- package/dist/esm/title/index.js +0 -18
- package/dist/esm/title-mobile/component.js +0 -18
- package/dist/esm/title-responsive/component.js +0 -18
- package/dist/modern/colors.module-049fc863.js +0 -4
- package/dist/modern/common.module-aa7e5b60.js +0 -4
- package/dist/modern/text/component.js +0 -10
- package/dist/modern/title/common.css +0 -17
- package/dist/modern/title/index.js +0 -18
- package/dist/modern/title-mobile/component.js +0 -18
- package/dist/modern/title-responsive/component.js +0 -18
- package/dist/title/common.css +0 -17
- package/dist/title/index.js +0 -26
- package/dist/title-responsive/component.js +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ouf5 */
|
|
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_kzul5 {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_kzul5 {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_kzul5 {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_kzul5 {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_kzul5 {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_kzul5 {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_kzul5 {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_kzul5 {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_kzul5 {
|
|
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_kzul5 {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_kzul5 {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_kzul5 {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_kzul5 {
|
|
72
72
|
font-feature-settings: "tnum";
|
|
73
73
|
font-variant-numeric: tabular-nums;
|
|
74
74
|
}
|
|
File without changes
|
package/title/common.css
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* hash: ud022 */
|
|
2
|
+
.typography__component_vl9i7 {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.typography__bold_vl9i7 {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.typography__medium_vl9i7 {
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.typography__regular_vl9i7 {
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 52in9 */
|
|
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_7y5pk {
|
|
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_7y5pk {
|
|
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_7y5pk {
|
|
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_7y5pk {
|
|
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_7y5pk {
|
|
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_7y5pk {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_7y5pk {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_7y5pk {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_7y5pk {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_7y5pk {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_7y5pk {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_7y5pk {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_7y5pk {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_7y5pk {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_7y5pk {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_7y5pk {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_7y5pk {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_7y5pk {
|
|
102
102
|
font-weight: normal;
|
|
103
103
|
}
|
|
File without changes
|
package/title/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var colors_module = require('../colors.module-2cc8e807.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
var title_component = require('./component.js');
|
|
9
|
+
var common_module = require('../common.module-0606ddd8.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_7y5pk","styrene-large":"typography__styrene-large_7y5pk","styrene-medium":"typography__styrene-medium_7y5pk","styrene-small":"typography__styrene-small_7y5pk","styrene-xsmall":"typography__styrene-xsmall_7y5pk","system-xlarge":"typography__system-xlarge_7y5pk","system-large":"typography__system-large_7y5pk","system-medium":"typography__system-medium_7y5pk","system-small":"typography__system-small_7y5pk","system-xsmall":"typography__system-xsmall_7y5pk","margins-xlarge":"typography__margins-xlarge_7y5pk","margins-large":"typography__margins-large_7y5pk","margins-medium":"typography__margins-medium_7y5pk","margins-small":"typography__margins-small_7y5pk","margins-xsmall":"typography__margins-xsmall_7y5pk","bold":"typography__bold_7y5pk","medium":"typography__medium_7y5pk","regular":"typography__regular_7y5pk"};
|
|
16
|
+
require('./index.css')
|
|
17
|
+
|
|
18
|
+
var Title = 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.Title = Title;
|
|
File without changes
|
|
@@ -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-2cc8e807.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
var title_component = require('../title/component.js');
|
|
9
|
-
var common_module = require('../common.module-
|
|
9
|
+
var common_module = require('../common.module-0606ddd8.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_1mr5n","styrene-large":"typography__styrene-large_1mr5n","styrene-medium":"typography__styrene-medium_1mr5n","styrene-small":"typography__styrene-small_1mr5n","styrene-xsmall":"typography__styrene-xsmall_1mr5n","system-xlarge":"typography__system-xlarge_1mr5n","system-large":"typography__system-large_1mr5n","system-medium":"typography__system-medium_1mr5n","system-small":"typography__system-small_1mr5n","system-xsmall":"typography__system-xsmall_1mr5n","bold":"typography__bold_1mr5n","medium":"typography__medium_1mr5n","regular":"typography__regular_1mr5n"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var TitleMobile = function (props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dzn67 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -11,72 +11,72 @@
|
|
|
11
11
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
12
12
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
13
13
|
}
|
|
14
|
-
.typography__styrene-
|
|
14
|
+
.typography__styrene-xlarge_1mr5n {
|
|
15
15
|
font-size: 34px;
|
|
16
16
|
line-height: 40px;
|
|
17
17
|
font-weight: 500;
|
|
18
18
|
font-feature-settings: 'ss01';
|
|
19
19
|
font-family: var(--font-family-styrene);
|
|
20
20
|
}
|
|
21
|
-
.typography__styrene-
|
|
21
|
+
.typography__styrene-large_1mr5n {
|
|
22
22
|
font-size: 30px;
|
|
23
23
|
line-height: 36px;
|
|
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-medium_1mr5n {
|
|
29
29
|
font-size: 26px;
|
|
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-small_1mr5n {
|
|
36
36
|
font-size: 20px;
|
|
37
37
|
line-height: 28px;
|
|
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-xsmall_1mr5n {
|
|
43
43
|
font-size: 16px;
|
|
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__system-
|
|
49
|
+
.typography__system-xlarge_1mr5n {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
}
|
|
54
|
-
.typography__system-
|
|
54
|
+
.typography__system-large_1mr5n {
|
|
55
55
|
font-size: 30px;
|
|
56
56
|
line-height: 36px;
|
|
57
57
|
font-weight: 600;
|
|
58
58
|
}
|
|
59
|
-
.typography__system-
|
|
59
|
+
.typography__system-medium_1mr5n {
|
|
60
60
|
font-size: 26px;
|
|
61
61
|
line-height: 32px;
|
|
62
62
|
font-weight: 600;
|
|
63
63
|
}
|
|
64
|
-
.typography__system-
|
|
64
|
+
.typography__system-small_1mr5n {
|
|
65
65
|
font-size: 20px;
|
|
66
66
|
line-height: 28px;
|
|
67
67
|
font-weight: 600;
|
|
68
68
|
}
|
|
69
|
-
.typography__system-
|
|
69
|
+
.typography__system-xsmall_1mr5n {
|
|
70
70
|
font-size: 16px;
|
|
71
71
|
line-height: 24px;
|
|
72
72
|
font-weight: 600;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.typography__bold_1mr5n {
|
|
75
75
|
font-weight: bold;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.typography__medium_1mr5n {
|
|
78
78
|
font-weight: 500;
|
|
79
79
|
}
|
|
80
|
-
.
|
|
80
|
+
.typography__regular_1mr5n {
|
|
81
81
|
font-weight: normal;
|
|
82
82
|
}
|
|
File without changes
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('../colors.module-
|
|
5
|
+
require('../colors.module-2cc8e807.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../title/component.js');
|
|
9
|
-
require('../common.module-
|
|
9
|
+
require('../common.module-0606ddd8.js');
|
|
10
10
|
var titleMobile_component = require('./component.js');
|
|
11
11
|
|
|
12
12
|
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var colors_module = require('../colors.module-2cc8e807.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
var title_component = require('../title/component.js');
|
|
9
|
+
var common_module = require('../common.module-0606ddd8.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_jfz86","styrene-large":"typography__styrene-large_jfz86","styrene-medium":"typography__styrene-medium_jfz86","styrene-small":"typography__styrene-small_jfz86","styrene-xsmall":"typography__styrene-xsmall_jfz86","system-xlarge":"typography__system-xlarge_jfz86","system-large":"typography__system-large_jfz86","system-medium":"typography__system-medium_jfz86","system-small":"typography__system-small_jfz86","system-xsmall":"typography__system-xsmall_jfz86","margins-xlarge":"typography__margins-xlarge_jfz86","margins-large":"typography__margins-large_jfz86","margins-medium":"typography__margins-medium_jfz86","margins-small":"typography__margins-small_jfz86","margins-xsmall":"typography__margins-xsmall_jfz86"};
|
|
16
|
+
require('./index.css')
|
|
17
|
+
|
|
18
|
+
var TitleResponsive = 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.TitleResponsive = TitleResponsive;
|