@alfalab/core-components-typography 4.11.4 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/colors.css +24 -21
  2. package/colors.d.ts +2 -2
  3. package/colors.js +1 -0
  4. package/colors.module-00df0e34.js +6 -0
  5. package/common.module-d8e58b73.js +6 -0
  6. package/cssm/colors.d.ts +2 -2
  7. package/cssm/colors.js +1 -0
  8. package/cssm/colors.module.css +4 -1
  9. package/cssm/hooks/use-skeleton.module.css +1 -1
  10. package/cssm/text/alfasans-index.module.css +115 -0
  11. package/cssm/text/component.d.ts +4 -0
  12. package/cssm/text/component.js +5 -2
  13. package/cssm/text/index.module.css +1 -1
  14. package/cssm/title/alfasans-index.module.css +60 -0
  15. package/cssm/title/common.module.css +1 -1
  16. package/cssm/title/component.d.ts +11 -5
  17. package/cssm/title/component.js +12 -1
  18. package/cssm/title/index.d.ts +5 -2
  19. package/cssm/title/index.js +6 -1
  20. package/cssm/title/index.module.css +1 -1
  21. package/cssm/title/utils.d.ts +1 -1
  22. package/cssm/title/utils.js +1 -1
  23. package/cssm/title-mobile/alfasans-index.module.css +60 -0
  24. package/cssm/title-mobile/component.d.ts +5 -2
  25. package/cssm/title-mobile/component.js +6 -1
  26. package/cssm/title-mobile/index.module.css +1 -1
  27. package/cssm/title-responsive/component.d.ts +5 -2
  28. package/esm/colors.css +24 -21
  29. package/esm/colors.d.ts +2 -2
  30. package/esm/colors.js +1 -0
  31. package/esm/colors.module-98ec8c3d.js +4 -0
  32. package/esm/common.module-65e6c3e1.js +4 -0
  33. package/esm/hooks/use-skeleton.css +6 -6
  34. package/esm/hooks/use-skeleton.js +1 -1
  35. package/esm/text/alfasans-index.css +132 -0
  36. package/esm/text/component.d.ts +4 -0
  37. package/esm/text/component.js +8 -4
  38. package/esm/text/index.css +23 -23
  39. package/esm/title/alfasans-index.css +71 -0
  40. package/esm/title/common.css +10 -10
  41. package/esm/title/component.d.ts +11 -5
  42. package/esm/title/component.js +13 -2
  43. package/esm/title/index.css +18 -18
  44. package/esm/title/index.d.ts +5 -2
  45. package/esm/title/index.js +9 -3
  46. package/esm/title/utils.d.ts +1 -1
  47. package/esm/title/utils.js +1 -1
  48. package/esm/title-mobile/alfasans-index.css +61 -0
  49. package/esm/title-mobile/component.d.ts +5 -2
  50. package/esm/title-mobile/component.js +9 -3
  51. package/esm/title-mobile/index.css +17 -17
  52. package/esm/title-responsive/component.d.ts +5 -2
  53. package/hooks/use-skeleton.css +6 -6
  54. package/hooks/use-skeleton.js +1 -1
  55. package/modern/colors.css +24 -21
  56. package/modern/colors.d.ts +2 -2
  57. package/modern/colors.js +1 -0
  58. package/modern/colors.module-d4623603.js +4 -0
  59. package/modern/common.module-fe3b6c14.js +4 -0
  60. package/modern/hooks/use-skeleton.css +6 -6
  61. package/modern/hooks/use-skeleton.js +1 -1
  62. package/modern/text/alfasans-index.css +132 -0
  63. package/modern/text/component.d.ts +4 -0
  64. package/modern/text/component.js +8 -4
  65. package/modern/text/index.css +23 -23
  66. package/modern/title/alfasans-index.css +71 -0
  67. package/modern/title/common.css +10 -10
  68. package/modern/title/component.d.ts +11 -5
  69. package/modern/title/component.js +13 -2
  70. package/modern/title/index.css +18 -18
  71. package/modern/title/index.d.ts +5 -2
  72. package/modern/title/index.js +9 -3
  73. package/modern/title/utils.d.ts +1 -1
  74. package/modern/title/utils.js +1 -1
  75. package/modern/title-mobile/alfasans-index.css +61 -0
  76. package/modern/title-mobile/component.d.ts +5 -2
  77. package/modern/title-mobile/component.js +9 -3
  78. package/modern/title-mobile/index.css +17 -17
  79. package/modern/title-responsive/component.d.ts +5 -2
  80. package/moderncssm/colors.d.ts +2 -2
  81. package/moderncssm/colors.js +1 -0
  82. package/moderncssm/colors.module.css +4 -0
  83. package/moderncssm/text/alfasans-index.module.css +131 -0
  84. package/moderncssm/text/component.d.ts +4 -0
  85. package/moderncssm/text/component.js +4 -2
  86. package/moderncssm/title/alfasans-index.module.css +60 -0
  87. package/moderncssm/title/component.d.ts +11 -5
  88. package/moderncssm/title/component.js +12 -1
  89. package/moderncssm/title/index.d.ts +5 -2
  90. package/moderncssm/title/index.js +5 -1
  91. package/moderncssm/title/utils.d.ts +1 -1
  92. package/moderncssm/title/utils.js +1 -1
  93. package/moderncssm/title-mobile/alfasans-index.module.css +60 -0
  94. package/moderncssm/title-mobile/component.d.ts +5 -2
  95. package/moderncssm/title-mobile/component.js +5 -1
  96. package/moderncssm/title-responsive/component.d.ts +5 -2
  97. package/package.json +4 -3
  98. package/src/colors.module.css +4 -0
  99. package/src/colors.ts +2 -1
  100. package/src/text/alfasans-index.module.css +52 -0
  101. package/src/text/component.tsx +10 -2
  102. package/src/title/alfasans-index.module.css +11 -0
  103. package/src/title/component.tsx +17 -4
  104. package/src/title/index.tsx +7 -6
  105. package/src/title/utils.ts +5 -2
  106. package/src/title-mobile/alfasans-index.module.css +11 -0
  107. package/src/title-mobile/component.tsx +7 -8
  108. package/text/alfasans-index.css +132 -0
  109. package/text/component.d.ts +4 -0
  110. package/text/component.js +8 -4
  111. package/text/index.css +23 -23
  112. package/title/alfasans-index.css +71 -0
  113. package/title/common.css +10 -10
  114. package/title/component.d.ts +11 -5
  115. package/title/component.js +13 -2
  116. package/title/index.css +18 -18
  117. package/title/index.d.ts +5 -2
  118. package/title/index.js +9 -3
  119. package/title/utils.d.ts +1 -1
  120. package/title/utils.js +1 -1
  121. package/title-mobile/alfasans-index.css +61 -0
  122. package/title-mobile/component.d.ts +5 -2
  123. package/title-mobile/component.js +9 -3
  124. package/title-mobile/index.css +17 -17
  125. package/title-responsive/component.d.ts +5 -2
  126. package/colors.module-9e8354bc.js +0 -6
  127. package/common.module-c3b78455.js +0 -6
  128. package/esm/colors.module-ebc3cf8a.js +0 -4
  129. package/esm/common.module-fbd82291.js +0 -4
  130. package/modern/colors.module-9bf880e7.js +0 -4
  131. package/modern/common.module-f25ab3e9.js +0 -4
