@alfalab/core-components-typography 3.2.0 → 3.2.1
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 +34 -34
- package/colors.js +2 -0
- package/colors.module-5ace86c0.js +6 -0
- package/common.module-141e6c42.js +6 -0
- package/component.js +4 -2
- package/cssm/colors.js +2 -0
- package/cssm/colors.module.css +14 -14
- package/cssm/component.js +2 -0
- package/cssm/index.js +2 -0
- package/cssm/presets.js +2 -0
- package/cssm/text/component.js +2 -0
- package/cssm/text/index.js +2 -0
- package/cssm/text/index.module.css +2 -2
- package/cssm/title/component.js +2 -0
- package/cssm/title/index.js +2 -0
- package/cssm/title/index.module.css +2 -2
- package/cssm/title-mobile/component.js +2 -0
- package/cssm/title-mobile/index.js +2 -0
- package/cssm/title-mobile/index.module.css +2 -2
- package/cssm/title-responsive/component.js +2 -0
- package/cssm/title-responsive/index.js +2 -0
- package/cssm/title-responsive/index.module.css +2 -2
- package/esm/colors.css +34 -34
- package/esm/colors.module-5c7093c3.js +4 -0
- package/esm/common.module-b1986a07.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 +20 -20
- 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 +21 -21
- package/esm/title/index.js +3 -3
- package/esm/title-mobile/component.js +3 -3
- package/esm/title-mobile/index.css +13 -13
- package/esm/title-mobile/index.js +2 -2
- package/esm/title-responsive/component.js +3 -3
- package/esm/title-responsive/index.css +43 -43
- package/esm/title-responsive/index.js +2 -2
- package/index.js +4 -2
- package/modern/colors.css +34 -34
- package/modern/colors.module-fb1ac5bf.js +4 -0
- package/modern/common.module-3dd593c8.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 +20 -20
- 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 +21 -21
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +13 -13
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +43 -43
- package/modern/title-responsive/index.js +2 -2
- package/package.json +1 -1
- package/presets.js +2 -0
- package/text/component.js +4 -2
- package/text/index.css +20 -20
- package/text/index.js +3 -1
- package/title/common.css +5 -5
- package/title/component.js +3 -1
- package/title/index.css +21 -21
- package/title/index.js +5 -3
- package/title-mobile/component.js +5 -3
- package/title-mobile/index.css +13 -13
- package/title-mobile/index.js +4 -2
- package/title-responsive/component.js +5 -3
- package/title-responsive/index.css +43 -43
- package/title-responsive/index.js +4 -2
- package/colors.module-15de3c41.js +0 -6
- package/common.module-f948e7d5.js +0 -6
- package/esm/colors.module-308e84a9.js +0 -4
- package/esm/common.module-a19344da.js +0 -4
- package/modern/colors.module-c327b974.js +0 -4
- package/modern/common.module-41281fe7.js +0 -4
package/modern/colors.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mvhvw */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
5
|
-
--color-light-text-attention: #
|
|
6
|
-
--color-light-text-disabled: rgba(
|
|
7
|
-
--color-light-text-link: #
|
|
5
|
+
--color-light-text-attention: #cb830f;
|
|
6
|
+
--color-light-text-disabled: rgba(60, 60, 67, 0.22);
|
|
7
|
+
--color-light-text-link: #0072ef;
|
|
8
8
|
--color-light-text-negative: #d91d0b;
|
|
9
9
|
--color-light-text-positive: #13a463;
|
|
10
|
-
--color-light-text-primary: #
|
|
10
|
+
--color-light-text-primary: #0e0e0e;
|
|
11
11
|
--color-light-text-primary-inverted: #fff;
|
|
12
|
-
--color-light-text-secondary: rgba(
|
|
13
|
-
--color-light-text-secondary-inverted: rgba(
|
|
14
|
-
--color-light-text-tertiary: rgba(
|
|
15
|
-
--color-light-text-tertiary-inverted: rgba(
|
|
12
|
+
--color-light-text-secondary: rgba(60, 60, 67, 0.66);
|
|
13
|
+
--color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
|
|
14
|
+
--color-light-text-tertiary: rgba(60, 60, 67, 0.4);
|
|
15
|
+
--color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
|
|
16
16
|
--color-static-text-accent: #ef3124;
|
|
17
|
-
--color-static-text-primary-dark: #
|
|
17
|
+
--color-static-text-primary-dark: #0e0e0e;
|
|
18
18
|
--color-static-text-primary-light: #fff;
|
|
19
|
-
--color-static-text-secondary-dark: rgba(
|
|
20
|
-
--color-static-text-secondary-light: rgba(
|
|
21
|
-
--color-static-text-tertiary-dark: rgba(
|
|
22
|
-
--color-static-text-tertiary-light: rgba(
|
|
23
|
-
} :root {
|
|
19
|
+
--color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
|
|
20
|
+
--color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
23
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
} :root {
|
|
25
25
|
} :root {
|
|
26
26
|
|
|
@@ -33,42 +33,42 @@
|
|
|
33
33
|
} :root {
|
|
34
34
|
} :root {
|
|
35
35
|
} :root {
|
|
36
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_1sn8k {
|
|
37
37
|
color: var(--color-light-text-tertiary);
|
|
38
|
-
} .
|
|
38
|
+
} .typography__disabled_1sn8k {
|
|
39
39
|
color: var(--color-light-text-disabled);
|
|
40
|
-
} .
|
|
40
|
+
} .typography__accent_1sn8k {
|
|
41
41
|
color: var(--color-light-text-accent);
|
|
42
|
-
} .
|
|
42
|
+
} .typography__primary_1sn8k {
|
|
43
43
|
color: var(--color-light-text-primary);
|
|
44
|
-
} .
|
|
44
|
+
} .typography__attention_1sn8k {
|
|
45
45
|
color: var(--color-light-text-attention);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__positive_1sn8k {
|
|
47
47
|
color: var(--color-light-text-positive);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__secondary_1sn8k {
|
|
49
49
|
color: var(--color-light-text-secondary);
|
|
50
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_1sn8k {
|
|
51
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
52
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_1sn8k {
|
|
53
53
|
color: var(--color-light-text-primary-inverted);
|
|
54
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_1sn8k {
|
|
55
55
|
color: var(--color-light-text-secondary-inverted);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__link_1sn8k {
|
|
57
57
|
color: var(--color-light-text-link);
|
|
58
|
-
} .
|
|
58
|
+
} .typography__negative_1sn8k {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
|
-
} .typography__static-primary-
|
|
60
|
+
} .typography__static-primary-light_1sn8k {
|
|
61
61
|
color: var(--color-static-text-primary-light);
|
|
62
|
-
} .typography__static-secondary-
|
|
62
|
+
} .typography__static-secondary-light_1sn8k {
|
|
63
63
|
color: var(--color-static-text-secondary-light);
|
|
64
|
-
} .typography__static-tertiary-
|
|
64
|
+
} .typography__static-tertiary-light_1sn8k {
|
|
65
65
|
color: var(--color-static-text-tertiary-light);
|
|
66
|
-
} .typography__static-primary-
|
|
66
|
+
} .typography__static-primary-dark_1sn8k {
|
|
67
67
|
color: var(--color-static-text-primary-dark);
|
|
68
|
-
} .typography__static-secondary-
|
|
68
|
+
} .typography__static-secondary-dark_1sn8k {
|
|
69
69
|
color: var(--color-static-text-secondary-dark);
|
|
70
|
-
} .typography__static-tertiary-
|
|
70
|
+
} .typography__static-tertiary-dark_1sn8k {
|
|
71
71
|
color: var(--color-static-text-tertiary-dark);
|
|
72
|
-
} .typography__static-
|
|
72
|
+
} .typography__static-accent_1sn8k {
|
|
73
73
|
color: var(--color-static-text-accent);
|
|
74
74
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const colors = {"tertiary":"typography__tertiary_1sn8k","disabled":"typography__disabled_1sn8k","accent":"typography__accent_1sn8k","primary":"typography__primary_1sn8k","attention":"typography__attention_1sn8k","positive":"typography__positive_1sn8k","secondary":"typography__secondary_1sn8k","tertiary-inverted":"typography__tertiary-inverted_1sn8k","primary-inverted":"typography__primary-inverted_1sn8k","secondary-inverted":"typography__secondary-inverted_1sn8k","link":"typography__link_1sn8k","negative":"typography__negative_1sn8k","static-primary-light":"typography__static-primary-light_1sn8k","static-secondary-light":"typography__static-secondary-light_1sn8k","static-tertiary-light":"typography__static-tertiary-light_1sn8k","static-primary-dark":"typography__static-primary-dark_1sn8k","static-secondary-dark":"typography__static-secondary-dark_1sn8k","static-tertiary-dark":"typography__static-tertiary-dark_1sn8k","static-accent":"typography__static-accent_1sn8k"};
|
|
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-fb1ac5bf.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-3dd593c8.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-fb1ac5bf.js';
|
|
7
7
|
import './title/index.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-3dd593c8.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-fb1ac5bf.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"paragraph":"
|
|
5
|
+
const styles = {"paragraph":"typography__paragraph_14o6s","paragraphWithMargins":"typography__paragraphWithMargins_14o6s","primary-large":"typography__primary-large_14o6s","primary-medium":"typography__primary-medium_14o6s","primary-small":"typography__primary-small_14o6s","secondary-large":"typography__secondary-large_14o6s","secondary-medium":"typography__secondary-medium_14o6s","secondary-small":"typography__secondary-small_14o6s","component":"typography__component_14o6s","caps":"typography__caps_14o6s","bold":"typography__bold_14o6s","medium":"typography__medium_14o6s","regular":"typography__regular_14o6s","monospace":"typography__monospace_14o6s","rowLimit1":"typography__rowLimit1_14o6s","rowLimit2":"typography__rowLimit2_14o6s","rowLimit3":"typography__rowLimit3_14o6s"};
|
|
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,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dnjg8 */
|
|
2
2
|
:root {
|
|
3
|
-
} /* deprecated */ :root {
|
|
4
|
-
} :root {
|
|
3
|
+
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
5
|
} :root {
|
|
6
6
|
} :root {
|
|
7
7
|
|
|
@@ -17,67 +17,67 @@
|
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
19
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
20
|
-
} .
|
|
20
|
+
} .typography__paragraph_14o6s {
|
|
21
21
|
margin: 0;
|
|
22
22
|
padding: 0;
|
|
23
|
-
} .
|
|
23
|
+
} .typography__paragraphWithMargins_14o6s {
|
|
24
24
|
padding: 0;
|
|
25
25
|
margin: var(--text-paragraph-margin-bottom);
|
|
26
|
-
} .typography__primary-
|
|
26
|
+
} .typography__primary-large_14o6s {
|
|
27
27
|
font-size: 18px;
|
|
28
28
|
line-height: 24px;
|
|
29
29
|
font-weight: 400;
|
|
30
|
-
} .typography__primary-
|
|
30
|
+
} .typography__primary-medium_14o6s {
|
|
31
31
|
font-size: 16px;
|
|
32
32
|
line-height: 24px;
|
|
33
33
|
font-weight: 400;
|
|
34
|
-
} .typography__primary-
|
|
34
|
+
} .typography__primary-small_14o6s {
|
|
35
35
|
font-size: 14px;
|
|
36
36
|
line-height: 20px;
|
|
37
37
|
font-weight: 400;
|
|
38
|
-
} .typography__secondary-
|
|
38
|
+
} .typography__secondary-large_14o6s {
|
|
39
39
|
font-size: 13px;
|
|
40
40
|
line-height: 16px;
|
|
41
41
|
font-weight: 400;
|
|
42
|
-
} .typography__secondary-
|
|
42
|
+
} .typography__secondary-medium_14o6s {
|
|
43
43
|
font-size: 12px;
|
|
44
44
|
line-height: 16px;
|
|
45
45
|
font-weight: 400;
|
|
46
|
-
} .typography__secondary-
|
|
46
|
+
} .typography__secondary-small_14o6s {
|
|
47
47
|
font-size: 11px;
|
|
48
48
|
line-height: 16px;
|
|
49
49
|
font-weight: 400;
|
|
50
|
-
} .
|
|
50
|
+
} .typography__component_14o6s {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
|
-
} .
|
|
54
|
+
} .typography__caps_14o6s {
|
|
55
55
|
font-size: 12px;
|
|
56
56
|
line-height: 16px;
|
|
57
57
|
font-weight: 500;
|
|
58
58
|
letter-spacing: 1.25px;
|
|
59
59
|
text-transform: uppercase;
|
|
60
|
-
} .
|
|
60
|
+
} .typography__bold_14o6s {
|
|
61
61
|
font-weight: bold;
|
|
62
|
-
} .
|
|
62
|
+
} .typography__medium_14o6s {
|
|
63
63
|
font-weight: 500;
|
|
64
|
-
} .
|
|
64
|
+
} .typography__regular_14o6s {
|
|
65
65
|
font-weight: normal;
|
|
66
|
-
} .
|
|
66
|
+
} .typography__monospace_14o6s {
|
|
67
67
|
font-feature-settings: "tnum";
|
|
68
68
|
font-variant-numeric: tabular-nums;
|
|
69
|
-
} .
|
|
69
|
+
} .typography__rowLimit1_14o6s {
|
|
70
70
|
-webkit-line-clamp: 1;
|
|
71
71
|
display: -webkit-box;
|
|
72
72
|
-webkit-box-orient: vertical;
|
|
73
73
|
overflow: hidden;
|
|
74
74
|
word-break: break-all;
|
|
75
|
-
} .
|
|
75
|
+
} .typography__rowLimit2_14o6s {
|
|
76
76
|
-webkit-line-clamp: 2;
|
|
77
77
|
display: -webkit-box;
|
|
78
78
|
-webkit-box-orient: vertical;
|
|
79
79
|
overflow: hidden;
|
|
80
|
-
} .
|
|
80
|
+
} .typography__rowLimit3_14o6s {
|
|
81
81
|
-webkit-line-clamp: 3;
|
|
82
82
|
display: -webkit-box;
|
|
83
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: 1hrdt */
|
|
2
|
+
.typography__component_jmw1n {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.typography__component_jmw1n.typography__bold_jmw1n {
|
|
7
7
|
font-weight: bold;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.typography__component_jmw1n.typography__medium_jmw1n {
|
|
10
10
|
font-weight: 500;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.typography__component_jmw1n.typography__regular_jmw1n {
|
|
13
13
|
font-weight: normal;
|
|
14
14
|
}
|
|
@@ -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-fb1ac5bf.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,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tig7 */
|
|
2
2
|
:root {
|
|
3
|
-
} /* deprecated */ :root {
|
|
4
|
-
} :root {
|
|
3
|
+
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
5
|
} :root {
|
|
6
6
|
} :root {
|
|
7
7
|
|
|
@@ -20,78 +20,78 @@
|
|
|
20
20
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
21
21
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
22
22
|
} :root {
|
|
23
|
-
} .typography__styrene-
|
|
23
|
+
} .typography__styrene-xlarge_1naxk {
|
|
24
24
|
font-size: 48px;
|
|
25
25
|
line-height: 64px;
|
|
26
26
|
font-weight: 500;
|
|
27
27
|
font-feature-settings: 'ss01';
|
|
28
28
|
font-family: var(--font-family-styrene);
|
|
29
|
-
} .typography__styrene-
|
|
29
|
+
} .typography__styrene-large_1naxk {
|
|
30
30
|
font-size: 40px;
|
|
31
31
|
line-height: 48px;
|
|
32
32
|
font-weight: 500;
|
|
33
33
|
font-feature-settings: 'ss01';
|
|
34
34
|
font-family: var(--font-family-styrene);
|
|
35
|
-
} .typography__styrene-
|
|
35
|
+
} .typography__styrene-medium_1naxk {
|
|
36
36
|
font-size: 32px;
|
|
37
37
|
line-height: 40px;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
font-feature-settings: 'ss01';
|
|
40
40
|
font-family: var(--font-family-styrene);
|
|
41
|
-
} .typography__styrene-
|
|
41
|
+
} .typography__styrene-small_1naxk {
|
|
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
|
-
} .typography__styrene-
|
|
47
|
+
} .typography__styrene-xsmall_1naxk {
|
|
48
48
|
font-size: 20px;
|
|
49
49
|
line-height: 24px;
|
|
50
50
|
font-weight: 500;
|
|
51
51
|
font-feature-settings: 'ss01';
|
|
52
52
|
font-family: var(--font-family-styrene);
|
|
53
|
-
} .typography__system-
|
|
53
|
+
} .typography__system-xlarge_1naxk {
|
|
54
54
|
font-size: 48px;
|
|
55
55
|
line-height: 52px;
|
|
56
56
|
font-weight: 700;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-large_1naxk {
|
|
58
58
|
font-size: 40px;
|
|
59
59
|
line-height: 48px;
|
|
60
60
|
font-weight: 700;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-medium_1naxk {
|
|
62
62
|
font-size: 30px;
|
|
63
63
|
line-height: 36px;
|
|
64
64
|
font-weight: 700;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-small_1naxk {
|
|
66
66
|
font-size: 22px;
|
|
67
67
|
line-height: 26px;
|
|
68
68
|
font-weight: 700;
|
|
69
|
-
} .typography__system-
|
|
69
|
+
} .typography__system-xsmall_1naxk {
|
|
70
70
|
font-size: 18px;
|
|
71
71
|
line-height: 22px;
|
|
72
72
|
font-weight: 700;
|
|
73
|
-
} .typography__margins-
|
|
73
|
+
} .typography__margins-xlarge_1naxk {
|
|
74
74
|
margin: 0 0 var(--gap-xl);
|
|
75
|
-
} .typography__margins-
|
|
75
|
+
} .typography__margins-large_1naxk {
|
|
76
76
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
77
|
-
} .typography__margins-
|
|
77
|
+
} .typography__margins-medium_1naxk {
|
|
78
78
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
79
|
-
} .typography__margins-
|
|
79
|
+
} .typography__margins-small_1naxk {
|
|
80
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
81
|
-
} .typography__margins-
|
|
81
|
+
} .typography__margins-xsmall_1naxk {
|
|
82
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
83
|
-
} .
|
|
83
|
+
} .typography__rowLimit1_1naxk {
|
|
84
84
|
-webkit-line-clamp: 1;
|
|
85
85
|
display: -webkit-box;
|
|
86
86
|
-webkit-box-orient: vertical;
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
word-break: break-all;
|
|
89
|
-
} .
|
|
89
|
+
} .typography__rowLimit2_1naxk {
|
|
90
90
|
-webkit-line-clamp: 2;
|
|
91
91
|
display: -webkit-box;
|
|
92
92
|
-webkit-box-orient: vertical;
|
|
93
93
|
overflow: hidden;
|
|
94
|
-
} .
|
|
94
|
+
} .typography__rowLimit3_1naxk {
|
|
95
95
|
-webkit-line-clamp: 3;
|
|
96
96
|
display: -webkit-box;
|
|
97
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-3dd593c8.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-fb1ac5bf.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_1naxk","styrene-large":"typography__styrene-large_1naxk","styrene-medium":"typography__styrene-medium_1naxk","styrene-small":"typography__styrene-small_1naxk","styrene-xsmall":"typography__styrene-xsmall_1naxk","system-xlarge":"typography__system-xlarge_1naxk","system-large":"typography__system-large_1naxk","system-medium":"typography__system-medium_1naxk","system-small":"typography__system-small_1naxk","system-xsmall":"typography__system-xsmall_1naxk","margins-xlarge":"typography__margins-xlarge_1naxk","margins-large":"typography__margins-large_1naxk","margins-medium":"typography__margins-medium_1naxk","margins-small":"typography__margins-small_1naxk","margins-xsmall":"typography__margins-xsmall_1naxk","rowLimit1":"typography__rowLimit1_1naxk","rowLimit2":"typography__rowLimit2_1naxk","rowLimit3":"typography__rowLimit3_1naxk"};
|
|
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-3dd593c8.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-fb1ac5bf.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_7edsq","styrene-large":"typography__styrene-large_7edsq","styrene-medium":"typography__styrene-medium_7edsq","styrene-small":"typography__styrene-small_7edsq","styrene-xsmall":"typography__styrene-xsmall_7edsq","system-xlarge":"typography__system-xlarge_7edsq","system-large":"typography__system-large_7edsq","system-medium":"typography__system-medium_7edsq","system-small":"typography__system-small_7edsq","system-xsmall":"typography__system-xsmall_7edsq"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleMobile = (props) => (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wnb9y */
|
|
2
2
|
:root {
|
|
3
|
-
} /* deprecated */ :root {
|
|
4
|
-
} :root {
|
|
3
|
+
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
5
|
} :root {
|
|
6
6
|
} :root {
|
|
7
7
|
|
|
@@ -16,53 +16,53 @@
|
|
|
16
16
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
17
17
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
18
18
|
} :root {
|
|
19
|
-
} .typography__styrene-
|
|
19
|
+
} .typography__styrene-xlarge_7edsq {
|
|
20
20
|
font-size: 34px;
|
|
21
21
|
line-height: 40px;
|
|
22
22
|
font-weight: 500;
|
|
23
23
|
font-feature-settings: 'ss01';
|
|
24
24
|
font-family: var(--font-family-styrene);
|
|
25
|
-
} .typography__styrene-
|
|
25
|
+
} .typography__styrene-large_7edsq {
|
|
26
26
|
font-size: 30px;
|
|
27
27
|
line-height: 36px;
|
|
28
28
|
font-weight: 500;
|
|
29
29
|
font-feature-settings: 'ss01';
|
|
30
30
|
font-family: var(--font-family-styrene);
|
|
31
|
-
} .typography__styrene-
|
|
31
|
+
} .typography__styrene-medium_7edsq {
|
|
32
32
|
font-size: 26px;
|
|
33
33
|
line-height: 32px;
|
|
34
34
|
font-weight: 500;
|
|
35
35
|
font-feature-settings: 'ss01';
|
|
36
36
|
font-family: var(--font-family-styrene);
|
|
37
|
-
} .typography__styrene-
|
|
37
|
+
} .typography__styrene-small_7edsq {
|
|
38
38
|
font-size: 20px;
|
|
39
39
|
line-height: 28px;
|
|
40
40
|
font-weight: 500;
|
|
41
41
|
font-feature-settings: 'ss01';
|
|
42
42
|
font-family: var(--font-family-styrene);
|
|
43
|
-
} .typography__styrene-
|
|
43
|
+
} .typography__styrene-xsmall_7edsq {
|
|
44
44
|
font-size: 16px;
|
|
45
45
|
line-height: 20px;
|
|
46
46
|
font-weight: 500;
|
|
47
47
|
font-feature-settings: 'ss01';
|
|
48
48
|
font-family: var(--font-family-styrene);
|
|
49
|
-
} .typography__system-
|
|
49
|
+
} .typography__system-xlarge_7edsq {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
|
-
} .typography__system-
|
|
53
|
+
} .typography__system-large_7edsq {
|
|
54
54
|
font-size: 30px;
|
|
55
55
|
line-height: 36px;
|
|
56
56
|
font-weight: 600;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-medium_7edsq {
|
|
58
58
|
font-size: 26px;
|
|
59
59
|
line-height: 32px;
|
|
60
60
|
font-weight: 600;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-small_7edsq {
|
|
62
62
|
font-size: 20px;
|
|
63
63
|
line-height: 28px;
|
|
64
64
|
font-weight: 600;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-xsmall_7edsq {
|
|
66
66
|
font-size: 16px;
|
|
67
67
|
line-height: 20px;
|
|
68
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-fb1ac5bf.js';
|
|
6
|
+
import '../common.module-3dd593c8.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-3dd593c8.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-fb1ac5bf.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_7hlrm","styrene-large":"typography__styrene-large_7hlrm","styrene-medium":"typography__styrene-medium_7hlrm","styrene-small":"typography__styrene-small_7hlrm","styrene-xsmall":"typography__styrene-xsmall_7hlrm","system-xlarge":"typography__system-xlarge_7hlrm","system-large":"typography__system-large_7hlrm","system-medium":"typography__system-medium_7hlrm","system-small":"typography__system-small_7hlrm","system-xsmall":"typography__system-xsmall_7hlrm","margins-xlarge":"typography__margins-xlarge_7hlrm","margins-large":"typography__margins-large_7hlrm","margins-medium":"typography__margins-medium_7hlrm","margins-small":"typography__margins-small_7hlrm","margins-xsmall":"typography__margins-xsmall_7hlrm"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleResponsive = (props) => (
|