@alfalab/core-components-typography 6.0.14 → 6.0.15-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 (143) hide show
  1. package/colors.css +20 -20
  2. package/colors.js.map +1 -1
  3. package/colors.module.css.js +1 -1
  4. package/colors.module.css.js.map +1 -1
  5. package/component.js +8 -8
  6. package/component.js.map +1 -1
  7. package/cssm/colors.js.map +1 -1
  8. package/cssm/component.js +8 -8
  9. package/cssm/component.js.map +1 -1
  10. package/cssm/index.js +8 -8
  11. package/cssm/presets.js.map +1 -1
  12. package/cssm/text/component.js.map +1 -1
  13. package/cssm/text/index.module.css +40 -13
  14. package/cssm/title/component.d.ts +2 -8
  15. package/cssm/title/component.js +3 -6
  16. package/cssm/title/component.js.map +1 -1
  17. package/cssm/title/index.d.ts +1 -4
  18. package/cssm/title/index.js.map +1 -1
  19. package/cssm/title/index.module.css +23 -74
  20. package/cssm/title-mobile/component.d.ts +1 -4
  21. package/cssm/title-mobile/component.js.map +1 -1
  22. package/cssm/title-mobile/index.module.css +28 -45
  23. package/cssm/title-responsive/component.d.ts +1 -4
  24. package/cssm/title-responsive/component.js.map +1 -1
  25. package/esm/colors.css +20 -20
  26. package/esm/colors.js.map +1 -1
  27. package/esm/colors.module.css.js +1 -1
  28. package/esm/colors.module.css.js.map +1 -1
  29. package/esm/component.js.map +1 -1
  30. package/esm/index.js +1 -1
  31. package/esm/presets.js.map +1 -1
  32. package/esm/text/component.js.map +1 -1
  33. package/esm/text/index.css +82 -55
  34. package/esm/text/index.module.css.js +1 -1
  35. package/esm/text/index.module.css.js.map +1 -1
  36. package/esm/title/common.css +7 -7
  37. package/esm/title/common.module.css.js +1 -1
  38. package/esm/title/common.module.css.js.map +1 -1
  39. package/esm/title/component.d.ts +2 -8
  40. package/esm/title/component.js +2 -5
  41. package/esm/title/component.js.map +1 -1
  42. package/esm/title/index.css +38 -89
  43. package/esm/title/index.d.ts +1 -4
  44. package/esm/title/index.js.map +1 -1
  45. package/esm/title/index.module.css.js +1 -1
  46. package/esm/title/index.module.css.js.map +1 -1
  47. package/esm/title-mobile/component.d.ts +1 -4
  48. package/esm/title-mobile/component.js.map +1 -1
  49. package/esm/title-mobile/index.css +53 -70
  50. package/esm/title-mobile/index.module.css.js +1 -1
  51. package/esm/title-mobile/index.module.css.js.map +1 -1
  52. package/esm/title-responsive/component.d.ts +1 -4
  53. package/esm/title-responsive/component.js.map +1 -1
  54. package/index.js +8 -8
  55. package/modern/colors.css +20 -20
  56. package/modern/colors.js.map +1 -1
  57. package/modern/colors.module.css.js +1 -1
  58. package/modern/colors.module.css.js.map +1 -1
  59. package/modern/component.js.map +1 -1
  60. package/modern/index.js +1 -1
  61. package/modern/presets.js.map +1 -1
  62. package/modern/text/component.js.map +1 -1
  63. package/modern/text/index.css +82 -55
  64. package/modern/text/index.module.css.js +1 -1
  65. package/modern/text/index.module.css.js.map +1 -1
  66. package/modern/title/common.css +7 -7
  67. package/modern/title/common.module.css.js +1 -1
  68. package/modern/title/common.module.css.js.map +1 -1
  69. package/modern/title/component.d.ts +2 -8
  70. package/modern/title/component.js +1 -4
  71. package/modern/title/component.js.map +1 -1
  72. package/modern/title/index.css +38 -89
  73. package/modern/title/index.d.ts +1 -4
  74. package/modern/title/index.js.map +1 -1
  75. package/modern/title/index.module.css.js +1 -1
  76. package/modern/title/index.module.css.js.map +1 -1
  77. package/modern/title-mobile/component.d.ts +1 -4
  78. package/modern/title-mobile/component.js.map +1 -1
  79. package/modern/title-mobile/index.css +53 -70
  80. package/modern/title-mobile/index.module.css.js +1 -1
  81. package/modern/title-mobile/index.module.css.js.map +1 -1
  82. package/modern/title-responsive/component.d.ts +1 -4
  83. package/modern/title-responsive/component.js.map +1 -1
  84. package/moderncssm/colors.js.map +1 -1
  85. package/moderncssm/component.js.map +1 -1
  86. package/moderncssm/index.js +1 -1
  87. package/moderncssm/presets.js.map +1 -1
  88. package/moderncssm/text/component.js.map +1 -1
  89. package/moderncssm/text/index.module.css +37 -11
  90. package/moderncssm/title/component.d.ts +2 -8
  91. package/moderncssm/title/component.js +1 -4
  92. package/moderncssm/title/component.js.map +1 -1
  93. package/moderncssm/title/index.d.ts +1 -4
  94. package/moderncssm/title/index.js.map +1 -1
  95. package/moderncssm/title/index.module.css +20 -79
  96. package/moderncssm/title-mobile/component.d.ts +1 -4
  97. package/moderncssm/title-mobile/component.js.map +1 -1
  98. package/moderncssm/title-mobile/index.module.css +25 -40
  99. package/moderncssm/title-responsive/component.d.ts +1 -4
  100. package/moderncssm/title-responsive/component.js.map +1 -1
  101. package/package.json +6 -6
  102. package/presets.js.map +1 -1
  103. package/src/text/index.module.css +5 -4
  104. package/src/title/component.tsx +3 -8
  105. package/src/title/index.module.css +0 -8
  106. package/text/component.js.map +1 -1
  107. package/text/index.css +82 -55
  108. package/text/index.module.css.js +1 -1
  109. package/text/index.module.css.js.map +1 -1
  110. package/title/common.css +7 -7
  111. package/title/common.module.css.js +1 -1
  112. package/title/common.module.css.js.map +1 -1
  113. package/title/component.d.ts +2 -8
  114. package/title/component.js +2 -5
  115. package/title/component.js.map +1 -1
  116. package/title/index.css +38 -89
  117. package/title/index.d.ts +1 -4
  118. package/title/index.js.map +1 -1
  119. package/title/index.module.css.js +1 -1
  120. package/title/index.module.css.js.map +1 -1
  121. package/title-mobile/component.d.ts +1 -4
  122. package/title-mobile/component.js.map +1 -1
  123. package/title-mobile/index.css +53 -70
  124. package/title-mobile/index.module.css.js +1 -1
  125. package/title-mobile/index.module.css.js.map +1 -1
  126. package/title-responsive/component.d.ts +1 -4
  127. package/title-responsive/component.js.map +1 -1
  128. package/cssm/title/utils.d.ts +0 -1
  129. package/cssm/title/utils.js +0 -16
  130. package/cssm/title/utils.js.map +0 -1
  131. package/esm/title/utils.d.ts +0 -1
  132. package/esm/title/utils.js +0 -12
  133. package/esm/title/utils.js.map +0 -1
  134. package/modern/title/utils.d.ts +0 -1
  135. package/modern/title/utils.js +0 -12
  136. package/modern/title/utils.js.map +0 -1
  137. package/moderncssm/title/utils.d.ts +0 -1
  138. package/moderncssm/title/utils.js +0 -12
  139. package/moderncssm/title/utils.js.map +0 -1
  140. package/src/title/utils.ts +0 -14
  141. package/title/utils.d.ts +0 -1
  142. package/title/utils.js +0 -16
  143. package/title/utils.js.map +0 -1