@@ -77,3 +77,7 @@
77
77
  .static-accent {
78
78
  color: var(--color-static-accent-primary);
79
79
  }
80
+
81
+ .static-positive {
82
+ color: var(--color-static-text-positive);
83
+ }
package/src/colors.ts CHANGED
@@ -18,6 +18,7 @@ export const colors = [
18
18
  'static-secondary-dark',
19
19
  'static-tertiary-dark',
20
20
  'static-accent',
21
+ 'static-positive',
21
22
  ] as const;
22
23
 
23
- export type Color = typeof colors[number];
24
+ export type Color = (typeof colors)[number];
@@ -0,0 +1,52 @@
1
+ @import '@alfalab/core-components-vars/src/alfasans-index.css';
2
+
3
+ @define-mixin bold {
4
+ font-weight: 700;
5
+ }
6
+
7
+ @define-mixin medium {
8
+ font-weight: 500;
9
+ }
10
+
11
+ .text {
12
+ @each $view in component, caps, tagline {
13
+ &.$(view) {
14
+ @mixin paragraph_$(view);
15
+ }
16
+ }
17
+
18
+ @each $kind in primary, secondary {
19
+ @each $size in large, medium, small {
20
+ &.$(kind)-$(size) {
21
+ @mixin paragraph_$(kind)_$(size);
22
+
23
+ &.bold {
24
+ @subtract-mixin accent_$(kind)_$(size), paragraph_$(kind)_$(size), bold;
25
+ }
26
+
27
+ &.medium {
28
+ @subtract-mixin action_$(kind)_$(size), paragraph_$(kind)_$(size), medium;
29
+ }
30
+ }
31
+ }
32
+
33
+ &.component-$(kind) {
34
+ @mixin paragraph_component_$(kind);
35
+
36
+ &.bold {
37
+ @subtract-mixin accent_component_$(kind), paragraph_component_$(kind), bold;
38
+ }
39
+
40
+ &.medium {
41
+ @subtract-mixin action_component_$(kind), paragraph_component_$(kind), medium;
42
+
43
+ }
44
+ }
45
+ }
46
+
47
+ @each $weight in bold, medium {
48
+ &.$(weight) {
49
+ @mixin $(weight);
50
+ }
51
+ }
52
+ }
@@ -7,6 +7,7 @@ import { useSkeleton } from '../hooks';
7
7
  import { TextElementType, TextSkeletonProps } from '../types';
