@alfalab/core-components-typography 4.4.0 → 4.5.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 +24 -24
- package/colors.module-dd1edd45.js +6 -0
- package/common.module-b1646c7c.js +6 -0
- package/component.js +0 -10
- package/cssm/colors.module.css +4 -4
- package/cssm/component.js +0 -15
- package/cssm/hooks/index.js +0 -6
- package/cssm/hooks/use-skeleton.module.css +1 -1
- package/cssm/index.js +0 -19
- package/cssm/text/component.js +0 -3
- package/cssm/text/index.js +0 -10
- package/cssm/text/index.module.css +1 -1
- package/cssm/title/common.module.css +3 -0
- package/cssm/title/component.d.ts +7 -6
- package/cssm/title/component.js +4 -6
- package/cssm/title/index.d.ts +1 -1
- package/cssm/title/index.js +1 -8
- package/cssm/title/index.module.css +1 -1
- package/cssm/title/utils.d.ts +2 -0
- package/cssm/title/utils.js +15 -0
- package/cssm/title-mobile/component.d.ts +1 -1
- package/cssm/title-mobile/component.js +1 -8
- package/cssm/title-mobile/index.js +0 -12
- package/cssm/title-mobile/index.module.css +1 -1
- package/cssm/title-responsive/component.d.ts +1 -1
- package/cssm/title-responsive/component.js +5 -8
- package/cssm/title-responsive/index.js +0 -12
- package/cssm/title-responsive/index.module.css +1 -1
- package/esm/colors.css +24 -24
- package/esm/colors.module-2cceacab.js +4 -0
- package/esm/common.module-f10bcd74.js +4 -0
- package/esm/component.js +0 -10
- package/esm/hooks/index.js +0 -5
- package/esm/hooks/use-skeleton.css +6 -6
- package/esm/hooks/use-skeleton.js +1 -1
- package/esm/index.js +0 -14
- package/esm/text/component.js +2 -4
- package/esm/text/index.css +21 -21
- package/esm/text/index.js +0 -8
- package/esm/title/common.css +8 -5
- package/esm/title/component.d.ts +7 -6
- package/esm/title/component.js +5 -6
- package/esm/title/index.css +20 -20
- package/esm/title/index.d.ts +1 -1
- package/esm/title/index.js +4 -10
- package/esm/title/utils.d.ts +2 -0
- package/esm/title/utils.js +11 -0
- package/esm/title-mobile/component.d.ts +1 -1
- package/esm/title-mobile/component.js +4 -10
- package/esm/title-mobile/index.css +12 -12
- package/esm/title-mobile/index.js +0 -10
- package/esm/title-responsive/component.d.ts +1 -1
- package/esm/title-responsive/component.js +8 -10
- package/esm/title-responsive/index.css +32 -32
- package/esm/title-responsive/index.js +0 -10
- package/hooks/index.js +0 -5
- package/hooks/use-skeleton.css +6 -6
- package/hooks/use-skeleton.js +1 -1
- package/index.js +0 -14
- package/modern/colors.css +24 -24
- package/modern/colors.module-536c28e6.js +4 -0
- package/modern/common.module-ed1b5fb7.js +4 -0
- package/modern/component.js +0 -9
- package/modern/hooks/index.js +0 -4
- package/modern/hooks/use-skeleton.css +6 -6
- package/modern/hooks/use-skeleton.js +1 -1
- package/modern/index.js +0 -13
- package/modern/text/component.js +2 -4
- package/modern/text/index.css +21 -21
- package/modern/text/index.js +0 -7
- package/modern/title/common.css +8 -5
- package/modern/title/component.d.ts +7 -6
- package/modern/title/component.js +4 -5
- package/modern/title/index.css +20 -20
- package/modern/title/index.d.ts +1 -1
- package/modern/title/index.js +4 -10
- package/modern/title/utils.d.ts +2 -0
- package/modern/title/utils.js +11 -0
- package/modern/title-mobile/component.d.ts +1 -1
- package/modern/title-mobile/component.js +4 -10
- package/modern/title-mobile/index.css +12 -12
- package/modern/title-mobile/index.js +0 -9
- package/modern/title-responsive/component.d.ts +1 -1
- package/modern/title-responsive/component.js +8 -10
- package/modern/title-responsive/index.css +32 -32
- package/modern/title-responsive/index.js +0 -9
- package/package.json +3 -2
- package/src/title/common.module.css +4 -0
- package/src/title/component.tsx +8 -4
- package/src/title/index.tsx +7 -2
- package/src/title/utils.ts +11 -0
- package/src/title-mobile/component.tsx +9 -2
- package/src/title-responsive/component.tsx +15 -2
- package/text/component.js +2 -4
- package/text/index.css +21 -21
- package/text/index.js +0 -8
- package/title/common.css +8 -5
- package/title/component.d.ts +7 -6
- package/title/component.js +5 -6
- package/title/index.css +20 -20
- package/title/index.d.ts +1 -1
- package/title/index.js +3 -9
- package/title/utils.d.ts +2 -0
- package/title/utils.js +15 -0
- package/title-mobile/component.d.ts +1 -1
- package/title-mobile/component.js +3 -9
- package/title-mobile/index.css +12 -12
- package/title-mobile/index.js +0 -10
- package/title-responsive/component.d.ts +1 -1
- package/title-responsive/component.js +7 -9
- package/title-responsive/index.css +32 -32
- package/title-responsive/index.js +0 -10
- package/colors.module-120e4dd7.js +0 -6
- package/common.module-4389487a.js +0 -6
- package/esm/colors.module-3119b191.js +0 -4
- package/esm/common.module-ec992380.js +0 -4
- package/modern/colors.module-93e1488b.js +0 -4
- package/modern/common.module-0bb3a173.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: 1hrmp */
|
|
2
|
+
: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 */ /* 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 */
|
|
3
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
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 {
|
|
@@ -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_4ooxd {
|
|
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_4ooxd {
|
|
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_4ooxd {
|
|
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_4ooxd {
|
|
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_4ooxd {
|
|
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_4ooxd {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
|
-
} .typography__system-
|
|
53
|
+
} .typography__system-large_4ooxd {
|
|
54
54
|
font-size: 30px;
|
|
55
55
|
line-height: 36px;
|
|
56
56
|
font-weight: 600;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-medium_4ooxd {
|
|
58
58
|
font-size: 26px;
|
|
59
59
|
line-height: 32px;
|
|
60
60
|
font-weight: 600;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-small_4ooxd {
|
|
62
62
|
font-size: 20px;
|
|
63
63
|
line-height: 28px;
|
|
64
64
|
font-weight: 600;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-xsmall_4ooxd {
|
|
66
66
|
font-size: 16px;
|
|
67
67
|
line-height: 20px;
|
|
68
68
|
font-weight: 600;
|
|
@@ -1,11 +1 @@
|
|
|
1
1
|
export { TitleMobile } from './component.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../title/component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '../hooks/use-skeleton.js';
|
|
8
|
-
import '@alfalab/core-components-skeleton/esm';
|
|
9
|
-
import '@alfalab/hooks';
|
|
10
|
-
import '../colors.module-3119b191.js';
|
|
11
|
-
import '../common.module-ec992380.js';
|
|
@@ -4,7 +4,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
4
4
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5
5
|
view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
|
|
6
6
|
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;
|
|
7
|
-
weight?: "bold" | "regular" | "medium" | undefined;
|
|
7
|
+
weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
|
|
8
8
|
font?: "styrene" | "system" | undefined;
|
|
9
9
|
defaultMargins?: boolean | undefined;
|
|
10
10
|
className?: string | undefined;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '../hooks/use-skeleton.js';
|
|
8
|
-
import '@alfalab/core-components-skeleton/esm';
|
|
9
|
-
import '@alfalab/hooks';
|
|
10
|
-
import '../colors.module-3119b191.js';
|
|
3
|
+
import { useMatchMedia } from '@alfalab/core-components-mq/esm';
|
|
4
|
+
import { TitleBase } from '../title/component.js';
|
|
5
|
+
import { c as commonStyles } from '../common.module-f10bcd74.js';
|
|
11
6
|
|
|
12
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_j3lac","styrene-large":"typography__styrene-large_j3lac","styrene-medium":"typography__styrene-medium_j3lac","styrene-small":"typography__styrene-small_j3lac","styrene-xsmall":"typography__styrene-xsmall_j3lac","system-xlarge":"typography__system-xlarge_j3lac","system-large":"typography__system-large_j3lac","system-medium":"typography__system-medium_j3lac","system-small":"typography__system-small_j3lac","system-xsmall":"typography__system-xsmall_j3lac","margins-xlarge":"typography__margins-xlarge_j3lac","margins-large":"typography__margins-large_j3lac","margins-medium":"typography__margins-medium_j3lac","margins-small":"typography__margins-small_j3lac","margins-xsmall":"typography__margins-xsmall_j3lac"};
|
|
13
8
|
require('./index.css')
|
|
14
9
|
|
|
15
|
-
var TitleResponsive = forwardRef(function (props, ref) {
|
|
10
|
+
var TitleResponsive = forwardRef(function (props, ref) {
|
|
11
|
+
var isDesktop = useMatchMedia('(min-width: 1024px)')[0];
|
|
12
|
+
return (React.createElement(TitleBase, __assign({}, props, { styles: Object.assign(commonStyles, styles), ref: ref, platform: isDesktop ? 'desktop' : 'mobile' })));
|
|
13
|
+
});
|
|
16
14
|
|
|
17
15
|
export { TitleResponsive };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: 1mbui */
|
|
2
|
+
: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 */ /* 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 */
|
|
3
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
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 {
|
|
@@ -20,68 +20,68 @@
|
|
|
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
|
-
} /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-
|
|
23
|
+
} /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-xlarge_j3lac {
|
|
24
24
|
font-size: 34px;
|
|
25
25
|
line-height: 40px;
|
|
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_j3lac {
|
|
30
30
|
font-size: 30px;
|
|
31
31
|
line-height: 36px;
|
|
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_j3lac {
|
|
36
36
|
font-size: 26px;
|
|
37
37
|
line-height: 32px;
|
|
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_j3lac {
|
|
42
42
|
font-size: 20px;
|
|
43
43
|
line-height: 28px;
|
|
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_j3lac {
|
|
48
48
|
font-size: 16px;
|
|
49
49
|
line-height: 20px;
|
|
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_j3lac {
|
|
54
54
|
font-size: 34px;
|
|
55
55
|
line-height: 40px;
|
|
56
56
|
font-weight: 600;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-large_j3lac {
|
|
58
58
|
font-size: 30px;
|
|
59
59
|
line-height: 36px;
|
|
60
60
|
font-weight: 600;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-medium_j3lac {
|
|
62
62
|
font-size: 26px;
|
|
63
63
|
line-height: 32px;
|
|
64
64
|
font-weight: 600;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-small_j3lac {
|
|
66
66
|
font-size: 20px;
|
|
67
67
|
line-height: 28px;
|
|
68
68
|
font-weight: 600;
|
|
69
|
-
} .typography__system-
|
|
69
|
+
} .typography__system-xsmall_j3lac {
|
|
70
70
|
font-size: 16px;
|
|
71
71
|
line-height: 20px;
|
|
72
72
|
font-weight: 600;
|
|
73
|
-
} .typography__margins-
|
|
73
|
+
} .typography__margins-xlarge_j3lac {
|
|
74
74
|
margin: 0 0 var(--gap-xl);
|
|
75
|
-
} .typography__margins-
|
|
75
|
+
} .typography__margins-large_j3lac {
|
|
76
76
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
77
|
-
} .typography__margins-
|
|
77
|
+
} .typography__margins-medium_j3lac {
|
|
78
78
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
79
|
-
} .typography__margins-
|
|
79
|
+
} .typography__margins-small_j3lac {
|
|
80
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
81
|
-
} .typography__margins-
|
|
81
|
+
} .typography__margins-xsmall_j3lac {
|
|
82
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
83
83
|
} @media screen and (min-width: 1024px) {
|
|
84
|
-
.typography__styrene-
|
|
84
|
+
.typography__styrene-xlarge_j3lac {
|
|
85
85
|
font-size: 48px;
|
|
86
86
|
line-height: 64px;
|
|
87
87
|
font-weight: 500;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
font-family: var(--font-family-styrene);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.typography__styrene-
|
|
92
|
+
.typography__styrene-large_j3lac {
|
|
93
93
|
font-size: 40px;
|
|
94
94
|
line-height: 48px;
|
|
95
95
|
font-weight: 500;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
font-family: var(--font-family-styrene);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.typography__styrene-
|
|
100
|
+
.typography__styrene-medium_j3lac {
|
|
101
101
|
font-size: 32px;
|
|
102
102
|
line-height: 40px;
|
|
103
103
|
font-weight: 500;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
font-family: var(--font-family-styrene);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.typography__styrene-
|
|
108
|
+
.typography__styrene-small_j3lac {
|
|
109
109
|
font-size: 24px;
|
|
110
110
|
line-height: 32px;
|
|
111
111
|
font-weight: 500;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
font-family: var(--font-family-styrene);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.typography__styrene-
|
|
116
|
+
.typography__styrene-xsmall_j3lac {
|
|
117
117
|
font-size: 20px;
|
|
118
118
|
line-height: 24px;
|
|
119
119
|
font-weight: 500;
|
|
@@ -121,53 +121,53 @@
|
|
|
121
121
|
font-family: var(--font-family-styrene);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.typography__system-
|
|
124
|
+
.typography__system-xlarge_j3lac {
|
|
125
125
|
font-size: 48px;
|
|
126
126
|
line-height: 52px;
|
|
127
127
|
font-weight: 700;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.typography__system-
|
|
130
|
+
.typography__system-large_j3lac {
|
|
131
131
|
font-size: 40px;
|
|
132
132
|
line-height: 48px;
|
|
133
133
|
font-weight: 700;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.typography__system-
|
|
136
|
+
.typography__system-medium_j3lac {
|
|
137
137
|
font-size: 30px;
|
|
138
138
|
line-height: 36px;
|
|
139
139
|
font-weight: 700;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.typography__system-
|
|
142
|
+
.typography__system-small_j3lac {
|
|
143
143
|
font-size: 22px;
|
|
144
144
|
line-height: 26px;
|
|
145
145
|
font-weight: 700;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.typography__system-
|
|
148
|
+
.typography__system-xsmall_j3lac {
|
|
149
149
|
font-size: 18px;
|
|
150
150
|
line-height: 22px;
|
|
151
151
|
font-weight: 700;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.typography__margins-
|
|
154
|
+
.typography__margins-xlarge_j3lac {
|
|
155
155
|
margin: 0 0 var(--gap-xl);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.typography__margins-
|
|
158
|
+
.typography__margins-large_j3lac {
|
|
159
159
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.typography__margins-
|
|
162
|
+
.typography__margins-medium_j3lac {
|
|
163
163
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
.typography__margins-
|
|
166
|
+
.typography__margins-small_j3lac {
|
|
167
167
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.typography__margins-
|
|
170
|
+
.typography__margins-xsmall_j3lac {
|
|
171
171
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -1,11 +1 @@
|
|
|
1
1
|
export { TitleResponsive } from './component.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../title/component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '../hooks/use-skeleton.js';
|
|
8
|
-
import '@alfalab/core-components-skeleton/esm';
|
|
9
|
-
import '@alfalab/hooks';
|
|
10
|
-
import '../colors.module-3119b191.js';
|
|
11
|
-
import '../common.module-ec992380.js';
|
package/hooks/index.js
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var hooks_useSkeleton = require('./use-skeleton.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('classnames');
|
|
9
|
-
require('@alfalab/core-components-skeleton');
|
|
10
|
-
require('@alfalab/hooks');
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
|
package/hooks/use-skeleton.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: ejsi7 */
|
|
2
|
+
: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 */ /* 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 */
|
|
3
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
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 {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .typography__skeletonText_182v9.typography__skeletonText_182v9 {
|
|
19
19
|
border-radius: var(--border-radius-pill);
|
|
20
|
-
} .
|
|
20
|
+
} .typography__left_182v9 > div {
|
|
21
21
|
margin-right: auto;
|
|
22
|
-
} .
|
|
22
|
+
} .typography__center_182v9 > div {
|
|
23
23
|
margin: 0 auto;
|
|
24
|
-
} .
|
|
24
|
+
} .typography__right_182v9 > div {
|
|
25
25
|
margin-left: auto;
|
|
26
26
|
}
|
package/hooks/use-skeleton.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"skeletonText":"
|
|
16
|
+
var styles = {"skeletonText":"typography__skeletonText_182v9","left":"typography__left_182v9","center":"typography__center_182v9","right":"typography__right_182v9"};
|
|
17
17
|
require('./use-skeleton.css')
|
|
18
18
|
|
|
19
19
|
function useSkeleton(showSkeleton, skeletonProps) {
|
package/index.js
CHANGED
|
@@ -4,20 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var component = require('./component.js');
|
|
6
6
|
var presets = require('./presets.js');
|
|
7
|
-
require('./text/component.js');
|
|
8
|
-
require('tslib');
|
|
9
|
-
require('react');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('./hooks/use-skeleton.js');
|
|
13
|
-
require('@alfalab/core-components-skeleton');
|
|
14
|
-
require('@alfalab/hooks');
|
|
15
|
-
require('./colors.module-120e4dd7.js');
|
|
16
|
-
require('./title/index.js');
|
|
17
|
-
require('./title/component.js');
|
|
18
|
-
require('./common.module-4389487a.js');
|
|
19
|
-
require('./title-mobile/component.js');
|
|
20
|
-
require('./title-responsive/component.js');
|
|
21
7
|
|
|
22
8
|
|
|
23
9
|
|
package/modern/colors.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: ptm72 */
|
|
2
|
+
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
5
5
|
--color-light-text-attention: #ea8313;
|
|
6
6
|
--color-light-text-disabled: rgba(5, 11, 44, 0.18);
|
|
7
7
|
--color-light-text-link: #2a77ef;
|
|
8
|
-
--color-light-text-negative: #
|
|
8
|
+
--color-light-text-negative: #ec2d20;
|
|
9
9
|
--color-light-text-positive: #0d9336;
|
|
10
|
-
--color-light-text-primary:
|
|
11
|
-
--color-light-text-primary-inverted:
|
|
10
|
+
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
11
|
+
--color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
|
|
12
12
|
--color-light-text-secondary: rgba(4, 4, 19, 0.55);
|
|
13
13
|
--color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
|
|
14
14
|
--color-light-text-tertiary: rgba(5, 8, 29, 0.38);
|
|
@@ -33,42 +33,42 @@
|
|
|
33
33
|
} :root {
|
|
34
34
|
} :root {
|
|
35
35
|
} :root {
|
|
36
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_kyxz0 {
|
|
37
37
|
color: var(--color-light-text-tertiary);
|
|
38
|
-
} .
|
|
38
|
+
} .typography__disabled_kyxz0 {
|
|
39
39
|
color: var(--color-light-text-disabled);
|
|
40
|
-
} .
|
|
40
|
+
} .typography__accent_kyxz0 {
|
|
41
41
|
color: var(--color-light-text-accent);
|
|
42
|
-
} .
|
|
42
|
+
} .typography__primary_kyxz0 {
|
|
43
43
|
color: var(--color-light-text-primary);
|
|
44
|
-
} .
|
|
44
|
+
} .typography__attention_kyxz0 {
|
|
45
45
|
color: var(--color-light-text-attention);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__positive_kyxz0 {
|
|
47
47
|
color: var(--color-light-text-positive);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__secondary_kyxz0 {
|
|
49
49
|
color: var(--color-light-text-secondary);
|
|
50
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_kyxz0 {
|
|
51
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
52
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_kyxz0 {
|
|
53
53
|
color: var(--color-light-text-primary-inverted);
|
|
54
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_kyxz0 {
|
|
55
55
|
color: var(--color-light-text-secondary-inverted);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__link_kyxz0 {
|
|
57
57
|
color: var(--color-light-text-link);
|
|
58
|
-
} .
|
|
58
|
+
} .typography__negative_kyxz0 {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
|
-
} .typography__static-primary-
|
|
60
|
+
} .typography__static-primary-light_kyxz0 {
|
|
61
61
|
color: var(--color-static-text-primary-light);
|
|
62
|
-
} .typography__static-secondary-
|
|
62
|
+
} .typography__static-secondary-light_kyxz0 {
|
|
63
63
|
color: var(--color-static-text-secondary-light);
|
|
64
|
-
} .typography__static-tertiary-
|
|
64
|
+
} .typography__static-tertiary-light_kyxz0 {
|
|
65
65
|
color: var(--color-static-text-tertiary-light);
|
|
66
|
-
} .typography__static-primary-
|
|
66
|
+
} .typography__static-primary-dark_kyxz0 {
|
|
67
67
|
color: var(--color-static-text-primary-dark);
|
|
68
|
-
} .typography__static-secondary-
|
|
68
|
+
} .typography__static-secondary-dark_kyxz0 {
|
|
69
69
|
color: var(--color-static-text-secondary-dark);
|
|
70
|
-
} .typography__static-tertiary-
|
|
70
|
+
} .typography__static-tertiary-dark_kyxz0 {
|
|
71
71
|
color: var(--color-static-text-tertiary-dark);
|
|
72
|
-
} .typography__static-
|
|
72
|
+
} .typography__static-accent_kyxz0 {
|
|
73
73
|
color: var(--color-static-text-accent);
|
|
74
74
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const colors = {"tertiary":"typography__tertiary_kyxz0","disabled":"typography__disabled_kyxz0","accent":"typography__accent_kyxz0","primary":"typography__primary_kyxz0","attention":"typography__attention_kyxz0","positive":"typography__positive_kyxz0","secondary":"typography__secondary_kyxz0","tertiary-inverted":"typography__tertiary-inverted_kyxz0","primary-inverted":"typography__primary-inverted_kyxz0","secondary-inverted":"typography__secondary-inverted_kyxz0","link":"typography__link_kyxz0","negative":"typography__negative_kyxz0","static-primary-light":"typography__static-primary-light_kyxz0","static-secondary-light":"typography__static-secondary-light_kyxz0","static-tertiary-light":"typography__static-tertiary-light_kyxz0","static-primary-dark":"typography__static-primary-dark_kyxz0","static-secondary-dark":"typography__static-secondary-dark_kyxz0","static-tertiary-dark":"typography__static-tertiary-dark_kyxz0","static-accent":"typography__static-accent_kyxz0"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"typography__component_pc80t","bold":"typography__bold_pc80t","semibold":"typography__semibold_pc80t","medium":"typography__medium_pc80t","regular":"typography__regular_pc80t"};
|
|
2
|
+
require('./title/common.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/modern/component.js
CHANGED
|
@@ -2,15 +2,6 @@ import { Text } from './text/component.js';
|
|
|
2
2
|
import { Title } from './title/index.js';
|
|
3
3
|
import { TitleMobile } from './title-mobile/component.js';
|
|
4
4
|
import { TitleResponsive } from './title-responsive/component.js';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react-merge-refs';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import './hooks/use-skeleton.js';
|
|
9
|
-
import '@alfalab/core-components-skeleton/modern';
|
|
10
|
-
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-93e1488b.js';
|
|
12
|
-
import './title/component.js';
|
|
13
|
-
import './common.module-0bb3a173.js';
|
|
14
5
|
|
|
15
6
|
const Typography = {
|
|
16
7
|
Title,
|
package/modern/hooks/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: ejsi7 */
|
|
2
|
+
: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 */ /* 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 */
|
|
3
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
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 {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .typography__skeletonText_182v9.typography__skeletonText_182v9 {
|
|
19
19
|
border-radius: var(--border-radius-pill);
|
|
20
|
-
} .
|
|
20
|
+
} .typography__left_182v9 > div {
|
|
21
21
|
margin-right: auto;
|
|
22
|
-
} .
|
|
22
|
+
} .typography__center_182v9 > div {
|
|
23
23
|
margin: 0 auto;
|
|
24
|
-
} .
|
|
24
|
+
} .typography__right_182v9 > div {
|
|
25
25
|
margin-left: auto;
|
|
26
26
|
}
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { Skeleton } from '@alfalab/core-components-skeleton/modern';
|
|
4
4
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
5
5
|
|
|
6
|
-
const styles = {"skeletonText":"
|
|
6
|
+
const styles = {"skeletonText":"typography__skeletonText_182v9","left":"typography__left_182v9","center":"typography__center_182v9","right":"typography__right_182v9"};
|
|
7
7
|
require('./use-skeleton.css')
|
|
8
8
|
|
|
9
9
|
function useSkeleton(showSkeleton, skeletonProps) {
|
package/modern/index.js
CHANGED
|
@@ -1,15 +1,2 @@
|
|
|
1
1
|
export { Typography } from './component.js';
|
|
2
2
|
export { typographyPresets } from './presets.js';
|
|
3
|
-
import './text/component.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import './hooks/use-skeleton.js';
|
|
8
|
-
import '@alfalab/core-components-skeleton/modern';
|
|
9
|
-
import '@alfalab/hooks';
|
|
10
|
-
import './colors.module-93e1488b.js';
|
|
11
|
-
import './title/index.js';
|
|
12
|
-
import './title/component.js';
|
|
13
|
-
import './common.module-0bb3a173.js';
|
|
14
|
-
import './title-mobile/component.js';
|
|
15
|
-
import './title-responsive/component.js';
|
package/modern/text/component.js
CHANGED
|
@@ -2,11 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
5
|
-
import { c as colors } from '../colors.module-
|
|
6
|
-
import '@alfalab/core-components-skeleton/modern';
|
|
7
|
-
import '@alfalab/hooks';
|
|
5
|
+
import { c as colors } from '../colors.module-536c28e6.js';
|
|
8
6
|
|
|
9
|
-
const styles = {"paragraph":"
|
|
7
|
+
const styles = {"paragraph":"typography__paragraph_mn433","paragraphWithMargins":"typography__paragraphWithMargins_mn433","primary-large":"typography__primary-large_mn433","primary-medium":"typography__primary-medium_mn433","primary-small":"typography__primary-small_mn433","secondary-large":"typography__secondary-large_mn433","secondary-medium":"typography__secondary-medium_mn433","secondary-small":"typography__secondary-small_mn433","component":"typography__component_mn433","component-primary":"typography__component-primary_mn433","component-secondary":"typography__component-secondary_mn433","caps":"typography__caps_mn433","bold":"typography__bold_mn433","medium":"typography__medium_mn433","regular":"typography__regular_mn433","monospace":"typography__monospace_mn433","rowLimit1":"typography__rowLimit1_mn433","rowLimit2":"typography__rowLimit2_mn433","rowLimit3":"typography__rowLimit3_mn433"};
|
|
10
8
|
require('./index.css')
|
|
11
9
|
|
|
12
10
|
const logWarning = (view) => {
|