@alfalab/core-components-typography 3.0.4 → 3.0.6
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-e9b9579a.d.ts → colors.module-6e19bd6b.d.ts} +0 -0
- package/{colors.module-e9b9579a.js → colors.module-6e19bd6b.js} +1 -1
- package/common.module-dd23630a.js +6 -0
- package/component.d.ts +3 -2
- package/component.js +2 -2
- package/cssm/component.d.ts +3 -2
- package/cssm/text/component.d.ts +13 -37
- package/cssm/text/component.js +6 -2
- package/cssm/text/index.module.css +5 -1
- package/cssm/title/component.d.ts +2 -2
- package/cssm/types.d.ts +2 -0
- package/cssm/types.js +2 -0
- package/esm/colors.css +13 -13
- package/esm/{colors.module-4de66eae.d.ts → colors.module-78d99341.d.ts} +0 -0
- package/esm/{colors.module-4de66eae.js → colors.module-78d99341.js} +1 -1
- package/esm/common.module-00b1ccc7.js +4 -0
- package/esm/component.d.ts +3 -2
- package/esm/component.js +2 -2
- package/esm/index.js +2 -2
- package/esm/text/component.d.ts +13 -37
- package/esm/text/component.js +8 -4
- package/esm/text/index.css +19 -15
- package/esm/text/index.js +1 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.d.ts +2 -2
- 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 +3 -3
- package/esm/title-mobile/index.css +14 -14
- package/esm/title-mobile/index.js +2 -2
- package/esm/title-responsive/component.js +3 -3
- package/esm/title-responsive/index.css +41 -41
- package/esm/title-responsive/index.js +2 -2
- package/esm/types.d.ts +2 -0
- package/esm/types.js +1 -0
- package/index.js +2 -2
- package/modern/colors.css +13 -13
- package/modern/colors.module-cc6915f1.js +4 -0
- package/modern/common.module-00b1ccc7.js +4 -0
- package/modern/component.d.ts +3 -2
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.d.ts +13 -37
- package/modern/text/component.js +7 -3
- package/modern/text/index.css +19 -15
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.d.ts +2 -2
- 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 +3 -3
- package/modern/title-mobile/index.css +14 -14
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +41 -41
- package/modern/title-responsive/index.js +2 -2
- package/modern/types.d.ts +2 -0
- package/modern/types.js +1 -0
- package/package.json +1 -1
- package/text/component.d.ts +13 -37
- package/text/component.js +8 -4
- package/text/index.css +19 -15
- package/text/index.js +1 -1
- package/title/common.css +5 -5
- package/title/component.d.ts +2 -2
- package/title/component.js +1 -1
- package/title/index.css +19 -19
- package/title/index.js +3 -3
- package/title-mobile/component.js +3 -3
- package/title-mobile/index.css +14 -14
- package/title-mobile/index.js +2 -2
- package/title-responsive/component.js +3 -3
- package/title-responsive/index.css +41 -41
- package/title-responsive/index.js +2 -2
- package/types.d.ts +2 -0
- package/types.js +2 -0
- package/common.module-caf545a8.js +0 -6
- package/esm/common.module-2f6fae5e.js +0 -4
- package/modern/colors.module-08772334.js +0 -4
- package/modern/common.module-2f6fae5e.js +0 -4
package/modern/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import './colors.module-
|
|
3
|
+
import './colors.module-cc6915f1.js';
|
|
4
4
|
import './text/component.js';
|
|
5
5
|
import './title/component.js';
|
|
6
|
-
import './common.module-
|
|
6
|
+
import './common.module-00b1ccc7.js';
|
|
7
7
|
import './title/index.js';
|
|
8
8
|
import './title-mobile/component.js';
|
|
9
9
|
import './title-responsive/component.js';
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { Color } from "../colors";
|
|
5
|
+
import { TextElementType } from "../types";
|
|
5
6
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
6
|
-
type
|
|
7
|
+
type TextBaseProps = {
|
|
7
8
|
/**
|
|
8
|
-
* [Вариант начертания](https://
|
|
9
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
|
|
9
10
|
*/
|
|
10
11
|
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
|
|
11
12
|
/**
|
|
@@ -23,7 +24,7 @@ type TextProps = Omit<NativeProps, 'color'> & {
|
|
|
23
24
|
/**
|
|
24
25
|
* HTML тег
|
|
25
26
|
*/
|
|
26
|
-
tag?: '
|
|
27
|
+
tag?: 'span' | 'div';
|
|
27
28
|
/**
|
|
28
29
|
* Css-класс для стилизации (native prop)
|
|
29
30
|
*/
|
|
@@ -36,40 +37,15 @@ type TextProps = Omit<NativeProps, 'color'> & {
|
|
|
36
37
|
* Контент (native prop)
|
|
37
38
|
*/
|
|
38
39
|
children?: React.ReactNode;
|
|
39
|
-
};
|
|
40
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
41
|
-
declare const Text: React.ForwardRefExoticComponent<Omit<NativeProps, "color"> & {
|
|
42
|
-
/**
|
|
43
|
-
* [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
|
|
44
|
-
*/
|
|
45
|
-
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps" | undefined;
|
|
46
40
|
/**
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Толщина шрифта
|
|
52
|
-
*/
|
|
53
|
-
weight?: "regular" | "medium" | "bold" | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Делает цифры моноширинными
|
|
56
|
-
*/
|
|
57
|
-
monospaceNumbers?: boolean | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* HTML тег
|
|
41
|
+
* Добавляет отступы к тэгу 'p'
|
|
60
42
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
dataTestId?: string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Контент (native prop)
|
|
72
|
-
*/
|
|
73
|
-
children?: React.ReactNode;
|
|
74
|
-
} & React.RefAttributes<TextElementType>>;
|
|
43
|
+
defaultMargins?: never;
|
|
44
|
+
};
|
|
45
|
+
type TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {
|
|
46
|
+
tag?: 'p';
|
|
47
|
+
defaultMargins?: boolean;
|
|
48
|
+
};
|
|
49
|
+
type TextProps = Omit<NativeProps, 'color'> & (TextBaseProps | TextPTagProps);
|
|
50
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<TextElementType>>;
|
|
75
51
|
export { TextProps, Text };
|
package/modern/text/component.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
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-cc6915f1.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"paragraph":"
|
|
5
|
+
var styles = {"paragraph":"typography__paragraph_1osp9","paragraphWithMargins":"typography__paragraphWithMargins_1osp9","primary-large":"typography__primary-large_1osp9","primary-medium":"typography__primary-medium_1osp9","primary-small":"typography__primary-small_1osp9","secondary-large":"typography__secondary-large_1osp9","secondary-medium":"typography__secondary-medium_1osp9","secondary-small":"typography__secondary-small_1osp9","component":"typography__component_1osp9","caps":"typography__caps_1osp9","bold":"typography__bold_1osp9","medium":"typography__medium_1osp9","regular":"typography__regular_1osp9","monospace":"typography__monospace_1osp9"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
|
-
const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight, monospaceNumbers = false, color, className, dataTestId, children, ...restProps }, ref) => (React.createElement(Component, { className: cn({
|
|
8
|
+
const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight, monospaceNumbers = false, defaultMargins = true, color, className, dataTestId, children, ...restProps }, ref) => (React.createElement(Component, { className: cn({
|
|
9
|
+
[styles.paragraph]: Component === 'p' && !defaultMargins,
|
|
10
|
+
[styles.paragraphWithMargins]: Component === 'p' && defaultMargins,
|
|
11
|
+
[styles.monospace]: monospaceNumbers,
|
|
12
|
+
}, className, color && colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: ref, ...restProps }, children)));
|
|
9
13
|
|
|
10
14
|
export { Text };
|
package/modern/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tcrl */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,62 +13,66 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
17
|
-
margin:
|
|
16
|
+
.typography__paragraph_1osp9 {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
.typography__paragraphWithMargins_1osp9 {
|
|
18
21
|
padding: 0;
|
|
22
|
+
margin: var(--text-paragraph-margin-bottom);
|
|
19
23
|
}
|
|
20
|
-
.typography__primary-
|
|
24
|
+
.typography__primary-large_1osp9 {
|
|
21
25
|
font-size: 18px;
|
|
22
26
|
line-height: 24px;
|
|
23
27
|
font-weight: 400;
|
|
24
28
|
}
|
|
25
|
-
.typography__primary-
|
|
29
|
+
.typography__primary-medium_1osp9 {
|
|
26
30
|
font-size: 16px;
|
|
27
31
|
line-height: 24px;
|
|
28
32
|
font-weight: 400;
|
|
29
33
|
}
|
|
30
|
-
.typography__primary-
|
|
34
|
+
.typography__primary-small_1osp9 {
|
|
31
35
|
font-size: 14px;
|
|
32
36
|
line-height: 20px;
|
|
33
37
|
font-weight: 400;
|
|
34
38
|
}
|
|
35
|
-
.typography__secondary-
|
|
39
|
+
.typography__secondary-large_1osp9 {
|
|
36
40
|
font-size: 13px;
|
|
37
41
|
line-height: 16px;
|
|
38
42
|
font-weight: 400;
|
|
39
43
|
}
|
|
40
|
-
.typography__secondary-
|
|
44
|
+
.typography__secondary-medium_1osp9 {
|
|
41
45
|
font-size: 12px;
|
|
42
46
|
line-height: 16px;
|
|
43
47
|
font-weight: 400;
|
|
44
48
|
}
|
|
45
|
-
.typography__secondary-
|
|
49
|
+
.typography__secondary-small_1osp9 {
|
|
46
50
|
font-size: 11px;
|
|
47
51
|
line-height: 16px;
|
|
48
52
|
font-weight: 400;
|
|
49
53
|
}
|
|
50
|
-
.
|
|
54
|
+
.typography__component_1osp9 {
|
|
51
55
|
font-size: 16px;
|
|
52
56
|
line-height: 20px;
|
|
53
57
|
font-weight: 400;
|
|
54
58
|
}
|
|
55
|
-
.
|
|
59
|
+
.typography__caps_1osp9 {
|
|
56
60
|
font-size: 12px;
|
|
57
61
|
line-height: 16px;
|
|
58
62
|
font-weight: 500;
|
|
59
63
|
letter-spacing: 1.25px;
|
|
60
64
|
text-transform: uppercase;
|
|
61
65
|
}
|
|
62
|
-
.
|
|
66
|
+
.typography__bold_1osp9 {
|
|
63
67
|
font-weight: bold;
|
|
64
68
|
}
|
|
65
|
-
.
|
|
69
|
+
.typography__medium_1osp9 {
|
|
66
70
|
font-weight: 500;
|
|
67
71
|
}
|
|
68
|
-
.
|
|
72
|
+
.typography__regular_1osp9 {
|
|
69
73
|
font-weight: normal;
|
|
70
74
|
}
|
|
71
|
-
.
|
|
75
|
+
.typography__monospace_1osp9 {
|
|
72
76
|
font-feature-settings: "tnum";
|
|
73
77
|
font-variant-numeric: tabular-nums;
|
|
74
78
|
}
|
package/modern/text/index.js
CHANGED
package/modern/title/common.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: punmg */
|
|
2
|
+
.typography__component_13ul2 {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_13ul2 {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_13ul2 {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_13ul2 {
|
|
16
16
|
font-weight: normal;
|
|
17
17
|
}
|
|
@@ -9,7 +9,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
9
9
|
*/
|
|
10
10
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
11
11
|
/**
|
|
12
|
-
* [Вариант начертания](https://
|
|
12
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
|
|
13
13
|
*/
|
|
14
14
|
view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
15
15
|
/**
|
|
@@ -53,7 +53,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
|
|
|
53
53
|
*/
|
|
54
54
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
55
55
|
/**
|
|
56
|
-
* [Вариант начертания](https://
|
|
56
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
|
|
57
57
|
*/
|
|
58
58
|
view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
|
|
59
59
|
/**
|
|
@@ -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-cc6915f1.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, styles, ...restProps }, ref) => (React.createElement(Component, { className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color]), "data-test-id": dataTestId, ref: ref, ...restProps }, children)));
|
|
6
6
|
|
package/modern/title/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: k67ng */
|
|
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_1fpnk {
|
|
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_1fpnk {
|
|
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_1fpnk {
|
|
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_1fpnk {
|
|
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_1fpnk {
|
|
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_1fpnk {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_1fpnk {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_1fpnk {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_1fpnk {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_1fpnk {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_1fpnk {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_1fpnk {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_1fpnk {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_1fpnk {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_1fpnk {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_1fpnk {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_1fpnk {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_1fpnk {
|
|
102
102
|
font-weight: normal;
|
|
103
103
|
}
|
package/modern/title/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-cc6915f1.js';
|
|
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-00b1ccc7.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1fpnk","styrene-large":"typography__styrene-large_1fpnk","styrene-medium":"typography__styrene-medium_1fpnk","styrene-small":"typography__styrene-small_1fpnk","styrene-xsmall":"typography__styrene-xsmall_1fpnk","system-xlarge":"typography__system-xlarge_1fpnk","system-large":"typography__system-large_1fpnk","system-medium":"typography__system-medium_1fpnk","system-small":"typography__system-small_1fpnk","system-xsmall":"typography__system-xsmall_1fpnk","margins-xlarge":"typography__margins-xlarge_1fpnk","margins-large":"typography__margins-large_1fpnk","margins-medium":"typography__margins-medium_1fpnk","margins-small":"typography__margins-small_1fpnk","margins-xsmall":"typography__margins-xsmall_1fpnk","bold":"typography__bold_1fpnk","medium":"typography__medium_1fpnk","regular":"typography__regular_1fpnk"};
|
|
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 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-cc6915f1.js';
|
|
4
4
|
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-00b1ccc7.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1h27x","styrene-large":"typography__styrene-large_1h27x","styrene-medium":"typography__styrene-medium_1h27x","styrene-small":"typography__styrene-small_1h27x","styrene-xsmall":"typography__styrene-xsmall_1h27x","system-xlarge":"typography__system-xlarge_1h27x","system-large":"typography__system-large_1h27x","system-medium":"typography__system-medium_1h27x","system-small":"typography__system-small_1h27x","system-xsmall":"typography__system-xsmall_1h27x","bold":"typography__bold_1h27x","medium":"typography__medium_1h27x","regular":"typography__regular_1h27x"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleMobile = (props) => (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ihzlt */
|
|
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_1h27x {
|
|
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_1h27x {
|
|
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_1h27x {
|
|
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_1h27x {
|
|
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_1h27x {
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
line-height: 20px;
|
|
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_1h27x {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
}
|
|
54
|
-
.typography__system-
|
|
54
|
+
.typography__system-large_1h27x {
|
|
55
55
|
font-size: 30px;
|
|
56
56
|
line-height: 36px;
|
|
57
57
|
font-weight: 600;
|
|
58
58
|
}
|
|
59
|
-
.typography__system-
|
|
59
|
+
.typography__system-medium_1h27x {
|
|
60
60
|
font-size: 26px;
|
|
61
61
|
line-height: 32px;
|
|
62
62
|
font-weight: 600;
|
|
63
63
|
}
|
|
64
|
-
.typography__system-
|
|
64
|
+
.typography__system-small_1h27x {
|
|
65
65
|
font-size: 20px;
|
|
66
66
|
line-height: 28px;
|
|
67
67
|
font-weight: 600;
|
|
68
68
|
}
|
|
69
|
-
.typography__system-
|
|
69
|
+
.typography__system-xsmall_1h27x {
|
|
70
70
|
font-size: 16px;
|
|
71
71
|
line-height: 20px;
|
|
72
72
|
font-weight: 600;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.typography__bold_1h27x {
|
|
75
75
|
font-weight: bold;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.typography__medium_1h27x {
|
|
78
78
|
font-weight: 500;
|
|
79
79
|
}
|
|
80
|
-
.
|
|
80
|
+
.typography__regular_1h27x {
|
|
81
81
|
font-weight: normal;
|
|
82
82
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-cc6915f1.js';
|
|
4
4
|
import '../title/component.js';
|
|
5
|
-
import '../common.module-
|
|
5
|
+
import '../common.module-00b1ccc7.js';
|
|
6
6
|
export { TitleMobile } from './component.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../colors.module-
|
|
3
|
+
import '../colors.module-cc6915f1.js';
|
|
4
4
|
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-00b1ccc7.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1u216","styrene-large":"typography__styrene-large_1u216","styrene-medium":"typography__styrene-medium_1u216","styrene-small":"typography__styrene-small_1u216","styrene-xsmall":"typography__styrene-xsmall_1u216","system-xlarge":"typography__system-xlarge_1u216","system-large":"typography__system-large_1u216","system-medium":"typography__system-medium_1u216","system-small":"typography__system-small_1u216","system-xsmall":"typography__system-xsmall_1u216","margins-xlarge":"typography__margins-xlarge_1u216","margins-large":"typography__margins-large_1u216","margins-medium":"typography__margins-medium_1u216","margins-small":"typography__margins-small_1u216","margins-xsmall":"typography__margins-xsmall_1u216"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleResponsive = (props) => (
|