8
8
 
9
9
  import colors from '../colors.module.css';
10
+ import alfasansStyles from './alfasans-index.module.css';
10
11
  import styles from './index.module.css';
11
12
 
12
13
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
@@ -82,6 +83,11 @@ type TextBaseProps = {
82
83
  * Пропы для скелетона
83
84
  */
84
85
  skeletonProps?: TextSkeletonProps;
86
+
87
+ /**
88
+ * Шрифт текста
89
+ */
90
+ font?: 'alfasans' | undefined | null;
85
91
  };
86
92
 
87
93
  type TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {
@@ -123,6 +129,7 @@ export const Text = forwardRef<TextElementType, TextProps>(
123
129
  rowLimit,
124
130
  showSkeleton,
125
131
  skeletonProps,
132
+ font,
126
133
  ...restProps
127
134
  },
128
135
  ref,
@@ -153,11 +160,12 @@ export const Text = forwardRef<TextElementType, TextProps>(
153
160
  [styles.monospace]: monospaceNumbers,
154
161
  [styles[`rowLimit${rowLimit}`]]: rowLimit,
155
162
  [styles.transparent]: showSkeleton,
163
+ [alfasansStyles.text]: font === 'alfasans',
156
164
  },
157
165
  className,
158
166
  color && colors[color],
159
- styles[view],
160
- weight && styles[weight],
167
+ (font === 'alfasans' ? alfasansStyles : styles)[view],
168
+ weight && (font === 'alfasans' ? alfasansStyles : styles)[weight],
161
169
  )}
162
170
  data-test-id={dataTestId}
163
171
  ref={mergeRefs([ref, textRef])}
@@ -0,0 +1,11 @@
1
+ @import '@alfalab/core-components-vars/src/alfasans-index.css';
2
+
3
+ @each $view in xlarge, large, medium, small, xsmall {
4
+ .alfasans-$(view) {
5
+ @mixin headline_$(view);
6
+
7
+ &.systemCompat {
8
+ @subtract-mixin headline-system_$(view), headline_$(view);
9
+ }
10
+ }
11
+ }
@@ -2,6 +2,8 @@ import React, { forwardRef, HTMLAttributes } from 'react';
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
7
  import { Color } from '../colors';
6
8
  import { useSkeleton } from '../hooks';
7
9
  import { TextSkeletonProps } from '../types';
@@ -19,7 +21,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
19
21
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
20
22
 
21
23
  /**
22
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
24
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
23
25
  */
24
26
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
25
27
 
@@ -36,7 +38,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
36
38
  /**
37
39
  * Шрифт текста
38
40
  */
39
- font?: 'styrene' | 'system';
41
+ font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };
40
42
 
