@alfalab/core-components-typography 3.2.1 → 3.2.2
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 +20 -20
- package/colors.module-a848b027.js +6 -0
- package/common.module-7493433e.js +6 -0
- package/component.js +2 -2
- package/cssm/text/component.d.ts +1 -1
- package/esm/colors.css +20 -20
- package/esm/colors.module-996156cd.js +4 -0
- package/esm/common.module-bbfef03a.js +4 -0
- package/esm/component.js +2 -2
- package/esm/index.js +2 -2
- package/esm/text/component.d.ts +1 -1
- package/esm/text/component.js +2 -2
- package/esm/text/index.css +18 -18
- package/esm/text/index.js +1 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.js +1 -1
- package/esm/title/index.css +19 -19
- package/esm/title/index.js +3 -3
- package/esm/title-mobile/component.js +3 -3
- package/esm/title-mobile/index.css +11 -11
- 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/index.js +2 -2
- package/modern/colors.css +20 -20
- package/modern/colors.module-f2c54769.js +4 -0
- package/modern/common.module-888addc3.js +4 -0
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.d.ts +1 -1
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +18 -18
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +19 -19
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +11 -11
- 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/package.json +1 -4
- package/text/component.d.ts +1 -1
- package/text/component.js +2 -2
- package/text/index.css +18 -18
- package/text/index.js +1 -1
- package/title/common.css +5 -5
- package/title/component.js +1 -1
- package/title/index.css +19 -19
- package/title/index.js +3 -3
- package/title-mobile/component.js +3 -3
- package/title-mobile/index.css +11 -11
- 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/colors.module-5ace86c0.js +0 -6
- package/common.module-141e6c42.js +0 -6
- package/esm/colors.module-5c7093c3.js +0 -4
- package/esm/common.module-b1986a07.js +0 -4
- package/modern/colors.module-fb1ac5bf.js +0 -4
- package/modern/common.module-3dd593c8.js +0 -4
- package/send-stats.js +0 -82
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-888addc3.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-f2c54769.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_atv5d","styrene-large":"typography__styrene-large_atv5d","styrene-medium":"typography__styrene-medium_atv5d","styrene-small":"typography__styrene-small_atv5d","styrene-xsmall":"typography__styrene-xsmall_atv5d","system-xlarge":"typography__system-xlarge_atv5d","system-large":"typography__system-large_atv5d","system-medium":"typography__system-medium_atv5d","system-small":"typography__system-small_atv5d","system-xsmall":"typography__system-xsmall_atv5d","margins-xlarge":"typography__margins-xlarge_atv5d","margins-large":"typography__margins-large_atv5d","margins-medium":"typography__margins-medium_atv5d","margins-small":"typography__margins-small_atv5d","margins-xsmall":"typography__margins-xsmall_atv5d","rowLimit1":"typography__rowLimit1_atv5d","rowLimit2":"typography__rowLimit2_atv5d","rowLimit3":"typography__rowLimit3_atv5d"};
|
|
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-888addc3.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-f2c54769.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_1e838","styrene-large":"typography__styrene-large_1e838","styrene-medium":"typography__styrene-medium_1e838","styrene-small":"typography__styrene-small_1e838","styrene-xsmall":"typography__styrene-xsmall_1e838","system-xlarge":"typography__system-xlarge_1e838","system-large":"typography__system-large_1e838","system-medium":"typography__system-medium_1e838","system-small":"typography__system-small_1e838","system-xsmall":"typography__system-xsmall_1e838"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleMobile = (props) => (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hjg0 */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -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_1e838 {
|
|
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_1e838 {
|
|
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_1e838 {
|
|
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_1e838 {
|
|
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_1e838 {
|
|
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_1e838 {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
|
-
} .typography__system-
|
|
53
|
+
} .typography__system-large_1e838 {
|
|
54
54
|
font-size: 30px;
|
|
55
55
|
line-height: 36px;
|
|
56
56
|
font-weight: 600;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-medium_1e838 {
|
|
58
58
|
font-size: 26px;
|
|
59
59
|
line-height: 32px;
|
|
60
60
|
font-weight: 600;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-small_1e838 {
|
|
62
62
|
font-size: 20px;
|
|
63
63
|
line-height: 28px;
|
|
64
64
|
font-weight: 600;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-xsmall_1e838 {
|
|
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-f2c54769.js';
|
|
6
|
+
import '../common.module-888addc3.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-888addc3.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../colors.module-
|
|
5
|
+
import '../colors.module-f2c54769.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
const styles = {"styrene-xlarge":"typography__styrene-xlarge_18lb0","styrene-large":"typography__styrene-large_18lb0","styrene-medium":"typography__styrene-medium_18lb0","styrene-small":"typography__styrene-small_18lb0","styrene-xsmall":"typography__styrene-xsmall_18lb0","system-xlarge":"typography__system-xlarge_18lb0","system-large":"typography__system-large_18lb0","system-medium":"typography__system-medium_18lb0","system-small":"typography__system-small_18lb0","system-xsmall":"typography__system-xsmall_18lb0","margins-xlarge":"typography__margins-xlarge_18lb0","margins-large":"typography__margins-large_18lb0","margins-medium":"typography__margins-medium_18lb0","margins-small":"typography__margins-small_18lb0","margins-xsmall":"typography__margins-xsmall_18lb0"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const TitleResponsive = (props) => (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bvgj */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -20,118 +20,118 @@
|
|
|
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_18lb0 {
|
|
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_18lb0 {
|
|
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_18lb0 {
|
|
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_18lb0 {
|
|
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_18lb0 {
|
|
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_18lb0 {
|
|
54
54
|
font-size: 30px;
|
|
55
55
|
line-height: 36px;
|
|
56
56
|
font-weight: 700;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-large_18lb0 {
|
|
58
58
|
font-size: 22px;
|
|
59
59
|
line-height: 26px;
|
|
60
60
|
font-weight: 700;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-medium_18lb0 {
|
|
62
62
|
font-size: 18px;
|
|
63
63
|
line-height: 22px;
|
|
64
64
|
font-weight: 700;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-small_18lb0 {
|
|
66
66
|
font-size: 18px;
|
|
67
67
|
line-height: 22px;
|
|
68
68
|
font-weight: 700;
|
|
69
|
-
} .typography__system-
|
|
69
|
+
} .typography__system-xsmall_18lb0 {
|
|
70
70
|
font-size: 18px;
|
|
71
71
|
line-height: 22px;
|
|
72
72
|
font-weight: 700;
|
|
73
|
-
} .typography__margins-
|
|
73
|
+
} .typography__margins-xlarge_18lb0 {
|
|
74
74
|
margin: 0 0 var(--gap-xl);
|
|
75
|
-
} .typography__margins-
|
|
75
|
+
} .typography__margins-large_18lb0 {
|
|
76
76
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
77
|
-
} .typography__margins-
|
|
77
|
+
} .typography__margins-medium_18lb0 {
|
|
78
78
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
79
|
-
} .typography__margins-
|
|
79
|
+
} .typography__margins-small_18lb0 {
|
|
80
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
81
|
-
} .typography__margins-
|
|
81
|
+
} .typography__margins-xsmall_18lb0 {
|
|
82
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
83
83
|
} @media screen and (min-width: 600px) {
|
|
84
|
-
.typography__system-
|
|
84
|
+
.typography__system-xlarge_18lb0 {
|
|
85
85
|
font-size: 40px;
|
|
86
86
|
line-height: 48px;
|
|
87
87
|
font-weight: 700;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.typography__system-
|
|
90
|
+
.typography__system-large_18lb0 {
|
|
91
91
|
font-size: 30px;
|
|
92
92
|
line-height: 36px;
|
|
93
93
|
font-weight: 700;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.typography__system-
|
|
96
|
+
.typography__system-medium_18lb0 {
|
|
97
97
|
font-size: 22px;
|
|
98
98
|
line-height: 26px;
|
|
99
99
|
font-weight: 700;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.typography__system-
|
|
102
|
+
.typography__system-small_18lb0 {
|
|
103
103
|
font-size: 22px;
|
|
104
104
|
line-height: 26px;
|
|
105
105
|
font-weight: 700;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.typography__system-
|
|
108
|
+
.typography__system-xsmall_18lb0 {
|
|
109
109
|
font-size: 18px;
|
|
110
110
|
line-height: 22px;
|
|
111
111
|
font-weight: 700;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.typography__margins-
|
|
114
|
+
.typography__margins-xlarge_18lb0 {
|
|
115
115
|
margin: 0 0 var(--gap-xl);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.typography__margins-
|
|
118
|
+
.typography__margins-large_18lb0 {
|
|
119
119
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.typography__margins-
|
|
122
|
+
.typography__margins-medium_18lb0 {
|
|
123
123
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.typography__margins-
|
|
126
|
+
.typography__margins-small_18lb0 {
|
|
127
127
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.typography__margins-
|
|
130
|
+
.typography__margins-xsmall_18lb0 {
|
|
131
131
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
132
132
|
}
|
|
133
133
|
} @media screen and (min-width: 1024px) {
|
|
134
|
-
.typography__styrene-
|
|
134
|
+
.typography__styrene-xlarge_18lb0 {
|
|
135
135
|
font-size: 48px;
|
|
136
136
|
line-height: 64px;
|
|
137
137
|
font-weight: 500;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
font-family: var(--font-family-styrene);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.typography__styrene-
|
|
142
|
+
.typography__styrene-large_18lb0 {
|
|
143
143
|
font-size: 40px;
|
|
144
144
|
line-height: 48px;
|
|
145
145
|
font-weight: 500;
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
font-family: var(--font-family-styrene);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.typography__styrene-
|
|
150
|
+
.typography__styrene-medium_18lb0 {
|
|
151
151
|
font-size: 32px;
|
|
152
152
|
line-height: 40px;
|
|
153
153
|
font-weight: 500;
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
font-family: var(--font-family-styrene);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.typography__styrene-
|
|
158
|
+
.typography__styrene-small_18lb0 {
|
|
159
159
|
font-size: 24px;
|
|
160
160
|
line-height: 32px;
|
|
161
161
|
font-weight: 500;
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
font-family: var(--font-family-styrene);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
.typography__styrene-
|
|
166
|
+
.typography__styrene-xsmall_18lb0 {
|
|
167
167
|
font-size: 20px;
|
|
168
168
|
line-height: 24px;
|
|
169
169
|
font-weight: 500;
|
|
@@ -171,53 +171,53 @@
|
|
|
171
171
|
font-family: var(--font-family-styrene);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.typography__system-
|
|
174
|
+
.typography__system-xlarge_18lb0 {
|
|
175
175
|
font-size: 48px;
|
|
176
176
|
line-height: 52px;
|
|
177
177
|
font-weight: 700;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.typography__system-
|
|
180
|
+
.typography__system-large_18lb0 {
|
|
181
181
|
font-size: 40px;
|
|
182
182
|
line-height: 48px;
|
|
183
183
|
font-weight: 700;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.typography__system-
|
|
186
|
+
.typography__system-medium_18lb0 {
|
|
187
187
|
font-size: 30px;
|
|
188
188
|
line-height: 36px;
|
|
189
189
|
font-weight: 700;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.typography__system-
|
|
192
|
+
.typography__system-small_18lb0 {
|
|
193
193
|
font-size: 22px;
|
|
194
194
|
line-height: 26px;
|
|
195
195
|
font-weight: 700;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.typography__system-
|
|
198
|
+
.typography__system-xsmall_18lb0 {
|
|
199
199
|
font-size: 18px;
|
|
200
200
|
line-height: 22px;
|
|
201
201
|
font-weight: 700;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.typography__margins-
|
|
204
|
+
.typography__margins-xlarge_18lb0 {
|
|
205
205
|
margin: 0 0 var(--gap-xl);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.typography__margins-
|
|
208
|
+
.typography__margins-large_18lb0 {
|
|
209
209
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.typography__margins-
|
|
212
|
+
.typography__margins-medium_18lb0 {
|
|
213
213
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.typography__margins-
|
|
216
|
+
.typography__margins-small_18lb0 {
|
|
217
217
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.typography__margins-
|
|
220
|
+
.typography__margins-xsmall_18lb0 {
|
|
221
221
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -2,5 +2,5 @@ export { TitleResponsive } 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-f2c54769.js';
|
|
6
|
+
import '../common.module-888addc3.js';
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-typography",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
11
|
-
},
|
|
12
9
|
"publishConfig": {
|
|
13
10
|
"access": "public",
|
|
14
11
|
"directory": "dist"
|
package/text/component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { TextElementType } from "../types";
|
|
|
6
6
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
type TextBaseProps = {
|
|
8
8
|
/**
|
|
9
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/
|
|
9
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
10
10
|
*/
|
|
11
11
|
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
|
|
12
12
|
/**
|
package/text/component.js
CHANGED
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var colors_module = require('../colors.module-
|
|
8
|
+
var colors_module = require('../colors.module-a848b027.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"paragraph":"
|
|
15
|
+
var styles = {"paragraph":"typography__paragraph_1w6ie","paragraphWithMargins":"typography__paragraphWithMargins_1w6ie","primary-large":"typography__primary-large_1w6ie","primary-medium":"typography__primary-medium_1w6ie","primary-small":"typography__primary-small_1w6ie","secondary-large":"typography__secondary-large_1w6ie","secondary-medium":"typography__secondary-medium_1w6ie","secondary-small":"typography__secondary-small_1w6ie","component":"typography__component_1w6ie","caps":"typography__caps_1w6ie","bold":"typography__bold_1w6ie","medium":"typography__medium_1w6ie","regular":"typography__regular_1w6ie","monospace":"typography__monospace_1w6ie","rowLimit1":"typography__rowLimit1_1w6ie","rowLimit2":"typography__rowLimit2_1w6ie","rowLimit3":"typography__rowLimit3_1w6ie"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Text = React.forwardRef(function (_a, ref) {
|
package/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1p2cg */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -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_1w6ie {
|
|
21
21
|
margin: 0;
|
|
22
22
|
padding: 0;
|
|
23
|
-
} .
|
|
23
|
+
} .typography__paragraphWithMargins_1w6ie {
|
|
24
24
|
padding: 0;
|
|
25
25
|
margin: var(--text-paragraph-margin-bottom);
|
|
26
|
-
} .typography__primary-
|
|
26
|
+
} .typography__primary-large_1w6ie {
|
|
27
27
|
font-size: 18px;
|
|
28
28
|
line-height: 24px;
|
|
29
29
|
font-weight: 400;
|
|
30
|
-
} .typography__primary-
|
|
30
|
+
} .typography__primary-medium_1w6ie {
|
|
31
31
|
font-size: 16px;
|
|
32
32
|
line-height: 24px;
|
|
33
33
|
font-weight: 400;
|
|
34
|
-
} .typography__primary-
|
|
34
|
+
} .typography__primary-small_1w6ie {
|
|
35
35
|
font-size: 14px;
|
|
36
36
|
line-height: 20px;
|
|
37
37
|
font-weight: 400;
|
|
38
|
-
} .typography__secondary-
|
|
38
|
+
} .typography__secondary-large_1w6ie {
|
|
39
39
|
font-size: 13px;
|
|
40
40
|
line-height: 16px;
|
|
41
41
|
font-weight: 400;
|
|
42
|
-
} .typography__secondary-
|
|
42
|
+
} .typography__secondary-medium_1w6ie {
|
|
43
43
|
font-size: 12px;
|
|
44
44
|
line-height: 16px;
|
|
45
45
|
font-weight: 400;
|
|
46
|
-
} .typography__secondary-
|
|
46
|
+
} .typography__secondary-small_1w6ie {
|
|
47
47
|
font-size: 11px;
|
|
48
48
|
line-height: 16px;
|
|
49
49
|
font-weight: 400;
|
|
50
|
-
} .
|
|
50
|
+
} .typography__component_1w6ie {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
|
-
} .
|
|
54
|
+
} .typography__caps_1w6ie {
|
|
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_1w6ie {
|
|
61
61
|
font-weight: bold;
|
|
62
|
-
} .
|
|
62
|
+
} .typography__medium_1w6ie {
|
|
63
63
|
font-weight: 500;
|
|
64
|
-
} .
|
|
64
|
+
} .typography__regular_1w6ie {
|
|
65
65
|
font-weight: normal;
|
|
66
|
-
} .
|
|
66
|
+
} .typography__monospace_1w6ie {
|
|
67
67
|
font-feature-settings: "tnum";
|
|
68
68
|
font-variant-numeric: tabular-nums;
|
|
69
|
-
} .
|
|
69
|
+
} .typography__rowLimit1_1w6ie {
|
|
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_1w6ie {
|
|
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_1w6ie {
|
|
81
81
|
-webkit-line-clamp: 3;
|
|
82
82
|
display: -webkit-box;
|
|
83
83
|
-webkit-box-orient: vertical;
|
package/text/index.js
CHANGED
package/title/common.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: u52rm */
|
|
2
|
+
.typography__component_1etxr {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.typography__component_1etxr.typography__bold_1etxr {
|
|
7
7
|
font-weight: bold;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.typography__component_1etxr.typography__medium_1etxr {
|
|
10
10
|
font-weight: 500;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.typography__component_1etxr.typography__regular_1etxr {
|
|
13
13
|
font-weight: normal;
|
|
14
14
|
}
|
package/title/component.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var colors_module = require('../colors.module-
|
|
8
|
+
var colors_module = require('../colors.module-a848b027.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|