@alfalab/core-components-typography 3.1.0 → 3.2.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/colors.css +42 -28
- package/colors.d.ts +1 -1
- package/colors.js +7 -0
- package/colors.module-15de3c41.js +6 -0
- package/common.module-f948e7d5.js +6 -0
- package/component.js +3 -2
- package/cssm/colors.d.ts +1 -1
- package/cssm/colors.js +7 -0
- package/cssm/colors.module.css +41 -27
- package/cssm/component.js +1 -1
- package/cssm/index.js +1 -1
- package/cssm/text/component.js +3 -3
- package/cssm/text/index.js +1 -1
- package/cssm/text/index.module.css +26 -38
- package/cssm/title/component.d.ts +1 -1
- package/cssm/title/component.js +3 -3
- package/cssm/title/index.js +2 -2
- package/cssm/title/index.module.css +26 -40
- package/cssm/title-mobile/component.js +2 -2
- package/cssm/title-mobile/index.js +1 -1
- package/cssm/title-mobile/index.module.css +18 -22
- package/cssm/title-responsive/component.js +2 -2
- package/cssm/title-responsive/index.js +1 -1
- package/cssm/title-responsive/index.module.css +25 -39
- package/esm/colors.css +42 -28
- package/esm/colors.d.ts +1 -1
- package/esm/colors.js +7 -0
- package/esm/colors.module-308e84a9.js +4 -0
- package/esm/common.module-a19344da.js +4 -0
- package/esm/component.js +3 -2
- package/esm/index.js +3 -2
- package/esm/text/component.js +3 -2
- package/esm/text/index.css +27 -39
- package/esm/text/index.js +2 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.d.ts +1 -1
- package/esm/title/component.js +2 -1
- package/esm/title/index.css +27 -41
- package/esm/title/index.js +4 -3
- package/esm/title-mobile/component.js +4 -3
- package/esm/title-mobile/index.css +19 -23
- package/esm/title-mobile/index.js +3 -2
- package/esm/title-responsive/component.js +4 -3
- package/esm/title-responsive/index.css +51 -65
- package/esm/title-responsive/index.js +3 -2
- package/index.js +3 -2
- package/modern/colors.css +42 -28
- package/modern/colors.d.ts +1 -1
- package/modern/colors.js +7 -0
- package/modern/colors.module-c327b974.js +4 -0
- package/modern/common.module-41281fe7.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 +27 -39
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.d.ts +1 -1
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +27 -41
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +19 -23
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +51 -65
- package/modern/title-responsive/index.js +2 -2
- package/package.json +3 -2
- package/text/component.js +5 -4
- package/text/index.css +27 -39
- package/text/index.js +2 -1
- package/title/common.css +5 -5
- package/title/component.d.ts +1 -1
- package/title/component.js +4 -3
- package/title/index.css +27 -41
- package/title/index.js +5 -4
- package/title-mobile/component.js +5 -4
- package/title-mobile/index.css +19 -23
- package/title-mobile/index.js +3 -2
- package/title-responsive/component.js +5 -4
- package/title-responsive/index.css +51 -65
- package/title-responsive/index.js +3 -2
- package/colors.module-bc993287.d.ts +0 -36
- package/colors.module-bc993287.js +0 -46
- package/common.module-0a9ad0fb.js +0 -6
- package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
- package/cssm/tslib.es6-bbd6cd2a.js +0 -42
- package/esm/colors.module-42065957.d.ts +0 -36
- package/esm/colors.module-42065957.js +0 -43
- package/esm/common.module-cc423fc9.js +0 -4
- package/modern/colors.module-cbb33ea7.js +0 -4
- package/modern/common.module-13ae7781.js +0 -4
package/modern/colors.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bc7p */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-text-accent: #ef3124;
|
|
4
5
|
--color-light-text-attention: #de6a00;
|
|
5
6
|
--color-light-text-disabled: rgba(11, 31, 53, 0.15);
|
|
@@ -12,49 +13,62 @@
|
|
|
12
13
|
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
13
14
|
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
14
15
|
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
15
|
-
|
|
16
|
-
:
|
|
16
|
+
--color-static-text-accent: #ef3124;
|
|
17
|
+
--color-static-text-primary-dark: #0b1f35;
|
|
18
|
+
--color-static-text-primary-light: #fff;
|
|
19
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
20
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
23
|
+
} :root {
|
|
24
|
+
} :root {
|
|
25
|
+
} :root {
|
|
17
26
|
|
|
18
27
|
/* Hard */
|
|
19
28
|
|
|
20
29
|
/* Up */
|
|
21
30
|
|
|
22
31
|
/* Hard up */
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
} :root {
|
|
33
|
+
} :root {
|
|
34
|
+
} :root {
|
|
35
|
+
} :root {
|
|
36
|
+
} /* colors */ .typography__tertiary_1m791 {
|
|
26
37
|
color: var(--color-light-text-tertiary);
|
|
27
|
-
}
|
|
28
|
-
.typography__disabled_5mg9e {
|
|
38
|
+
} .typography__disabled_1m791 {
|
|
29
39
|
color: var(--color-light-text-disabled);
|
|
30
|
-
}
|
|
31
|
-
.typography__accent_5mg9e {
|
|
40
|
+
} .typography__accent_1m791 {
|
|
32
41
|
color: var(--color-light-text-accent);
|
|
33
|
-
}
|
|
34
|
-
.typography__primary_5mg9e {
|
|
42
|
+
} .typography__primary_1m791 {
|
|
35
43
|
color: var(--color-light-text-primary);
|
|
36
|
-
}
|
|
37
|
-
.typography__attention_5mg9e {
|
|
44
|
+
} .typography__attention_1m791 {
|
|
38
45
|
color: var(--color-light-text-attention);
|
|
39
|
-
}
|
|
40
|
-
.typography__positive_5mg9e {
|
|
46
|
+
} .typography__positive_1m791 {
|
|
41
47
|
color: var(--color-light-text-positive);
|
|
42
|
-
}
|
|
43
|
-
.typography__secondary_5mg9e {
|
|
48
|
+
} .typography__secondary_1m791 {
|
|
44
49
|
color: var(--color-light-text-secondary);
|
|
45
|
-
}
|
|
46
|
-
.typography__tertiary-inverted_5mg9e {
|
|
50
|
+
} .typography__tertiary-inverted_1m791 {
|
|
47
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
|
-
}
|
|
49
|
-
.typography__primary-inverted_5mg9e {
|
|
52
|
+
} .typography__primary-inverted_1m791 {
|
|
50
53
|
color: var(--color-light-text-primary-inverted);
|
|
51
|
-
}
|
|
52
|
-
.typography__secondary-inverted_5mg9e {
|
|
54
|
+
} .typography__secondary-inverted_1m791 {
|
|
53
55
|
color: var(--color-light-text-secondary-inverted);
|
|
54
|
-
}
|
|
55
|
-
.typography__link_5mg9e {
|
|
56
|
+
} .typography__link_1m791 {
|
|
56
57
|
color: var(--color-light-text-link);
|
|
57
|
-
}
|
|
58
|
-
.typography__negative_5mg9e {
|
|
58
|
+
} .typography__negative_1m791 {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
|
+
} .typography__static-primary-light_1m791 {
|
|
61
|
+
color: var(--color-static-text-primary-light);
|
|
62
|
+
} .typography__static-secondary-light_1m791 {
|
|
63
|
+
color: var(--color-static-text-secondary-light);
|
|
64
|
+
} .typography__static-tertiary-light_1m791 {
|
|
65
|
+
color: var(--color-static-text-tertiary-light);
|
|
66
|
+
} .typography__static-primary-dark_1m791 {
|
|
67
|
+
color: var(--color-static-text-primary-dark);
|
|
68
|
+
} .typography__static-secondary-dark_1m791 {
|
|
69
|
+
color: var(--color-static-text-secondary-dark);
|
|
70
|
+
} .typography__static-tertiary-dark_1m791 {
|
|
71
|
+
color: var(--color-static-text-tertiary-dark);
|
|
72
|
+
} .typography__static-accent_1m791 {
|
|
73
|
+
color: var(--color-static-text-accent);
|
|
60
74
|
}
|
package/modern/colors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative"];
|
|
1
|
+
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
2
|
type Color = typeof colors[number];
|
|
3
3
|
export { colors, Color };
|
package/modern/colors.js
CHANGED
|
@@ -11,6 +11,13 @@ const colors = [
|
|
|
11
11
|
'secondary-inverted',
|
|
12
12
|
'link',
|
|
13
13
|
'negative',
|
|
14
|
+
'static-primary-light',
|
|
15
|
+
'static-secondary-light',
|
|
16
|
+
'static-tertiary-light',
|
|
17
|
+
'static-primary-dark',
|
|
18
|
+
'static-secondary-dark',
|
|
19
|
+
'static-tertiary-dark',
|
|
20
|
+
'static-accent',
|
|
14
21
|
];
|
|
15
22
|
|
|
16
23
|
export { colors };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const colors = {"tertiary":"typography__tertiary_1m791","disabled":"typography__disabled_1m791","accent":"typography__accent_1m791","primary":"typography__primary_1m791","attention":"typography__attention_1m791","positive":"typography__positive_1m791","secondary":"typography__secondary_1m791","tertiary-inverted":"typography__tertiary-inverted_1m791","primary-inverted":"typography__primary-inverted_1m791","secondary-inverted":"typography__secondary-inverted_1m791","link":"typography__link_1m791","negative":"typography__negative_1m791","static-primary-light":"typography__static-primary-light_1m791","static-secondary-light":"typography__static-secondary-light_1m791","static-tertiary-light":"typography__static-tertiary-light_1m791","static-primary-dark":"typography__static-primary-dark_1m791","static-secondary-dark":"typography__static-secondary-dark_1m791","static-tertiary-dark":"typography__static-tertiary-dark_1m791","static-accent":"typography__static-accent_1m791"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
package/modern/component.js
CHANGED
|
@@ -4,9 +4,9 @@ import { TitleMobile } from './title-mobile/component.js';
|
|
|
4
4
|
import { TitleResponsive } from './title-responsive/component.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import './colors.module-
|
|
7
|
+
import './colors.module-c327b974.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-41281fe7.js';
|
|
10
10
|
|
|
11
11
|
const Typography = {
|
|
12
12
|
Title,
|
package/modern/index.js
CHANGED
|
@@ -3,9 +3,9 @@ export { typographyPresets } from './presets.js';
|
|
|
3
3
|
import './text/component.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import './colors.module-
|
|
6
|
+
import './colors.module-c327b974.js';
|
|
7
7
|
import './title/index.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-41281fe7.js';
|
|
10
10
|
import './title-mobile/component.js';
|
|
11
11
|
import './title-responsive/component.js';
|
package/modern/text/component.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { c as colors } from '../colors.module-
|
|
3
|
+
import { c as colors } from '../colors.module-c327b974.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"paragraph":"
|
|
5
|
+
const styles = {"paragraph":"typography__paragraph_vffdo","paragraphWithMargins":"typography__paragraphWithMargins_vffdo","primary-large":"typography__primary-large_vffdo","primary-medium":"typography__primary-medium_vffdo","primary-small":"typography__primary-small_vffdo","secondary-large":"typography__secondary-large_vffdo","secondary-medium":"typography__secondary-medium_vffdo","secondary-small":"typography__secondary-small_vffdo","component":"typography__component_vffdo","caps":"typography__caps_vffdo","bold":"typography__bold_vffdo","medium":"typography__medium_vffdo","regular":"typography__regular_vffdo","monospace":"typography__monospace_vffdo","rowLimit1":"typography__rowLimit1_vffdo","rowLimit2":"typography__rowLimit2_vffdo","rowLimit3":"typography__rowLimit3_vffdo"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight, monospaceNumbers = false, defaultMargins = true, color, className, dataTestId, children, rowLimit, ...restProps }, ref) => (React.createElement(Component, { className: cn({
|
package/modern/text/index.css
CHANGED
|
@@ -1,95 +1,83 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1889g */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-s: 12px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
15
|
-
}
|
|
16
|
-
.typography__paragraph_9xfoj {
|
|
20
|
+
} .typography__paragraph_vffdo {
|
|
17
21
|
margin: 0;
|
|
18
22
|
padding: 0;
|
|
19
|
-
}
|
|
20
|
-
.typography__paragraphWithMargins_9xfoj {
|
|
23
|
+
} .typography__paragraphWithMargins_vffdo {
|
|
21
24
|
padding: 0;
|
|
22
25
|
margin: var(--text-paragraph-margin-bottom);
|
|
23
|
-
}
|
|
24
|
-
.typography__primary-large_9xfoj {
|
|
26
|
+
} .typography__primary-large_vffdo {
|
|
25
27
|
font-size: 18px;
|
|
26
28
|
line-height: 24px;
|
|
27
29
|
font-weight: 400;
|
|
28
|
-
}
|
|
29
|
-
.typography__primary-medium_9xfoj {
|
|
30
|
+
} .typography__primary-medium_vffdo {
|
|
30
31
|
font-size: 16px;
|
|
31
32
|
line-height: 24px;
|
|
32
33
|
font-weight: 400;
|
|
33
|
-
}
|
|
34
|
-
.typography__primary-small_9xfoj {
|
|
34
|
+
} .typography__primary-small_vffdo {
|
|
35
35
|
font-size: 14px;
|
|
36
36
|
line-height: 20px;
|
|
37
37
|
font-weight: 400;
|
|
38
|
-
}
|
|
39
|
-
.typography__secondary-large_9xfoj {
|
|
38
|
+
} .typography__secondary-large_vffdo {
|
|
40
39
|
font-size: 13px;
|
|
41
40
|
line-height: 16px;
|
|
42
41
|
font-weight: 400;
|
|
43
|
-
}
|
|
44
|
-
.typography__secondary-medium_9xfoj {
|
|
42
|
+
} .typography__secondary-medium_vffdo {
|
|
45
43
|
font-size: 12px;
|
|
46
44
|
line-height: 16px;
|
|
47
45
|
font-weight: 400;
|
|
48
|
-
}
|
|
49
|
-
.typography__secondary-small_9xfoj {
|
|
46
|
+
} .typography__secondary-small_vffdo {
|
|
50
47
|
font-size: 11px;
|
|
51
48
|
line-height: 16px;
|
|
52
49
|
font-weight: 400;
|
|
53
|
-
}
|
|
54
|
-
.typography__component_9xfoj {
|
|
50
|
+
} .typography__component_vffdo {
|
|
55
51
|
font-size: 16px;
|
|
56
52
|
line-height: 20px;
|
|
57
53
|
font-weight: 400;
|
|
58
|
-
}
|
|
59
|
-
.typography__caps_9xfoj {
|
|
54
|
+
} .typography__caps_vffdo {
|
|
60
55
|
font-size: 12px;
|
|
61
56
|
line-height: 16px;
|
|
62
57
|
font-weight: 500;
|
|
63
58
|
letter-spacing: 1.25px;
|
|
64
59
|
text-transform: uppercase;
|
|
65
|
-
}
|
|
66
|
-
.typography__bold_9xfoj {
|
|
60
|
+
} .typography__bold_vffdo {
|
|
67
61
|
font-weight: bold;
|
|
68
|
-
}
|
|
69
|
-
.typography__medium_9xfoj {
|
|
62
|
+
} .typography__medium_vffdo {
|
|
70
63
|
font-weight: 500;
|
|
71
|
-
}
|
|
72
|
-
.typography__regular_9xfoj {
|
|
64
|
+
} .typography__regular_vffdo {
|
|
73
65
|
font-weight: normal;
|
|
74
|
-
}
|
|
75
|
-
.typography__monospace_9xfoj {
|
|
66
|
+
} .typography__monospace_vffdo {
|
|
76
67
|
font-feature-settings: "tnum";
|
|
77
68
|
font-variant-numeric: tabular-nums;
|
|
78
|
-
}
|
|
79
|
-
.typography__rowLimit1_9xfoj {
|
|
69
|
+
} .typography__rowLimit1_vffdo {
|
|
80
70
|
-webkit-line-clamp: 1;
|
|
81
71
|
display: -webkit-box;
|
|
82
72
|
-webkit-box-orient: vertical;
|
|
83
73
|
overflow: hidden;
|
|
84
74
|
word-break: break-all;
|
|
85
|
-
}
|
|
86
|
-
.typography__rowLimit2_9xfoj {
|
|
75
|
+
} .typography__rowLimit2_vffdo {
|
|
87
76
|
-webkit-line-clamp: 2;
|
|
88
77
|
display: -webkit-box;
|
|
89
78
|
-webkit-box-orient: vertical;
|
|
90
79
|
overflow: hidden;
|
|
91
|
-
}
|
|
92
|
-
.typography__rowLimit3_9xfoj {
|
|
80
|
+
} .typography__rowLimit3_vffdo {
|
|
93
81
|
-webkit-line-clamp: 3;
|
|
94
82
|
display: -webkit-box;
|
|
95
83
|
-webkit-box-orient: vertical;
|
package/modern/text/index.js
CHANGED
package/modern/title/common.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: 15rx7 */
|
|
2
|
+
.typography__component_a3ydv {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.typography__component_a3ydv.typography__bold_a3ydv {
|
|
7
7
|
font-weight: bold;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.typography__component_a3ydv.typography__medium_a3ydv {
|
|
10
10
|
font-weight: 500;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.typography__component_a3ydv.typography__regular_a3ydv {
|
|
13
13
|
font-weight: normal;
|
|
14
14
|
}
|
|
@@ -63,7 +63,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
|
|
|
63
63
|
/**
|
|
64
64
|
* Цвет текста
|
|
65
65
|
*/
|
|
66
|
-
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | undefined;
|
|
66
|
+
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Толщина шрифта
|
|
69
69
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { c as colors } from '../colors.module-
|
|
3
|
+
import { c as colors } from '../colors.module-c327b974.js';
|
|
4
4
|
|
|
5
5
|
const Title = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', weight = font === 'styrene' ? 'medium' : 'bold', defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, ...restProps }, ref) => (React.createElement(Component, { className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color], { [styles[`rowLimit${rowLimit}`]]: rowLimit }), "data-test-id": dataTestId, ref: ref, ...restProps }, children)));
|
|
6
6
|
|
package/modern/title/index.css
CHANGED
|
@@ -1,111 +1,97 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1261a */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
16
|
--gap-xl: 24px;
|
|
13
17
|
--gap-3xl: 40px;
|
|
14
18
|
--gap-4xl: 48px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
19
|
+
} :root {
|
|
17
20
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
18
21
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
|
-
}
|
|
20
|
-
.typography__styrene-
|
|
22
|
+
} :root {
|
|
23
|
+
} .typography__styrene-xlarge_1ixkt {
|
|
21
24
|
font-size: 48px;
|
|
22
25
|
line-height: 64px;
|
|
23
26
|
font-weight: 500;
|
|
24
27
|
font-feature-settings: 'ss01';
|
|
25
28
|
font-family: var(--font-family-styrene);
|
|
26
|
-
}
|
|
27
|
-
.typography__styrene-large_17h0l {
|
|
29
|
+
} .typography__styrene-large_1ixkt {
|
|
28
30
|
font-size: 40px;
|
|
29
31
|
line-height: 48px;
|
|
30
32
|
font-weight: 500;
|
|
31
33
|
font-feature-settings: 'ss01';
|
|
32
34
|
font-family: var(--font-family-styrene);
|
|
33
|
-
}
|
|
34
|
-
.typography__styrene-medium_17h0l {
|
|
35
|
+
} .typography__styrene-medium_1ixkt {
|
|
35
36
|
font-size: 32px;
|
|
36
37
|
line-height: 40px;
|
|
37
38
|
font-weight: 500;
|
|
38
39
|
font-feature-settings: 'ss01';
|
|
39
40
|
font-family: var(--font-family-styrene);
|
|
40
|
-
}
|
|
41
|
-
.typography__styrene-small_17h0l {
|
|
41
|
+
} .typography__styrene-small_1ixkt {
|
|
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
|
-
}
|
|
48
|
-
.typography__styrene-xsmall_17h0l {
|
|
47
|
+
} .typography__styrene-xsmall_1ixkt {
|
|
49
48
|
font-size: 20px;
|
|
50
49
|
line-height: 24px;
|
|
51
50
|
font-weight: 500;
|
|
52
51
|
font-feature-settings: 'ss01';
|
|
53
52
|
font-family: var(--font-family-styrene);
|
|
54
|
-
}
|
|
55
|
-
.typography__system-xlarge_17h0l {
|
|
53
|
+
} .typography__system-xlarge_1ixkt {
|
|
56
54
|
font-size: 48px;
|
|
57
55
|
line-height: 52px;
|
|
58
56
|
font-weight: 700;
|
|
59
|
-
}
|
|
60
|
-
.typography__system-large_17h0l {
|
|
57
|
+
} .typography__system-large_1ixkt {
|
|
61
58
|
font-size: 40px;
|
|
62
59
|
line-height: 48px;
|
|
63
60
|
font-weight: 700;
|
|
64
|
-
}
|
|
65
|
-
.typography__system-medium_17h0l {
|
|
61
|
+
} .typography__system-medium_1ixkt {
|
|
66
62
|
font-size: 30px;
|
|
67
63
|
line-height: 36px;
|
|
68
64
|
font-weight: 700;
|
|
69
|
-
}
|
|
70
|
-
.typography__system-small_17h0l {
|
|
65
|
+
} .typography__system-small_1ixkt {
|
|
71
66
|
font-size: 22px;
|
|
72
67
|
line-height: 26px;
|
|
73
68
|
font-weight: 700;
|
|
74
|
-
}
|
|
75
|
-
.typography__system-xsmall_17h0l {
|
|
69
|
+
} .typography__system-xsmall_1ixkt {
|
|
76
70
|
font-size: 18px;
|
|
77
71
|
line-height: 22px;
|
|
78
72
|
font-weight: 700;
|
|
79
|
-
}
|
|
80
|
-
.typography__margins-xlarge_17h0l {
|
|
73
|
+
} .typography__margins-xlarge_1ixkt {
|
|
81
74
|
margin: 0 0 var(--gap-xl);
|
|
82
|
-
}
|
|
83
|
-
.typography__margins-large_17h0l {
|
|
75
|
+
} .typography__margins-large_1ixkt {
|
|
84
76
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
|
-
}
|
|
86
|
-
.typography__margins-medium_17h0l {
|
|
77
|
+
} .typography__margins-medium_1ixkt {
|
|
87
78
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
|
-
}
|
|
89
|
-
.typography__margins-small_17h0l {
|
|
79
|
+
} .typography__margins-small_1ixkt {
|
|
90
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
|
-
}
|
|
92
|
-
.typography__margins-xsmall_17h0l {
|
|
81
|
+
} .typography__margins-xsmall_1ixkt {
|
|
93
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
|
-
}
|
|
95
|
-
.typography__rowLimit1_17h0l {
|
|
83
|
+
} .typography__rowLimit1_1ixkt {
|
|
96
84
|
-webkit-line-clamp: 1;
|
|
97
85
|
display: -webkit-box;
|
|
98
86
|
-webkit-box-orient: vertical;
|
|
99
87
|
overflow: hidden;
|
|
100
88
|
word-break: break-all;
|
|
101
|
-
}
|
|
102
|
-
.typography__rowLimit2_17h0l {
|
|
89
|
+
} .typography__rowLimit2_1ixkt {
|
|
103
90
|
-webkit-line-clamp: 2;
|
|
104
91
|
display: -webkit-box;
|
|
105
92
|
-webkit-box-orient: vertical;
|
|
106
93
|
overflow: hidden;
|
|
107
|
-
}
|
|
108
|
-
.typography__rowLimit3_17h0l {
|
|
94
|
+
} .typography__rowLimit3_1ixkt {
|
|
109
95
|
-webkit-line-clamp: 3;
|
|
110
96
|
display: -webkit-box;
|
|
111
97
|
-webkit-box-orient: vertical;
|
package/modern/title/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Title as Title$1 } from './component.js';
|
|
3
|
-
import { c as commonStyles } from '../common.module-
|
|
3
|
+
import { c as commonStyles } from '../common.module-41281fe7.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-c327b974.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_1ixkt","styrene-large":"typography__styrene-large_1ixkt","styrene-medium":"typography__styrene-medium_1ixkt","styrene-small":"typography__styrene-small_1ixkt","styrene-xsmall":"typography__styrene-xsmall_1ixkt","system-xlarge":"typography__system-xlarge_1ixkt","system-large":"typography__system-large_1ixkt","system-medium":"typography__system-medium_1ixkt","system-small":"typography__system-small_1ixkt","system-xsmall":"typography__system-xsmall_1ixkt","margins-xlarge":"typography__margins-xlarge_1ixkt","margins-large":"typography__margins-large_1ixkt","margins-medium":"typography__margins-medium_1ixkt","margins-small":"typography__margins-small_1ixkt","margins-xsmall":"typography__margins-xsmall_1ixkt","rowLimit1":"typography__rowLimit1_1ixkt","rowLimit2":"typography__rowLimit2_1ixkt","rowLimit3":"typography__rowLimit3_1ixkt"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Title = (props) => (
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Title } from '../title/component.js';
|
|
3
|
-
import { c as commonStyles } from '../common.module-
|
|
3
|
+
import { c as commonStyles } from '../common.module-41281fe7.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-c327b974.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_brqjo","styrene-large":"typography__styrene-large_brqjo","styrene-medium":"typography__styrene-medium_brqjo","styrene-small":"typography__styrene-small_brqjo","styrene-xsmall":"typography__styrene-xsmall_brqjo","system-xlarge":"typography__system-xlarge_brqjo","system-large":"typography__system-large_brqjo","system-medium":"typography__system-medium_brqjo","system-small":"typography__system-small_brqjo","system-xsmall":"typography__system-xsmall_brqjo"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleMobile = (props) => (
|
|
@@ -1,72 +1,68 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1fx8l */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
11
16
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
12
17
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
13
|
-
}
|
|
14
|
-
.typography__styrene-
|
|
18
|
+
} :root {
|
|
19
|
+
} .typography__styrene-xlarge_brqjo {
|
|
15
20
|
font-size: 34px;
|
|
16
21
|
line-height: 40px;
|
|
17
22
|
font-weight: 500;
|
|
18
23
|
font-feature-settings: 'ss01';
|
|
19
24
|
font-family: var(--font-family-styrene);
|
|
20
|
-
}
|
|
21
|
-
.typography__styrene-large_1pauw {
|
|
25
|
+
} .typography__styrene-large_brqjo {
|
|
22
26
|
font-size: 30px;
|
|
23
27
|
line-height: 36px;
|
|
24
28
|
font-weight: 500;
|
|
25
29
|
font-feature-settings: 'ss01';
|
|
26
30
|
font-family: var(--font-family-styrene);
|
|
27
|
-
}
|
|
28
|
-
.typography__styrene-medium_1pauw {
|
|
31
|
+
} .typography__styrene-medium_brqjo {
|
|
29
32
|
font-size: 26px;
|
|
30
33
|
line-height: 32px;
|
|
31
34
|
font-weight: 500;
|
|
32
35
|
font-feature-settings: 'ss01';
|
|
33
36
|
font-family: var(--font-family-styrene);
|
|
34
|
-
}
|
|
35
|
-
.typography__styrene-small_1pauw {
|
|
37
|
+
} .typography__styrene-small_brqjo {
|
|
36
38
|
font-size: 20px;
|
|
37
39
|
line-height: 28px;
|
|
38
40
|
font-weight: 500;
|
|
39
41
|
font-feature-settings: 'ss01';
|
|
40
42
|
font-family: var(--font-family-styrene);
|
|
41
|
-
}
|
|
42
|
-
.typography__styrene-xsmall_1pauw {
|
|
43
|
+
} .typography__styrene-xsmall_brqjo {
|
|
43
44
|
font-size: 16px;
|
|
44
45
|
line-height: 20px;
|
|
45
46
|
font-weight: 500;
|
|
46
47
|
font-feature-settings: 'ss01';
|
|
47
48
|
font-family: var(--font-family-styrene);
|
|
48
|
-
}
|
|
49
|
-
.typography__system-xlarge_1pauw {
|
|
49
|
+
} .typography__system-xlarge_brqjo {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
|
-
}
|
|
54
|
-
.typography__system-large_1pauw {
|
|
53
|
+
} .typography__system-large_brqjo {
|
|
55
54
|
font-size: 30px;
|
|
56
55
|
line-height: 36px;
|
|
57
56
|
font-weight: 600;
|
|
58
|
-
}
|
|
59
|
-
.typography__system-medium_1pauw {
|
|
57
|
+
} .typography__system-medium_brqjo {
|
|
60
58
|
font-size: 26px;
|
|
61
59
|
line-height: 32px;
|
|
62
60
|
font-weight: 600;
|
|
63
|
-
}
|
|
64
|
-
.typography__system-small_1pauw {
|
|
61
|
+
} .typography__system-small_brqjo {
|
|
65
62
|
font-size: 20px;
|
|
66
63
|
line-height: 28px;
|
|
67
64
|
font-weight: 600;
|
|
68
|
-
}
|
|
69
|
-
.typography__system-xsmall_1pauw {
|
|
65
|
+
} .typography__system-xsmall_brqjo {
|
|
70
66
|
font-size: 16px;
|
|
71
67
|
line-height: 20px;
|
|
72
68
|
font-weight: 600;
|
|
@@ -2,5 +2,5 @@ export { TitleMobile } from './component.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../title/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
6
|
-
import '../common.module-
|
|
5
|
+
import '../colors.module-c327b974.js';
|
|
6
|
+
import '../common.module-41281fe7.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Title } from '../title/component.js';
|
|
3
|
-
import { c as commonStyles } from '../common.module-
|
|
3
|
+
import { c as commonStyles } from '../common.module-41281fe7.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-c327b974.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_1x9yf","styrene-large":"typography__styrene-large_1x9yf","styrene-medium":"typography__styrene-medium_1x9yf","styrene-small":"typography__styrene-small_1x9yf","styrene-xsmall":"typography__styrene-xsmall_1x9yf","system-xlarge":"typography__system-xlarge_1x9yf","system-large":"typography__system-large_1x9yf","system-medium":"typography__system-medium_1x9yf","system-small":"typography__system-small_1x9yf","system-xsmall":"typography__system-xsmall_1x9yf","margins-xlarge":"typography__margins-xlarge_1x9yf","margins-large":"typography__margins-large_1x9yf","margins-medium":"typography__margins-medium_1x9yf","margins-small":"typography__margins-small_1x9yf","margins-xsmall":"typography__margins-xsmall_1x9yf"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleResponsive = (props) => (
|