41
43
  /**
42
44
  * Добавляет отступы
@@ -93,9 +95,9 @@ export const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>
93
95
  {
94
96
  tag: Component = 'div',
95
97
  view = 'medium',
96
- font = 'styrene',
98
+ font: fontProp = 'styrene',
97
99
  platform,
98
- weight = getDefaultWeight(font, platform),
100
+ weight = getDefaultWeight(isObject(fontProp) ? fontProp.font : fontProp, platform),
99
101
  defaultMargins = false,
100
102
  color,
101
103
  className,
@@ -120,6 +122,16 @@ export const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>
120
122
  return skeleton;
121
123
  }
122
124
 
125
+ let font: string;
126
+ let systemCompat: boolean | undefined;
127
+
128
+ if (isObject(fontProp)) {
129
+ font = fontProp.font;
130
+ systemCompat = fontProp.systemCompat;
131
+ } else {
132
+ font = fontProp;
133
+ }
134
+
123
135
  return (
124
136
  <Component
125
137
  className={cn(
@@ -132,6 +144,7 @@ export const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>
132
144
  {
133
145
  [styles[`rowLimit${rowLimit}`]]: rowLimit,
134
146
  [styles.transparent]: showSkeleton,
147
+ [styles.systemCompat]: systemCompat,
135
148
  },
136
149
  )}
137
150
  data-test-id={dataTestId}
@@ -2,16 +2,17 @@ import React, { forwardRef } from 'react';
2
2
 
3
3
  import { TitleBase, TitleProps } from './component';
4
4
 
5
+ import alfasansStyles from './alfasans-index.module.css';
5
6
  import commonStyles from './common.module.css';
6
7
  import styles from './index.module.css';
7
8
 
9
+ const allStyles =
10
+ process.env.NODE_ENV === 'test'
11
+ ? commonStyles
12
+ : { ...commonStyles, ...styles, ...alfasansStyles };
13
+
8
14
  const Title = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>((props, ref) => (
9
- <TitleBase
10
- {...props}
11
- styles={Object.assign(commonStyles, styles)}
12
- ref={ref}
13
- platform='desktop'
14
- />
15
+ <TitleBase {...props} styles={allStyles} ref={ref} platform='desktop' />
15
16
  ));
16
17
 
17
18
  export { Title };
@@ -1,5 +1,8 @@
1
- export function getDefaultWeight(font: 'styrene' | 'system', platform: 'mobile' | 'desktop') {
2
- if (font === 'styrene') {
1
+ export function getDefaultWeight(
2
+ font: 'styrene' | 'system' | 'alfasans',
3
+ platform: 'mobile' | 'desktop',
4
+ ) {
5
+ if (font === 'styrene' || font === 'alfasans') {
3
6
  return 'medium';
4
7
  }
5
8
 
@@ -0,0 +1,11 @@
1
+ @import '@alfalab/core-components-vars/src/alfasans-index.css';
2
+
3
+ @each $view in xlarge, large, medium, small, xsmall {
4
+ .alfasans-$(view) {
5
+ @mixin headline-mobile_$(view);
6
+
7
+ &.systemCompat {
8
+ @subtract-mixin headline-system-mobile_$(view), headline-mobile_$(view);
9
+ }
10
+ }
11
+ }
@@ -3,15 +3,14 @@ import React, { forwardRef } from 'react';
3
3
  import { TitleBase, TitleProps } from '../title/component';
4
4
 
5
5
  import commonStyles from '../title/common.module.css';
6
+ import alfasansStyles from './alfasans-index.module.css';
6
7
  import styles from './index.module.css';
7
8
 
9
+ const allStyles =
10
+ process.env.NODE_ENV === 'test'
11
+ ? commonStyles
12
+ : { ...commonStyles, ...styles, ...alfasansStyles };
13
+
8
14
  export const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(
9
- (props, ref) => (
10
- <TitleBase
11
- {...props}
12
- styles={Object.assign(commonStyles, styles)}
13
- ref={ref}
14
- platform='mobile'
15
- />
16
- ),
15
+ (props, ref) => <TitleBase {...props} styles={allStyles} ref={ref} platform='mobile' />,
17
16
  );
@@ -0,0 +1,132 @@
1
+ /* hash: 10xxm */
2
+ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
+ } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
+ } :root {
7
+
8
+ /* Hard */
9
+
10
+ /* Up */
11
+
12
+ /* Hard up */
13
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
+
15
+ /* новые значения, используйте их */
16
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
17
+
18
+ /* новые значения, используйте их */
19
+
20
+ /* no-unit может приводить к проблемам в calc (#1559) */
21
+ /* stylelint-disable-next-line length-zero-no-unit */
22
+ } :root {
23
+ --font-family-alfasans: 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto,
24
+ 'Helvetica Neue', Helvetica, sans-serif;
25
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
26
+ } /* сбрасывает синюю подсветку при нажатии */ .typography__text_s1lun.typography__component_s1lun {
27
+ font-size: 16px;
28
+ line-height: 20px;
29
+ font-weight: 400;
30
+ letter-spacing: -0.24px;
31
+ font-family: var(--font-family-alfasans);
32
+ } .typography__text_s1lun.typography__caps_s1lun {
33
+ font-size: 12px;
34
+ line-height: 16px;
35
+ font-weight: 400;
36
+ letter-spacing: 1.25px;
37
+ text-transform: uppercase;
38
+ font-family: var(--font-family-alfasans);
39
+ } .typography__text_s1lun.typography__tagline_s1lun {
40
+ font-size: 12px;
41
+ line-height: 16px;
42
+ font-weight: 400;
43
+ letter-spacing: 1.25px;
44
+ text-transform: uppercase;
45
+ font-family: var(--font-family-alfasans);
46
+ } .typography__text_s1lun.typography__primary-large_s1lun {
47
+ font-size: 18px;
48
+ line-height: 24px;
49
+ font-weight: 400;
50
+ letter-spacing: -0.36px;
51
+ font-family: var(--font-family-alfasans)
52
+ } .typography__text_s1lun.typography__primary-large_s1lun.typography__bold_s1lun {
53
+ letter-spacing: 0.38px;
54
+ } .typography__text_s1lun.typography__primary-large_s1lun.typography__medium_s1lun {
55
+ letter-spacing: 0.17px;
56
+ } .typography__text_s1lun.typography__primary-medium_s1lun {
57
+ font-size: 16px;
58
+ line-height: 24px;
59
+ font-weight: 400;
60
+ letter-spacing: -0.24px;
61
+ font-family: var(--font-family-alfasans)
62
+ } .typography__text_s1lun.typography__primary-medium_s1lun.typography__bold_s1lun {
63
+ letter-spacing: 0.43px;
64
+ } .typography__text_s1lun.typography__primary-medium_s1lun.typography__medium_s1lun {
65
+ letter-spacing: 0.17px;
66
+ } .typography__text_s1lun.typography__primary-small_s1lun {
67
+ font-size: 14px;
68
+ line-height: 20px;
69
+ font-weight: 400;
70
+ letter-spacing: -0.08px;
71
+ font-family: var(--font-family-alfasans)
72
+ } .typography__text_s1lun.typography__primary-small_s1lun.typography__bold_s1lun {
73
+ letter-spacing: 0.47px;
74
+ } .typography__text_s1lun.typography__primary-small_s1lun.typography__medium_s1lun {
75
+ letter-spacing: 0.27px;
76
+ } .typography__text_s1lun.typography__component-primary_s1lun {
77
+ font-size: 16px;
78
+ line-height: 20px;
79
+ font-weight: 400;
80
+ letter-spacing: -0.24px;
81
+ font-family: var(--font-family-alfasans)
82
+ } .typography__text_s1lun.typography__component-primary_s1lun.typography__bold_s1lun {
83
+ letter-spacing: 0.43px;
84
+ } .typography__text_s1lun.typography__component-primary_s1lun.typography__medium_s1lun {
85
+ letter-spacing: 0.17px;
86
+
87
+ } .typography__text_s1lun.typography__secondary-large_s1lun {
88
+ font-size: 13px;
89
+ line-height: 16px;
90
+ font-weight: 400;
91
+ letter-spacing: 0;
92
+ font-family: var(--font-family-alfasans)
93
+ } .typography__text_s1lun.typography__secondary-large_s1lun.typography__bold_s1lun {
94
+ letter-spacing: 0.54px;
95
+ } .typography__text_s1lun.typography__secondary-large_s1lun.typography__medium_s1lun {
96
+ letter-spacing: 0.33px;
97
+ } .typography__text_s1lun.typography__secondary-medium_s1lun {
98
+ font-size: 12px;
99
+ line-height: 16px;
100
+ font-weight: 400;
101
+ letter-spacing: 0.06px;
102
+ font-family: var(--font-family-alfasans)
103
+ } .typography__text_s1lun.typography__secondary-medium_s1lun.typography__bold_s1lun {
104
+ letter-spacing: 0.57px;
105
+ } .typography__text_s1lun.typography__secondary-medium_s1lun.typography__medium_s1lun {
106
+ letter-spacing: 0.38px;
107
+ } .typography__text_s1lun.typography__secondary-small_s1lun {
108
+ font-size: 11px;
109
+ line-height: 16px;
110
+ font-weight: 400;
111
+ letter-spacing: 0.15px;
112
+ font-family: var(--font-family-alfasans)
113
+ } .typography__text_s1lun.typography__secondary-small_s1lun.typography__bold_s1lun {
114
+ letter-spacing: 0.54px;
115
+ } .typography__text_s1lun.typography__secondary-small_s1lun.typography__medium_s1lun {
116
+ letter-spacing: 0.41px;
117
+ } .typography__text_s1lun.typography__component-secondary_s1lun {
118
+ font-size: 14px;
119
+ line-height: 18px;
120
+ font-weight: 400;
121
+ letter-spacing: -0.08px;
122
+ font-family: var(--font-family-alfasans)
123
+ } .typography__text_s1lun.typography__component-secondary_s1lun.typography__bold_s1lun {
124
+ letter-spacing: 0.47px;
125
+ } .typography__text_s1lun.typography__component-secondary_s1lun.typography__medium_s1lun {
126
+ letter-spacing: 0.27px;
127
+
128
+ } .typography__text_s1lun.typography__bold_s1lun {
129
+ font-weight: 700;
130
+ } .typography__text_s1lun.typography__medium_s1lun {
131
+ font-weight: 500;
132
+ }
@@ -53,6 +53,10 @@ type TextBaseProps = {
53
53
  * Пропы для скелетона
54
54
  */
55
55
  skeletonProps?: TextSkeletonProps;
56
+ /**
57
+ * Шрифт текста
58
+ */
59
+ font?: 'alfasans' | undefined | null;
56
60
  };
