@alfalab/core-components-typography 3.0.1 → 3.0.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.
Files changed (61) hide show
  1. package/colors.css +13 -13
  2. package/{colors.module-03390c00.d.ts → colors.module-2cc8e807.d.ts} +0 -0
  3. package/{colors.module-03390c00.js → colors.module-2cc8e807.js} +1 -1
  4. package/common.module-0606ddd8.js +6 -0
  5. package/component.js +2 -2
  6. package/esm/colors.css +13 -13
  7. package/esm/{colors.module-0906857f.d.ts → colors.module-6065797e.d.ts} +0 -0
  8. package/esm/{colors.module-0906857f.js → colors.module-6065797e.js} +1 -1
  9. package/esm/common.module-879f9853.js +4 -0
  10. package/esm/component.js +2 -2
  11. package/esm/index.js +2 -2
  12. package/esm/text/component.js +2 -2
  13. package/esm/text/index.css +14 -14
  14. package/esm/text/index.js +1 -1
  15. package/esm/title/common.css +5 -5
  16. package/esm/title/component.js +1 -1
  17. package/esm/title/index.css +19 -19
  18. package/esm/title/index.js +3 -3
  19. package/esm/title-mobile/component.js +3 -3
  20. package/esm/title-mobile/index.css +14 -14
  21. package/esm/title-mobile/index.js +2 -2
  22. package/esm/title-responsive/component.js +3 -3
  23. package/esm/title-responsive/index.css +41 -41
  24. package/esm/title-responsive/index.js +2 -2
  25. package/index.js +2 -2
  26. package/modern/colors.css +13 -13
  27. package/modern/colors.module-4a1750d9.js +4 -0
  28. package/modern/common.module-879f9853.js +4 -0
  29. package/modern/component.js +2 -2
  30. package/modern/index.js +2 -2
  31. package/modern/text/component.js +2 -2
  32. package/modern/text/index.css +14 -14
  33. package/modern/text/index.js +1 -1
  34. package/modern/title/common.css +5 -5
  35. package/modern/title/component.js +1 -1
  36. package/modern/title/index.css +19 -19
  37. package/modern/title/index.js +3 -3
  38. package/modern/title-mobile/component.js +3 -3
  39. package/modern/title-mobile/index.css +14 -14
  40. package/modern/title-mobile/index.js +2 -2
  41. package/modern/title-responsive/component.js +3 -3
  42. package/modern/title-responsive/index.css +41 -41
  43. package/modern/title-responsive/index.js +2 -2
  44. package/package.json +1 -1
  45. package/text/component.js +2 -2
  46. package/text/index.css +14 -14
  47. package/text/index.js +1 -1
  48. package/title/common.css +5 -5
  49. package/title/component.js +1 -1
  50. package/title/index.css +19 -19
  51. package/title/index.js +3 -3
  52. package/title-mobile/component.js +3 -3
  53. package/title-mobile/index.css +14 -14
  54. package/title-mobile/index.js +2 -2
  55. package/title-responsive/component.js +3 -3
  56. package/title-responsive/index.css +41 -41
  57. package/title-responsive/index.js +2 -2
  58. package/common.module-9b0bcfc8.js +0 -6
  59. package/esm/common.module-e9f0b7ea.js +0 -4
  60. package/modern/colors.module-57720db5.js +0 -4
  61. package/modern/common.module-e9f0b7ea.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 8q8yw */
1
+ /* hash: 1bnj8 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -18,134 +18,134 @@
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
20
  /* TODO: поменять медиа-запросы на миксины */
