@alfalab/core-components-typography 3.2.2 → 4.0.0

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 (82) hide show
  1. package/colors.css +20 -20
  2. package/colors.module-1c06b16d.js +6 -0
  3. package/common.module-00fb3f71.js +6 -0
  4. package/component.js +2 -2
  5. package/cssm/title-responsive/index.module.css +14 -64
  6. package/esm/colors.css +20 -20
  7. package/esm/colors.module-d9f55bc3.js +4 -0
  8. package/esm/common.module-39c4c6a5.js +4 -0
  9. package/esm/component.js +2 -2
  10. package/esm/index.js +2 -2
  11. package/esm/text/component.js +2 -2
  12. package/esm/text/index.css +18 -19
  13. package/esm/text/index.js +1 -1
  14. package/esm/title/common.css +5 -5
  15. package/esm/title/component.js +1 -1
  16. package/esm/title/index.css +19 -19
  17. package/esm/title/index.js +3 -3
  18. package/esm/title-mobile/component.js +3 -3
  19. package/esm/title-mobile/index.css +11 -11
  20. package/esm/title-mobile/index.js +2 -2
  21. package/esm/title-responsive/component.js +3 -3
  22. package/esm/title-responsive/index.css +44 -94
  23. package/esm/title-responsive/index.js +2 -2
  24. package/index.js +2 -2
  25. package/modern/colors.css +20 -20
  26. package/modern/colors.module-d0f9b310.js +4 -0
  27. package/modern/common.module-47d6bc91.js +4 -0
  28. package/modern/component.js +2 -2
  29. package/modern/index.js +2 -2
  30. package/modern/text/component.js +2 -2
  31. package/modern/text/index.css +18 -19
  32. package/modern/text/index.js +1 -1
  33. package/modern/title/common.css +5 -5
  34. package/modern/title/component.js +1 -1
  35. package/modern/title/index.css +19 -19
  36. package/modern/title/index.js +3 -3
  37. package/modern/title-mobile/component.js +3 -3
  38. package/modern/title-mobile/index.css +11 -11
  39. package/modern/title-mobile/index.js +2 -2
  40. package/modern/title-responsive/component.js +3 -3
  41. package/modern/title-responsive/index.css +44 -94
  42. package/modern/title-responsive/index.js +2 -2
  43. package/package.json +1 -1
  44. package/src/colors.module.css +79 -0
  45. package/src/colors.ts +23 -0
  46. package/src/component.tsx +19 -0
  47. package/src/index.ts +5 -0
  48. package/src/margins.module.css +11 -0
  49. package/src/presets.ts +17 -0
  50. package/src/text/component.tsx +116 -0
  51. package/src/text/index.module.css +76 -0
  52. package/src/text/index.ts +1 -0
  53. package/src/title/common.module.css +16 -0
  54. package/src/title/component.tsx +105 -0
  55. package/src/title/index.module.css +75 -0
  56. package/src/title/index.tsx +17 -0
  57. package/src/title-mobile/component.tsx +16 -0
  58. package/src/title-mobile/index.module.css +42 -0
  59. package/src/title-mobile/index.tsx +1 -0
  60. package/src/title-responsive/component.tsx +14 -0
  61. package/src/title-responsive/index.module.css +126 -0
  62. package/src/title-responsive/index.tsx +1 -0
  63. package/src/types.ts +1 -0
  64. package/text/component.js +2 -2
  65. package/text/index.css +18 -19
  66. package/text/index.js +1 -1
  67. package/title/common.css +5 -5
  68. package/title/component.js +1 -1
  69. package/title/index.css +19 -19
  70. package/title/index.js +3 -3
  71. package/title-mobile/component.js +3 -3
  72. package/title-mobile/index.css +11 -11
  73. package/title-mobile/index.js +2 -2
  74. package/title-responsive/component.js +3 -3
  75. package/title-responsive/index.css +44 -94
  76. package/title-responsive/index.js +2 -2
  77. package/colors.module-a848b027.js +0 -6
  78. package/common.module-7493433e.js +0 -6
  79. package/esm/colors.module-996156cd.js +0 -4
  80. package/esm/common.module-bbfef03a.js +0 -4
  81. package/modern/colors.module-f2c54769.js +0 -4
  82. package/modern/common.module-888addc3.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1hjg0 */