@@ -3,141 +3,82 @@
3
3
  font-size: 48px;
4
4
  line-height: 52px;
5
5
  font-weight: 700;
6
- font-family: var(--font-family-system);
6
+ letter-spacing: 0.1px;
7
+ font-family: var(--font-family-alfasans);
7
8
  }
8
9
 
9
- .xlarge.font {
10
- line-height: 64px;
11
- font-weight: 500;
12
- font-feature-settings: 'ss01';
13
- font-family: var(--font-family-styrene);
14
- }
15
-
16
10
  .regular-xlarge {
17
11
  font-size: 48px;
18
12
  line-height: 52px;
19
13
  font-weight: 400;
20
- font-family: var(--font-family-system);
14
+ letter-spacing: -2.1px;
15
+ font-family: var(--font-family-alfasans);
21
16
  }
22
17
 
23
- .regular-xlarge.font {
24
- line-height: 64px;
25
- font-feature-settings: 'ss01';
26
- font-family: var(--font-family-styrene);
27
- }
28
-
29
18
  .large {
30
19
  font-size: 40px;
31
20
  line-height: 48px;
32
21
  font-weight: 700;
33
- font-family: var(--font-family-system);
22
+ letter-spacing: 0.1px;
23
+ font-family: var(--font-family-alfasans);
34
24
  }
35
25
 
