@alfalab/core-components-typography 2.7.0 → 2.7.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.
Files changed (147) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{colors.css → dist/colors.css} +12 -12
  3. package/{colors.d.ts → dist/colors.d.ts} +0 -0
  4. package/{colors.js → dist/colors.js} +0 -0
  5. package/{colors.module-4c2ca274.d.ts → dist/colors.module-e8299846.d.ts} +0 -0
  6. package/{colors.module-4c2ca274.js → dist/colors.module-e8299846.js} +1 -1
  7. package/dist/common.module-1484d53b.js +6 -0
  8. package/{component.d.ts → dist/component.d.ts} +0 -0
  9. package/{component.js → dist/component.js} +2 -2
  10. package/{cssm → dist/cssm}/colors.d.ts +0 -0
  11. package/{cssm → dist/cssm}/colors.js +0 -0
  12. package/{cssm → dist/cssm}/colors.module.css +0 -0
  13. package/{cssm → dist/cssm}/component.d.ts +0 -0
  14. package/{cssm → dist/cssm}/component.js +0 -0
  15. package/{cssm → dist/cssm}/index.d.ts +0 -0
  16. package/{cssm → dist/cssm}/index.js +0 -0
  17. package/{cssm → dist/cssm}/margins.module.css +0 -0
  18. package/{cssm → dist/cssm}/presets.d.ts +0 -0
  19. package/{cssm → dist/cssm}/presets.js +0 -0
  20. package/{cssm → dist/cssm}/text/component.d.ts +0 -0
  21. package/{cssm → dist/cssm}/text/component.js +0 -0
  22. package/{cssm → dist/cssm}/text/index.d.ts +0 -0
  23. package/{cssm → dist/cssm}/text/index.js +0 -0
  24. package/{cssm → dist/cssm}/text/index.module.css +0 -0
  25. package/{cssm → dist/cssm}/title/common.module.css +0 -0
  26. package/{cssm → dist/cssm}/title/component.d.ts +0 -0
  27. package/{cssm → dist/cssm}/title/component.js +0 -0
  28. package/{cssm → dist/cssm}/title/index.d.ts +0 -0
  29. package/{cssm → dist/cssm}/title/index.js +0 -0
  30. package/{cssm → dist/cssm}/title/index.module.css +0 -0
  31. package/{cssm → dist/cssm}/title-mobile/component.d.ts +0 -0
  32. package/{cssm → dist/cssm}/title-mobile/component.js +0 -0
  33. package/{cssm → dist/cssm}/title-mobile/index.d.ts +0 -0
  34. package/{cssm → dist/cssm}/title-mobile/index.js +0 -0
  35. package/{cssm → dist/cssm}/title-mobile/index.module.css +0 -0
  36. package/{cssm → dist/cssm}/title-responsive/component.d.ts +0 -0
  37. package/{cssm → dist/cssm}/title-responsive/component.js +0 -0
  38. package/{cssm → dist/cssm}/title-responsive/index.d.ts +0 -0
  39. package/{cssm → dist/cssm}/title-responsive/index.js +0 -0
  40. package/{cssm → dist/cssm}/title-responsive/index.module.css +0 -0
  41. package/{cssm → dist/cssm}/tslib.es6-ce870b46.d.ts +0 -0
  42. package/{cssm → dist/cssm}/tslib.es6-ce870b46.js +0 -0
  43. package/{esm → dist/esm}/colors.css +12 -12
  44. package/{esm → dist/esm}/colors.d.ts +0 -0
  45. package/{esm → dist/esm}/colors.js +0 -0
  46. package/{esm/colors.module-c6d365aa.d.ts → dist/esm/colors.module-95947b68.d.ts} +0 -0
  47. package/{esm/colors.module-c6d365aa.js → dist/esm/colors.module-95947b68.js} +1 -1
  48. package/dist/esm/common.module-aa7e5b60.js +4 -0
  49. package/{esm → dist/esm}/component.d.ts +0 -0
  50. package/{esm → dist/esm}/component.js +2 -2
  51. package/{esm → dist/esm}/index.d.ts +0 -0
  52. package/{esm → dist/esm}/index.js +2 -2
  53. package/{esm → dist/esm}/presets.d.ts +0 -0
  54. package/{esm → dist/esm}/presets.js +0 -0
  55. package/{esm → dist/esm}/text/component.d.ts +0 -0
  56. package/{esm → dist/esm}/text/component.js +2 -2
  57. package/{modern → dist/esm}/text/index.css +13 -13
  58. package/{esm → dist/esm}/text/index.d.ts +0 -0
  59. package/{esm → dist/esm}/text/index.js +1 -1
  60. package/{esm → dist/esm}/title/common.css +4 -4
  61. package/{esm → dist/esm}/title/component.d.ts +0 -0
  62. package/{esm → dist/esm}/title/component.js +1 -1
  63. package/{modern → dist/esm}/title/index.css +18 -18
  64. package/{esm → dist/esm}/title/index.d.ts +0 -0
  65. package/dist/esm/title/index.js +18 -0
  66. package/{esm → dist/esm}/title-mobile/component.d.ts +0 -0
  67. package/dist/esm/title-mobile/component.js +18 -0
  68. package/{title-mobile → dist/esm/title-mobile}/index.css +13 -13
  69. package/{esm → dist/esm}/title-mobile/index.d.ts +0 -0
  70. package/{modern → dist/esm}/title-mobile/index.js +2 -2
  71. package/{esm → dist/esm}/title-responsive/component.d.ts +0 -0
  72. package/dist/esm/title-responsive/component.js +18 -0
  73. package/{modern → dist/esm}/title-responsive/index.css +40 -40
  74. package/{esm → dist/esm}/title-responsive/index.d.ts +0 -0
  75. package/{modern → dist/esm}/title-responsive/index.js +2 -2
  76. package/{index.d.ts → dist/index.d.ts} +0 -0
  77. package/{index.js → dist/index.js} +2 -2
  78. package/{modern → dist/modern}/colors.css +12 -12
  79. package/{modern → dist/modern}/colors.d.ts +0 -0
  80. package/{modern → dist/modern}/colors.js +0 -0
  81. package/dist/modern/colors.module-049fc863.js +4 -0
  82. package/dist/modern/common.module-aa7e5b60.js +4 -0
  83. package/{modern → dist/modern}/component.d.ts +0 -0
  84. package/{modern → dist/modern}/component.js +2 -2
  85. package/{modern → dist/modern}/index.d.ts +0 -0
  86. package/{modern → dist/modern}/index.js +2 -2
  87. package/{modern → dist/modern}/presets.d.ts +0 -0
  88. package/{modern → dist/modern}/presets.js +0 -0
  89. package/{modern → dist/modern}/text/component.d.ts +0 -0
  90. package/dist/modern/text/component.js +10 -0
  91. package/{text → dist/modern/text}/index.css +13 -13
  92. package/{modern → dist/modern}/text/index.d.ts +0 -0
  93. package/{modern → dist/modern}/text/index.js +1 -1
  94. package/{modern → dist/modern}/title/common.css +4 -4
  95. package/{modern → dist/modern}/title/component.d.ts +0 -0
  96. package/{modern → dist/modern}/title/component.js +1 -1
  97. package/{esm → dist/modern}/title/index.css +18 -18
  98. package/{modern → dist/modern}/title/index.d.ts +0 -0
  99. package/dist/modern/title/index.js +18 -0
  100. package/{modern → dist/modern}/title-mobile/component.d.ts +0 -0
  101. package/dist/modern/title-mobile/component.js +18 -0
  102. package/{modern → dist/modern}/title-mobile/index.css +13 -13
  103. package/{modern → dist/modern}/title-mobile/index.d.ts +0 -0
  104. package/{esm → dist/modern}/title-mobile/index.js +2 -2
  105. package/{modern → dist/modern}/title-responsive/component.d.ts +0 -0
  106. package/dist/modern/title-responsive/component.js +18 -0
  107. package/{title-responsive → dist/modern/title-responsive}/index.css +40 -40
  108. package/{modern → dist/modern}/title-responsive/index.d.ts +0 -0
  109. package/{esm → dist/modern}/title-responsive/index.js +2 -2
  110. package/{presets.d.ts → dist/presets.d.ts} +0 -0
  111. package/{presets.js → dist/presets.js} +0 -0
  112. package/{send-stats.js → dist/send-stats.js} +0 -0
  113. package/{text → dist/text}/component.d.ts +0 -0
  114. package/{text → dist/text}/component.js +2 -2
  115. package/{esm → dist}/text/index.css +13 -13
  116. package/{text → dist/text}/index.d.ts +0 -0
  117. package/{text → dist/text}/index.js +1 -1
  118. package/{title → dist/title}/common.css +4 -4
  119. package/{title → dist/title}/component.d.ts +0 -0
  120. package/{title → dist/title}/component.js +1 -1
  121. package/{title → dist/title}/index.css +18 -18
  122. package/{title → dist/title}/index.d.ts +0 -0
  123. package/dist/title/index.js +26 -0
  124. package/{title-mobile → dist/title-mobile}/component.d.ts +0 -0
  125. package/{title-mobile → dist/title-mobile}/component.js +3 -3
  126. package/{esm → dist}/title-mobile/index.css +13 -13
  127. package/{title-mobile → dist/title-mobile}/index.d.ts +0 -0
  128. package/{title-mobile → dist/title-mobile}/index.js +2 -2
  129. package/{title-responsive → dist/title-responsive}/component.d.ts +0 -0
  130. package/dist/title-responsive/component.js +26 -0
  131. package/{esm → dist}/title-responsive/index.css +40 -40
  132. package/{title-responsive → dist/title-responsive}/index.d.ts +0 -0
  133. package/{title-responsive → dist/title-responsive}/index.js +2 -2
  134. package/package.json +10 -7
  135. package/common.module-de511f98.js +0 -6
  136. package/esm/common.module-5853399a.js +0 -4
  137. package/esm/title/index.js +0 -18
  138. package/esm/title-mobile/component.js +0 -18
  139. package/esm/title-responsive/component.js +0 -18
  140. package/modern/colors.module-462e49db.js +0 -4
  141. package/modern/common.module-5853399a.js +0 -4
  142. package/modern/text/component.js +0 -10
  143. package/modern/title/index.js +0 -18
  144. package/modern/title-mobile/component.js +0 -18
  145. package/modern/title-responsive/component.js +0 -18
  146. package/title/index.js +0 -26
  147. package/title-responsive/component.js +0 -26