1
+ /* hash: 13pup */
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-xlarge_1e838 {
19
+ } .typography__styrene-xlarge_1ovqs {
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-large_1e838 {
25
+ } .typography__styrene-large_1ovqs {
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-medium_1e838 {
31
+ } .typography__styrene-medium_1ovqs {
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-small_1e838 {
37
+ } .typography__styrene-small_1ovqs {
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-xsmall_1e838 {
43
+ } .typography__styrene-xsmall_1ovqs {
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-xlarge_1e838 {
49
+ } .typography__system-xlarge_1ovqs {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
- } .typography__system-large_1e838 {
53
+ } .typography__system-large_1ovqs {
54
54
  font-size: 30px;
55
55
  line-height: 36px;
56
56
  font-weight: 600;
57
- } .typography__system-medium_1e838 {
57
+ } .typography__system-medium_1ovqs {
58
58
  font-size: 26px;
59
59
  line-height: 32px;
60
60
  font-weight: 600;
61
- } .typography__system-small_1e838 {
61
+ } .typography__system-small_1ovqs {
62
62
  font-size: 20px;
63
63
  line-height: 28px;
64
64
  font-weight: 600;
65
- } .typography__system-xsmall_1e838 {
65
+ } .typography__system-xsmall_1ovqs {
66
66
  font-size: 16px;
67
67
  line-height: 20px;
68
68
  font-weight: 600;
@@ -3,5 +3,5 @@ import 'tslib';
3
3
  import 'react';
4
4
  import '../title/component.js';
5
5
  import 'classnames';
6
- import '../colors.module-996156cd.js';
7
- import '../common.module-bbfef03a.js';
6
+ import '../colors.module-d9f55bc3.js';
7
+ import '../common.module-39c4c6a5.js';
@@ -1,11 +1,11 @@
1
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-bbfef03a.js';
4
+ import { c as commonStyles } from '../common.module-39c4c6a5.js';
5
5
  import 'classnames';
6
- import '../colors.module-996156cd.js';
6
+ import '../colors.module-d9f55bc3.js';
7
7
 
8
- var 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
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_z4yoi","styrene-large":"typography__styrene-large_z4yoi","styrene-medium":"typography__styrene-medium_z4yoi","styrene-small":"typography__styrene-small_z4yoi","styrene-xsmall":"typography__styrene-xsmall_z4yoi","system-xlarge":"typography__system-xlarge_z4yoi","system-large":"typography__system-large_z4yoi","system-medium":"typography__system-medium_z4yoi","system-small":"typography__system-small_z4yoi","system-xsmall":"typography__system-xsmall_z4yoi","margins-xlarge":"typography__margins-xlarge_z4yoi","margins-large":"typography__margins-large_z4yoi","margins-medium":"typography__margins-medium_z4yoi","margins-small":"typography__margins-small_z4yoi","margins-xsmall":"typography__margins-xsmall_z4yoi"};
9
9
  require('./index.css')
10
10
 
11
11
  var TitleResponsive = function (props) { return (
@@ -1,4 +1,4 @@
1
- /* hash: 1bvgj */
1
+ /* hash: 1av2i */
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,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-xlarge_18lb0 {
23
+ } /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-xlarge_z4yoi {
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-large_18lb0 {
29
+ } .typography__styrene-large_z4yoi {
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-medium_18lb0 {
35
+ } .typography__styrene-medium_z4yoi {
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-small_18lb0 {
41
+ } .typography__styrene-small_z4yoi {
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-xsmall_18lb0 {
47
+ } .typography__styrene-xsmall_z4yoi {
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-xlarge_18lb0 {
53
+ } .typography__system-xlarge_z4yoi {
54
+ font-size: 34px;
55
+ line-height: 40px;
56
+ font-weight: 600;
57
+ } .typography__system-large_z4yoi {
54
58
  font-size: 30px;
55
59
  line-height: 36px;
56
- font-weight: 700;
57
- } .typography__system-large_18lb0 {
58
- font-size: 22px;
59
- line-height: 26px;
60
- font-weight: 700;
61
- } .typography__system-medium_18lb0 {
62
- font-size: 18px;
63
- line-height: 22px;
64
- font-weight: 700;
65
- } .typography__system-small_18lb0 {
66
- font-size: 18px;
67
- line-height: 22px;
68
- font-weight: 700;
69
- } .typography__system-xsmall_18lb0 {
70
- font-size: 18px;
71
- line-height: 22px;
72
- font-weight: 700;
73
- } .typography__margins-xlarge_18lb0 {
60
+ font-weight: 600;
61
+ } .typography__system-medium_z4yoi {
62
+ font-size: 26px;
63
+ line-height: 32px;
64
+ font-weight: 600;
65
+ } .typography__system-small_z4yoi {
66
+ font-size: 20px;
67
+ line-height: 28px;
68
+ font-weight: 600;
69
+ } .typography__system-xsmall_z4yoi {
70
+ font-size: 16px;
71
+ line-height: 20px;
72
+ font-weight: 600;
73
+ } .typography__margins-xlarge_z4yoi {
74
74
  margin: 0 0 var(--gap-xl);
75
- } .typography__margins-large_18lb0 {
75
+ } .typography__margins-large_z4yoi {
76
76
  margin: var(--gap-3xl) 0 var(--gap-m);
77
- } .typography__margins-medium_18lb0 {
77
+ } .typography__margins-medium_z4yoi {
78
78
  margin: var(--gap-3xl) 0 var(--gap-m);
79
- } .typography__margins-small_18lb0 {
79
+ } .typography__margins-small_z4yoi {
80
80
  margin: var(--gap-3xl) 0 var(--gap-m);
81
- } .typography__margins-xsmall_18lb0 {
81
+ } .typography__margins-xsmall_z4yoi {
82
82
  margin: var(--gap-3xl) 0 var(--gap-m);
83
- } @media screen and (min-width: 600px) {
84
- .typography__system-xlarge_18lb0 {
85
- font-size: 40px;
86
- line-height: 48px;
87
- font-weight: 700;
88
- }
89
-
90
- .typography__system-large_18lb0 {
91
- font-size: 30px;
92
- line-height: 36px;
93
- font-weight: 700;
94
- }
95
-
96
- .typography__system-medium_18lb0 {
97
- font-size: 22px;
98
- line-height: 26px;
99
- font-weight: 700;
100
- }
101
-
102
- .typography__system-small_18lb0 {
103
- font-size: 22px;
104
- line-height: 26px;
105
- font-weight: 700;
106
- }
107
-
108
- .typography__system-xsmall_18lb0 {
109
- font-size: 18px;
110
- line-height: 22px;
111
- font-weight: 700;
112
- }
113
-
114
- .typography__margins-xlarge_18lb0 {
115
- margin: 0 0 var(--gap-xl);
116
- }
117
-
118
- .typography__margins-large_18lb0 {
119
- margin: var(--gap-4xl) 0 var(--gap-xl);
120
- }
121
-
122
- .typography__margins-medium_18lb0 {
123
- margin: var(--gap-3xl) 0 var(--gap-m);
124
- }
125
-
126
- .typography__margins-small_18lb0 {
127
- margin: var(--gap-3xl) 0 var(--gap-m);
128
- }
129
-
130
- .typography__margins-xsmall_18lb0 {
131
- margin: var(--gap-3xl) 0 var(--gap-m);
132
- }
133
83
  } @media screen and (min-width: 1024px) {
134
- .typography__styrene-xlarge_18lb0 {
84
+ .typography__styrene-xlarge_z4yoi {
135
85
  font-size: 48px;
136
86
  line-height: 64px;
137
87
  font-weight: 500;
@@ -139,7 +89,7 @@
139
89
  font-family: var(--font-family-styrene);
140
90
  }
141
91
 
142
- .typography__styrene-large_18lb0 {
92
+ .typography__styrene-large_z4yoi {
143
93
  font-size: 40px;
144
94
  line-height: 48px;
145
95
  font-weight: 500;
@@ -147,7 +97,7 @@
147
97
  font-family: var(--font-family-styrene);
148
98
  }
149
99
 
150
- .typography__styrene-medium_18lb0 {
100
+ .typography__styrene-medium_z4yoi {
151
101
  font-size: 32px;
152
102
  line-height: 40px;
153
103
  font-weight: 500;
@@ -155,7 +105,7 @@
155
105
  font-family: var(--font-family-styrene);
156
106
  }
157
107
 
158
- .typography__styrene-small_18lb0 {
108
+ .typography__styrene-small_z4yoi {
159
109
  font-size: 24px;
160
110
  line-height: 32px;
161
111
  font-weight: 500;
@@ -163,7 +113,7 @@
163
113
  font-family: var(--font-family-styrene);
164
114
  }
165
115
 
166
- .typography__styrene-xsmall_18lb0 {
116
+ .typography__styrene-xsmall_z4yoi {
167
117
  font-size: 20px;
168
118
  line-height: 24px;
169
119
  font-weight: 500;
@@ -171,53 +121,53 @@
171
121
  font-family: var(--font-family-styrene);
172
122
  }
173
123
 
174
- .typography__system-xlarge_18lb0 {
124
+ .typography__system-xlarge_z4yoi {
175
125
  font-size: 48px;
176
126
  line-height: 52px;
177
127
  font-weight: 700;
178
128
  }
179
129
 
180
- .typography__system-large_18lb0 {
130
+ .typography__system-large_z4yoi {
181
131
  font-size: 40px;
182
132
  line-height: 48px;
183
133
  font-weight: 700;
184
134
  }
185
135
 
186
- .typography__system-medium_18lb0 {
136
+ .typography__system-medium_z4yoi {
187
137
  font-size: 30px;
188
138
  line-height: 36px;
189
139
  font-weight: 700;
190
140
  }
191
141
 
192
- .typography__system-small_18lb0 {
142
+ .typography__system-small_z4yoi {
193
143
  font-size: 22px;
194
144
  line-height: 26px;
195
145
  font-weight: 700;
196
146
  }
197
147
 
198
- .typography__system-xsmall_18lb0 {
148
+ .typography__system-xsmall_z4yoi {
199
149
  font-size: 18px;
200
150
  line-height: 22px;
201
151
  font-weight: 700;
202
152
  }
203
153
 
204
- .typography__margins-xlarge_18lb0 {
154
+ .typography__margins-xlarge_z4yoi {
205
155
  margin: 0 0 var(--gap-xl);
206
156
  }
207
157
 
208
- .typography__margins-large_18lb0 {
158
+ .typography__margins-large_z4yoi {
209
159
  margin: var(--gap-4xl) 0 var(--gap-xl);
210
160
  }
211
161
 
212
- .typography__margins-medium_18lb0 {
162
+ .typography__margins-medium_z4yoi {
213
163
  margin: var(--gap-4xl) 0 var(--gap-xl);
214
164
  }
215
165
 
216
- .typography__margins-small_18lb0 {
166
+ .typography__margins-small_z4yoi {
217
167
  margin: var(--gap-3xl) 0 var(--gap-m);
218
168
  }
219
169
 
220
- .typography__margins-xsmall_18lb0 {
170
+ .typography__margins-xsmall_z4yoi {
221
171
  margin: var(--gap-3xl) 0 var(--gap-m);
222
172
  }
223
173
  }
@@ -3,5 +3,5 @@ import 'tslib';
3
3
  import 'react';
4
4
  import '../title/component.js';
5
5
  import 'classnames';
6
- import '../colors.module-996156cd.js';
7
- import '../common.module-bbfef03a.js';
6
+ import '../colors.module-d9f55bc3.js';
7
+ import '../common.module-39c4c6a5.js';
package/index.js CHANGED
@@ -8,10 +8,10 @@ require('./text/component.js');
8
8
  require('tslib');
9
9
  require('react');
10
10
  require('classnames');
11
- require('./colors.module-a848b027.js');
11
+ require('./colors.module-1c06b16d.js');
12
12
  require('./title/index.js');
13
13
  require('./title/component.js');
14
- require('./common.module-7493433e.js');
14
+ require('./common.module-00fb3f71.js');
15
15
  require('./title-mobile/component.js');
16
16
  require('./title-responsive/component.js');
17
17
 
package/modern/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mizz5 */
1
+ /* hash: xlwka */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-accent: #ef3124;
@@ -33,42 +33,42 @@
33
33
  } :root {
34
34
  } :root {
35
35
  } :root {
36
- } /* colors */ .typography__tertiary_1uica {
36
+ } /* colors */ .typography__tertiary_j1wcp {
37
37
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1uica {
38
+ } .typography__disabled_j1wcp {
39
39
  color: var(--color-light-text-disabled);
40
- } .typography__accent_1uica {
40
+ } .typography__accent_j1wcp {
41
41
  color: var(--color-light-text-accent);
42
- } .typography__primary_1uica {
42
+ } .typography__primary_j1wcp {
43
43
  color: var(--color-light-text-primary);
44
- } .typography__attention_1uica {
44
+ } .typography__attention_j1wcp {
45
45
  color: var(--color-light-text-attention);
46
- } .typography__positive_1uica {
46
+ } .typography__positive_j1wcp {
47
47
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1uica {
48
+ } .typography__secondary_j1wcp {
49
49
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1uica {
50
+ } .typography__tertiary-inverted_j1wcp {
51
51
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1uica {
52
+ } .typography__primary-inverted_j1wcp {
53
53
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1uica {
54
+ } .typography__secondary-inverted_j1wcp {
55
55
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1uica {
56
+ } .typography__link_j1wcp {
57
57
  color: var(--color-light-text-link);
58
- } .typography__negative_1uica {
58
+ } .typography__negative_j1wcp {
59
59
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1uica {
60
+ } .typography__static-primary-light_j1wcp {
61
61
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1uica {
62
+ } .typography__static-secondary-light_j1wcp {
63
63
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1uica {
64
+ } .typography__static-tertiary-light_j1wcp {
65
65
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1uica {
66
+ } .typography__static-primary-dark_j1wcp {
67
67
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1uica {
68
+ } .typography__static-secondary-dark_j1wcp {
69
69
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1uica {
70
+ } .typography__static-tertiary-dark_j1wcp {
71
71
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1uica {
72
+ } .typography__static-accent_j1wcp {
73
73
  color: var(--color-static-text-accent);
74
74
  }
@@ -0,0 +1,4 @@
1
+ const colors = {"tertiary":"typography__tertiary_j1wcp","disabled":"typography__disabled_j1wcp","accent":"typography__accent_j1wcp","primary":"typography__primary_j1wcp","attention":"typography__attention_j1wcp","positive":"typography__positive_j1wcp","secondary":"typography__secondary_j1wcp","tertiary-inverted":"typography__tertiary-inverted_j1wcp","primary-inverted":"typography__primary-inverted_j1wcp","secondary-inverted":"typography__secondary-inverted_j1wcp","link":"typography__link_j1wcp","negative":"typography__negative_j1wcp","static-primary-light":"typography__static-primary-light_j1wcp","static-secondary-light":"typography__static-secondary-light_j1wcp","static-tertiary-light":"typography__static-tertiary-light_j1wcp","static-primary-dark":"typography__static-primary-dark_j1wcp","static-secondary-dark":"typography__static-secondary-dark_j1wcp","static-tertiary-dark":"typography__static-tertiary-dark_j1wcp","static-accent":"typography__static-accent_j1wcp"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"typography__component_n0ewz","bold":"typography__bold_n0ewz","medium":"typography__medium_n0ewz","regular":"typography__regular_n0ewz"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -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-f2c54769.js';
7
+ import './colors.module-d0f9b310.js';
8
8
  import './title/component.js';
9
- import './common.module-888addc3.js';
9
+ import './common.module-47d6bc91.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-f2c54769.js';
6
+ import './colors.module-d0f9b310.js';
7
7
  import './title/index.js';
8
8
  import './title/component.js';
9
- import './common.module-888addc3.js';
9
+ import './common.module-47d6bc91.js';
10
10
  import './title-mobile/component.js';
11
11
  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-f2c54769.js';
3
+ import { c as colors } from '../colors.module-d0f9b310.js';
4
4
 
5
- const 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"};
5
+ const styles = {"paragraph":"typography__paragraph_pm003","paragraphWithMargins":"typography__paragraphWithMargins_pm003","primary-large":"typography__primary-large_pm003","primary-medium":"typography__primary-medium_pm003","primary-small":"typography__primary-small_pm003","secondary-large":"typography__secondary-large_pm003","secondary-medium":"typography__secondary-medium_pm003","secondary-small":"typography__secondary-small_pm003","component":"typography__component_pm003","caps":"typography__caps_pm003","bold":"typography__bold_pm003","medium":"typography__medium_pm003","regular":"typography__regular_pm003","monospace":"typography__monospace_pm003","rowLimit1":"typography__rowLimit1_pm003","rowLimit2":"typography__rowLimit2_pm003","rowLimit3":"typography__rowLimit3_pm003"};
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({
@@ -1,4 +1,4 @@
1
- /* hash: 1p2cg */
1
+ /* hash: 1o1yf */
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,66 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
20
- } .typography__paragraph_1w6ie {
20
+ } .typography__paragraph_pm003 {
21
21
  margin: 0;
22
22
  padding: 0;
23
- } .typography__paragraphWithMargins_1w6ie {
23
+ } .typography__paragraphWithMargins_pm003 {
24
24
  padding: 0;
25
25
  margin: var(--text-paragraph-margin-bottom);
26
- } .typography__primary-large_1w6ie {
26
+ } .typography__primary-large_pm003 {
27
27
  font-size: 18px;
28
28
  line-height: 24px;
29
29
  font-weight: 400;
30
- } .typography__primary-medium_1w6ie {
30
+ } .typography__primary-medium_pm003 {
31
31
  font-size: 16px;
32
32
  line-height: 24px;
33
33
  font-weight: 400;
34
- } .typography__primary-small_1w6ie {
34
+ } .typography__primary-small_pm003 {
35
35
  font-size: 14px;
36
36
  line-height: 20px;
37
37
  font-weight: 400;
38
- } .typography__secondary-large_1w6ie {
38
+ } .typography__secondary-large_pm003 {
39
39
  font-size: 13px;
40
40
  line-height: 16px;
41
41
  font-weight: 400;
42
- } .typography__secondary-medium_1w6ie {
42
+ } .typography__secondary-medium_pm003 {
43
43
  font-size: 12px;
44
44
  line-height: 16px;
45
45
  font-weight: 400;
46
- } .typography__secondary-small_1w6ie {
46
+ } .typography__secondary-small_pm003 {
47
47
  font-size: 11px;
48
48
  line-height: 16px;
49
49
  font-weight: 400;
50
- } .typography__component_1w6ie {
50
+ } .typography__component_pm003 {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
- } .typography__caps_1w6ie {
54
+ } .typography__caps_pm003 {
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
- } .typography__bold_1w6ie {
60
+ } .typography__bold_pm003 {
61
61
  font-weight: bold;
62
- } .typography__medium_1w6ie {
62
+ } .typography__medium_pm003 {
63
63
  font-weight: 500;
64
- } .typography__regular_1w6ie {
64
+ } .typography__regular_pm003 {
65
65
  font-weight: normal;
66
- } .typography__monospace_1w6ie {
67
- font-feature-settings: "tnum";
66
+ } .typography__monospace_pm003 {
68
67
  font-variant-numeric: tabular-nums;
69
- } .typography__rowLimit1_1w6ie {
68
+ } .typography__rowLimit1_pm003 {
70
69
  -webkit-line-clamp: 1;
71
70
  display: -webkit-box;
72
71
  -webkit-box-orient: vertical;
73
72
  overflow: hidden;
74
73
  word-break: break-all;
75
- } .typography__rowLimit2_1w6ie {
74
+ } .typography__rowLimit2_pm003 {
76
75
  -webkit-line-clamp: 2;
77
76
  display: -webkit-box;
78
77
  -webkit-box-orient: vertical;
79
78
  overflow: hidden;
80
- } .typography__rowLimit3_1w6ie {
79
+ } .typography__rowLimit3_pm003 {
81
80
  -webkit-line-clamp: 3;
82
81
  display: -webkit-box;
83
82
  -webkit-box-orient: vertical;
@@ -1,4 +1,4 @@
1
1
  export { Text } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../colors.module-f2c54769.js';
4
+ import '../colors.module-d0f9b310.js';
@@ -1,14 +1,14 @@
1
- /* hash: u52rm */
2
- .typography__component_1etxr {
1
+ /* hash: 7cyus */
2
+ .typography__component_n0ewz {
3
3
  margin: 0;
4
4
  padding: 0
5
5
  }
6
- .typography__component_1etxr.typography__bold_1etxr {
6
+ .typography__component_n0ewz.typography__bold_n0ewz {
7
7
  font-weight: bold;
8
8
  }
9
- .typography__component_1etxr.typography__medium_1etxr {
9
+ .typography__component_n0ewz.typography__medium_n0ewz {
10
10
  font-weight: 500;
11
11
  }
12
- .typography__component_1etxr.typography__regular_1etxr {
12
+ .typography__component_n0ewz.typography__regular_n0ewz {
13
13
  font-weight: normal;
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
- import { c as colors } from '../colors.module-f2c54769.js';
3
+ import { c as colors } from '../colors.module-d0f9b310.js';
4
4
 
5
5
  const Title = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', weight = font === 'styrene' ? 'medium' : 'bold', defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, ...restProps }, ref) => (React.createElement(Component, { className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color], { [styles[`rowLimit${rowLimit}`]]: rowLimit }), "data-test-id": dataTestId, ref: ref, ...restProps }, children)));
6
6