36
- .large.font {
37
- font-weight: 500;
38
- font-feature-settings: 'ss01';
39
- font-family: var(--font-family-styrene);
40
- }
41
-
42
26
  .regular-large {
43
27
  font-size: 40px;
44
28
  line-height: 48px;
45
29
  font-weight: 400;
46
- font-family: var(--font-family-system);
30
+ letter-spacing: -1.7px;
31
+ font-family: var(--font-family-alfasans);
47
32
  }
48
33
 
49
- .regular-large.font {
50
- font-feature-settings: 'ss01';
51
- font-family: var(--font-family-styrene);
52
- }
53
-
54
34
  .medium {
55
35
  font-size: 30px;
56
36
  line-height: 36px;
57
37
  font-weight: 700;
58
- font-family: var(--font-family-system);
38
+ letter-spacing: 0.1px;
39
+ font-family: var(--font-family-alfasans);
59
40
  }
60
41
 
61
- .medium.font {
62
- font-size: 32px;
63
- line-height: 40px;
64
- font-weight: 500;
65
- font-feature-settings: 'ss01';
66
- font-family: var(--font-family-styrene);
67
- }
68
-
69
42
  .regular-medium {
70
43
  font-size: 30px;
71
44
  line-height: 36px;
72
45
  font-weight: 400;
73
- font-family: var(--font-family-system);
46
+ letter-spacing: -1.25px;
47
+ font-family: var(--font-family-alfasans);
74
48
  }
75
49
 
76
- .regular-medium.font {
77
- font-size: 32px;
78
- line-height: 40px;
79
- font-feature-settings: 'ss01';
80
- font-family: var(--font-family-styrene);
81
- }
82
-
83
50
  .small {
84
51
  font-size: 22px;
85
52
  line-height: 26px;
86
53
  font-weight: 700;
87
- font-family: var(--font-family-system);
54
+ letter-spacing: 0.2px;
55
+ font-family: var(--font-family-alfasans);
88
56
  }
89
57
 
