@alfalab/core-components-typography 6.0.11 → 6.0.12-alfasans

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 (88) hide show
  1. package/colors.css +20 -20
  2. package/colors.module.css.js +1 -1
  3. package/cssm/text/index.module.css +40 -13
  4. package/cssm/title/component.d.ts +2 -8
  5. package/cssm/title/component.js +3 -6
  6. package/cssm/title/component.js.map +1 -1
  7. package/cssm/title/index.d.ts +1 -4
  8. package/cssm/title/index.module.css +23 -74
  9. package/cssm/title-mobile/component.d.ts +1 -4
  10. package/cssm/title-mobile/index.module.css +28 -45
  11. package/cssm/title-responsive/component.d.ts +1 -4
  12. package/esm/colors.css +20 -20
  13. package/esm/colors.module.css.js +1 -1
  14. package/esm/text/index.css +80 -53
  15. package/esm/text/index.module.css.js +1 -1
  16. package/esm/title/common.css +5 -5
  17. package/esm/title/common.module.css.js +1 -1
  18. package/esm/title/component.d.ts +2 -8
  19. package/esm/title/component.js +2 -5
  20. package/esm/title/component.js.map +1 -1
  21. package/esm/title/index.css +38 -89
  22. package/esm/title/index.d.ts +1 -4
  23. package/esm/title/index.module.css.js +1 -1
  24. package/esm/title/index.module.css.js.map +1 -1
  25. package/esm/title-mobile/component.d.ts +1 -4
  26. package/esm/title-mobile/index.css +53 -70
  27. package/esm/title-mobile/index.module.css.js +1 -1
  28. package/esm/title-responsive/component.d.ts +1 -4
  29. package/modern/colors.css +20 -20
  30. package/modern/colors.module.css.js +1 -1
  31. package/modern/text/index.css +80 -53
  32. package/modern/text/index.module.css.js +1 -1
  33. package/modern/title/common.css +5 -5
  34. package/modern/title/common.module.css.js +1 -1
  35. package/modern/title/component.d.ts +2 -8
  36. package/modern/title/component.js +1 -4
  37. package/modern/title/component.js.map +1 -1
  38. package/modern/title/index.css +38 -89
  39. package/modern/title/index.d.ts +1 -4
  40. package/modern/title/index.module.css.js +1 -1
  41. package/modern/title/index.module.css.js.map +1 -1
  42. package/modern/title-mobile/component.d.ts +1 -4
  43. package/modern/title-mobile/index.css +53 -70
  44. package/modern/title-mobile/index.module.css.js +1 -1
  45. package/modern/title-responsive/component.d.ts +1 -4
  46. package/moderncssm/text/index.module.css +37 -11
  47. package/moderncssm/title/component.d.ts +2 -8
  48. package/moderncssm/title/component.js +1 -4
  49. package/moderncssm/title/component.js.map +1 -1
  50. package/moderncssm/title/index.d.ts +1 -4
  51. package/moderncssm/title/index.module.css +20 -79
  52. package/moderncssm/title-mobile/component.d.ts +1 -4
  53. package/moderncssm/title-mobile/index.module.css +25 -40
  54. package/moderncssm/title-responsive/component.d.ts +1 -4
  55. package/package.json +6 -6
  56. package/src/title/component.tsx +3 -8
  57. package/src/title/index.module.css +0 -8
  58. package/text/index.css +80 -53
  59. package/text/index.module.css.js +1 -1
  60. package/title/common.css +5 -5
  61. package/title/common.module.css.js +1 -1
  62. package/title/component.d.ts +2 -8
  63. package/title/component.js +2 -5
  64. package/title/component.js.map +1 -1
  65. package/title/index.css +38 -89
  66. package/title/index.d.ts +1 -4
  67. package/title/index.module.css.js +1 -1
  68. package/title/index.module.css.js.map +1 -1
  69. package/title-mobile/component.d.ts +1 -4
  70. package/title-mobile/index.css +53 -70
  71. package/title-mobile/index.module.css.js +1 -1
  72. package/title-responsive/component.d.ts +1 -4
  73. package/cssm/title/utils.d.ts +0 -1
  74. package/cssm/title/utils.js +0 -16
  75. package/cssm/title/utils.js.map +0 -1
  76. package/esm/title/utils.d.ts +0 -1
  77. package/esm/title/utils.js +0 -12
  78. package/esm/title/utils.js.map +0 -1
  79. package/modern/title/utils.d.ts +0 -1
  80. package/modern/title/utils.js +0 -12
  81. package/modern/title/utils.js.map +0 -1
  82. package/moderncssm/title/utils.d.ts +0 -1
  83. package/moderncssm/title/utils.js +0 -12
  84. package/moderncssm/title/utils.js.map +0 -1
  85. package/src/title/utils.ts +0 -14
  86. package/title/utils.d.ts +0 -1
  87. package/title/utils.js +0 -16
  88. package/title/utils.js.map +0 -1