57
61
  type TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {
58
62
  tag?: 'p';
package/text/component.js CHANGED
@@ -7,7 +7,7 @@ var React = require('react');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  var cn = require('classnames');
9
9
  var hooks_useSkeleton = require('../hooks/use-skeleton.js');
10
- var colors_module = require('../colors.module-9e8354bc.js');
10
+ var colors_module = require('../colors.module-00df0e34.js');
11
11
 
12
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
13
13
 
@@ -15,7 +15,10 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var styles = {"transparent":"typography__transparent_1t6yt","paragraph":"typography__paragraph_1t6yt","paragraphWithMargins":"typography__paragraphWithMargins_1t6yt","primary-large":"typography__primary-large_1t6yt","primary-medium":"typography__primary-medium_1t6yt","primary-small":"typography__primary-small_1t6yt","secondary-large":"typography__secondary-large_1t6yt","secondary-medium":"typography__secondary-medium_1t6yt","secondary-small":"typography__secondary-small_1t6yt","component":"typography__component_1t6yt","component-primary":"typography__component-primary_1t6yt","component-secondary":"typography__component-secondary_1t6yt","caps":"typography__caps_1t6yt","tagline":"typography__tagline_1t6yt","bold":"typography__bold_1t6yt","medium":"typography__medium_1t6yt","regular":"typography__regular_1t6yt","monospace":"typography__monospace_1t6yt","rowLimit1":"typography__rowLimit1_1t6yt","rowLimit2":"typography__rowLimit2_1t6yt","rowLimit3":"typography__rowLimit3_1t6yt"};
18
+ var alfasansStyles = {"text":"typography__text_s1lun","component":"typography__component_s1lun","caps":"typography__caps_s1lun","tagline":"typography__tagline_s1lun","primary-large":"typography__primary-large_s1lun","bold":"typography__bold_s1lun","medium":"typography__medium_s1lun","primary-medium":"typography__primary-medium_s1lun","primary-small":"typography__primary-small_s1lun","component-primary":"typography__component-primary_s1lun","secondary-large":"typography__secondary-large_s1lun","secondary-medium":"typography__secondary-medium_s1lun","secondary-small":"typography__secondary-small_s1lun","component-secondary":"typography__component-secondary_s1lun"};
19
+ require('./alfasans-index.css')
20
+
21
+ var styles = {"transparent":"typography__transparent_boq06","paragraph":"typography__paragraph_boq06","paragraphWithMargins":"typography__paragraphWithMargins_boq06","primary-large":"typography__primary-large_boq06","primary-medium":"typography__primary-medium_boq06","primary-small":"typography__primary-small_boq06","secondary-large":"typography__secondary-large_boq06","secondary-medium":"typography__secondary-medium_boq06","secondary-small":"typography__secondary-small_boq06","component":"typography__component_boq06","component-primary":"typography__component-primary_boq06","component-secondary":"typography__component-secondary_boq06","caps":"typography__caps_boq06","tagline":"typography__tagline_boq06","bold":"typography__bold_boq06","medium":"typography__medium_boq06","regular":"typography__regular_boq06","monospace":"typography__monospace_boq06","rowLimit1":"typography__rowLimit1_boq06","rowLimit2":"typography__rowLimit2_boq06","rowLimit3":"typography__rowLimit3_boq06"};
19
22
  require('./index.css')
20
23
 
21
24
  var logWarning = function (view) {
@@ -33,7 +36,7 @@ var logWarning = function (view) {
33
36
  };
34
37
  var Text = React.forwardRef(function (_a, ref) {
35
38
  var _b, _c;
36
- var _d = _a.view, view = _d === void 0 ? 'primary-medium' : _d, _e = _a.tag, Component = _e === void 0 ? 'span' : _e, weight = _a.weight, _f = _a.monospaceNumbers, monospaceNumbers = _f === void 0 ? false : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? true : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, showSkeleton = _a.showSkeleton, skeletonProps = _a.skeletonProps, restProps = tslib.__rest(_a, ["view", "tag", "weight", "monospaceNumbers", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "showSkeleton", "skeletonProps"]);
39
+ var _d = _a.view, view = _d === void 0 ? 'primary-medium' : _d, _e = _a.tag, Component = _e === void 0 ? 'span' : _e, weight = _a.weight, _f = _a.monospaceNumbers, monospaceNumbers = _f === void 0 ? false : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? true : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, showSkeleton = _a.showSkeleton, skeletonProps = _a.skeletonProps, font = _a.font, restProps = tslib.__rest(_a, ["view", "tag", "weight", "monospaceNumbers", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "showSkeleton", "skeletonProps", "font"]);
37
40
  if (view === 'component') {
38
41
  logWarning(view);
39
42
  }
@@ -53,7 +56,8 @@ var Text = React.forwardRef(function (_a, ref) {
53
56
  _c[styles.monospace] = monospaceNumbers,
54
57
  _c[styles["rowLimit".concat(rowLimit)]] = rowLimit,
55
58
  _c[styles.transparent] = showSkeleton,
56
- _c), className, color && colors_module.colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: mergeRefs__default.default([ref, textRef]) }, restProps), children));
59
+ _c[alfasansStyles.text] = font === 'alfasans',
60
+ _c), className, color && colors_module.colors[color], (font === 'alfasans' ? alfasansStyles : styles)[view], weight && (font === 'alfasans' ? alfasansStyles : styles)[weight]), "data-test-id": dataTestId, ref: mergeRefs__default.default([ref, textRef]) }, restProps), children));
57
61
  });
