@alfalab/core-components-typography 3.1.0 → 3.1.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 +21 -28
- package/colors.module-fcf8e5d3.js +6 -0
- package/common.module-cf8a6de7.js +6 -0
- package/component.js +3 -2
- package/cssm/colors.module.css +20 -27
- package/cssm/component.js +1 -1
- package/cssm/index.js +1 -1
- package/cssm/text/component.js +3 -3
- package/cssm/text/index.js +1 -1
- package/cssm/text/index.module.css +26 -38
- package/cssm/title/component.js +3 -3
- package/cssm/title/index.js +2 -2
- package/cssm/title/index.module.css +26 -40
- package/cssm/title-mobile/component.js +2 -2
- package/cssm/title-mobile/index.js +1 -1
- package/cssm/title-mobile/index.module.css +18 -22
- package/cssm/title-responsive/component.js +2 -2
- package/cssm/title-responsive/index.js +1 -1
- package/cssm/title-responsive/index.module.css +25 -39
- package/esm/colors.css +21 -28
- package/esm/colors.module-6c8a001e.js +4 -0
- package/esm/common.module-e5f2dd08.js +4 -0
- package/esm/component.js +3 -2
- package/esm/index.js +3 -2
- package/esm/text/component.js +3 -2
- package/esm/text/index.css +27 -39
- package/esm/text/index.js +2 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.js +2 -1
- package/esm/title/index.css +27 -41
- package/esm/title/index.js +4 -3
- package/esm/title-mobile/component.js +4 -3
- package/esm/title-mobile/index.css +19 -23
- package/esm/title-mobile/index.js +3 -2
- package/esm/title-responsive/component.js +4 -3
- package/esm/title-responsive/index.css +51 -65
- package/esm/title-responsive/index.js +3 -2
- package/index.js +3 -2
- package/modern/colors.css +21 -28
- package/modern/colors.module-cd27c99e.js +4 -0
- package/modern/common.module-83440d45.js +4 -0
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +27 -39
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +27 -41
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +19 -23
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +51 -65
- package/modern/title-responsive/index.js +2 -2
- package/package.json +3 -2
- package/text/component.js +5 -4
- package/text/index.css +27 -39
- package/text/index.js +2 -1
- package/title/common.css +5 -5
- package/title/component.js +4 -3
- package/title/index.css +27 -41
- package/title/index.js +5 -4
- package/title-mobile/component.js +5 -4
- package/title-mobile/index.css +19 -23
- package/title-mobile/index.js +3 -2
- package/title-responsive/component.js +5 -4
- package/title-responsive/index.css +51 -65
- package/title-responsive/index.js +3 -2
- package/colors.module-bc993287.d.ts +0 -36
- package/colors.module-bc993287.js +0 -46
- package/common.module-0a9ad0fb.js +0 -6
- package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
- package/cssm/tslib.es6-bbd6cd2a.js +0 -42
- package/esm/colors.module-42065957.d.ts +0 -36
- package/esm/colors.module-42065957.js +0 -43
- package/esm/common.module-cc423fc9.js +0 -4
- package/modern/colors.module-cbb33ea7.js +0 -4
- package/modern/common.module-13ae7781.js +0 -4
|
@@ -1,72 +1,68 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: q712k */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
11
16
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
12
17
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
13
|
-
}
|
|
14
|
-
.typography__styrene-
|
|
18
|
+
} :root {
|
|
19
|
+
} .typography__styrene-xlarge_e1iak {
|
|
15
20
|
font-size: 34px;
|
|
16
21
|
line-height: 40px;
|
|
17
22
|
font-weight: 500;
|
|
18
23
|
font-feature-settings: 'ss01';
|
|
19
24
|
font-family: var(--font-family-styrene);
|
|
20
|
-
}
|
|
21
|
-
.typography__styrene-large_1pauw {
|
|
25
|
+
} .typography__styrene-large_e1iak {
|
|
22
26
|
font-size: 30px;
|
|
23
27
|
line-height: 36px;
|
|
24
28
|
font-weight: 500;
|
|
25
29
|
font-feature-settings: 'ss01';
|
|
26
30
|
font-family: var(--font-family-styrene);
|
|
27
|
-
}
|
|
28
|
-
.typography__styrene-medium_1pauw {
|
|
31
|
+
} .typography__styrene-medium_e1iak {
|
|
29
32
|
font-size: 26px;
|
|
30
33
|
line-height: 32px;
|
|
31
34
|
font-weight: 500;
|
|
32
35
|
font-feature-settings: 'ss01';
|
|
33
36
|
font-family: var(--font-family-styrene);
|
|
34
|
-
}
|
|
35
|
-
.typography__styrene-small_1pauw {
|
|
37
|
+
} .typography__styrene-small_e1iak {
|
|
36
38
|
font-size: 20px;
|
|
37
39
|
line-height: 28px;
|
|
38
40
|
font-weight: 500;
|
|
39
41
|
font-feature-settings: 'ss01';
|
|
40
42
|
font-family: var(--font-family-styrene);
|
|
41
|
-
}
|
|
42
|
-
.typography__styrene-xsmall_1pauw {
|
|
43
|
+
} .typography__styrene-xsmall_e1iak {
|
|
43
44
|
font-size: 16px;
|
|
44
45
|
line-height: 20px;
|
|
45
46
|
font-weight: 500;
|
|
46
47
|
font-feature-settings: 'ss01';
|
|
47
48
|
font-family: var(--font-family-styrene);
|
|
48
|
-
}
|
|
49
|
-
.typography__system-xlarge_1pauw {
|
|
49
|
+
} .typography__system-xlarge_e1iak {
|
|
50
50
|
font-size: 34px;
|
|
51
51
|
line-height: 40px;
|
|
52
52
|
font-weight: 600;
|
|
53
|
-
}
|
|
54
|
-
.typography__system-large_1pauw {
|
|
53
|
+
} .typography__system-large_e1iak {
|
|
55
54
|
font-size: 30px;
|
|
56
55
|
line-height: 36px;
|
|
57
56
|
font-weight: 600;
|
|
58
|
-
}
|
|
59
|
-
.typography__system-medium_1pauw {
|
|
57
|
+
} .typography__system-medium_e1iak {
|
|
60
58
|
font-size: 26px;
|
|
61
59
|
line-height: 32px;
|
|
62
60
|
font-weight: 600;
|
|
63
|
-
}
|
|
64
|
-
.typography__system-small_1pauw {
|
|
61
|
+
} .typography__system-small_e1iak {
|
|
65
62
|
font-size: 20px;
|
|
66
63
|
line-height: 28px;
|
|
67
64
|
font-weight: 600;
|
|
68
|
-
}
|
|
69
|
-
.typography__system-xsmall_1pauw {
|
|
65
|
+
} .typography__system-xsmall_e1iak {
|
|
70
66
|
font-size: 16px;
|
|
71
67
|
line-height: 20px;
|
|
72
68
|
font-weight: 600;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { TitleMobile } from './component.js';
|
|
2
|
-
import '
|
|
2
|
+
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../title/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../
|
|
6
|
+
import '../colors.module-6c8a001e.js';
|
|
7
|
+
import '../common.module-e5f2dd08.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Title } from '../title/component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-e5f2dd08.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
+
import '../colors.module-6c8a001e.js';
|
|
6
7
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
8
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1ookc","styrene-large":"typography__styrene-large_1ookc","styrene-medium":"typography__styrene-medium_1ookc","styrene-small":"typography__styrene-small_1ookc","styrene-xsmall":"typography__styrene-xsmall_1ookc","system-xlarge":"typography__system-xlarge_1ookc","system-large":"typography__system-large_1ookc","system-medium":"typography__system-medium_1ookc","system-small":"typography__system-small_1ookc","system-xsmall":"typography__system-xsmall_1ookc","margins-xlarge":"typography__margins-xlarge_1ookc","margins-large":"typography__margins-large_1ookc","margins-medium":"typography__margins-medium_1ookc","margins-small":"typography__margins-small_1ookc","margins-xsmall":"typography__margins-xsmall_1ookc"};
|
|
8
9
|
require('./index.css')
|
|
9
10
|
|
|
10
11
|
var TitleResponsive = function (props) { return (
|
|
@@ -1,151 +1,137 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nux5 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
16
|
--gap-xl: 24px;
|
|
13
17
|
--gap-3xl: 40px;
|
|
14
18
|
--gap-4xl: 48px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
19
|
+
} :root {
|
|
17
20
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
18
21
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
|
-
}
|
|
20
|
-
/* TODO: поменять медиа-запросы на миксины */
|
|
21
|
-
.typography__styrene-xlarge_39k3n {
|
|
22
|
+
} :root {
|
|
23
|
+
} /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-xlarge_1ookc {
|
|
22
24
|
font-size: 34px;
|
|
23
25
|
line-height: 40px;
|
|
24
26
|
font-weight: 500;
|
|
25
27
|
font-feature-settings: 'ss01';
|
|
26
28
|
font-family: var(--font-family-styrene);
|
|
27
|
-
}
|
|
28
|
-
.typography__styrene-large_39k3n {
|
|
29
|
+
} .typography__styrene-large_1ookc {
|
|
29
30
|
font-size: 30px;
|
|
30
31
|
line-height: 36px;
|
|
31
32
|
font-weight: 500;
|
|
32
33
|
font-feature-settings: 'ss01';
|
|
33
34
|
font-family: var(--font-family-styrene);
|
|
34
|
-
}
|
|
35
|
-
.typography__styrene-medium_39k3n {
|
|
35
|
+
} .typography__styrene-medium_1ookc {
|
|
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
|
-
}
|
|
42
|
-
.typography__styrene-small_39k3n {
|
|
41
|
+
} .typography__styrene-small_1ookc {
|
|
43
42
|
font-size: 20px;
|
|
44
43
|
line-height: 28px;
|
|
45
44
|
font-weight: 500;
|
|
46
45
|
font-feature-settings: 'ss01';
|
|
47
46
|
font-family: var(--font-family-styrene);
|
|
48
|
-
}
|
|
49
|
-
.typography__styrene-xsmall_39k3n {
|
|
47
|
+
} .typography__styrene-xsmall_1ookc {
|
|
50
48
|
font-size: 16px;
|
|
51
49
|
line-height: 20px;
|
|
52
50
|
font-weight: 500;
|
|
53
51
|
font-feature-settings: 'ss01';
|
|
54
52
|
font-family: var(--font-family-styrene);
|
|
55
|
-
}
|
|
56
|
-
.typography__system-xlarge_39k3n {
|
|
53
|
+
} .typography__system-xlarge_1ookc {
|
|
57
54
|
font-size: 30px;
|
|
58
55
|
line-height: 36px;
|
|
59
56
|
font-weight: 700;
|
|
60
|
-
}
|
|
61
|
-
.typography__system-large_39k3n {
|
|
57
|
+
} .typography__system-large_1ookc {
|
|
62
58
|
font-size: 22px;
|
|
63
59
|
line-height: 26px;
|
|
64
60
|
font-weight: 700;
|
|
65
|
-
}
|
|
66
|
-
.typography__system-medium_39k3n {
|
|
61
|
+
} .typography__system-medium_1ookc {
|
|
67
62
|
font-size: 18px;
|
|
68
63
|
line-height: 22px;
|
|
69
64
|
font-weight: 700;
|
|
70
|
-
}
|
|
71
|
-
.typography__system-small_39k3n {
|
|
65
|
+
} .typography__system-small_1ookc {
|
|
72
66
|
font-size: 18px;
|
|
73
67
|
line-height: 22px;
|
|
74
68
|
font-weight: 700;
|
|
75
|
-
}
|
|
76
|
-
.typography__system-xsmall_39k3n {
|
|
69
|
+
} .typography__system-xsmall_1ookc {
|
|
77
70
|
font-size: 18px;
|
|
78
71
|
line-height: 22px;
|
|
79
72
|
font-weight: 700;
|
|
80
|
-
}
|
|
81
|
-
.typography__margins-xlarge_39k3n {
|
|
73
|
+
} .typography__margins-xlarge_1ookc {
|
|
82
74
|
margin: 0 0 var(--gap-xl);
|
|
83
|
-
}
|
|
84
|
-
.typography__margins-large_39k3n {
|
|
75
|
+
} .typography__margins-large_1ookc {
|
|
85
76
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
86
|
-
}
|
|
87
|
-
.typography__margins-medium_39k3n {
|
|
77
|
+
} .typography__margins-medium_1ookc {
|
|
88
78
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
89
|
-
}
|
|
90
|
-
.typography__margins-small_39k3n {
|
|
79
|
+
} .typography__margins-small_1ookc {
|
|
91
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
92
|
-
}
|
|
93
|
-
.typography__margins-xsmall_39k3n {
|
|
81
|
+
} .typography__margins-xsmall_1ookc {
|
|
94
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.typography__system-xlarge_39k3n {
|
|
83
|
+
} @media screen and (min-width: 600px) {
|
|
84
|
+
.typography__system-xlarge_1ookc {
|
|
98
85
|
font-size: 40px;
|
|
99
86
|
line-height: 48px;
|
|
100
87
|
font-weight: 700;
|
|
101
88
|
}
|
|
102
89
|
|
|
103
|
-
.typography__system-
|
|
90
|
+
.typography__system-large_1ookc {
|
|
104
91
|
font-size: 30px;
|
|
105
92
|
line-height: 36px;
|
|
106
93
|
font-weight: 700;
|
|
107
94
|
}
|
|
108
95
|
|
|
109
|
-
.typography__system-
|
|
96
|
+
.typography__system-medium_1ookc {
|
|
110
97
|
font-size: 22px;
|
|
111
98
|
line-height: 26px;
|
|
112
99
|
font-weight: 700;
|
|
113
100
|
}
|
|
114
101
|
|
|
115
|
-
.typography__system-
|
|
102
|
+
.typography__system-small_1ookc {
|
|
116
103
|
font-size: 22px;
|
|
117
104
|
line-height: 26px;
|
|
118
105
|
font-weight: 700;
|
|
119
106
|
}
|
|
120
107
|
|
|
121
|
-
.typography__system-
|
|
108
|
+
.typography__system-xsmall_1ookc {
|
|
122
109
|
font-size: 18px;
|
|
123
110
|
line-height: 22px;
|
|
124
111
|
font-weight: 700;
|
|
125
112
|
}
|
|
126
113
|
|
|
127
|
-
.typography__margins-
|
|
114
|
+
.typography__margins-xlarge_1ookc {
|
|
128
115
|
margin: 0 0 var(--gap-xl);
|
|
129
116
|
}
|
|
130
117
|
|
|
131
|
-
.typography__margins-
|
|
118
|
+
.typography__margins-large_1ookc {
|
|
132
119
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
133
120
|
}
|
|
134
121
|
|
|
135
|
-
.typography__margins-
|
|
122
|
+
.typography__margins-medium_1ookc {
|
|
136
123
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
137
124
|
}
|
|
138
125
|
|
|
139
|
-
.typography__margins-
|
|
126
|
+
.typography__margins-small_1ookc {
|
|
140
127
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
141
128
|
}
|
|
142
129
|
|
|
143
|
-
.typography__margins-
|
|
130
|
+
.typography__margins-xsmall_1ookc {
|
|
144
131
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
145
132
|
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.typography__styrene-xlarge_39k3n {
|
|
133
|
+
} @media screen and (min-width: 1024px) {
|
|
134
|
+
.typography__styrene-xlarge_1ookc {
|
|
149
135
|
font-size: 48px;
|
|
150
136
|
line-height: 64px;
|
|
151
137
|
font-weight: 500;
|
|
@@ -153,7 +139,7 @@
|
|
|
153
139
|
font-family: var(--font-family-styrene);
|
|
154
140
|
}
|
|
155
141
|
|
|
156
|
-
.typography__styrene-
|
|
142
|
+
.typography__styrene-large_1ookc {
|
|
157
143
|
font-size: 40px;
|
|
158
144
|
line-height: 48px;
|
|
159
145
|
font-weight: 500;
|
|
@@ -161,7 +147,7 @@
|
|
|
161
147
|
font-family: var(--font-family-styrene);
|
|
162
148
|
}
|
|
163
149
|
|
|
164
|
-
.typography__styrene-
|
|
150
|
+
.typography__styrene-medium_1ookc {
|
|
165
151
|
font-size: 32px;
|
|
166
152
|
line-height: 40px;
|
|
167
153
|
font-weight: 500;
|
|
@@ -169,7 +155,7 @@
|
|
|
169
155
|
font-family: var(--font-family-styrene);
|
|
170
156
|
}
|
|
171
157
|
|
|
172
|
-
.typography__styrene-
|
|
158
|
+
.typography__styrene-small_1ookc {
|
|
173
159
|
font-size: 24px;
|
|
174
160
|
line-height: 32px;
|
|
175
161
|
font-weight: 500;
|
|
@@ -177,7 +163,7 @@
|
|
|
177
163
|
font-family: var(--font-family-styrene);
|
|
178
164
|
}
|
|
179
165
|
|
|
180
|
-
.typography__styrene-
|
|
166
|
+
.typography__styrene-xsmall_1ookc {
|
|
181
167
|
font-size: 20px;
|
|
182
168
|
line-height: 24px;
|
|
183
169
|
font-weight: 500;
|
|
@@ -185,53 +171,53 @@
|
|
|
185
171
|
font-family: var(--font-family-styrene);
|
|
186
172
|
}
|
|
187
173
|
|
|
188
|
-
.typography__system-
|
|
174
|
+
.typography__system-xlarge_1ookc {
|
|
189
175
|
font-size: 48px;
|
|
190
176
|
line-height: 52px;
|
|
191
177
|
font-weight: 700;
|
|
192
178
|
}
|
|
193
179
|
|
|
194
|
-
.typography__system-
|
|
180
|
+
.typography__system-large_1ookc {
|
|
195
181
|
font-size: 40px;
|
|
196
182
|
line-height: 48px;
|
|
197
183
|
font-weight: 700;
|
|
198
184
|
}
|
|
199
185
|
|
|
200
|
-
.typography__system-
|
|
186
|
+
.typography__system-medium_1ookc {
|
|
201
187
|
font-size: 30px;
|
|
202
188
|
line-height: 36px;
|
|
203
189
|
font-weight: 700;
|
|
204
190
|
}
|
|
205
191
|
|
|
206
|
-
.typography__system-
|
|
192
|
+
.typography__system-small_1ookc {
|
|
207
193
|
font-size: 22px;
|
|
208
194
|
line-height: 26px;
|
|
209
195
|
font-weight: 700;
|
|
210
196
|
}
|
|
211
197
|
|
|
212
|
-
.typography__system-
|
|
198
|
+
.typography__system-xsmall_1ookc {
|
|
213
199
|
font-size: 18px;
|
|
214
200
|
line-height: 22px;
|
|
215
201
|
font-weight: 700;
|
|
216
202
|
}
|
|
217
203
|
|
|
218
|
-
.typography__margins-
|
|
204
|
+
.typography__margins-xlarge_1ookc {
|
|
219
205
|
margin: 0 0 var(--gap-xl);
|
|
220
206
|
}
|
|
221
207
|
|
|
222
|
-
.typography__margins-
|
|
208
|
+
.typography__margins-large_1ookc {
|
|
223
209
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
224
210
|
}
|
|
225
211
|
|
|
226
|
-
.typography__margins-
|
|
212
|
+
.typography__margins-medium_1ookc {
|
|
227
213
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
228
214
|
}
|
|
229
215
|
|
|
230
|
-
.typography__margins-
|
|
216
|
+
.typography__margins-small_1ookc {
|
|
231
217
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
232
218
|
}
|
|
233
219
|
|
|
234
|
-
.typography__margins-
|
|
220
|
+
.typography__margins-xsmall_1ookc {
|
|
235
221
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
236
222
|
}
|
|
237
223
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { TitleResponsive } from './component.js';
|
|
2
|
-
import '
|
|
2
|
+
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../title/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../
|
|
6
|
+
import '../colors.module-6c8a001e.js';
|
|
7
|
+
import '../common.module-e5f2dd08.js';
|
package/index.js
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
var component = require('./component.js');
|
|
4
4
|
var presets = require('./presets.js');
|
|
5
5
|
require('./text/component.js');
|
|
6
|
-
require('
|
|
6
|
+
require('tslib');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
9
|
+
require('./colors.module-fcf8e5d3.js');
|
|
9
10
|
require('./title/index.js');
|
|
10
11
|
require('./title/component.js');
|
|
11
|
-
require('./common.module-
|
|
12
|
+
require('./common.module-cf8a6de7.js');
|
|
12
13
|
require('./title-mobile/component.js');
|
|
13
14
|
require('./title-responsive/component.js');
|
|
14
15
|
|
package/modern/colors.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 11u0a */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-text-accent: #ef3124;
|
|
4
5
|
--color-light-text-attention: #de6a00;
|
|
5
6
|
--color-light-text-disabled: rgba(11, 31, 53, 0.15);
|
|
@@ -12,49 +13,41 @@
|
|
|
12
13
|
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
13
14
|
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
14
15
|
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
17
19
|
|
|
18
20
|
/* Hard */
|
|
19
21
|
|
|
20
22
|
/* Up */
|
|
21
23
|
|
|
22
24
|
/* Hard up */
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
} :root {
|
|
26
|
+
} :root {
|
|
27
|
+
} :root {
|
|
28
|
+
} :root {
|
|
29
|
+
} /* colors */ .typography__tertiary_2xsx1 {
|
|
26
30
|
color: var(--color-light-text-tertiary);
|
|
27
|
-
}
|
|
28
|
-
.typography__disabled_5mg9e {
|
|
31
|
+
} .typography__disabled_2xsx1 {
|
|
29
32
|
color: var(--color-light-text-disabled);
|
|
30
|
-
}
|
|
31
|
-
.typography__accent_5mg9e {
|
|
33
|
+
} .typography__accent_2xsx1 {
|
|
32
34
|
color: var(--color-light-text-accent);
|
|
33
|
-
}
|
|
34
|
-
.typography__primary_5mg9e {
|
|
35
|
+
} .typography__primary_2xsx1 {
|
|
35
36
|
color: var(--color-light-text-primary);
|
|
36
|
-
}
|
|
37
|
-
.typography__attention_5mg9e {
|
|
37
|
+
} .typography__attention_2xsx1 {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
|
-
}
|
|
40
|
-
.typography__positive_5mg9e {
|
|
39
|
+
} .typography__positive_2xsx1 {
|
|
41
40
|
color: var(--color-light-text-positive);
|
|
42
|
-
}
|
|
43
|
-
.typography__secondary_5mg9e {
|
|
41
|
+
} .typography__secondary_2xsx1 {
|
|
44
42
|
color: var(--color-light-text-secondary);
|
|
45
|
-
}
|
|
46
|
-
.typography__tertiary-inverted_5mg9e {
|
|
43
|
+
} .typography__tertiary-inverted_2xsx1 {
|
|
47
44
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
|
-
}
|
|
49
|
-
.typography__primary-inverted_5mg9e {
|
|
45
|
+
} .typography__primary-inverted_2xsx1 {
|
|
50
46
|
color: var(--color-light-text-primary-inverted);
|
|
51
|
-
}
|
|
52
|
-
.typography__secondary-inverted_5mg9e {
|
|
47
|
+
} .typography__secondary-inverted_2xsx1 {
|
|
53
48
|
color: var(--color-light-text-secondary-inverted);
|
|
54
|
-
}
|
|
55
|
-
.typography__link_5mg9e {
|
|
49
|
+
} .typography__link_2xsx1 {
|
|
56
50
|
color: var(--color-light-text-link);
|
|
57
|
-
}
|
|
58
|
-
.typography__negative_5mg9e {
|
|
51
|
+
} .typography__negative_2xsx1 {
|
|
59
52
|
color: var(--color-light-text-negative);
|
|
60
53
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const colors = {"tertiary":"typography__tertiary_2xsx1","disabled":"typography__disabled_2xsx1","accent":"typography__accent_2xsx1","primary":"typography__primary_2xsx1","attention":"typography__attention_2xsx1","positive":"typography__positive_2xsx1","secondary":"typography__secondary_2xsx1","tertiary-inverted":"typography__tertiary-inverted_2xsx1","primary-inverted":"typography__primary-inverted_2xsx1","secondary-inverted":"typography__secondary-inverted_2xsx1","link":"typography__link_2xsx1","negative":"typography__negative_2xsx1"};
|
|
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-cd27c99e.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-83440d45.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-cd27c99e.js';
|
|
7
7
|
import './title/index.js';
|
|
8
8
|
import './title/component.js';
|
|
9
|
-
import './common.module-
|
|
9
|
+
import './common.module-83440d45.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-cd27c99e.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"paragraph":"
|
|
5
|
+
const styles = {"paragraph":"typography__paragraph_1blhj","paragraphWithMargins":"typography__paragraphWithMargins_1blhj","primary-large":"typography__primary-large_1blhj","primary-medium":"typography__primary-medium_1blhj","primary-small":"typography__primary-small_1blhj","secondary-large":"typography__secondary-large_1blhj","secondary-medium":"typography__secondary-medium_1blhj","secondary-small":"typography__secondary-small_1blhj","component":"typography__component_1blhj","caps":"typography__caps_1blhj","bold":"typography__bold_1blhj","medium":"typography__medium_1blhj","regular":"typography__regular_1blhj","monospace":"typography__monospace_1blhj","rowLimit1":"typography__rowLimit1_1blhj","rowLimit2":"typography__rowLimit2_1blhj","rowLimit3":"typography__rowLimit3_1blhj"};
|
|
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({
|