90
- .small.font {
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
-
98
58
  .regular-small {
99
59
  font-size: 22px;
100
60
  line-height: 26px;
101
61
  font-weight: 400;
102
- font-family: var(--font-family-system);
62
+ letter-spacing: -0.8px;
63
+ font-family: var(--font-family-alfasans);
103
64
  }
104
65
 
105
- .regular-small.font {
106
- font-size: 24px;
107
- line-height: 32px;
108
- font-feature-settings: 'ss01';
109
- font-family: var(--font-family-styrene);
110
- }
111
-
112
66
  .xsmall {
113
67
  font-size: 18px;
114
68
  line-height: 22px;
115
69
  font-weight: 700;
116
- font-family: var(--font-family-system);
70
+ letter-spacing: 0.38px;
71
+ font-family: var(--font-family-alfasans);
117
72
  }
118
73
 
119
- .xsmall.font {
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
-
127
74
  .regular-xsmall {
128
75
  font-size: 18px;
129
76
  line-height: 22px;
130
77
  font-weight: 400;
131
- font-family: var(--font-family-system);
78
+ letter-spacing: -0.36px;
79
+ font-family: var(--font-family-alfasans);
132
80
  }
133
81
 
134
- .regular-xsmall.font {
135
- font-size: 20px;
136
- line-height: 24px;
137
- font-feature-settings: 'ss01';
138
- font-family: var(--font-family-styrene);
139
- }
140
-
141
82
  .component.margins-xlarge {
142
83
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
143
84
  }
@@ -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;
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sources":["../../src/title-mobile/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, type TitleProps } from '../title/component';\n\nimport styles from './index.module.css';\n\nexport const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(\n (props, ref) => <TitleBase {...props} styles={styles} ref={ref} platform='mobile' />,\n);\n"],"names":[],"mappings":";;;;AAMO,MAAM,WAAW,GAAG,UAAU,CACjC,CAAC,KAAK,EAAE,GAAG,KAAK,KAAC,CAAA,aAAA,CAAA,SAAS,EAAK,EAAA,GAAA,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,QAAQ,EAAA,CAAG;;;;"}
1
+ {"version":3,"file":"component.js","sources":["../../src/title-mobile/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, type TitleProps } from '../title/component';\n\nimport styles from './index.module.css';\n\nexport const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(\n (props, ref) => <TitleBase {...props} styles={styles} ref={ref} platform='mobile' />,\n);\n"],"names":[],"mappings":";;;;AAMO,MAAM,WAAW,GAAG,UAAU,CACjC,CAAC,KAAK,EAAE,GAAG,KAAK,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,QAAQ,EAAA,CAAG;;"}
@@ -2,126 +2,111 @@
2
2
  .xlarge {
3
3
  font-size: 34px;
4
4
  line-height: 40px;
5
- font-weight: 600;
6
- font-family: var(--font-family-system);
5
+ font-weight: 500;
6
+ letter-spacing: -0.32px;
7
+ font-family: var(--font-family-alfasans);
7
8
  }
8
9
 
9
10
  .xlarge.font {
10
- font-weight: 500;
11
- font-feature-settings: 'ss01';
12
- font-family: var(--font-family-styrene);
13
11
  }
14
12
 
15
13
  .regular-xlarge {
16
14
  font-size: 34px;
17
15
  line-height: 40px;
18
16
  font-weight: 400;
19
- font-family: var(--font-family-system);
17
+ letter-spacing: -1.36px;
18
+ font-family: var(--font-family-alfasans);
20
19
  }
21
20
 
22
21
  .regular-xlarge.system {
23
- font-feature-settings: 'ss01';
24
- font-family: var(--font-family-styrene);
25
22
  }
26
23
 
27
24
  .large {
28
25
  font-size: 30px;
29
26
  line-height: 36px;
30
- font-weight: 600;
31
- font-family: var(--font-family-system);
27
+ font-weight: 500;
28
+ letter-spacing: -0.25px;
29
+ font-family: var(--font-family-alfasans);
32
30
  }
33
31
 
34
32
  .large.font {
35
- font-weight: 500;
36
- font-feature-settings: 'ss01';
37
- font-family: var(--font-family-styrene);
38
33
  }
39
34
 
40
35
  .regular-large {
41
36
  font-size: 30px;
42
37
  line-height: 36px;
43
38
  font-weight: 400;
44
- font-family: var(--font-family-system);
39
+ letter-spacing: -1.25px;
40
+ font-family: var(--font-family-alfasans);
45
41
  }
46
42
 
47
43
  .regular-large.system {
48
- font-feature-settings: 'ss01';
49
- font-family: var(--font-family-styrene);
50
44
  }
51
45
 
52
46
  .medium {
53
47
  font-size: 26px;
54
48
  line-height: 32px;
55
- font-weight: 600;
56
- font-family: var(--font-family-system);
49
+ font-weight: 500;
50
+ letter-spacing: -0.25px;
51
+ font-family: var(--font-family-alfasans);
57
52
  }
58
53
 
59
54
  .medium.font {
60
- font-weight: 500;
61
- font-feature-settings: 'ss01';
62
- font-family: var(--font-family-styrene);
63
55
  }
64
56
 
65
57
  .regular-medium {
66
58
  font-size: 26px;
67
59
  line-height: 32px;
68
60
  font-weight: 400;
69
- font-family: var(--font-family-system);
61
+ letter-spacing: -1px;
62
+ font-family: var(--font-family-alfasans);
70
63
  }
71
64
 
72
65
  .regular-medium.system {
73
- font-feature-settings: 'ss01';
74
- font-family: var(--font-family-styrene);
75
66
  }
76
67
 
77
68
  .small {
78
69
  font-size: 20px;
79
70
  line-height: 28px;
80
- font-weight: 600;
81
- font-family: var(--font-family-system);
71
+ font-weight: 500;
72
+ letter-spacing: -0.15px;
73
+ font-family: var(--font-family-alfasans);
82
74
  }
83
75
 
84
76
  .small.font {
85
- font-weight: 500;
86
- font-feature-settings: 'ss01';
87
- font-family: var(--font-family-styrene);
88
77
  }
89
78
 
90
79
  .regular-small {
91
80
  font-size: 20px;
92
81
  line-height: 28px;
93
82
  font-weight: 400;
94
- font-family: var(--font-family-system);
83
+ letter-spacing: -0.68px;
84
+ font-family: var(--font-family-alfasans);
95
85
  }
96
86
 
97
87
  .regular-small.system {
98
- font-feature-settings: 'ss01';
99
- font-family: var(--font-family-styrene);
100
88
  }
101
89
 
102
90
  .xsmall {
103
91
  font-size: 16px;
104
92
  line-height: 20px;
105
- font-weight: 600;
106
- font-family: var(--font-family-system);
93
+ font-weight: 500;
94
+ letter-spacing: 0.17px;
95
+ font-family: var(--font-family-alfasans);
107
96
  }
108
97
 
109
98
  .xsmall.font {
110
- font-weight: 500;
111
- font-feature-settings: 'ss01';
112
- font-family: var(--font-family-styrene);
113
99
  }
114
100
 
115
101
  .regular-xsmall {
116
102
  font-size: 16px;
117
103
  line-height: 20px;
118
104
  font-weight: 400;
119
- font-family: var(--font-family-system);
105
+ letter-spacing: -0.24px;
106
+ font-family: var(--font-family-alfasans);
120
107
  }
121
108
 
122
109
  .regular-xsmall.system {
123
- font-feature-settings: 'ss01';
124
- font-family: var(--font-family-styrene);
125
110
  }
126
111
 
127
112
  .component.margins-xlarge {
@@ -16,10 +16,7 @@ export declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React
16
16
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
17
17
  color?: import("..").Color;
18
18
  weight?: "regular" | "medium" | "bold" | "semibold";
19
- font?: "styrene" | "system" | "alfasans" | {
20
- font: "alfasans";
21
- systemCompat: boolean;
22
- };
19
+ font?: "styrene" | "system";
23
20
  defaultMargins?: boolean;
24
21
  className?: string;
25
22
  dataTestId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sources":["../../src/title-responsive/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { useIsDesktop } from '@alfalab/core-components-mq';\n\nimport { Title, type TitleProps } from '../title';\nimport { TitleMobile } from '../title-mobile';\n\nexport type TitleResponsiveProps = TitleProps & {\n /**\n * Контрольная точка, с нее начинается desktop версия\n * @default 1024\n */\n breakpoint?: number;\n\n /**\n * Версия, которая будет использоваться при серверном рендеринге\n */\n client?: 'desktop' | 'mobile';\n};\n\nexport const TitleResponsive = forwardRef<\n HTMLHeadingElement | HTMLDivElement,\n TitleResponsiveProps\n>(({ breakpoint, client, ...restProps }, ref) => {\n const isDesktop = useIsDesktop(breakpoint, client === 'desktop');\n\n const Component = isDesktop ? Title : TitleMobile;\n\n return <Component {...restProps} ref={ref} />;\n});\n"],"names":[],"mappings":";;;;;AAoBa,MAAA,eAAe,GAAG,UAAU,CAGvC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,EAAE,GAAG,KAAI;IAC5C,MAAM,SAAS,GAAG,YAAY,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,CAAC;IAEhE,MAAM,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,WAAW;IAEjD,OAAO,KAAA,CAAA,aAAA,CAAC,SAAS,EAAK,EAAA,GAAA,SAAS,EAAE,GAAG,EAAE,GAAG,EAAA,CAAI;AACjD,CAAC;;;;"}
1
+ {"version":3,"file":"component.js","sources":["../../src/title-responsive/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { useIsDesktop } from '@alfalab/core-components-mq';\n\nimport { Title, type TitleProps } from '../title';\nimport { TitleMobile } from '../title-mobile';\n\nexport type TitleResponsiveProps = TitleProps & {\n /**\n * Контрольная точка, с нее начинается desktop версия\n * @default 1024\n */\n breakpoint?: number;\n\n /**\n * Версия, которая будет использоваться при серверном рендеринге\n */\n client?: 'desktop' | 'mobile';\n};\n\nexport const TitleResponsive = forwardRef<\n HTMLHeadingElement | HTMLDivElement,\n TitleResponsiveProps\n>(({ breakpoint, client, ...restProps }, ref) => {\n const isDesktop = useIsDesktop(breakpoint, client === 'desktop');\n\n const Component = isDesktop ? Title : TitleMobile;\n\n return <Component {...restProps} ref={ref} />;\n});\n"],"names":[],"mappings":";;;;;AAoBO,MAAM,eAAe,GAAG,UAAU,CAGvC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,EAAE,GAAG,KAAI;IAC5C,MAAM,SAAS,GAAG,YAAY,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,CAAC;IAEhE,MAAM,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,WAAW;IAEjD,OAAO,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAA,CAAI;AACjD,CAAC;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-typography",
3
- "version": "6.0.14",
3
+ "version": "6.0.15-alfasans",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -13,9 +13,9 @@
13
13
  "build": "rollup -c ../../tools/rollup/rollup.config.mjs --silent"
14
14
  },
15
15
  "dependencies": {
16
- "@alfalab/core-components-mq": "^6.0.10",
17
- "@alfalab/core-components-shared": "^2.4.0",
18
- "@alfalab/core-components-skeleton": "^7.0.6",
16
+ "@alfalab/core-components-mq": "6.0.10-alfasans",
17
+ "@alfalab/core-components-shared": "2.4.0-alfasans",
18
+ "@alfalab/core-components-skeleton": "7.0.6-alfasans",
19
19
  "classnames": "^2.5.1",
20
20
  "react-merge-refs": "^1.1.0",
21
21
  "tslib": "^2.4.0"
@@ -28,6 +28,6 @@
28
28
  "access": "public",
29
29
  "directory": "dist"
30
30
  },
31
- "themesVersion": "15.2.1",
32
- "varsVersion": "11.5.0"
31
+ "themesVersion": "15.2.2-alfasans",
32
+ "varsVersion": "11.6.1-alfasans"
33
33
  }
package/presets.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"presets.js","sources":["src/presets.ts"],"sourcesContent":["export const typographyPresets = {\n mobile: {\n list: {\n text: {\n primary: {\n tag: 'div',\n view: 'primary-medium',\n },\n secondary: {\n tag: 'div',\n color: 'secondary',\n view: 'primary-small',\n },\n },\n },\n },\n};\n"],"names":[],"mappings":";;;;AAAa,IAAA,iBAAiB,GAAG;AAC7B,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE;AACF,YAAA,IAAI,EAAE;AACF,gBAAA,OAAO,EAAE;AACL,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA;AACD,gBAAA,SAAS,EAAE;AACP,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,KAAK,EAAE,WAAW;AAClB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA;AACJ,aAAA;AACJ,SAAA;AACJ,KAAA;;;;;"}
1
+ {"version":3,"file":"presets.js","sources":["src/presets.ts"],"sourcesContent":["export const typographyPresets = {\n mobile: {\n list: {\n text: {\n primary: {\n tag: 'div',\n view: 'primary-medium',\n },\n secondary: {\n tag: 'div',\n color: 'secondary',\n view: 'primary-small',\n },\n },\n },\n },\n};\n"],"names":[],"mappings":";;;;AAAO,IAAM,iBAAiB,GAAG;AAC7B,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE;AACF,YAAA,IAAI,EAAE;AACF,gBAAA,OAAO,EAAE;AACL,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA;AACD,gBAAA,SAAS,EAAE;AACP,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,KAAK,EAAE,WAAW;AAClB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA;AACJ,aAAA;AACJ,SAAA;AACJ,KAAA;;;"}
@@ -15,17 +15,18 @@
15
15
  margin: var(--text-paragraph-margin-bottom);
