@alfalab/core-components-typography 3.0.3 → 3.0.4
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 +13 -13
- package/{colors.module-2ba58573.d.ts → colors.module-e9b9579a.d.ts} +0 -0
- package/{colors.module-2ba58573.js → colors.module-e9b9579a.js} +1 -1
- package/common.module-caf545a8.js +6 -0
- package/component.js +2 -2
- package/cssm/title-mobile/component.js +6 -7
- package/cssm/title-mobile/index.module.css +2 -2
- package/cssm/title-responsive/component.js +6 -7
- package/cssm/title-responsive/index.module.css +1 -1
- package/esm/colors.css +13 -13
- package/esm/{colors.module-b694324b.d.ts → colors.module-4de66eae.d.ts} +0 -0
- package/esm/{colors.module-b694324b.js → colors.module-4de66eae.js} +1 -1
- package/esm/common.module-2f6fae5e.js +4 -0
- package/esm/component.js +2 -2
- package/esm/index.js +2 -2
- package/esm/text/component.js +2 -2
- package/esm/text/index.css +14 -14
- package/esm/text/index.js +1 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.js +1 -1
- package/esm/title/index.css +19 -19
- package/esm/title/index.js +3 -3
- package/esm/title-mobile/component.js +9 -10
- package/esm/title-mobile/index.css +16 -16
- package/esm/title-mobile/index.js +2 -2
- package/esm/title-responsive/component.js +9 -10
- package/esm/title-responsive/index.css +42 -42
- package/esm/title-responsive/index.js +2 -2
- package/index.js +2 -2
- package/modern/colors.css +13 -13
- package/modern/colors.module-08772334.js +4 -0
- package/modern/common.module-2f6fae5e.js +4 -0
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +14 -14
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +19 -19
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +5 -5
- package/modern/title-mobile/index.css +16 -16
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +5 -5
- package/modern/title-responsive/index.css +42 -42
- package/modern/title-responsive/index.js +2 -2
- package/package.json +1 -1
- package/send-stats.js +1 -1
- package/text/component.js +2 -2
- package/text/index.css +14 -14
- package/text/index.js +1 -1
- package/title/common.css +5 -5
- package/title/component.js +1 -1
- package/title/index.css +19 -19
- package/title/index.js +3 -3
- package/title-mobile/component.js +9 -10
- package/title-mobile/index.css +16 -16
- package/title-mobile/index.js +2 -2
- package/title-responsive/component.js +9 -10
- package/title-responsive/index.css +42 -42
- package/title-responsive/index.js +2 -2
- package/common.module-c7b5f1ff.js +0 -6
- package/esm/common.module-6a9b5b80.js +0 -4
- package/modern/colors.module-3475616e.js +0 -4
- package/modern/common.module-6a9b5b80.js +0 -4
package/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1axrr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_1vd47 {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_1vd47 {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_1vd47 {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_1vd47 {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_1vd47 {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_1vd47 {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_1vd47 {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_1vd47 {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_1vd47 {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_1vd47 {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_1vd47 {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_1vd47 {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -39,7 +39,7 @@ function __rest(s, e) {
|
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var colors = {"tertiary":"
|
|
42
|
+
var colors = {"tertiary":"typography__tertiary_1vd47","disabled":"typography__disabled_1vd47","accent":"typography__accent_1vd47","primary":"typography__primary_1vd47","attention":"typography__attention_1vd47","positive":"typography__positive_1vd47","secondary":"typography__secondary_1vd47","tertiary-inverted":"typography__tertiary-inverted_1vd47","primary-inverted":"typography__primary-inverted_1vd47","secondary-inverted":"typography__secondary-inverted_1vd47","link":"typography__link_1vd47","negative":"typography__negative_1vd47"};
|
|
43
43
|
require('./colors.css')
|
|
44
44
|
|
|
45
45
|
exports.__rest = __rest;
|
package/component.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./colors.module-
|
|
5
|
+
require('./colors.module-e9b9579a.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
var text_component = require('./text/component.js');
|
|
9
9
|
require('./title/component.js');
|
|
10
|
-
require('./common.module-
|
|
10
|
+
require('./common.module-caf545a8.js');
|
|
11
11
|
var title_index = require('./title/index.js');
|
|
12
12
|
var titleMobile_component = require('./title-mobile/component.js');
|
|
13
13
|
var titleResponsive_component = require('./title-responsive/component.js');
|
|
@@ -16,12 +16,11 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
16
16
|
var commonStyles__default = /*#__PURE__*/_interopDefaultLegacy(commonStyles);
|
|
17
17
|
var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
18
18
|
|
|
19
|
-
var TitleMobile = function (props) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var TitleMobile = function (props) { return (
|
|
20
|
+
/**
|
|
21
|
+
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
22
|
+
* Видимо, это особенность работы jest и css-modules.
|
|
23
|
+
*/
|
|
24
|
+
React__default['default'].createElement(title_component.Title, tslib_es6.__assign({}, props, { styles: Object.assign(commonStyles__default['default'], styles__default['default']) }))); };
|
|
26
25
|
|
|
27
26
|
exports.TitleMobile = TitleMobile;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
.styrene-xsmall {
|
|
42
42
|
font-size: 16px;
|
|
43
|
-
line-height:
|
|
43
|
+
line-height: 20px;
|
|
44
44
|
font-weight: 500;
|
|
45
45
|
font-feature-settings: 'ss01';
|
|
46
46
|
font-family: var(--font-family-styrene);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
.system-xsmall {
|
|
69
69
|
font-size: 16px;
|
|
70
|
-
line-height:
|
|
70
|
+
line-height: 20px;
|
|
71
71
|
font-weight: 600;
|
|
72
72
|
}
|
|
73
73
|
.bold {
|
|
@@ -16,12 +16,11 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
16
16
|
var commonStyles__default = /*#__PURE__*/_interopDefaultLegacy(commonStyles);
|
|
17
17
|
var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
18
18
|
|
|
19
|
-
var TitleResponsive = function (props) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var TitleResponsive = function (props) { return (
|
|
20
|
+
/**
|
|
21
|
+
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
22
|
+
* Видимо, это особенность работы jest и css-modules.
|
|
23
|
+
*/
|
|
24
|
+
React__default['default'].createElement(title_component.Title, tslib_es6.__assign({}, props, { styles: Object.assign(commonStyles__default['default'], styles__default['default']) }))); };
|
|
26
25
|
|
|
27
26
|
exports.TitleResponsive = TitleResponsive;
|
package/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1axrr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_1vd47 {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_1vd47 {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_1vd47 {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_1vd47 {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_1vd47 {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_1vd47 {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_1vd47 {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_1vd47 {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_1vd47 {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_1vd47 {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_1vd47 {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_1vd47 {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -37,7 +37,7 @@ function __rest(s, e) {
|
|
|
37
37
|
return t;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var colors = {"tertiary":"
|
|
40
|
+
var colors = {"tertiary":"typography__tertiary_1vd47","disabled":"typography__disabled_1vd47","accent":"typography__accent_1vd47","primary":"typography__primary_1vd47","attention":"typography__attention_1vd47","positive":"typography__positive_1vd47","secondary":"typography__secondary_1vd47","tertiary-inverted":"typography__tertiary-inverted_1vd47","primary-inverted":"typography__primary-inverted_1vd47","secondary-inverted":"typography__secondary-inverted_1vd47","link":"typography__link_1vd47","negative":"typography__negative_1vd47"};
|
|
41
41
|
require('./colors.css')
|
|
42
42
|
|
|
43
43
|
export { __assign as _, __rest as a, colors as c };
|
package/esm/component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-4de66eae.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { Text } from './text/component.js';
|
|
5
5
|
import './title/component.js';
|
|
6
|
-
import './common.module-
|
|
6
|
+
import './common.module-2f6fae5e.js';
|
|
7
7
|
import { Title } from './title/index.js';
|
|
8
8
|
import { TitleMobile } from './title-mobile/component.js';
|
|
9
9
|
import { TitleResponsive } from './title-responsive/component.js';
|
package/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-4de66eae.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './text/component.js';
|
|
5
5
|
import './title/component.js';
|
|
6
|
-
import './common.module-
|
|
6
|
+
import './common.module-2f6fae5e.js';
|
|
7
7
|
import './title/index.js';
|
|
8
8
|
import './title-mobile/component.js';
|
|
9
9
|
import './title-responsive/component.js';
|
package/esm/text/component.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign, c as colors } from '../colors.module-
|
|
1
|
+
import { a as __rest, _ as __assign, c as colors } from '../colors.module-4de66eae.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
|
|
5
|
-
var styles = {"paragraph":"
|
|
5
|
+
var styles = {"paragraph":"typography__paragraph_2x4ms","primary-large":"typography__primary-large_2x4ms","primary-medium":"typography__primary-medium_2x4ms","primary-small":"typography__primary-small_2x4ms","secondary-large":"typography__secondary-large_2x4ms","secondary-medium":"typography__secondary-medium_2x4ms","secondary-small":"typography__secondary-small_2x4ms","component":"typography__component_2x4ms","caps":"typography__caps_2x4ms","bold":"typography__bold_2x4ms","medium":"typography__medium_2x4ms","regular":"typography__regular_2x4ms","monospace":"typography__monospace_2x4ms"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Text = forwardRef(function (_a, ref) {
|
package/esm/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 10nkn */
|
|
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_2x4ms {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_2x4ms {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_2x4ms {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_2x4ms {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_2x4ms {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_2x4ms {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_2x4ms {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_2x4ms {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_2x4ms {
|
|
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_2x4ms {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_2x4ms {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_2x4ms {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_2x4ms {
|
|
72
72
|
font-feature-settings: "tnum";
|
|
73
73
|
font-variant-numeric: tabular-nums;
|
|
74
74
|
}
|
package/esm/text/index.js
CHANGED
package/esm/title/common.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: 1ijuk */
|
|
2
|
+
.typography__component_2u43o {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_2u43o {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_2u43o {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_2u43o {
|
|
16
16
|
font-weight: normal;
|
|
17
17
|
}
|
package/esm/title/component.js
CHANGED
package/esm/title/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: k7jos */
|
|
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_vlaw6 {
|
|
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_vlaw6 {
|
|
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_vlaw6 {
|
|
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_vlaw6 {
|
|
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_vlaw6 {
|
|
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_vlaw6 {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_vlaw6 {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_vlaw6 {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_vlaw6 {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_vlaw6 {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_vlaw6 {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_vlaw6 {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_vlaw6 {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_vlaw6 {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_vlaw6 {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_vlaw6 {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_vlaw6 {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_vlaw6 {
|
|
102
102
|
font-weight: normal;
|
|
103
103
|
}
|
package/esm/title/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-
|
|
1
|
+
import { _ as __assign } from '../colors.module-4de66eae.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { Title as Title$1 } from './component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-2f6fae5e.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_vlaw6","styrene-large":"typography__styrene-large_vlaw6","styrene-medium":"typography__styrene-medium_vlaw6","styrene-small":"typography__styrene-small_vlaw6","styrene-xsmall":"typography__styrene-xsmall_vlaw6","system-xlarge":"typography__system-xlarge_vlaw6","system-large":"typography__system-large_vlaw6","system-medium":"typography__system-medium_vlaw6","system-small":"typography__system-small_vlaw6","system-xsmall":"typography__system-xsmall_vlaw6","margins-xlarge":"typography__margins-xlarge_vlaw6","margins-large":"typography__margins-large_vlaw6","margins-medium":"typography__margins-medium_vlaw6","margins-small":"typography__margins-small_vlaw6","margins-xsmall":"typography__margins-xsmall_vlaw6","bold":"typography__bold_vlaw6","medium":"typography__medium_vlaw6","regular":"typography__regular_vlaw6"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Title = function (props) { return (
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-
|
|
1
|
+
import { _ as __assign } from '../colors.module-4de66eae.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-2f6fae5e.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_14e9g","styrene-large":"typography__styrene-large_14e9g","styrene-medium":"typography__styrene-medium_14e9g","styrene-small":"typography__styrene-small_14e9g","styrene-xsmall":"typography__styrene-xsmall_14e9g","system-xlarge":"typography__system-xlarge_14e9g","system-large":"typography__system-large_14e9g","system-medium":"typography__system-medium_14e9g","system-small":"typography__system-small_14e9g","system-xsmall":"typography__system-xsmall_14e9g","bold":"typography__bold_14e9g","medium":"typography__medium_14e9g","regular":"typography__regular_14e9g"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
|
-
var TitleMobile = function (props) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
10
|
+
var TitleMobile = function (props) { return (
|
|
11
|
+
/**
|
|
12
|
+
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
13
|
+
* Видимо, это особенность работы jest и css-modules.
|
|
14
|
+
*/
|
|
15
|
+
React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }))); };
|
|
17
16
|
|
|
18
17
|
export { TitleMobile };
|