@alfalab/core-components-typography 6.0.5 → 6.0.6-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
@@ -4,179 +4,206 @@
4
4
  --gap-12: var(--gap-s);
5
5
  }
6
6
  :root {
7
- --font-family-system:
8
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
7
+ --font-family-alfasans:
8
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
9
+ Helvetica, sans-serif;
9
10
  }
10
- .typography__transparent_18u95 {
11
+ .typography__transparent_imgoa {
11
12
  opacity: 0;
12
13
  }
13
14
  :root {
14
15
  --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
15
16
  }
16
- .typography__paragraph_18u95 {
17
+ .typography__paragraph_imgoa {
17
18
  margin: var(--gap-0);
18
19
  padding: var(--gap-0);
19
20
  }
20
- .typography__paragraphWithMargins_18u95 {
21
+ .typography__paragraphWithMargins_imgoa {
21
22
  padding: var(--gap-0);
22
23
  margin: var(--text-paragraph-margin-bottom);
23
24
  }
24
- .typography__component_18u95 {
25
+ .typography__component_imgoa {
25
26
  font-size: 16px;
26
27
  line-height: 20px;
27
28
  font-weight: 400;
28
- font-family: var(--font-family-system);
29
+ letter-spacing: -0.24px;
30
+ font-family: var(--font-family-alfasans);
29
31
  }
30
- .typography__component_18u95.typography__bold_18u95 {
32
+ .typography__component_imgoa.typography__bold_imgoa {
31
33
  font-weight: 700;
34
+ letter-spacing: 0.43px;
32
35
  }
33
- .typography__component_18u95.typography__medium_18u95 {
36
+ .typography__component_imgoa.typography__medium_imgoa {
34
37
  font-weight: 500;
38
+ letter-spacing: -0.05px;
35
39
  }
36
- .typography__caps_18u95 {
40
+ .typography__caps_imgoa {
37
41
  font-size: 12px;
38
42
  line-height: 16px;
39
43
  font-weight: 400;
40
44
  letter-spacing: 1.25px;
41
45
  text-transform: uppercase;
42
- font-family: var(--font-family-system);
46
+ font-family: var(--font-family-alfasans);
43
47
  }
44
- .typography__caps_18u95.typography__bold_18u95 {
48
+ .typography__caps_imgoa.typography__bold_imgoa {
45
49
  font-weight: 700;
46
50
  }
47
- .typography__caps_18u95.typography__medium_18u95 {
51
+ .typography__caps_imgoa.typography__medium_imgoa {
48
52
  font-weight: 500;
49
53
  }
50
- .typography__tagline_18u95 {
54
+ .typography__tagline_imgoa {
51
55
  font-size: 12px;
52
56
  line-height: 16px;
53
57
  font-weight: 400;
54
58
  letter-spacing: 1.25px;
55
59
  text-transform: uppercase;
56
- font-family: var(--font-family-system);
60
+ font-family: var(--font-family-alfasans);
57
61
  }
58
- .typography__tagline_18u95.typography__bold_18u95 {
62
+ .typography__tagline_imgoa.typography__bold_imgoa {
59
63
  font-weight: 700;
60
64
  }
61
- .typography__tagline_18u95.typography__medium_18u95 {
65
+ .typography__tagline_imgoa.typography__medium_imgoa {
62
66
  font-weight: 500;
63
67
  }
64
- .typography__primary-large_18u95 {
68
+ .typography__primary-large_imgoa {
65
69
  font-size: 18px;
66
70
  line-height: 24px;
67
71
  font-weight: 400;
68
- font-family: var(--font-family-system);
72
+ letter-spacing: -0.36px;
73
+ font-family: var(--font-family-alfasans);
69
74
  }
70
- .typography__primary-large_18u95.typography__bold_18u95 {
75
+ .typography__primary-large_imgoa.typography__bold_imgoa {
71
76
  font-weight: 700;
77
+ letter-spacing: 0.38px;
72
78
  }
73
- .typography__primary-large_18u95.typography__medium_18u95 {
79
+ .typography__primary-large_imgoa.typography__medium_imgoa {
74
80
  font-weight: 500;
81
+ letter-spacing: -0.17px;
75
82
  }
76
- .typography__primary-medium_18u95 {
83
+ .typography__primary-medium_imgoa {
77
84
  font-size: 16px;
78
85
  line-height: 24px;
79
86
  font-weight: 400;
80
- font-family: var(--font-family-system);
87
+ letter-spacing: -0.24px;
88
+ font-family: var(--font-family-alfasans);
81
89
  }
82
- .typography__primary-medium_18u95.typography__bold_18u95 {
90
+ .typography__primary-medium_imgoa.typography__bold_imgoa {
83
91
  font-weight: 700;
92
+ letter-spacing: 0.43px;
84
93
  }
85
- .typography__primary-medium_18u95.typography__medium_18u95 {
94
+ .typography__primary-medium_imgoa.typography__medium_imgoa {
86
95
  font-weight: 500;
96
+ letter-spacing: -0.05px;
87
97
  }
88
- .typography__primary-small_18u95 {
98
+ .typography__primary-small_imgoa {
89
99
  font-size: 14px;
90
100
  line-height: 20px;
91
101
  font-weight: 400;
92
- font-family: var(--font-family-system);
102
+ letter-spacing: -0.08px;
103
+ font-family: var(--font-family-alfasans);
93
104
  }
94
- .typography__primary-small_18u95.typography__bold_18u95 {
105
+ .typography__primary-small_imgoa.typography__bold_imgoa {
95
106
  font-weight: 700;
107
+ letter-spacing: 0.47px;
96
108
  }
97
- .typography__primary-small_18u95.typography__medium_18u95 {
109
+ .typography__primary-small_imgoa.typography__medium_imgoa {
98
110
  font-weight: 500;
111
+ letter-spacing: 0.07px;
99
112
  }
100
- .typography__component-primary_18u95 {
113
+ .typography__component-primary_imgoa {
101
114
  font-size: 16px;
102
115
  line-height: 20px;
103
116
  font-weight: 400;
104
- font-family: var(--font-family-system);
117
+ letter-spacing: -0.24px;
118
+ font-family: var(--font-family-alfasans);
105
119
  }
106
- .typography__component-primary_18u95.typography__bold_18u95 {
120
+ .typography__component-primary_imgoa.typography__bold_imgoa {
107
121
  font-weight: 700;
122
+ letter-spacing: 0.43px;
108
123
  }
109
- .typography__component-primary_18u95.typography__medium_18u95 {
124
+ .typography__component-primary_imgoa.typography__medium_imgoa {
110
125
  font-weight: 500;
126
+ letter-spacing: -0.05px;
111
127
  }
112
- .typography__secondary-large_18u95 {
128
+ .typography__secondary-large_imgoa {
113
129
  font-size: 13px;
114
130
  line-height: 16px;
115
131
  font-weight: 400;
116
- font-family: var(--font-family-system);
132
+ font-family: var(--font-family-alfasans);
117
133
  }
118
- .typography__secondary-large_18u95.typography__bold_18u95 {
134
+ .typography__secondary-large_imgoa.typography__bold_imgoa {
119
135
  font-weight: 700;
136
+ letter-spacing: 0.54px;
120
137
  }
121
- .typography__secondary-large_18u95.typography__medium_18u95 {
138
+ .typography__secondary-large_imgoa.typography__medium_imgoa {
122
139
  font-weight: 500;
140
+ letter-spacing: 0.13px;
123
141
  }
124
- .typography__secondary-medium_18u95 {
142
+ .typography__secondary-medium_imgoa {
125
143
  font-size: 12px;
126
144
  line-height: 16px;
127
145
  font-weight: 400;
128
- font-family: var(--font-family-system);
146
+ letter-spacing: 0.06px;
147
+ font-family: var(--font-family-alfasans);
129
148
  }
130
- .typography__secondary-medium_18u95.typography__bold_18u95 {
149
+ .typography__secondary-medium_imgoa.typography__bold_imgoa {
131
150
  font-weight: 700;
151
+ letter-spacing: 0.57px;
132
152
  }
133
- .typography__secondary-medium_18u95.typography__medium_18u95 {
153
+ .typography__secondary-medium_imgoa.typography__medium_imgoa {
134
154
  font-weight: 500;
155
+ letter-spacing: 0.19px;
135
156
  }
136
- .typography__secondary-small_18u95 {
157
+ .typography__secondary-small_imgoa {
137
158
  font-size: 11px;
138
159
  line-height: 16px;
139
160
  font-weight: 400;
140
- font-family: var(--font-family-system);
161
+ letter-spacing: 0.15px;
162
+ font-family: var(--font-family-alfasans);
141
163
  }
142
- .typography__secondary-small_18u95.typography__bold_18u95 {
164
+ .typography__secondary-small_imgoa.typography__bold_imgoa {
143
165
  font-weight: 700;
166
+ letter-spacing: 0.54px;
144
167
  }
145
- .typography__secondary-small_18u95.typography__medium_18u95 {
168
+ .typography__secondary-small_imgoa.typography__medium_imgoa {
146
169
  font-weight: 500;
170
+ letter-spacing: 0.24px;
147
171
  }
148
- .typography__component-secondary_18u95 {
172
+ .typography__component-secondary_imgoa {
149
173
  font-size: 14px;
150
174
  line-height: 18px;
151
175
  font-weight: 400;
152
- font-family: var(--font-family-system);
176
+ letter-spacing: -0.08px;
177
+ font-family: var(--font-family-alfasans);
153
178
  }
154
- .typography__component-secondary_18u95.typography__bold_18u95 {
179
+ .typography__component-secondary_imgoa.typography__bold_imgoa {
155
180
  font-weight: 700;
181
+ letter-spacing: 0.47px;
156
182
  }
157
- .typography__component-secondary_18u95.typography__medium_18u95 {
183
+ .typography__component-secondary_imgoa.typography__medium_imgoa {
158
184
  font-weight: 500;
185
+ letter-spacing: 0.07px;
159
186
  }
160
- .typography__rowLimit1_18u95 {
187
+ .typography__rowLimit1_imgoa {
161
188
  -webkit-line-clamp: 1;
162
189
  display: -webkit-box;
163
190
  -webkit-box-orient: vertical;
164
191
  overflow: hidden;
165
192
  word-break: break-all;
166
193
  }
167
- .typography__rowLimit2_18u95 {
194
+ .typography__rowLimit2_imgoa {
168
195
  -webkit-line-clamp: 2;
169
196
  display: -webkit-box;
170
197
  -webkit-box-orient: vertical;
171
198
  overflow: hidden;
172
199
  }
173
- .typography__rowLimit3_18u95 {
200
+ .typography__rowLimit3_imgoa {
174
201
  -webkit-line-clamp: 3;
175
202
  display: -webkit-box;
176
203
  -webkit-box-orient: vertical;
177
204
  overflow: hidden;
178
205
  }
179
- .typography__monospace_18u95 {
206
+ .typography__monospace_imgoa {
180
207
  font-feature-settings: "tnum";
181
208
  font-variant-numeric: tabular-nums;
182
209
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"transparent":"typography__transparent_18u95","paragraph":"typography__paragraph_18u95","paragraphWithMargins":"typography__paragraphWithMargins_18u95","component":"typography__component_18u95","bold":"typography__bold_18u95","medium":"typography__medium_18u95","caps":"typography__caps_18u95","tagline":"typography__tagline_18u95","primary-large":"typography__primary-large_18u95","primary-medium":"typography__primary-medium_18u95","primary-small":"typography__primary-small_18u95","component-primary":"typography__component-primary_18u95","secondary-large":"typography__secondary-large_18u95","secondary-medium":"typography__secondary-medium_18u95","secondary-small":"typography__secondary-small_18u95","component-secondary":"typography__component-secondary_18u95","rowLimit1":"typography__rowLimit1_18u95","rowLimit2":"typography__rowLimit2_18u95","rowLimit3":"typography__rowLimit3_18u95","monospace":"typography__monospace_18u95"};
3
+ const styles = {"transparent":"typography__transparent_imgoa","paragraph":"typography__paragraph_imgoa","paragraphWithMargins":"typography__paragraphWithMargins_imgoa","component":"typography__component_imgoa","bold":"typography__bold_imgoa","medium":"typography__medium_imgoa","caps":"typography__caps_imgoa","tagline":"typography__tagline_imgoa","primary-large":"typography__primary-large_imgoa","primary-medium":"typography__primary-medium_imgoa","primary-small":"typography__primary-small_imgoa","component-primary":"typography__component-primary_imgoa","secondary-large":"typography__secondary-large_imgoa","secondary-medium":"typography__secondary-medium_imgoa","secondary-small":"typography__secondary-small_imgoa","component-secondary":"typography__component-secondary_imgoa","rowLimit1":"typography__rowLimit1_imgoa","rowLimit2":"typography__rowLimit2_imgoa","rowLimit3":"typography__rowLimit3_imgoa","monospace":"typography__monospace_imgoa"};
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_ohqgr {
4
+ .typography__transparent_g55ul {
5
5
  opacity: 0;
6
6
  }
7
- .typography__component_ohqgr {
7
+ .typography__component_g55ul {
8
8
  margin: var(--gap-0);
9
9
  padding: var(--gap-0);
10
10
  }
11
- .typography__rowLimit1_ohqgr {
11
+ .typography__rowLimit1_g55ul {
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_ohqgr {
18
+ .typography__rowLimit2_g55ul {
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_ohqgr {
24
+ .typography__rowLimit3_g55ul {
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_ohqgr","component":"typography__component_ohqgr","rowLimit1":"typography__rowLimit1_ohqgr","rowLimit2":"typography__rowLimit2_ohqgr","rowLimit3":"typography__rowLimit3_ohqgr"};
3
+ const commonStyles = {"transparent":"typography__transparent_g55ul","component":"typography__component_g55ul","rowLimit1":"typography__rowLimit1_g55ul","rowLimit2":"typography__rowLimit2_g55ul","rowLimit3":"typography__rowLimit3_g55ul"};
4
4
 
5
5
  export { commonStyles as default };
6
6
  //# sourceMappingURL=common.module.css.js.map
@@ -24,10 +24,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
24
24
  *
25
25
  * @deprecated
26
26
  */
27
- font?: 'styrene' | 'system' | 'alfasans' | {
28
- font: 'alfasans';
29
- systemCompat: boolean;
30
- };
27
+ font?: 'styrene' | 'system';
31
28
  /**
32
29
  * Добавляет отступы
33
30
  */
@@ -90,10 +87,7 @@ export declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps
90
87
  *
91
88
  * @deprecated
92
89
  */
93
- font?: "styrene" | "system" | "alfasans" | {
94
- font: "alfasans";
95
- systemCompat: boolean;
96
- };
90
+ font?: "styrene" | "system";
97
91
  /**
98
92
  * Добавляет отступы
99
93
  */
@@ -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 * @deprecated\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":";;;;;;;;;AA8FO,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 * @deprecated\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":";;;;;;;AA2Fa,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;;;;"}
@@ -10,143 +10,92 @@
10
10
  --gap-48: var(--gap-4xl);
11
11
  }
12
12
  :root {
13
- --font-family-system:
14
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
15
- --font-family-styrene:
16
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
17
- sans-serif;
13
+ --font-family-alfasans:
14
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
15
+ Helvetica, sans-serif;
18
16
  }
19
- .typography__xlarge_1tl4g {
17
+ .typography__xlarge_1r5ea {
20
18
  font-size: 48px;
21
19
  line-height: 52px;
22
20
  font-weight: 700;
23
- font-family: var(--font-family-system);
21
+ letter-spacing: 0.1px;
22
+ font-family: var(--font-family-alfasans);
24
23
  }
25
- .typography__xlarge_1tl4g.typography__font_1tl4g {
26
- line-height: 64px;
27
- font-weight: 500;
28
- font-feature-settings: 'ss01';
29
- font-family: var(--font-family-styrene);
30
- }
31
- .typography__regular-xlarge_1tl4g {
24
+ .typography__regular-xlarge_1r5ea {
32
25
  font-size: 48px;
33
26
  line-height: 52px;
34
27
  font-weight: 400;
35
- font-family: var(--font-family-system);
28
+ letter-spacing: -2.1px;
29
+ font-family: var(--font-family-alfasans);
36
30
  }
37
- .typography__regular-xlarge_1tl4g.typography__font_1tl4g {
38
- line-height: 64px;
39
- font-feature-settings: 'ss01';
40
- font-family: var(--font-family-styrene);
41
- }
42
- .typography__large_1tl4g {
31
+ .typography__large_1r5ea {
43
32
  font-size: 40px;
44
33
  line-height: 48px;
45
34
  font-weight: 700;
46
- font-family: var(--font-family-system);
35
+ letter-spacing: 0.1px;
36
+ font-family: var(--font-family-alfasans);
47
37
  }
48
- .typography__large_1tl4g.typography__font_1tl4g {
49
- font-weight: 500;
50
- font-feature-settings: 'ss01';
51
- font-family: var(--font-family-styrene);
52
- }
53
- .typography__regular-large_1tl4g {
38
+ .typography__regular-large_1r5ea {
54
39
  font-size: 40px;
55
40
  line-height: 48px;
56
41
  font-weight: 400;
57
- font-family: var(--font-family-system);
42
+ letter-spacing: -1.7px;
43
+ font-family: var(--font-family-alfasans);
58
44
  }
59
- .typography__regular-large_1tl4g.typography__font_1tl4g {
60
- font-feature-settings: 'ss01';
61
- font-family: var(--font-family-styrene);
62
- }
63
- .typography__medium_1tl4g {
45
+ .typography__medium_1r5ea {
64
46
  font-size: 30px;
65
47
  line-height: 36px;
66
48
  font-weight: 700;
67
- font-family: var(--font-family-system);
49
+ letter-spacing: 0.1px;
50
+ font-family: var(--font-family-alfasans);
68
51
  }
69
- .typography__medium_1tl4g.typography__font_1tl4g {
70
- font-size: 32px;
71
- line-height: 40px;
72
- font-weight: 500;
73
- font-feature-settings: 'ss01';
74
- font-family: var(--font-family-styrene);
75
- }
76
- .typography__regular-medium_1tl4g {
52
+ .typography__regular-medium_1r5ea {
77
53
  font-size: 30px;
78
54
  line-height: 36px;
79
55
  font-weight: 400;
80
- font-family: var(--font-family-system);
56
+ letter-spacing: -1.25px;
57
+ font-family: var(--font-family-alfasans);
81
58
  }
82
- .typography__regular-medium_1tl4g.typography__font_1tl4g {
83
- font-size: 32px;
84
- line-height: 40px;
85
- font-feature-settings: 'ss01';
86
- font-family: var(--font-family-styrene);
87
- }
88
- .typography__small_1tl4g {
59
+ .typography__small_1r5ea {
89
60
  font-size: 22px;
90
61
  line-height: 26px;
91
62
  font-weight: 700;
92
- font-family: var(--font-family-system);
63
+ letter-spacing: 0.2px;
64
+ font-family: var(--font-family-alfasans);
93
65
  }
94
- .typography__small_1tl4g.typography__font_1tl4g {
95
- font-size: 24px;
96
- line-height: 32px;
97
- font-weight: 500;
98
- font-feature-settings: 'ss01';
99
- font-family: var(--font-family-styrene);
100
- }
101
- .typography__regular-small_1tl4g {
66
+ .typography__regular-small_1r5ea {
102
67
  font-size: 22px;
103
68
  line-height: 26px;
104
69
  font-weight: 400;
105
- font-family: var(--font-family-system);
70
+ letter-spacing: -0.8px;
71
+ font-family: var(--font-family-alfasans);
106
72
  }
107
- .typography__regular-small_1tl4g.typography__font_1tl4g {
108
- font-size: 24px;
109
- line-height: 32px;
110
- font-feature-settings: 'ss01';
111
- font-family: var(--font-family-styrene);
112
- }
113
- .typography__xsmall_1tl4g {
73
+ .typography__xsmall_1r5ea {
114
74
  font-size: 18px;
115
75
  line-height: 22px;
116
76
  font-weight: 700;
117
- font-family: var(--font-family-system);
77
+ letter-spacing: 0.38px;
78
+ font-family: var(--font-family-alfasans);
118
79
  }
119
- .typography__xsmall_1tl4g.typography__font_1tl4g {
120
- font-size: 20px;
121
- line-height: 24px;
122
- font-weight: 500;
123
- font-feature-settings: 'ss01';
124
- font-family: var(--font-family-styrene);
125
- }
126
- .typography__regular-xsmall_1tl4g {
80
+ .typography__regular-xsmall_1r5ea {
127
81
  font-size: 18px;
128
82
  line-height: 22px;
129
83
  font-weight: 400;
130
- font-family: var(--font-family-system);
84
+ letter-spacing: -0.36px;
85
+ font-family: var(--font-family-alfasans);
131
86
  }
132
- .typography__regular-xsmall_1tl4g.typography__font_1tl4g {
133
- font-size: 20px;
134
- line-height: 24px;
135
- font-feature-settings: 'ss01';
136
- font-family: var(--font-family-styrene);
137
- }
138
- .typography__component_1tl4g.typography__margins-xlarge_1tl4g {
87
+ .typography__component_1r5ea.typography__margins-xlarge_1r5ea {
139
88
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
140
89
  }
141
- .typography__component_1tl4g.typography__margins-large_1tl4g {
90
+ .typography__component_1r5ea.typography__margins-large_1r5ea {
142
91
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
143
92
  }
144
- .typography__component_1tl4g.typography__margins-medium_1tl4g {
93
+ .typography__component_1r5ea.typography__margins-medium_1r5ea {
145
94
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
146
95
  }
147
- .typography__component_1tl4g.typography__margins-small_1tl4g {
96
+ .typography__component_1r5ea.typography__margins-small_1r5ea {
148
97
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
149
98
  }
150
- .typography__component_1tl4g.typography__margins-xsmall_1tl4g {
99
+ .typography__component_1r5ea.typography__margins-xsmall_1r5ea {
151
100
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
152
101
  }
@@ -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_1tl4g","font":"typography__font_1tl4g","regular-xlarge":"typography__regular-xlarge_1tl4g","large":"typography__large_1tl4g","regular-large":"typography__regular-large_1tl4g","medium":"typography__medium_1tl4g","regular-medium":"typography__regular-medium_1tl4g","small":"typography__small_1tl4g","regular-small":"typography__regular-small_1tl4g","xsmall":"typography__xsmall_1tl4g","regular-xsmall":"typography__regular-xsmall_1tl4g","component":"typography__component_1tl4g","margins-xlarge":"typography__margins-xlarge_1tl4g","margins-large":"typography__margins-large_1tl4g","margins-medium":"typography__margins-medium_1tl4g","margins-small":"typography__margins-small_1tl4g","margins-xsmall":"typography__margins-xsmall_1tl4g"};
3
+ const styles = {"xlarge":"typography__xlarge_1r5ea","regular-xlarge":"typography__regular-xlarge_1r5ea","large":"typography__large_1r5ea","regular-large":"typography__regular-large_1r5ea","medium":"typography__medium_1r5ea","regular-medium":"typography__regular-medium_1r5ea","small":"typography__small_1r5ea","regular-small":"typography__regular-small_1r5ea","xsmall":"typography__xsmall_1r5ea","regular-xsmall":"typography__regular-xsmall_1r5ea","component":"typography__component_1r5ea","margins-xlarge":"typography__margins-xlarge_1r5ea","margins-large":"typography__margins-large_1r5ea","margins-medium":"typography__margins-medium_1r5ea","margins-small":"typography__margins-small_1r5ea","margins-xsmall":"typography__margins-xsmall_1r5ea"};
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;