58
62
 
59
63
  exports.Text = Text;
package/text/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1yyn7 */
1
+ /* hash: pu67k */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -23,85 +23,85 @@
23
23
  --gap-0: 0px;
24
24
  --gap-12: var(--gap-s);
25
25
  } :root {
26
- } :root {
27
- } /* сбрасывает синюю подсветку при нажатии */ .typography__transparent_1t6yt {
26
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .typography__transparent_boq06 {
28
28
  opacity: 0;
29
29
  } :root {
30
30
  --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
31
- } .typography__paragraph_1t6yt {
31
+ } .typography__paragraph_boq06 {
32
32
  margin: var(--gap-0);
33
33
  padding: var(--gap-0);
34
- } .typography__paragraphWithMargins_1t6yt {
34
+ } .typography__paragraphWithMargins_boq06 {
35
35
  padding: var(--gap-0);
36
36
  margin: var(--text-paragraph-margin-bottom);
37
- } .typography__primary-large_1t6yt {
37
+ } .typography__primary-large_boq06 {
38
38
  font-size: 18px;
39
39
  line-height: 24px;
40
40
  font-weight: 400;
41
- } .typography__primary-medium_1t6yt {
41
+ } .typography__primary-medium_boq06 {
42
42
  font-size: 16px;
43
43
  line-height: 24px;
44
44
  font-weight: 400;
45
- } .typography__primary-small_1t6yt {
45
+ } .typography__primary-small_boq06 {
46
46
  font-size: 14px;
47
47
  line-height: 20px;
48
48
  font-weight: 400;
49
- } .typography__secondary-large_1t6yt {
49
+ } .typography__secondary-large_boq06 {
50
50
  font-size: 13px;
51
51
  line-height: 16px;
52
52
  font-weight: 400;
53
- } .typography__secondary-medium_1t6yt {
53
+ } .typography__secondary-medium_boq06 {
54
54
  font-size: 12px;
55
55
  line-height: 16px;
56
56
  font-weight: 400;
57
- } .typography__secondary-small_1t6yt {
57
+ } .typography__secondary-small_boq06 {
58
58
  font-size: 11px;
59
59
  line-height: 16px;
60
60
  font-weight: 400;
61
- } .typography__component_1t6yt {
61
+ } .typography__component_boq06 {
62
62
  font-size: 16px;
63
63
  line-height: 20px;
64
64
  font-weight: 400;
65
- } .typography__component-primary_1t6yt {
65
+ } .typography__component-primary_boq06 {
66
66
  font-size: 16px;
67
67
  line-height: 20px;
68
68
  font-weight: 400;
69
- } .typography__component-secondary_1t6yt {
69
+ } .typography__component-secondary_boq06 {
70
70
  font-size: 14px;
71
71
  line-height: 18px;
72
72
  font-weight: 400;
73
- } .typography__caps_1t6yt {
73
+ } .typography__caps_boq06 {
74
74
  font-size: 12px;
75
75
  line-height: 16px;
76
76
  font-weight: 500;
77
77
  letter-spacing: 1.25px;
78
78
  text-transform: uppercase;
79
- } .typography__tagline_1t6yt {
79
+ } .typography__tagline_boq06 {
80
80
  font-size: 12px;
81
81
  line-height: 16px;
82
82
  font-weight: 500;
83
83
  letter-spacing: 1.25px;
84
84
  text-transform: uppercase;
85
- } .typography__bold_1t6yt {
85
+ } .typography__bold_boq06 {
86
86
  font-weight: bold;
87
- } .typography__medium_1t6yt {
87
+ } .typography__medium_boq06 {
88
88
  font-weight: 500;
89
- } .typography__regular_1t6yt {
89
+ } .typography__regular_boq06 {
90
90
  font-weight: normal;
91
- } .typography__monospace_1t6yt {
91
+ } .typography__monospace_boq06 {
92
92
  font-variant-numeric: tabular-nums;
93
- } .typography__rowLimit1_1t6yt {
93
+ } .typography__rowLimit1_boq06 {
94
94
  -webkit-line-clamp: 1;
95
95
  display: -webkit-box;
96
96
  -webkit-box-orient: vertical;
97
97
  overflow: hidden;
98
98
  word-break: break-all;
99
- } .typography__rowLimit2_1t6yt {
99
+ } .typography__rowLimit2_boq06 {
100
100
  -webkit-line-clamp: 2;
101
101
  display: -webkit-box;
102
102
  -webkit-box-orient: vertical;
103
103
  overflow: hidden;
104
- } .typography__rowLimit3_1t6yt {
104
+ } .typography__rowLimit3_boq06 {
105
105
  -webkit-line-clamp: 3;
106
106
  display: -webkit-box;
107
107
  -webkit-box-orient: vertical;