@@ -3,179 +3,206 @@
3
3
  --gap-12: 12px;
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
- .typography__transparent_1v5sg {
10
+ .typography__transparent_1yij4 {
10
11
  opacity: 0;
11
12
  }
12
13
  :root {
13
14
  --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
14
15
  }
15
- .typography__paragraph_1v5sg {
16
+ .typography__paragraph_1yij4 {
16
17
  margin: var(--gap-0);
17
18
  padding: var(--gap-0);
18
19
  }
19
- .typography__paragraphWithMargins_1v5sg {
20
+ .typography__paragraphWithMargins_1yij4 {
20
21
  padding: var(--gap-0);
21
22
  margin: var(--text-paragraph-margin-bottom);
22
23
  }
23
- .typography__component_1v5sg {
24
+ .typography__component_1yij4 {
24
25
  font-size: 16px;
25
26
  line-height: 20px;
26
27
  font-weight: 400;
27
- font-family: var(--font-family-system);
28
+ letter-spacing: -0.24px;
29
+ font-family: var(--font-family-alfasans);
28
30
  }
29
- .typography__component_1v5sg.typography__bold_1v5sg {
31
+ .typography__component_1yij4.typography__bold_1yij4 {
30
32
  font-weight: 700;
33
+ letter-spacing: 0.43px;
31
34
  }
32
- .typography__component_1v5sg.typography__medium_1v5sg {
35
+ .typography__component_1yij4.typography__medium_1yij4 {
33
36
  font-weight: 500;
37
+ letter-spacing: -0.05px;
34
38
  }
35
- .typography__caps_1v5sg {
39
+ .typography__caps_1yij4 {
36
40
  font-size: 12px;
37
41
  line-height: 16px;
38
42
  font-weight: 400;
39
43
  letter-spacing: 1.25px;
40
44
  text-transform: uppercase;
41
- font-family: var(--font-family-system);
45
+ font-family: var(--font-family-alfasans);
42
46
  }
43
- .typography__caps_1v5sg.typography__bold_1v5sg {
47
+ .typography__caps_1yij4.typography__bold_1yij4 {
44
48
  font-weight: 700;
45
49
  }
46
- .typography__caps_1v5sg.typography__medium_1v5sg {
50
+ .typography__caps_1yij4.typography__medium_1yij4 {
47
51
  font-weight: 500;
48
52
  }
49
- .typography__tagline_1v5sg {
53
+ .typography__tagline_1yij4 {
50
54
  font-size: 12px;
51
55
  line-height: 16px;
52
56
  font-weight: 400;
53
57
  letter-spacing: 1.25px;
54
58
  text-transform: uppercase;
55
- font-family: var(--font-family-system);
59
+ font-family: var(--font-family-alfasans);
56
60
  }
57
- .typography__tagline_1v5sg.typography__bold_1v5sg {
61
+ .typography__tagline_1yij4.typography__bold_1yij4 {
58
62
  font-weight: 700;
59
63
  }
60
- .typography__tagline_1v5sg.typography__medium_1v5sg {
64
+ .typography__tagline_1yij4.typography__medium_1yij4 {
61
65
  font-weight: 500;
62
66
  }
63
- .typography__primary-large_1v5sg {
67
+ .typography__primary-large_1yij4 {
64
68
  font-size: 18px;
65
69
  line-height: 24px;
66
70
  font-weight: 400;
67
- font-family: var(--font-family-system);
71
+ letter-spacing: -0.36px;
72
+ font-family: var(--font-family-alfasans);
68
73
  }
69
- .typography__primary-large_1v5sg.typography__bold_1v5sg {
74
+ .typography__primary-large_1yij4.typography__bold_1yij4 {
70
75
  font-weight: 700;
76
+ letter-spacing: 0.38px;
71
77
  }
72
- .typography__primary-large_1v5sg.typography__medium_1v5sg {
78
+ .typography__primary-large_1yij4.typography__medium_1yij4 {
73
79
  font-weight: 500;
80
+ letter-spacing: -0.17px;
74
81
  }
75
- .typography__primary-medium_1v5sg {
82
+ .typography__primary-medium_1yij4 {
76
83
  font-size: 16px;
77
84
  line-height: 24px;
78
85
  font-weight: 400;
79
- font-family: var(--font-family-system);
86
+ letter-spacing: -0.24px;
87
+ font-family: var(--font-family-alfasans);
80
88
  }
81
- .typography__primary-medium_1v5sg.typography__bold_1v5sg {
89
+ .typography__primary-medium_1yij4.typography__bold_1yij4 {
82
90
  font-weight: 700;
91
+ letter-spacing: 0.43px;
83
92
  }
84
- .typography__primary-medium_1v5sg.typography__medium_1v5sg {
93
+ .typography__primary-medium_1yij4.typography__medium_1yij4 {
85
94
  font-weight: 500;
95
+ letter-spacing: -0.05px;
86
96
  }
87
- .typography__primary-small_1v5sg {
97
+ .typography__primary-small_1yij4 {
88
98
  font-size: 14px;
89
99
  line-height: 20px;
90
100
  font-weight: 400;
91
- font-family: var(--font-family-system);
101
+ letter-spacing: -0.08px;
102
+ font-family: var(--font-family-alfasans);
92
103
  }
93
- .typography__primary-small_1v5sg.typography__bold_1v5sg {
104
+ .typography__primary-small_1yij4.typography__bold_1yij4 {
94
105
  font-weight: 700;
106
+ letter-spacing: 0.47px;
95
107
  }
96
- .typography__primary-small_1v5sg.typography__medium_1v5sg {
108
+ .typography__primary-small_1yij4.typography__medium_1yij4 {
97
109
  font-weight: 500;
110
+ letter-spacing: 0.07px;
98
111
  }
99
- .typography__component-primary_1v5sg {
112
+ .typography__component-primary_1yij4 {
100
113
  font-size: 16px;
101
114
  line-height: 20px;
102
115
  font-weight: 400;
103
- font-family: var(--font-family-system);
116
+ letter-spacing: -0.24px;
117
+ font-family: var(--font-family-alfasans);
104
118
  }
105
- .typography__component-primary_1v5sg.typography__bold_1v5sg {
119
+ .typography__component-primary_1yij4.typography__bold_1yij4 {
106
120
  font-weight: 700;
121
+ letter-spacing: 0.43px;
107
122
  }
108
- .typography__component-primary_1v5sg.typography__medium_1v5sg {
123
+ .typography__component-primary_1yij4.typography__medium_1yij4 {
109
124
  font-weight: 500;
125
+ letter-spacing: -0.05px;
110
126
  }
111
- .typography__secondary-large_1v5sg {
127
+ .typography__secondary-large_1yij4 {
112
128
  font-size: 13px;
113
129
  line-height: 16px;
114
130
  font-weight: 400;
115
- font-family: var(--font-family-system);
131
+ font-family: var(--font-family-alfasans);
116
132
  }
117
- .typography__secondary-large_1v5sg.typography__bold_1v5sg {
133
+ .typography__secondary-large_1yij4.typography__bold_1yij4 {
118
134
  font-weight: 700;
135
+ letter-spacing: 0.54px;
119
136
  }
120
- .typography__secondary-large_1v5sg.typography__medium_1v5sg {
137
+ .typography__secondary-large_1yij4.typography__medium_1yij4 {
121
138
  font-weight: 500;
139
+ letter-spacing: 0.13px;
122
140
  }
123
- .typography__secondary-medium_1v5sg {
141
+ .typography__secondary-medium_1yij4 {
124
142
  font-size: 12px;
125
143
  line-height: 16px;
126
144
  font-weight: 400;
127
- font-family: var(--font-family-system);
145
+ letter-spacing: 0.06px;
146
+ font-family: var(--font-family-alfasans);
128
147
  }
129
- .typography__secondary-medium_1v5sg.typography__bold_1v5sg {
148
+ .typography__secondary-medium_1yij4.typography__bold_1yij4 {
130
149
  font-weight: 700;
150
+ letter-spacing: 0.57px;
131
151
  }
132
- .typography__secondary-medium_1v5sg.typography__medium_1v5sg {
152
+ .typography__secondary-medium_1yij4.typography__medium_1yij4 {
133
153
  font-weight: 500;
154
+ letter-spacing: 0.19px;
134
155
  }
135
- .typography__secondary-small_1v5sg {
156
+ .typography__secondary-small_1yij4 {
136
157
  font-size: 11px;
137
158
  line-height: 16px;
138
159
  font-weight: 400;
139
- font-family: var(--font-family-system);
160
+ letter-spacing: 0.15px;
161
+ font-family: var(--font-family-alfasans);
140
162
  }
141
- .typography__secondary-small_1v5sg.typography__bold_1v5sg {
163
+ .typography__secondary-small_1yij4.typography__bold_1yij4 {
142
164
  font-weight: 700;
165
+ letter-spacing: 0.54px;
143
166
  }
144
- .typography__secondary-small_1v5sg.typography__medium_1v5sg {
167
+ .typography__secondary-small_1yij4.typography__medium_1yij4 {
145
168
  font-weight: 500;
169
+ letter-spacing: 0.24px;
146
170
  }
147
- .typography__component-secondary_1v5sg {
171
+ .typography__component-secondary_1yij4 {
148
172
  font-size: 14px;
149
173
  line-height: 18px;
150
174
  font-weight: 400;
151
- font-family: var(--font-family-system);
175
+ letter-spacing: -0.08px;
176
+ font-family: var(--font-family-alfasans);
152
177
  }
153
- .typography__component-secondary_1v5sg.typography__bold_1v5sg {
178
+ .typography__component-secondary_1yij4.typography__bold_1yij4 {
154
179
  font-weight: 700;
180
+ letter-spacing: 0.47px;
155
181
  }
156
- .typography__component-secondary_1v5sg.typography__medium_1v5sg {
182
+ .typography__component-secondary_1yij4.typography__medium_1yij4 {
157
183
  font-weight: 500;
184
+ letter-spacing: 0.07px;
158
185
  }
159
- .typography__rowLimit1_1v5sg {
186
+ .typography__rowLimit1_1yij4 {
160
187
  -webkit-line-clamp: 1;
161
188
  display: -webkit-box;
162
189
  -webkit-box-orient: vertical;
163
190
  overflow: hidden;
164
191
  word-break: break-all;
165
192
  }
166
- .typography__rowLimit2_1v5sg {
193
+ .typography__rowLimit2_1yij4 {
167
194
  -webkit-line-clamp: 2;
168
195
  display: -webkit-box;
169
196
  -webkit-box-orient: vertical;
170
197
  overflow: hidden;
171
198
  }
172
- .typography__rowLimit3_1v5sg {
199
+ .typography__rowLimit3_1yij4 {
173
200
  -webkit-line-clamp: 3;
174
201
  display: -webkit-box;
175
202
  -webkit-box-orient: vertical;
176
203
  overflow: hidden;
177
204
  }
178
- .typography__monospace_1v5sg {
205
+ .typography__monospace_1yij4 {
179
206
  font-feature-settings: "tnum";
180
207
  font-variant-numeric: tabular-nums;
181
208
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"transparent":"typography__transparent_1v5sg","paragraph":"typography__paragraph_1v5sg","paragraphWithMargins":"typography__paragraphWithMargins_1v5sg","component":"typography__component_1v5sg","bold":"typography__bold_1v5sg","medium":"typography__medium_1v5sg","caps":"typography__caps_1v5sg","tagline":"typography__tagline_1v5sg","primary-large":"typography__primary-large_1v5sg","primary-medium":"typography__primary-medium_1v5sg","primary-small":"typography__primary-small_1v5sg","component-primary":"typography__component-primary_1v5sg","secondary-large":"typography__secondary-large_1v5sg","secondary-medium":"typography__secondary-medium_1v5sg","secondary-small":"typography__secondary-small_1v5sg","component-secondary":"typography__component-secondary_1v5sg","rowLimit1":"typography__rowLimit1_1v5sg","rowLimit2":"typography__rowLimit2_1v5sg","rowLimit3":"typography__rowLimit3_1v5sg","monospace":"typography__monospace_1v5sg"};
3
+ const styles = {"transparent":"typography__transparent_1yij4","paragraph":"typography__paragraph_1yij4","paragraphWithMargins":"typography__paragraphWithMargins_1yij4","component":"typography__component_1yij4","bold":"typography__bold_1yij4","medium":"typography__medium_1yij4","caps":"typography__caps_1yij4","tagline":"typography__tagline_1yij4","primary-large":"typography__primary-large_1yij4","primary-medium":"typography__primary-medium_1yij4","primary-small":"typography__primary-small_1yij4","component-primary":"typography__component-primary_1yij4","secondary-large":"typography__secondary-large_1yij4","secondary-medium":"typography__secondary-medium_1yij4","secondary-small":"typography__secondary-small_1yij4","component-secondary":"typography__component-secondary_1yij4","rowLimit1":"typography__rowLimit1_1yij4","rowLimit2":"typography__rowLimit2_1yij4","rowLimit3":"typography__rowLimit3_1yij4","monospace":"typography__monospace_1yij4"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -1,27 +1,27 @@
1
1
  :root {
2
2
  --gap-0: 0px;
3
3
  }
4
- .typography__transparent_16406 {
4
+ .typography__transparent_1h0nz {
5
5
  opacity: 0;
6
6
  }
7
- .typography__component_16406 {
7
+ .typography__component_1h0nz {
8
8
  margin: var(--gap-0);
9
9
  padding: var(--gap-0);
10
10
  }
11
- .typography__rowLimit1_16406 {
11
+ .typography__rowLimit1_1h0nz {
12
12
  -webkit-line-clamp: 1;
13
13
  display: -webkit-box;
14
14
  -webkit-box-orient: vertical;
15
15
  overflow: hidden;
16
16
  word-break: break-all;
17
17
  }
18
- .typography__rowLimit2_16406 {
18
+ .typography__rowLimit2_1h0nz {
19
19
  -webkit-line-clamp: 2;
20
20
  display: -webkit-box;
21
21
  -webkit-box-orient: vertical;
22
22
  overflow: hidden;
23
23
  }
24
- .typography__rowLimit3_16406 {
24
+ .typography__rowLimit3_1h0nz {
25
25
  -webkit-line-clamp: 3;
26
26
  display: -webkit-box;
27
27
  -webkit-box-orient: vertical;
@@ -1,6 +1,6 @@
1
1
  import './common.css';
2
2
 
3
- const commonStyles = {"transparent":"typography__transparent_16406","component":"typography__component_16406","rowLimit1":"typography__rowLimit1_16406","rowLimit2":"typography__rowLimit2_16406","rowLimit3":"typography__rowLimit3_16406"};
3
+ const commonStyles = {"transparent":"typography__transparent_1h0nz","component":"typography__component_1h0nz","rowLimit1":"typography__rowLimit1_1h0nz","rowLimit2":"typography__rowLimit2_1h0nz","rowLimit3":"typography__rowLimit3_1h0nz"};
4
4
 
5
5
  export { commonStyles as default };
6
6
  //# sourceMappingURL=common.module.css.js.map
@@ -22,10 +22,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
22
22
  /**
23
23
  * Шрифт текста
24
24
  */
25
- font?: 'styrene' | 'system' | 'alfasans' | {
26
- font: 'alfasans';
27
- systemCompat: boolean;
28
- };
25
+ font?: 'styrene' | 'system';
29
26
  /**
30
27
  * Добавляет отступы
31
28
  */
@@ -86,10 +83,7 @@ export declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps
86
83
  /**
87
84
  * Шрифт текста
88
85
  */
89
- font?: "styrene" | "system" | "alfasans" | {
90
- font: "alfasans";
91
- systemCompat: boolean;
92
- };
86
+ font?: "styrene" | "system";
93
87
  /**
94
88
  * Добавляет отступы
95
89
  */
@@ -1,13 +1,11 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
- import { isObject } from '@alfalab/core-components-shared/modern';
5
4
  import { useSkeleton } from '@alfalab/core-components-skeleton/modern';
6
- import { getDefaultWeight } from './utils.js';
7
5
  import colors from '../colors.module.css.js';
8
6
  import commonStyles from './common.module.css.js';
9
7
 
10
- const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', platform, weight = getDefaultWeight(isObject(font) ? font.font : font, platform), defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, skeletonProps, showSkeleton, ...restProps }, ref) => {
8
+ const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font, platform, weight = 'bold', defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, skeletonProps, showSkeleton, ...restProps }, ref) => {
11
9
  const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);
12
10
  const skeleton = renderSkeleton({
13
11
  wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),
@@ -19,7 +17,6 @@ const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font =
19
17
  return (React.createElement(Component, { className: cn(commonStyles.component, styles.component, className, styles[`${weight === 'regular' ? 'regular-' : ''}${view}`], defaultMargins && styles[`margins-${view}`], color && colors[color], {
20
18
  [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,
21
19
  [commonStyles.transparent]: showSkeleton,
22
- [styles.font]: (isObject(font) && !font.systemCompat) || !(font === 'system'),
23
20
  }), "data-test-id": dataTestId, ref: mergeRefs([ref, textRef]), ...restProps }, children));
24
21
  });
25
22
 
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sources":["../../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { isObject } from '@alfalab/core-components-shared';\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(font) ? font.font : font, platform),\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n\n const skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n });\n\n if (skeleton) {\n return skeleton;\n }\n\n return (\n <Component\n className={cn(\n commonStyles.component,\n styles.component,\n className,\n styles[`${weight === 'regular' ? 'regular-' : ''}${view}`],\n defaultMargins && styles[`margins-${view}`],\n color && colors[color],\n {\n [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,\n [commonStyles.transparent]: showSkeleton,\n [styles.font]:\n (isObject(font) && !font.systemCompat) || !(font === 'system'),\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n );\n },\n);\n"],"names":[],"mappings":";;;;;;;;;AA4FO,MAAM,SAAS,GAAG,UAAU,CAC/B,CACI,EACI,GAAG,EAAE,SAAS,GAAG,KAAK,EACtB,IAAI,GAAG,QAAQ,EACf,IAAI,GAAG,SAAS,EAChB,QAAQ,EACR,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,QAAQ,CAAC,EACtE,cAAc,GAAG,KAAK,EACtB,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,aAAa,EACb,YAAY,EACZ,GAAG,SAAS,EACf,EACD,GAAG,KACH;AACA,IAAA,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,WAAW,CAAC,YAAY,EAAE,aAAa,CAAC;IAE5E,MAAM,QAAQ,GAAG,cAAc,CAAC;QAC5B,gBAAgB,EAAE,EAAE,CAAC,cAAc,IAAI,MAAM,CAAC,CAAW,QAAA,EAAA,IAAI,CAAE,CAAA,CAAC,CAAC;QACjE,UAAU;AACb,KAAA,CAAC;IAEF,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ;;IAGnB,QACI,KAAC,CAAA,aAAA,CAAA,SAAS,EACN,EAAA,SAAS,EAAE,EAAE,CACT,YAAY,CAAC,SAAS,EACtB,MAAM,CAAC,SAAS,EAChB,SAAS,EACT,MAAM,CAAC,CAAG,EAAA,MAAM,KAAK,SAAS,GAAG,UAAU,GAAG,EAAE,CAAA,EAAG,IAAI,CAAE,CAAA,CAAC,EAC1D,cAAc,IAAI,MAAM,CAAC,CAAW,QAAA,EAAA,IAAI,CAAE,CAAA,CAAC,EAC3C,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,EACtB;YACI,CAAC,YAAY,CAAC,CAAW,QAAA,EAAA,QAAQ,EAAE,CAAC,GAAG,QAAQ;AAC/C,YAAA,CAAC,YAAY,CAAC,WAAW,GAAG,YAAY;YACxC,CAAC,MAAM,CAAC,IAAI,GACR,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,KAAK,EAAE,IAAI,KAAK,QAAQ,CAAC;AACrE,SAAA,CACJ,kBACa,UAAU,EACxB,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,EAC1B,GAAA,SAAS,IAEZ,QAAQ,CACD;AAEpB,CAAC;;;;"}
1
+ {"version":3,"file":"component.js","sources":["../../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system';\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font,\n platform,\n weight = 'bold',\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n\n const skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n });\n\n if (skeleton) {\n return skeleton;\n }\n\n return (\n <Component\n className={cn(\n commonStyles.component,\n styles.component,\n className,\n styles[`${weight === 'regular' ? 'regular-' : ''}${view}`],\n defaultMargins && styles[`margins-${view}`],\n color && colors[color],\n {\n [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,\n [commonStyles.transparent]: showSkeleton,\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n );\n },\n);\n"],"names":[],"mappings":";;;;;;;AAyFa,MAAA,SAAS,GAAG,UAAU,CAC/B,CACI,EACI,GAAG,EAAE,SAAS,GAAG,KAAK,EACtB,IAAI,GAAG,QAAQ,EACf,IAAI,EACJ,QAAQ,EACR,MAAM,GAAG,MAAM,EACf,cAAc,GAAG,KAAK,EACtB,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,aAAa,EACb,YAAY,EACZ,GAAG,SAAS,EACf,EACD,GAAG,KACH;AACA,IAAA,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,WAAW,CAAC,YAAY,EAAE,aAAa,CAAC;IAE5E,MAAM,QAAQ,GAAG,cAAc,CAAC;QAC5B,gBAAgB,EAAE,EAAE,CAAC,cAAc,IAAI,MAAM,CAAC,CAAW,QAAA,EAAA,IAAI,CAAE,CAAA,CAAC,CAAC;QACjE,UAAU;AACb,KAAA,CAAC;IAEF,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ;;IAGnB,QACI,KAAC,CAAA,aAAA,CAAA,SAAS,EACN,EAAA,SAAS,EAAE,EAAE,CACT,YAAY,CAAC,SAAS,EACtB,MAAM,CAAC,SAAS,EAChB,SAAS,EACT,MAAM,CAAC,CAAG,EAAA,MAAM,KAAK,SAAS,GAAG,UAAU,GAAG,EAAE,CAAA,EAAG,IAAI,CAAE,CAAA,CAAC,EAC1D,cAAc,IAAI,MAAM,CAAC,CAAW,QAAA,EAAA,IAAI,CAAE,CAAA,CAAC,EAC3C,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,EACtB;YACI,CAAC,YAAY,CAAC,CAAW,QAAA,EAAA,QAAQ,EAAE,CAAC,GAAG,QAAQ;AAC/C,YAAA,CAAC,YAAY,CAAC,WAAW,GAAG,YAAY;AAC3C,SAAA,CACJ,kBACa,UAAU,EACxB,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,EAC1B,GAAA,SAAS,IAEZ,QAAQ,CACD;AAEpB,CAAC;;;;"}
@@ -6,143 +6,92 @@
6
6
  --gap-48: 48px;
7
7
  }
8
8
  :root {
9
- --font-family-system:
10
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
11
- --font-family-styrene:
12
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
13
- sans-serif;
9
+ --font-family-alfasans:
10
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
11
+ Helvetica, sans-serif;
14
12
  }
15
- .typography__xlarge_yvhn3 {
13
+ .typography__xlarge_a4v8p {
16
14
  font-size: 48px;
17
15
  line-height: 52px;
18
16
  font-weight: 700;
19
- font-family: var(--font-family-system);
17
+ letter-spacing: 0.1px;
18
+ font-family: var(--font-family-alfasans);
20
19
  }
21
- .typography__xlarge_yvhn3.typography__font_yvhn3 {
22
- line-height: 64px;
23
- font-weight: 500;
24
- font-feature-settings: 'ss01';
25
- font-family: var(--font-family-styrene);
26
- }
27
- .typography__regular-xlarge_yvhn3 {
20
+ .typography__regular-xlarge_a4v8p {
28
21
  font-size: 48px;
29
22
  line-height: 52px;
30
23
  font-weight: 400;
31
- font-family: var(--font-family-system);
24
+ letter-spacing: -2.1px;
25
+ font-family: var(--font-family-alfasans);
32
26
  }
33
- .typography__regular-xlarge_yvhn3.typography__font_yvhn3 {
34
- line-height: 64px;
35
- font-feature-settings: 'ss01';
36
- font-family: var(--font-family-styrene);
37
- }
38
- .typography__large_yvhn3 {
27
+ .typography__large_a4v8p {
39
28
  font-size: 40px;
40
29
  line-height: 48px;
41
30
  font-weight: 700;
42
- font-family: var(--font-family-system);
31
+ letter-spacing: 0.1px;
32
+ font-family: var(--font-family-alfasans);
43
33
  }
44
- .typography__large_yvhn3.typography__font_yvhn3 {
45
- font-weight: 500;
46
- font-feature-settings: 'ss01';
47
- font-family: var(--font-family-styrene);
48
- }
49
- .typography__regular-large_yvhn3 {
34
+ .typography__regular-large_a4v8p {
50
35
  font-size: 40px;
51
36
  line-height: 48px;
52
37
  font-weight: 400;
53
- font-family: var(--font-family-system);
38
+ letter-spacing: -1.7px;
39
+ font-family: var(--font-family-alfasans);
54
40
  }
55
- .typography__regular-large_yvhn3.typography__font_yvhn3 {
56
- font-feature-settings: 'ss01';
57
- font-family: var(--font-family-styrene);
58
- }
59
- .typography__medium_yvhn3 {
41
+ .typography__medium_a4v8p {
60
42
  font-size: 30px;
61
43
  line-height: 36px;
62
44
  font-weight: 700;
63
- font-family: var(--font-family-system);
45
+ letter-spacing: 0.1px;
46
+ font-family: var(--font-family-alfasans);
64
47
  }
65
- .typography__medium_yvhn3.typography__font_yvhn3 {
66
- font-size: 32px;
67
- line-height: 40px;
68
- font-weight: 500;
69
- font-feature-settings: 'ss01';
70
- font-family: var(--font-family-styrene);
71
- }
72
- .typography__regular-medium_yvhn3 {
48
+ .typography__regular-medium_a4v8p {
73
49
  font-size: 30px;
74
50
  line-height: 36px;
75
51
  font-weight: 400;
76
- font-family: var(--font-family-system);
52
+ letter-spacing: -1.25px;
53
+ font-family: var(--font-family-alfasans);
77
54
  }
78
- .typography__regular-medium_yvhn3.typography__font_yvhn3 {
79
- font-size: 32px;
80
- line-height: 40px;
81
- font-feature-settings: 'ss01';
82
- font-family: var(--font-family-styrene);
83
- }
84
- .typography__small_yvhn3 {
55
+ .typography__small_a4v8p {
85
56
  font-size: 22px;
86
57
  line-height: 26px;
87
58
  font-weight: 700;
88
- font-family: var(--font-family-system);
59
+ letter-spacing: 0.2px;
60
+ font-family: var(--font-family-alfasans);
89
61
  }
90
- .typography__small_yvhn3.typography__font_yvhn3 {
91
- font-size: 24px;
92
- line-height: 32px;
93
- font-weight: 500;
94
- font-feature-settings: 'ss01';
95
- font-family: var(--font-family-styrene);
96
- }
97
- .typography__regular-small_yvhn3 {
62
+ .typography__regular-small_a4v8p {
98
63
  font-size: 22px;
99
64
  line-height: 26px;
100
65
  font-weight: 400;
101
- font-family: var(--font-family-system);
66
+ letter-spacing: -0.8px;
67
+ font-family: var(--font-family-alfasans);
102
68
  }
103
- .typography__regular-small_yvhn3.typography__font_yvhn3 {
104
- font-size: 24px;
105
- line-height: 32px;
106
- font-feature-settings: 'ss01';
107
- font-family: var(--font-family-styrene);
108
- }
109
- .typography__xsmall_yvhn3 {
69
+ .typography__xsmall_a4v8p {
110
70
  font-size: 18px;
111
71
  line-height: 22px;
112
72
  font-weight: 700;
113
- font-family: var(--font-family-system);
73
+ letter-spacing: 0.38px;
74
+ font-family: var(--font-family-alfasans);
114
75
  }
115
- .typography__xsmall_yvhn3.typography__font_yvhn3 {
116
- font-size: 20px;
117
- line-height: 24px;
118
- font-weight: 500;
119
- font-feature-settings: 'ss01';
120
- font-family: var(--font-family-styrene);
121
- }
122
- .typography__regular-xsmall_yvhn3 {
76
+ .typography__regular-xsmall_a4v8p {
123
77
  font-size: 18px;
124
78
  line-height: 22px;
125
79
  font-weight: 400;
126
- font-family: var(--font-family-system);
80
+ letter-spacing: -0.36px;
81
+ font-family: var(--font-family-alfasans);
127
82
  }
128
- .typography__regular-xsmall_yvhn3.typography__font_yvhn3 {
129
- font-size: 20px;
130
- line-height: 24px;
131
- font-feature-settings: 'ss01';
132
- font-family: var(--font-family-styrene);
133
- }
134
- .typography__component_yvhn3.typography__margins-xlarge_yvhn3 {
83
+ .typography__component_a4v8p.typography__margins-xlarge_a4v8p {
135
84
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
136
85
  }
137
- .typography__component_yvhn3.typography__margins-large_yvhn3 {
86
+ .typography__component_a4v8p.typography__margins-large_a4v8p {
138
87
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
139
88
  }
140
- .typography__component_yvhn3.typography__margins-medium_yvhn3 {
89
+ .typography__component_a4v8p.typography__margins-medium_a4v8p {
141
90
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
142
91
  }
143
- .typography__component_yvhn3.typography__margins-small_yvhn3 {
92
+ .typography__component_a4v8p.typography__margins-small_a4v8p {
144
93
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
145
94
  }
146
- .typography__component_yvhn3.typography__margins-xsmall_yvhn3 {
95
+ .typography__component_a4v8p.typography__margins-xsmall_a4v8p {
147
96
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
148
97
  }
@@ -5,10 +5,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
5
5
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
6
6
  color?: import("..").Color;
7
7
  weight?: "regular" | "medium" | "bold" | "semibold";
8
- font?: "styrene" | "system" | "alfasans" | {
9
- font: "alfasans";
10
- systemCompat: boolean;
11
- };
8
+ font?: "styrene" | "system";
12
9
  defaultMargins?: boolean;
13
10
  className?: string;
14
11
  dataTestId?: string;
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"xlarge":"typography__xlarge_yvhn3","font":"typography__font_yvhn3","regular-xlarge":"typography__regular-xlarge_yvhn3","large":"typography__large_yvhn3","regular-large":"typography__regular-large_yvhn3","medium":"typography__medium_yvhn3","regular-medium":"typography__regular-medium_yvhn3","small":"typography__small_yvhn3","regular-small":"typography__regular-small_yvhn3","xsmall":"typography__xsmall_yvhn3","regular-xsmall":"typography__regular-xsmall_yvhn3","component":"typography__component_yvhn3","margins-xlarge":"typography__margins-xlarge_yvhn3","margins-large":"typography__margins-large_yvhn3","margins-medium":"typography__margins-medium_yvhn3","margins-small":"typography__margins-small_yvhn3","margins-xsmall":"typography__margins-xsmall_yvhn3"};
3
+ const styles = {"xlarge":"typography__xlarge_a4v8p","regular-xlarge":"typography__regular-xlarge_a4v8p","large":"typography__large_a4v8p","regular-large":"typography__regular-large_a4v8p","medium":"typography__medium_a4v8p","regular-medium":"typography__regular-medium_a4v8p","small":"typography__small_a4v8p","regular-small":"typography__regular-small_a4v8p","xsmall":"typography__xsmall_a4v8p","regular-xsmall":"typography__regular-xsmall_a4v8p","component":"typography__component_a4v8p","margins-xlarge":"typography__margins-xlarge_a4v8p","margins-large":"typography__margins-large_a4v8p","margins-medium":"typography__margins-medium_a4v8p","margins-small":"typography__margins-small_a4v8p","margins-xsmall":"typography__margins-xsmall_a4v8p"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../margins.module.css';\n\n@each $view in xlarge, large, medium, small, xsmall {\n .$(view) {\n @mixin headline-system_$(view);\n\n &.font {\n @subtract-mixin headline_$(view), headline-system_$(view);\n }\n }\n\n .regular-$(view) {\n @mixin promo-system_$(view);\n\n &.font {\n @subtract-mixin promo_$(view), promo-system_$(view);\n }\n }\n}\n\n.component {\n &.margins-xlarge {\n @mixin margin-large;\n }\n\n &.margins-large {\n @mixin margin-medium;\n }\n\n &.margins-medium {\n @mixin margin-medium;\n }\n\n &.margins-small {\n @mixin margin-small;\n }\n\n &.margins-xsmall {\n @mixin margin-small;\n }\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,WAAW,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
1
+ {"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../margins.module.css';\n\n@each $view in xlarge, large, medium, small, xsmall {\n .$(view) {\n @mixin headline-system_$(view);\n }\n\n .regular-$(view) {\n @mixin promo-system_$(view);\n }\n}\n\n.component {\n &.margins-xlarge {\n @mixin margin-large;\n }\n\n &.margins-large {\n @mixin margin-medium;\n }\n\n &.margins-medium {\n @mixin margin-medium;\n }\n\n &.margins-small {\n @mixin margin-small;\n }\n\n &.margins-xsmall {\n @mixin margin-small;\n }\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,OAAO,CAAC,yBAAyB,CAAC,eAAe,CAAC,iCAAiC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,WAAW,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
@@ -4,10 +4,7 @@ export declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTM
4
4
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
5
5
  color?: import("..").Color;
6
6
  weight?: "regular" | "medium" | "bold" | "semibold";
7
- font?: "styrene" | "system" | "alfasans" | {
8
- font: "alfasans";
9
- systemCompat: boolean;
10
- };
7
+ font?: "styrene" | "system";
11
8
  defaultMargins?: boolean;
12
9
  className?: string;
13
10
  dataTestId?: string;