21
- .typography__styrene-xlarge_1oh2p {
21
+ .typography__styrene-xlarge_jfz86 {
22
22
  font-size: 34px;
23
23
  line-height: 40px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-large_1oh2p {
28
+ .typography__styrene-large_jfz86 {
29
29
  font-size: 30px;
30
30
  line-height: 36px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-medium_1oh2p {
35
+ .typography__styrene-medium_jfz86 {
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
41
  }
42
- .typography__styrene-small_1oh2p {
42
+ .typography__styrene-small_jfz86 {
43
43
  font-size: 20px;
44
44
  line-height: 28px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__styrene-xsmall_1oh2p {
49
+ .typography__styrene-xsmall_jfz86 {
50
50
  font-size: 16px;
51
51
  line-height: 24px;
52
52
  font-weight: 500;
53
53
  font-feature-settings: 'ss01';
54
54
  font-family: var(--font-family-styrene);
55
55
  }
56
- .typography__system-xlarge_1oh2p {
56
+ .typography__system-xlarge_jfz86 {
57
57
  font-size: 30px;
58
58
  line-height: 36px;
59
59
  font-weight: 700;
60
60
  }
61
- .typography__system-large_1oh2p {
61
+ .typography__system-large_jfz86 {
62
62
  font-size: 22px;
63
63
  line-height: 26px;
64
64
  font-weight: 700;
65
65
  }
66
- .typography__system-medium_1oh2p {
66
+ .typography__system-medium_jfz86 {
67
67
  font-size: 18px;
68
68
  line-height: 22px;
69
69
  font-weight: 700;
70
70
  }
71
- .typography__system-small_1oh2p {
71
+ .typography__system-small_jfz86 {
72
72
  font-size: 18px;
73
73
  line-height: 22px;
74
74
  font-weight: 700;
75
75
  }
76
- .typography__system-xsmall_1oh2p {
76
+ .typography__system-xsmall_jfz86 {
77
77
  font-size: 18px;
78
78
  line-height: 22px;
79
79
  font-weight: 700;
80
80
  }
81
- .typography__margins-xlarge_1oh2p {
81
+ .typography__margins-xlarge_jfz86 {
82
82
  margin: 0 0 var(--gap-xl);
83
83
  }
84
- .typography__margins-large_1oh2p {
84
+ .typography__margins-large_jfz86 {
85
85
  margin: var(--gap-3xl) 0 var(--gap-m);
86
86
  }
87
- .typography__margins-medium_1oh2p {
87
+ .typography__margins-medium_jfz86 {
88
88
  margin: var(--gap-3xl) 0 var(--gap-m);
89
89
  }
90
- .typography__margins-small_1oh2p {
90
+ .typography__margins-small_jfz86 {
91
91
  margin: var(--gap-3xl) 0 var(--gap-m);
92
92
  }
93
- .typography__margins-xsmall_1oh2p {
93
+ .typography__margins-xsmall_jfz86 {
94
94
  margin: var(--gap-3xl) 0 var(--gap-m);
95
95
  }
96
96
  @media screen and (min-width: 600px) {
97
- .typography__system-xlarge_1oh2p {
97
+ .typography__system-xlarge_jfz86 {
98
98
  font-size: 40px;
99
99
  line-height: 48px;
100
100
  font-weight: 700;
101
101
  }
102
102
 
103
- .typography__system-large_1oh2p {
103
+ .typography__system-large_jfz86 {
104
104
  font-size: 30px;
105
105
  line-height: 36px;
106
106
  font-weight: 700;
107
107
  }
108
108
 
109
- .typography__system-medium_1oh2p {
109
+ .typography__system-medium_jfz86 {
110
110
  font-size: 22px;
111
111
  line-height: 26px;
112
112
  font-weight: 700;
113
113
  }
114
114
 
115
- .typography__system-small_1oh2p {
115
+ .typography__system-small_jfz86 {
116
116
  font-size: 22px;
117
117
  line-height: 26px;
118
118
  font-weight: 700;
119
119
  }
120
120
 
121
- .typography__system-xsmall_1oh2p {
121
+ .typography__system-xsmall_jfz86 {
122
122
  font-size: 18px;
123
123
  line-height: 22px;
124
124
  font-weight: 700;
125
125
  }
126
126
 
127
- .typography__margins-xlarge_1oh2p {
127
+ .typography__margins-xlarge_jfz86 {
128
128
  margin: 0 0 var(--gap-xl);
129
129
  }
130
130
 
131
- .typography__margins-large_1oh2p {
131
+ .typography__margins-large_jfz86 {
132
132
  margin: var(--gap-4xl) 0 var(--gap-xl);
133
133
  }
134
134
 
135
- .typography__margins-medium_1oh2p {
135
+ .typography__margins-medium_jfz86 {
136
136
  margin: var(--gap-3xl) 0 var(--gap-m);
137
137
  }
138
138
 
139
- .typography__margins-small_1oh2p {
139
+ .typography__margins-small_jfz86 {
140
140
  margin: var(--gap-3xl) 0 var(--gap-m);
141
141
  }
142
142
 
143
- .typography__margins-xsmall_1oh2p {
143
+ .typography__margins-xsmall_jfz86 {
144
144
  margin: var(--gap-3xl) 0 var(--gap-m);
145
145
  }
146
146
  }
147
147
  @media screen and (min-width: 1024px) {
148
- .typography__styrene-xlarge_1oh2p {
148
+ .typography__styrene-xlarge_jfz86 {
149
149
  font-size: 48px;
150
150
  line-height: 64px;
151
151
  font-weight: 500;
@@ -153,7 +153,7 @@
153
153
  font-family: var(--font-family-styrene);
154
154
  }
155
155
 
156
- .typography__styrene-large_1oh2p {
156
+ .typography__styrene-large_jfz86 {
157
157
  font-size: 40px;
158
158
  line-height: 48px;
159
159
  font-weight: 500;
@@ -161,7 +161,7 @@
161
161
  font-family: var(--font-family-styrene);
162
162
  }
163
163
 
164
- .typography__styrene-medium_1oh2p {
164
+ .typography__styrene-medium_jfz86 {
165
165
  font-size: 32px;
166
166
  line-height: 40px;
167
167
  font-weight: 500;
@@ -169,7 +169,7 @@
169
169
  font-family: var(--font-family-styrene);
170
170
  }
171
171
 
172
- .typography__styrene-small_1oh2p {
172
+ .typography__styrene-small_jfz86 {
173
173
  font-size: 24px;
174
174
  line-height: 32px;
175
175
  font-weight: 500;
@@ -177,7 +177,7 @@
177
177
  font-family: var(--font-family-styrene);
178
178
  }
179
179
 
180
- .typography__styrene-xsmall_1oh2p {
180
+ .typography__styrene-xsmall_jfz86 {
181
181
  font-size: 20px;
182
182
  line-height: 24px;
183
183
  font-weight: 500;
@@ -185,53 +185,53 @@
185
185
  font-family: var(--font-family-styrene);
186
186
  }
187
187
 
188
- .typography__system-xlarge_1oh2p {
188
+ .typography__system-xlarge_jfz86 {
189
189
  font-size: 48px;
190
190
  line-height: 52px;
191
191
  font-weight: 700;
192
192
  }
193
193
 
194
- .typography__system-large_1oh2p {
194
+ .typography__system-large_jfz86 {
195
195
  font-size: 40px;
196
196
  line-height: 48px;
197
197
  font-weight: 700;
198
198
  }
199
199
 
200
- .typography__system-medium_1oh2p {
200
+ .typography__system-medium_jfz86 {
201
201
  font-size: 30px;
202
202
  line-height: 36px;
203
203
  font-weight: 700;
204
204
  }
205
205
 
206
- .typography__system-small_1oh2p {
206
+ .typography__system-small_jfz86 {
207
207
  font-size: 22px;
208
208
  line-height: 26px;
209
209
  font-weight: 700;
210
210
  }
211
211
 
212
- .typography__system-xsmall_1oh2p {
212
+ .typography__system-xsmall_jfz86 {
213
213
  font-size: 18px;
214
214
  line-height: 22px;
215
215
  font-weight: 700;
216
216
  }
217
217
 
218
- .typography__margins-xlarge_1oh2p {
218
+ .typography__margins-xlarge_jfz86 {
219
219
  margin: 0 0 var(--gap-xl);
220
220
  }
221
221
 
222
- .typography__margins-large_1oh2p {
222
+ .typography__margins-large_jfz86 {
223
223
  margin: var(--gap-4xl) 0 var(--gap-xl);
224
224
  }
225
225
 
226
- .typography__margins-medium_1oh2p {
226
+ .typography__margins-medium_jfz86 {
227
227
  margin: var(--gap-4xl) 0 var(--gap-xl);
228
228
  }
229
229
 
230
- .typography__margins-small_1oh2p {
230
+ .typography__margins-small_jfz86 {
231
231
  margin: var(--gap-3xl) 0 var(--gap-m);
232
232
  }
233
233
 
234
- .typography__margins-xsmall_1oh2p {
234
+ .typography__margins-xsmall_jfz86 {
235
235
  margin: var(--gap-3xl) 0 var(--gap-m);
236
236
  }
237
237
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-0906857f.js';
1
+ import '../colors.module-6065797e.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-e9f0b7ea.js';
5
+ import '../common.module-879f9853.js';
6
6
  export { TitleResponsive } from './component.js';
package/index.js CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-03390c00.js');
5
+ require('./colors.module-2cc8e807.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./title/component.js');
9
- require('./common.module-9b0bcfc8.js');
9
+ require('./common.module-0606ddd8.js');
10
10
  require('./title/index.js');
11
11
  require('./text/component.js');
12
12
  require('./title-responsive/component.js');
package/modern/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 974rl */
1
+ /* hash: 4xz64 */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_1irmc {
25
+ .typography__tertiary_36jpp {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_1irmc {
28
+ .typography__disabled_36jpp {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_1irmc {
31
+ .typography__accent_36jpp {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_1irmc {
34
+ .typography__primary_36jpp {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_1irmc {
37
+ .typography__attention_36jpp {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_1irmc {
40
+ .typography__positive_36jpp {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_1irmc {
43
+ .typography__secondary_36jpp {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_1irmc {
46
+ .typography__tertiary-inverted_36jpp {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_1irmc {
49
+ .typography__primary-inverted_36jpp {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_1irmc {
52
+ .typography__secondary-inverted_36jpp {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_1irmc {
55
+ .typography__link_36jpp {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_1irmc {
58
+ .typography__negative_36jpp {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_36jpp","disabled":"typography__disabled_36jpp","accent":"typography__accent_36jpp","primary":"typography__primary_36jpp","attention":"typography__attention_36jpp","positive":"typography__positive_36jpp","secondary":"typography__secondary_36jpp","tertiary-inverted":"typography__tertiary-inverted_36jpp","primary-inverted":"typography__primary-inverted_36jpp","secondary-inverted":"typography__secondary-inverted_36jpp","link":"typography__link_36jpp","negative":"typography__negative_36jpp"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_vl9i7","bold":"typography__bold_vl9i7","medium":"typography__medium_vl9i7","regular":"typography__regular_vl9i7"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-57720db5.js';
3
+ import './colors.module-4a1750d9.js';
4
4
  import './title/component.js';
5
- import './common.module-e9f0b7ea.js';
5
+ import './common.module-879f9853.js';
6
6
  import { Title } from './title/index.js';
7
7
  import { Text } from './text/component.js';
8
8
  import { TitleResponsive } from './title-responsive/component.js';
package/modern/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-57720db5.js';
3
+ import './colors.module-4a1750d9.js';
4
4
  import './title/component.js';
5
- import './common.module-e9f0b7ea.js';
5
+ import './common.module-879f9853.js';
6
6
  import './title/index.js';
7
7
  import './text/component.js';
8
8
  import './title-responsive/component.js';
@@ -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-57720db5.js';
3
+ import { c as colors } from '../colors.module-4a1750d9.js';
4
4
 
5
- var styles = {"paragraph":"typography__paragraph_rzsnz","primary-large":"typography__primary-large_rzsnz","primary-medium":"typography__primary-medium_rzsnz","primary-small":"typography__primary-small_rzsnz","secondary-large":"typography__secondary-large_rzsnz","secondary-medium":"typography__secondary-medium_rzsnz","secondary-small":"typography__secondary-small_rzsnz","component":"typography__component_rzsnz","caps":"typography__caps_rzsnz","bold":"typography__bold_rzsnz","medium":"typography__medium_rzsnz","regular":"typography__regular_rzsnz","monospace":"typography__monospace_rzsnz"};
5
+ var styles = {"paragraph":"typography__paragraph_kzul5","primary-large":"typography__primary-large_kzul5","primary-medium":"typography__primary-medium_kzul5","primary-small":"typography__primary-small_kzul5","secondary-large":"typography__secondary-large_kzul5","secondary-medium":"typography__secondary-medium_kzul5","secondary-small":"typography__secondary-small_kzul5","component":"typography__component_kzul5","caps":"typography__caps_kzul5","bold":"typography__bold_kzul5","medium":"typography__medium_kzul5","regular":"typography__regular_kzul5","monospace":"typography__monospace_kzul5"};
6
6
  require('./index.css')
7
7
 
8
8
  const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight, monospaceNumbers = false, color, className, dataTestId, children, ...restProps }, ref) => (React.createElement(Component, Object.assign({ className: cn({ [styles.paragraph]: Component === 'p', [styles.monospace]: monospaceNumbers }, className, color && colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children)));
@@ -1,4 +1,4 @@
1
- /* hash: dfm5t */
1
+ /* hash: 1ouf5 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -13,62 +13,62 @@
13
13
  :root {
14
14
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
15
15
  }
16
- .typography__paragraph_rzsnz {
16
+ .typography__paragraph_kzul5 {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_rzsnz {
20
+ .typography__primary-large_kzul5 {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_rzsnz {
25
+ .typography__primary-medium_kzul5 {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_rzsnz {
30
+ .typography__primary-small_kzul5 {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_rzsnz {
35
+ .typography__secondary-large_kzul5 {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_rzsnz {
40
+ .typography__secondary-medium_kzul5 {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_rzsnz {
45
+ .typography__secondary-small_kzul5 {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_rzsnz {
50
+ .typography__component_kzul5 {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_rzsnz {
55
+ .typography__caps_kzul5 {
56
56
  font-size: 12px;
57
57
  line-height: 16px;
58
58
  font-weight: 500;
59
59
  letter-spacing: 1.25px;
60
60
  text-transform: uppercase;
61
61
  }
62
- .typography__bold_rzsnz {
62
+ .typography__bold_kzul5 {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_rzsnz {
65
+ .typography__medium_kzul5 {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_rzsnz {
68
+ .typography__regular_kzul5 {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_rzsnz {
71
+ .typography__monospace_kzul5 {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../colors.module-57720db5.js';
3
+ import '../colors.module-4a1750d9.js';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
- /* hash: 1hzb4 */
2
- .typography__component_djl3j {
1
+ /* hash: ud022 */
2
+ .typography__component_vl9i7 {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_djl3j {
7
+ .typography__bold_vl9i7 {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_djl3j {
11
+ .typography__medium_vl9i7 {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_djl3j {
15
+ .typography__regular_vl9i7 {
16
16
  font-weight: normal;
17
17
  }
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
- import { c as colors } from '../colors.module-57720db5.js';
3
+ import { c as colors } from '../colors.module-4a1750d9.js';
4
4
 
5
5
  const Title = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', weight = font === 'styrene' ? 'medium' : 'bold', defaultMargins = false, color, className, dataTestId, children, styles, ...restProps }, ref) => (React.createElement(Component, Object.assign({ className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color]), "data-test-id": dataTestId, ref: ref }, restProps), children)));
6
6
 
@@ -1,4 +1,4 @@
1
- /* hash: pyndq */
1
+ /* hash: 52in9 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,87 +17,87 @@
17
17
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
- .typography__styrene-xlarge_1md7j {
20
+ .typography__styrene-xlarge_7y5pk {
21
21
  font-size: 48px;
22
22
  line-height: 64px;
23
23
  font-weight: 500;
24
24
  font-feature-settings: 'ss01';
25
25
  font-family: var(--font-family-styrene);
26
26
  }
27
- .typography__styrene-large_1md7j {
27
+ .typography__styrene-large_7y5pk {
28
28
  font-size: 40px;
29
29
  line-height: 48px;
30
30
  font-weight: 500;
31
31
  font-feature-settings: 'ss01';
32
32
  font-family: var(--font-family-styrene);
33
33
  }
34
- .typography__styrene-medium_1md7j {
34
+ .typography__styrene-medium_7y5pk {
35
35
  font-size: 32px;
36
36
  line-height: 40px;
37
37
  font-weight: 500;
38
38
  font-feature-settings: 'ss01';
39
39
  font-family: var(--font-family-styrene);
40
40
  }
41
- .typography__styrene-small_1md7j {
41
+ .typography__styrene-small_7y5pk {
42
42
  font-size: 24px;
43
43
  line-height: 32px;
44
44
  font-weight: 500;
45
45
  font-feature-settings: 'ss01';
46
46
  font-family: var(--font-family-styrene);
47
47
  }
48
- .typography__styrene-xsmall_1md7j {
48
+ .typography__styrene-xsmall_7y5pk {
49
49
  font-size: 20px;
50
50
  line-height: 24px;
51
51
  font-weight: 500;
52
52
  font-feature-settings: 'ss01';
53
53
  font-family: var(--font-family-styrene);
54
54
  }
55
- .typography__system-xlarge_1md7j {
55
+ .typography__system-xlarge_7y5pk {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_1md7j {
60
+ .typography__system-large_7y5pk {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_1md7j {
65
+ .typography__system-medium_7y5pk {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_1md7j {
70
+ .typography__system-small_7y5pk {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_1md7j {
75
+ .typography__system-xsmall_7y5pk {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_1md7j {
80
+ .typography__margins-xlarge_7y5pk {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_1md7j {
83
+ .typography__margins-large_7y5pk {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_1md7j {
86
+ .typography__margins-medium_7y5pk {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_1md7j {
89
+ .typography__margins-small_7y5pk {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_1md7j {
92
+ .typography__margins-xsmall_7y5pk {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_1md7j {
95
+ .typography__bold_7y5pk {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_1md7j {
98
+ .typography__medium_7y5pk {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_1md7j {
101
+ .typography__regular_7y5pk {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-57720db5.js';
3
+ import '../colors.module-4a1750d9.js';
4
4
  import { Title as Title$1 } from './component.js';
5
- import { c as commonStyles } from '../common.module-e9f0b7ea.js';
5
+ import { c as commonStyles } from '../common.module-879f9853.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1md7j","styrene-large":"typography__styrene-large_1md7j","styrene-medium":"typography__styrene-medium_1md7j","styrene-small":"typography__styrene-small_1md7j","styrene-xsmall":"typography__styrene-xsmall_1md7j","system-xlarge":"typography__system-xlarge_1md7j","system-large":"typography__system-large_1md7j","system-medium":"typography__system-medium_1md7j","system-small":"typography__system-small_1md7j","system-xsmall":"typography__system-xsmall_1md7j","margins-xlarge":"typography__margins-xlarge_1md7j","margins-large":"typography__margins-large_1md7j","margins-medium":"typography__margins-medium_1md7j","margins-small":"typography__margins-small_1md7j","margins-xsmall":"typography__margins-xsmall_1md7j","bold":"typography__bold_1md7j","medium":"typography__medium_1md7j","regular":"typography__regular_1md7j"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_7y5pk","styrene-large":"typography__styrene-large_7y5pk","styrene-medium":"typography__styrene-medium_7y5pk","styrene-small":"typography__styrene-small_7y5pk","styrene-xsmall":"typography__styrene-xsmall_7y5pk","system-xlarge":"typography__system-xlarge_7y5pk","system-large":"typography__system-large_7y5pk","system-medium":"typography__system-medium_7y5pk","system-small":"typography__system-small_7y5pk","system-xsmall":"typography__system-xsmall_7y5pk","margins-xlarge":"typography__margins-xlarge_7y5pk","margins-large":"typography__margins-large_7y5pk","margins-medium":"typography__margins-medium_7y5pk","margins-small":"typography__margins-small_7y5pk","margins-xsmall":"typography__margins-xsmall_7y5pk","bold":"typography__bold_7y5pk","medium":"typography__medium_7y5pk","regular":"typography__regular_7y5pk"};
8
8
  require('./index.css')
9
9
 
10
10
  const Title = props => {
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-57720db5.js';
3
+ import '../colors.module-4a1750d9.js';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-e9f0b7ea.js';
5
+ import { c as commonStyles } from '../common.module-879f9853.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_8c3u0","styrene-large":"typography__styrene-large_8c3u0","styrene-medium":"typography__styrene-medium_8c3u0","styrene-small":"typography__styrene-small_8c3u0","styrene-xsmall":"typography__styrene-xsmall_8c3u0","system-xlarge":"typography__system-xlarge_8c3u0","system-large":"typography__system-large_8c3u0","system-medium":"typography__system-medium_8c3u0","system-small":"typography__system-small_8c3u0","system-xsmall":"typography__system-xsmall_8c3u0","bold":"typography__bold_8c3u0","medium":"typography__medium_8c3u0","regular":"typography__regular_8c3u0"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1mr5n","styrene-large":"typography__styrene-large_1mr5n","styrene-medium":"typography__styrene-medium_1mr5n","styrene-small":"typography__styrene-small_1mr5n","styrene-xsmall":"typography__styrene-xsmall_1mr5n","system-xlarge":"typography__system-xlarge_1mr5n","system-large":"typography__system-large_1mr5n","system-medium":"typography__system-medium_1mr5n","system-small":"typography__system-small_1mr5n","system-xsmall":"typography__system-xsmall_1mr5n","bold":"typography__bold_1mr5n","medium":"typography__medium_1mr5n","regular":"typography__regular_1mr5n"};
8
8
  require('./index.css')
9
9
 
10
10
  const TitleMobile = props => {