16
16
  }
17
17
 
18
- @each $view in component, caps, tagline {
18
+ /* prettier-ignore */
19
+ @each $view, $token in (component, component_primary), (caps, caps), (tagline, tagline) {
19
20
  .$(view) {
20
- @mixin paragraph_$(view);
21
+ @mixin paragraph_$(token);
21
22
  }
22
23
 
23
24
  .$(view).bold {
24
- @subtract-mixin accent_$(view), paragraph_$(view);
25
+ @subtract-mixin accent_$(token), paragraph_$(token);
25
26
  }
26
27
 
27
28
  .$(view).medium {
28
- @subtract-mixin action_$(view), paragraph_$(view);
29
+ @subtract-mixin action_$(token), paragraph_$(token);
29
30
  }
30
31
  }
31
32
 
@@ -2,13 +2,10 @@ import React, { type ComponentProps, forwardRef, Fragment, type HTMLAttributes }
2
2
  import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
 
5
- import { isObject } from '@alfalab/core-components-shared';
6
5
  import { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';
7
6
 
8
7
  import { type Color } from '../colors';
9
8
 
10
- import { getDefaultWeight } from './utils';
11
-
12
9
  import colors from '../colors.module.css';
13
10
  import commonStyles from './common.module.css';
14
11
 
@@ -38,7 +35,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
38
35
  /**
39
36
  * Шрифт текста
40
37
  */
41
- font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };
38
+ font?: 'styrene' | 'system';
42
39
 
43
40
  /**
44
41
  * Добавляет отступы
@@ -95,9 +92,9 @@ export const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>
95
92
  {
96
93
  tag: Component = 'div',
97
94
  view = 'medium',
98
- font = 'styrene',
95
+ font,
99
96
  platform,
100
- weight = getDefaultWeight(isObject(font) ? font.font : font, platform),
97
+ weight = 'bold',
101
98
  defaultMargins = false,
102
99
  color,
103
100
  className,
@@ -130,8 +127,6 @@ export const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>
130
127
  {
131
128
  [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,
132
129
  [commonStyles.transparent]: showSkeleton,
133
- [styles.font]:
134
- (isObject(font) && !font.systemCompat) || !(font === 'system'),
135
130
  },
136
131
  )}
137
132
  data-test-id={dataTestId}
@@ -4,18 +4,10 @@
4
4
  @each $view in xlarge, large, medium, small, xsmall {
5
5
  .$(view) {
6
6
  @mixin headline-system_$(view);
7
-
8
- &.font {
9
- @subtract-mixin headline_$(view), headline-system_$(view);
10
- }
11
7
  }
12
8
 
13
9
  .regular-$(view) {
14
10
  @mixin promo-system_$(view);
15
-
16
- &.font {
17
- @subtract-mixin promo_$(view), promo-system_$(view);
18
- }
19
11
  }
20
12
  }
21
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sources":["../src/text/component.tsx"],"sourcesContent":["import React, { type ComponentProps, forwardRef, Fragment, 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';\nimport { type TextElementType } from '../types';\n\nimport colors from '../colors.module.css';\nimport styles from './index.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLSpanElement>;\n\ntype TextBaseProps = {\n /**\n * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)\n */\n view?:\n | 'primary-large'\n | 'primary-medium'\n | 'primary-small'\n | 'secondary-large'\n | 'secondary-medium'\n | 'secondary-small'\n | 'component-primary'\n | 'component-secondary'\n | 'caps'\n | 'tagline';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold';\n\n /**\n * Делает цифры моноширинными\n */\n monospaceNumbers?: boolean;\n\n /**\n * HTML тег\n */\n tag?: 'span' | 'div';\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 * Добавляет отступы к тэгу 'p'\n */\n defaultMargins?: never;\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 * Шрифт текста\n *\n * @deprecated\n */\n font?: 'alfasans' | undefined | null;\n};\n\ntype TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {\n tag?: 'p';\n defaultMargins?: boolean;\n};\n\nexport type TextProps = Omit<NativeProps, 'color'> & (TextBaseProps | TextPTagProps);\n\nexport const Text = forwardRef<TextElementType, TextProps>(\n (\n {\n view = 'primary-medium',\n tag: Component = 'span',\n weight,\n monospaceNumbers = false,\n defaultMargins = true,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n showSkeleton,\n skeletonProps,\n font,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n const Root = showSkeleton ? 'div' : Fragment;\n const rootProps: ComponentProps<typeof Root> = showSkeleton\n ? { className: cn(styles.root, className) }\n : {};\n\n return (\n <Root {...rootProps}>\n <Component\n className={cn(\n {\n [styles.paragraph]: Component === 'p' && !defaultMargins,\n [styles.paragraphWithMargins]: Component === 'p' && defaultMargins,\n [styles.monospace]: monospaceNumbers,\n [styles[`rowLimit${rowLimit}`]]: rowLimit,\n [styles.transparent]: showSkeleton,\n },\n !showSkeleton && className,\n color && colors[color],\n styles[view],\n weight && styles[weight],\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n {showSkeleton && (\n <div className={styles.skeleton}>\n {renderSkeleton({\n wrapperClassName: cn({\n [styles.paragraphWithMargins]: Component === 'p' && defaultMargins,\n }),\n dataTestId,\n })}\n </div>\n )}\n </Root>\n );\n },\n);\n"],"names":["forwardRef","__rest","useSkeleton","Fragment","cn","styles","React","__assign","colors","mergeRefs"],"mappings":";;;;;;;;;;;;;;;;;;IAoGa,IAAI,GAAGA,gBAAU,CAC1B,UACI,EAeC,EACD,GAAG,EAAA;;IAfC,IAAA,EAAA,GAAA,EAAA,CAAA,IAAuB,CAAvB,CAAA,IAAI,GAAG,EAAA,KAAA,MAAA,GAAA,gBAAgB,GAAA,EAAA,CAAA,CACvB,EAAuB,GAAA,EAAA,CAAA,GAAA,CAAA,CAAlB,SAAS,GAAA,EAAA,KAAA,MAAA,GAAG,MAAM,GAAA,EAAA,CACvB,CAAA,MAAM,GAAA,EAAA,CAAA,MAAA,CAAA,CACN,EAAwB,GAAA,EAAA,CAAA,gBAAA,CAAA,CAAxB,gBAAgB,GAAA,EAAA,KAAA,MAAA,GAAG,KAAK,GAAA,EAAA,CACxB,CAAA,EAAA,GAAA,EAAA,CAAA,cAAqB,CAArB,CAAA,cAAc,GAAG,EAAA,KAAA,MAAA,GAAA,IAAI,KAAA,CACrB,CAAA,KAAK,GAAA,EAAA,CAAA,KAAA,CAAA,CACL,SAAS,GAAA,EAAA,CAAA,SAAA,CACT,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AA,MAAA,CAAW,QAAQ,CAAE,CAAC,IAAG,QAAQ;AACzC,gBAAA,EAAA,CAACA,YAAM,CAAC,WAAW,CAAA,GAAG,YAAY;AAEtC,gBAAA,EAAA,GAAA,CAAC,YAAY,IAAI,SAAS,EAC1B,KAAK,IAAIG,aAAM,CAAC,KAAK,CAAC,EACtBH,YAAM,CAAC,IAAI,CAAC,EACZ,MAAM,IAAIA,YAAM,CAAC,MAAM,CAAC,CAC3B,EACa,cAAA,EAAA,UAAU,EACxB,GAAG,EAAEI,0BAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAC1B,SAAS,CAAA,EAEZ,QAAQ,CACD;QACX,YAAY,KACTH,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAED,YAAM,CAAC,QAAQ,EAC1B,EAAA,cAAc,CAAC;AACZ,YAAA,gBAAgB,EAAED,mBAAE,EAAA,EAAA,GAAA,EAAA;gBAChB,EAAC,CAAAC,YAAM,CAAC,oBAAoB,CAAA,GAAG,SAAS,KAAK,GAAG,IAAI,cAAc;AACpE,gBAAA,EAAA,EAAA;AACF,YAAA,UAAU,EAAA,UAAA;AACb,SAAA,CAAC,CACA,CACT,CACE;AAEf,CAAC;;;;"}
1
+ {"version":3,"file":"component.js","sources":["../src/text/component.tsx"],"sourcesContent":["import React, { type ComponentProps, forwardRef, Fragment, 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';\nimport { type TextElementType } from '../types';\n\nimport colors from '../colors.module.css';\nimport styles from './index.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLSpanElement>;\n\ntype TextBaseProps = {\n /**\n * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)\n */\n view?:\n | 'primary-large'\n | 'primary-medium'\n | 'primary-small'\n | 'secondary-large'\n | 'secondary-medium'\n | 'secondary-small'\n | 'component-primary'\n | 'component-secondary'\n | 'caps'\n | 'tagline';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold';\n\n /**\n * Делает цифры моноширинными\n */\n monospaceNumbers?: boolean;\n\n /**\n * HTML тег\n */\n tag?: 'span' | 'div';\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 * Добавляет отступы к тэгу 'p'\n */\n defaultMargins?: never;\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 * Шрифт текста\n *\n * @deprecated\n */\n font?: 'alfasans' | undefined | null;\n};\n\ntype TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {\n tag?: 'p';\n defaultMargins?: boolean;\n};\n\nexport type TextProps = Omit<NativeProps, 'color'> & (TextBaseProps | TextPTagProps);\n\nexport const Text = forwardRef<TextElementType, TextProps>(\n (\n {\n view = 'primary-medium',\n tag: Component = 'span',\n weight,\n monospaceNumbers = false,\n defaultMargins = true,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n showSkeleton,\n skeletonProps,\n font,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n const Root = showSkeleton ? 'div' : Fragment;\n const rootProps: ComponentProps<typeof Root> = showSkeleton\n ? { className: cn(styles.root, className) }\n : {};\n\n return (\n <Root {...rootProps}>\n <Component\n className={cn(\n {\n [styles.paragraph]: Component === 'p' && !defaultMargins,\n [styles.paragraphWithMargins]: Component === 'p' && defaultMargins,\n [styles.monospace]: monospaceNumbers,\n [styles[`rowLimit${rowLimit}`]]: rowLimit,\n [styles.transparent]: showSkeleton,\n },\n !showSkeleton && className,\n color && colors[color],\n styles[view],\n weight && styles[weight],\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n {showSkeleton && (\n <div className={styles.skeleton}>\n {renderSkeleton({\n wrapperClassName: cn({\n [styles.paragraphWithMargins]: Component === 'p' && defaultMargins,\n }),\n dataTestId,\n })}\n </div>\n )}\n </Root>\n );\n },\n);\n"],"names":["forwardRef","__rest","useSkeleton","Fragment","cn","styles","React","__assign","colors","mergeRefs"],"mappings":";;;;;;;;;;;;;;;;;;IAoGa,IAAI,GAAGA,gBAAU,CAC1B,UACI,EAeC,EACD,GAAG,EAAA;;IAfC,IAAA,EAAA,GAAA,EAAA,CAAA,IAAuB,CAAA,CAAvB,IAAI,GAAA,EAAA,KAAA,MAAA,GAAG,gBAAgB,GAAA,EAAA,CAAA,CACvB,EAAA,GAAA,EAAA,CAAA,GAAuB,CAAA,CAAlB,SAAS,GAAA,EAAA,KAAA,MAAA,GAAG,MAAM,GAAA,EAAA,CAAA,CACvB,MAAM,GAAA,EAAA,CAAA,MAAA,CAAA,CACN,EAAA,GAAA,EAAA,CAAA,gBAAwB,CAAA,CAAxB,gBAAgB,GAAA,EAAA,KAAA,MAAA,GAAG,KAAK,GAAA,EAAA,CAAA,CACxB,EAAA,GAAA,EAAA,CAAA,cAAqB,CAAA,CAArB,cAAc,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,KAAA,CAAA,CACrB,KAAK,GAAA,EAAA,CAAA,KAAA,CAAA,CACL,SAAS,GAAA,EAAA,CAAA,SAAA,CAAA,CACT,UAAU,GAAA,EAAA,CAAA,UAAA,CAAA,CACV,QAAQ,GAAA,EAAA,CAAA,QAAA,CAAA,CACR,QAAQ,GAAA,EAAA,CAAA,QAAA,CAAA,CACR,YAAY,GAAA,EAAA,CAAA,YAAA,CAAA,CACZ,aAAa,GAAA,EAAA,CAAA,aAAA,CAA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