@@ -11,72 +11,72 @@
11
11
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
12
  'Helvetica Neue', Helvetica, sans-serif;
13
13
  }
14
- .typography__styrene-xlarge_gt56e {
14
+ .typography__styrene-xlarge_mi8t6 {
15
15
  font-size: 34px;
16
16
  line-height: 40px;
17
17
  font-weight: 500;
18
18
  font-feature-settings: 'ss01';
19
19
  font-family: var(--font-family-styrene);
20
20
  }
21
- .typography__styrene-large_gt56e {
21
+ .typography__styrene-large_mi8t6 {
22
22
  font-size: 30px;
23
23
  line-height: 36px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-medium_gt56e {
28
+ .typography__styrene-medium_mi8t6 {
29
29
  font-size: 26px;
30
30
  line-height: 32px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-small_gt56e {
35
+ .typography__styrene-small_mi8t6 {
36
36
  font-size: 20px;
37
37
  line-height: 28px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-xsmall_gt56e {
42
+ .typography__styrene-xsmall_mi8t6 {
43
43
  font-size: 16px;
44
44
  line-height: 24px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__system-xlarge_gt56e {
49
+ .typography__system-xlarge_mi8t6 {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
53
  }
54
- .typography__system-large_gt56e {
54
+ .typography__system-large_mi8t6 {
55
55
  font-size: 30px;
56
56
  line-height: 36px;
57
57
  font-weight: 600;
58
58
  }
59
- .typography__system-medium_gt56e {
59
+ .typography__system-medium_mi8t6 {
60
60
  font-size: 26px;
61
61
  line-height: 32px;
62
62
  font-weight: 600;
63
63
  }
64
- .typography__system-small_gt56e {
64
+ .typography__system-small_mi8t6 {
65
65
  font-size: 20px;
66
66
  line-height: 28px;
67
67
  font-weight: 600;
68
68
  }
69
- .typography__system-xsmall_gt56e {
69
+ .typography__system-xsmall_mi8t6 {
70
70
  font-size: 16px;
71
71
  line-height: 24px;
72
72
  font-weight: 600;
73
73
  }
74
- .typography__bold_gt56e {
74
+ .typography__bold_mi8t6 {
75
75
  font-weight: bold;
76
76
  }
77
- .typography__medium_gt56e {
77
+ .typography__medium_mi8t6 {
78
78
  font-weight: 500;
79
79
  }
80
- .typography__regular_gt56e {
80
+ .typography__regular_mi8t6 {
81
81
  font-weight: normal;
82
82
  }
File without changes
@@ -1,6 +1,6 @@
1
+ import '../colors.module-95947b68.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../colors.module-462e49db.js';
4
4
  import '../title/component.js';
5
- import '../common.module-5853399a.js';
5
+ import '../common.module-aa7e5b60.js';
6
6
  export { TitleMobile } from './component.js';
@@ -0,0 +1,18 @@
1
+ import { _ as __assign } from '../colors.module-95947b68.js';
2
+ import React from 'react';
3
+ import 'classnames';
4
+ import { Title } from '../title/component.js';
5
+ import { c as commonStyles } from '../common.module-aa7e5b60.js';
6
+
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1z0k9","styrene-large":"typography__styrene-large_1z0k9","styrene-medium":"typography__styrene-medium_1z0k9","styrene-small":"typography__styrene-small_1z0k9","styrene-xsmall":"typography__styrene-xsmall_1z0k9","system-xlarge":"typography__system-xlarge_1z0k9","system-large":"typography__system-large_1z0k9","system-medium":"typography__system-medium_1z0k9","system-small":"typography__system-small_1z0k9","system-xsmall":"typography__system-xsmall_1z0k9","margins-xlarge":"typography__margins-xlarge_1z0k9","margins-large":"typography__margins-large_1z0k9","margins-medium":"typography__margins-medium_1z0k9","margins-small":"typography__margins-small_1z0k9","margins-xsmall":"typography__margins-xsmall_1z0k9"};
8
+ require('./index.css')
9
+
10
+ var TitleResponsive = function (props) {
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ return React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
+ };
17
+
18
+ export { TitleResponsive };
@@ -18,134 +18,134 @@
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
20
  /* TODO: поменять медиа-запросы на миксины */
21
- .typography__styrene-xlarge_51h0x {
21
+ .typography__styrene-xlarge_1z0k9 {
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_51h0x {
28
+ .typography__styrene-large_1z0k9 {
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_51h0x {
35
+ .typography__styrene-medium_1z0k9 {
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_51h0x {
42
+ .typography__styrene-small_1z0k9 {
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_51h0x {
49
+ .typography__styrene-xsmall_1z0k9 {
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_51h0x {
56
+ .typography__system-xlarge_1z0k9 {
57
57
  font-size: 30px;
58
58
  line-height: 36px;
59
59
  font-weight: 700;
60
60
  }
61
- .typography__system-large_51h0x {
61
+ .typography__system-large_1z0k9 {
62
62
  font-size: 22px;
63
63
  line-height: 26px;
64
64
  font-weight: 700;
65
65
  }
66
- .typography__system-medium_51h0x {
66
+ .typography__system-medium_1z0k9 {
67
67
  font-size: 18px;
68
68
  line-height: 22px;
69
69
  font-weight: 700;
70
70
  }
71
- .typography__system-small_51h0x {
71
+ .typography__system-small_1z0k9 {
72
72
  font-size: 18px;
73
73
  line-height: 22px;
74
74
  font-weight: 700;
75
75
  }
76
- .typography__system-xsmall_51h0x {
76
+ .typography__system-xsmall_1z0k9 {
77
77
  font-size: 18px;
78
78
  line-height: 22px;
79
79
  font-weight: 700;
80
80
  }
81
- .typography__margins-xlarge_51h0x {
81
+ .typography__margins-xlarge_1z0k9 {
82
82
  margin: 0 0 var(--gap-xl);
83
83
  }
84
- .typography__margins-large_51h0x {
84
+ .typography__margins-large_1z0k9 {
85
85
  margin: var(--gap-3xl) 0 var(--gap-m);
86
86
  }
87
- .typography__margins-medium_51h0x {
87
+ .typography__margins-medium_1z0k9 {
88
88
  margin: var(--gap-3xl) 0 var(--gap-m);
89
89
  }
90
- .typography__margins-small_51h0x {
90
+ .typography__margins-small_1z0k9 {
91
91
  margin: var(--gap-3xl) 0 var(--gap-m);
92
92
  }
93
- .typography__margins-xsmall_51h0x {
93
+ .typography__margins-xsmall_1z0k9 {
94
94
  margin: var(--gap-3xl) 0 var(--gap-m);
95
95
  }
96
96
  @media screen and (min-width: 600px) {
97
- .typography__system-xlarge_51h0x {
97
+ .typography__system-xlarge_1z0k9 {
98
98
  font-size: 40px;
99
99
  line-height: 48px;
100
100
  font-weight: 700;
101
101
  }
102
102
 
103
- .typography__system-large_51h0x {
103
+ .typography__system-large_1z0k9 {
104
104
  font-size: 30px;
105
105
  line-height: 36px;
106
106
  font-weight: 700;
107
107
  }
108
108
 
109
- .typography__system-medium_51h0x {
109
+ .typography__system-medium_1z0k9 {
110
110
  font-size: 22px;
111
111
  line-height: 26px;
112
112
  font-weight: 700;
113
113
  }
114
114
 
115
- .typography__system-small_51h0x {
115
+ .typography__system-small_1z0k9 {
116
116
  font-size: 22px;
117
117
  line-height: 26px;
118
118
  font-weight: 700;
119
119
  }
120
120
 
121
- .typography__system-xsmall_51h0x {
121
+ .typography__system-xsmall_1z0k9 {
122
122
  font-size: 18px;
123
123
  line-height: 22px;
124
124
  font-weight: 700;
125
125
  }
126
126
 
127
- .typography__margins-xlarge_51h0x {
127
+ .typography__margins-xlarge_1z0k9 {
128
128
  margin: 0 0 var(--gap-xl);
129
129
  }
130
130
 
131
- .typography__margins-large_51h0x {
131
+ .typography__margins-large_1z0k9 {
132
132
  margin: var(--gap-4xl) 0 var(--gap-xl);
133
133
  }
134
134
 
135
- .typography__margins-medium_51h0x {
135
+ .typography__margins-medium_1z0k9 {
136
136
  margin: var(--gap-3xl) 0 var(--gap-m);
137
137
  }
138
138
 
139
- .typography__margins-small_51h0x {
139
+ .typography__margins-small_1z0k9 {
140
140
  margin: var(--gap-3xl) 0 var(--gap-m);
141
141
  }
142
142
 
143
- .typography__margins-xsmall_51h0x {
143
+ .typography__margins-xsmall_1z0k9 {
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_51h0x {
148
+ .typography__styrene-xlarge_1z0k9 {
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_51h0x {
156
+ .typography__styrene-large_1z0k9 {
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_51h0x {
164
+ .typography__styrene-medium_1z0k9 {
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_51h0x {
172
+ .typography__styrene-small_1z0k9 {
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_51h0x {
180
+ .typography__styrene-xsmall_1z0k9 {
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_51h0x {
188
+ .typography__system-xlarge_1z0k9 {
189
189
  font-size: 48px;
190
190
  line-height: 52px;
191
191
  font-weight: 700;
192
192
  }
193
193
 
194
- .typography__system-large_51h0x {
194
+ .typography__system-large_1z0k9 {
195
195
  font-size: 40px;
196
196
  line-height: 48px;
197
197
  font-weight: 700;
198
198
  }
199
199
 
200
- .typography__system-medium_51h0x {
200
+ .typography__system-medium_1z0k9 {
201
201
  font-size: 30px;
202
202
  line-height: 36px;
203
203
  font-weight: 700;
204
204
  }
205
205
 
206
- .typography__system-small_51h0x {
206
+ .typography__system-small_1z0k9 {
207
207
  font-size: 22px;
208
208
  line-height: 26px;
209
209
  font-weight: 700;
210
210
  }
211
211
 
212
- .typography__system-xsmall_51h0x {
212
+ .typography__system-xsmall_1z0k9 {
213
213
  font-size: 18px;
214
214
  line-height: 22px;
215
215
  font-weight: 700;
216
216
  }
217
217
 
218
- .typography__margins-xlarge_51h0x {
218
+ .typography__margins-xlarge_1z0k9 {
219
219
  margin: 0 0 var(--gap-xl);
220
220
  }
221
221
 
222
- .typography__margins-large_51h0x {
222
+ .typography__margins-large_1z0k9 {
223
223
  margin: var(--gap-4xl) 0 var(--gap-xl);
224
224
  }
225
225
 
226
- .typography__margins-medium_51h0x {
226
+ .typography__margins-medium_1z0k9 {
227
227
  margin: var(--gap-4xl) 0 var(--gap-xl);
228
228
  }
229
229
 
230
- .typography__margins-small_51h0x {
230
+ .typography__margins-small_1z0k9 {
231
231
  margin: var(--gap-3xl) 0 var(--gap-m);
232
232
  }
233
233
 
234
- .typography__margins-xsmall_51h0x {
234
+ .typography__margins-xsmall_1z0k9 {
235
235
  margin: var(--gap-3xl) 0 var(--gap-m);
236
236
  }
237
237
  }
File without changes
@@ -1,6 +1,6 @@
1
+ import '../colors.module-95947b68.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../colors.module-462e49db.js';
4
4
  import '../title/component.js';
5
- import '../common.module-5853399a.js';
5
+ import '../common.module-aa7e5b60.js';
6
6
  export { TitleResponsive } from './component.js';
File without changes
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-4c2ca274.js');
5
+ require('./colors.module-e8299846.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./title/component.js');
9
- require('./common.module-de511f98.js');
9
+ require('./common.module-1484d53b.js');
10
10
  require('./title/index.js');
11
11
  require('./text/component.js');
12
12
  require('./title-responsive/component.js');
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_ptgnk {
25
+ .typography__tertiary_i6yqd {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_ptgnk {
28
+ .typography__disabled_i6yqd {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_ptgnk {
31
+ .typography__accent_i6yqd {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_ptgnk {
34
+ .typography__primary_i6yqd {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_ptgnk {
37
+ .typography__attention_i6yqd {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_ptgnk {
40
+ .typography__positive_i6yqd {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_ptgnk {
43
+ .typography__secondary_i6yqd {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_ptgnk {
46
+ .typography__tertiary-inverted_i6yqd {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_ptgnk {
49
+ .typography__primary-inverted_i6yqd {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_ptgnk {
52
+ .typography__secondary-inverted_i6yqd {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_ptgnk {
55
+ .typography__link_i6yqd {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_ptgnk {
58
+ .typography__negative_i6yqd {
59
59
  color: var(--color-light-text-negative);
60
60
  }
File without changes
File without changes
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_i6yqd","disabled":"typography__disabled_i6yqd","accent":"typography__accent_i6yqd","primary":"typography__primary_i6yqd","attention":"typography__attention_i6yqd","positive":"typography__positive_i6yqd","secondary":"typography__secondary_i6yqd","tertiary-inverted":"typography__tertiary-inverted_i6yqd","primary-inverted":"typography__primary-inverted_i6yqd","secondary-inverted":"typography__secondary-inverted_i6yqd","link":"typography__link_i6yqd","negative":"typography__negative_i6yqd"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_12neq","bold":"typography__bold_12neq","medium":"typography__medium_12neq","regular":"typography__regular_12neq"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
File without changes
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-462e49db.js';
3
+ import './colors.module-049fc863.js';
4
4
  import './title/component.js';
5
- import './common.module-5853399a.js';
5
+ import './common.module-aa7e5b60.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';
File without changes
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-462e49db.js';
3
+ import './colors.module-049fc863.js';
4
4
  import './title/component.js';
5
- import './common.module-5853399a.js';
5
+ import './common.module-aa7e5b60.js';
6
6
  import './title/index.js';
7
7
  import './text/component.js';
8
8
  import './title-responsive/component.js';
File without changes
File without changes
File without changes
@@ -0,0 +1,10 @@
1
+ import React, { forwardRef } from 'react';
2
+ import cn from 'classnames';
3
+ import { c as colors } from '../colors.module-049fc863.js';
4
+
5
+ var styles = {"paragraph":"typography__paragraph_x617y","primary-large":"typography__primary-large_x617y","primary-medium":"typography__primary-medium_x617y","primary-small":"typography__primary-small_x617y","secondary-large":"typography__secondary-large_x617y","secondary-medium":"typography__secondary-medium_x617y","secondary-small":"typography__secondary-small_x617y","component":"typography__component_x617y","caps":"typography__caps_x617y","bold":"typography__bold_x617y","medium":"typography__medium_x617y","regular":"typography__regular_x617y","monospace":"typography__monospace_x617y"};
6
+ require('./index.css')
7
+
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)));
9
+
10
+ export { Text };
@@ -13,62 +13,62 @@
13
13
  :root {
14
14
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
15
15
  }
16
- .typography__paragraph_1qzi9 {
16
+ .typography__paragraph_x617y {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_1qzi9 {
20
+ .typography__primary-large_x617y {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_1qzi9 {
25
+ .typography__primary-medium_x617y {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_1qzi9 {
30
+ .typography__primary-small_x617y {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_1qzi9 {
35
+ .typography__secondary-large_x617y {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_1qzi9 {
40
+ .typography__secondary-medium_x617y {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_1qzi9 {
45
+ .typography__secondary-small_x617y {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_1qzi9 {
50
+ .typography__component_x617y {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_1qzi9 {
55
+ .typography__caps_x617y {
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_1qzi9 {
62
+ .typography__bold_x617y {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_1qzi9 {
65
+ .typography__medium_x617y {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_1qzi9 {
68
+ .typography__regular_x617y {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_1qzi9 {
71
+ .typography__monospace_x617y {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
File without changes
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../colors.module-462e49db.js';
3
+ import '../colors.module-049fc863.js';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
1
  /* hash: 147dz */
2
- .typography__component_1pf0u {
2
+ .typography__component_12neq {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_1pf0u {
7
+ .typography__bold_12neq {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_1pf0u {
11
+ .typography__medium_12neq {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_1pf0u {
15
+ .typography__regular_12neq {
16
16
  font-weight: normal;
17
17
  }
File without changes
@@ -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-462e49db.js';
3
+ import { c as colors } from '../colors.module-049fc863.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