@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
@@ -1,11 +1,12 @@
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';
4
5
  import { useSkeleton } from '../hooks/use-skeleton.js';
5
6
  import { getDefaultWeight } from './utils.js';
6
- import { c as colors } from '../colors.module-9bf880e7.js';
7
+ import { c as colors } from '../colors.module-d4623603.js';
7
8
 
8
- const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', platform, weight = getDefaultWeight(font, platform), defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, skeletonProps, showSkeleton, ...restProps }, ref) => {
9
+ const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font: fontProp = 'styrene', platform, weight = getDefaultWeight(isObject(fontProp) ? fontProp.font : fontProp, platform), defaultMargins = false, color, className, dataTestId, children, rowLimit, styles, skeletonProps, showSkeleton, ...restProps }, ref) => {
9
10
  const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);
10
11
  const skeleton = renderSkeleton({
11
12
  wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),
@@ -14,9 +15,19 @@ const TitleBase = forwardRef(({ tag: Component = 'div', view = 'medium', font =
14
15
  if (skeleton) {
15
16
  return skeleton;
16
17
  }
18
+ let font;
19
+ let systemCompat;
20
+ if (isObject(fontProp)) {
21
+ font = fontProp.font;
22
+ systemCompat = fontProp.systemCompat;
23
+ }
24
+ else {
25
+ font = fontProp;
26
+ }
17
27
  return (React.createElement(Component, { className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color], {
18
28
  [styles[`rowLimit${rowLimit}`]]: rowLimit,
19
29
  [styles.transparent]: showSkeleton,
30
+ [styles.systemCompat]: systemCompat,
20
31
  }), "data-test-id": dataTestId, ref: mergeRefs([ref, textRef]), ...restProps }, children));
21
32
  });
22
33
 
@@ -1,4 +1,4 @@
1
- /* hash: 1nzie */
1
+ /* hash: 10kkq */
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 */
@@ -31,67 +31,67 @@
31
31
  } :root {
32
32
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
33
33
  'Helvetica Neue', Helvetica, sans-serif;
34
- } :root {
35
- } /* сбрасывает синюю подсветку при нажатии */ .typography__transparent_17f15 {
34
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
35
+ } /* сбрасывает синюю подсветку при нажатии */ .typography__transparent_3nhrq {
36
36
  opacity: 0;
37
- } .typography__styrene-xlarge_17f15 {
37
+ } .typography__styrene-xlarge_3nhrq {
38
38
  font-size: 48px;
39
39
  line-height: 64px;
40
40
  font-weight: 500;
41
41
  font-feature-settings: 'ss01';
42
42
  font-family: var(--font-family-styrene);
43
- } .typography__styrene-large_17f15 {
43
+ } .typography__styrene-large_3nhrq {
44
44
  font-size: 40px;
45
45
  line-height: 48px;
46
46
  font-weight: 500;
47
47
  font-feature-settings: 'ss01';
48
48
  font-family: var(--font-family-styrene);
49
- } .typography__styrene-medium_17f15 {
49
+ } .typography__styrene-medium_3nhrq {
50
50
  font-size: 32px;
51
51
  line-height: 40px;
52
52
  font-weight: 500;
53
53
  font-feature-settings: 'ss01';
54
54
  font-family: var(--font-family-styrene);
55
- } .typography__styrene-small_17f15 {
55
+ } .typography__styrene-small_3nhrq {
56
56
  font-size: 24px;
57
57
  line-height: 32px;
58
58
  font-weight: 500;
59
59
  font-feature-settings: 'ss01';
60
60
  font-family: var(--font-family-styrene);
61
- } .typography__styrene-xsmall_17f15 {
61
+ } .typography__styrene-xsmall_3nhrq {
62
62
  font-size: 20px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
65
  font-feature-settings: 'ss01';
66
66
  font-family: var(--font-family-styrene);
67
- } .typography__system-xlarge_17f15 {
67
+ } .typography__system-xlarge_3nhrq {
68
68
  font-size: 48px;
69
69
  line-height: 52px;
70
70
  font-weight: 700;
71
- } .typography__system-large_17f15 {
71
+ } .typography__system-large_3nhrq {
72
72
  font-size: 40px;
73
73
  line-height: 48px;
74
74
  font-weight: 700;
75
- } .typography__system-medium_17f15 {
75
+ } .typography__system-medium_3nhrq {
76
76
  font-size: 30px;
77
77
  line-height: 36px;
78
78
  font-weight: 700;
79
- } .typography__system-small_17f15 {
79
+ } .typography__system-small_3nhrq {
80
80
  font-size: 22px;
81
81
  line-height: 26px;
82
82
  font-weight: 700;
83
- } .typography__system-xsmall_17f15 {
83
+ } .typography__system-xsmall_3nhrq {
84
84
  font-size: 18px;
85
85
  line-height: 22px;
86
86
  font-weight: 700;
87
- } .typography__margins-xlarge_17f15 {
87
+ } .typography__margins-xlarge_3nhrq {
88
88
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
89
- } .typography__margins-large_17f15 {
89
+ } .typography__margins-large_3nhrq {
90
90
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
91
- } .typography__margins-medium_17f15 {
91
+ } .typography__margins-medium_3nhrq {
92
92
  margin: var(--gap-48) var(--gap-0) var(--gap-24);
93
- } .typography__margins-small_17f15 {
93
+ } .typography__margins-small_3nhrq {
94
94
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
95
- } .typography__margins-xsmall_17f15 {
95
+ } .typography__margins-xsmall_3nhrq {
96
96
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
97
97
  }
@@ -4,9 +4,12 @@ import { TitleProps } from "./component";
4
4
  declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
5
5
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
6
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
7
- color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
7
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
8
8
  weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
9
- font?: "styrene" | "system" | undefined;
9
+ font?: "alfasans" | "styrene" | "system" | {
10
+ font: "alfasans";
11
+ systemCompat: boolean;
12
+ } | undefined;
10
13
  defaultMargins?: boolean | undefined;
11
14
  className?: string | undefined;
12
15
  dataTestId?: string | undefined;
@@ -1,10 +1,16 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { TitleBase } from './component.js';
3
- import { c as commonStyles } from '../common.module-f25ab3e9.js';
3
+ import { c as commonStyles } from '../common.module-fe3b6c14.js';
4
4
 
5
- const styles = {"transparent":"typography__transparent_17f15","styrene-xlarge":"typography__styrene-xlarge_17f15","styrene-large":"typography__styrene-large_17f15","styrene-medium":"typography__styrene-medium_17f15","styrene-small":"typography__styrene-small_17f15","styrene-xsmall":"typography__styrene-xsmall_17f15","system-xlarge":"typography__system-xlarge_17f15","system-large":"typography__system-large_17f15","system-medium":"typography__system-medium_17f15","system-small":"typography__system-small_17f15","system-xsmall":"typography__system-xsmall_17f15","margins-xlarge":"typography__margins-xlarge_17f15","margins-large":"typography__margins-large_17f15","margins-medium":"typography__margins-medium_17f15","margins-small":"typography__margins-small_17f15","margins-xsmall":"typography__margins-xsmall_17f15"};
5
+ const alfasansStyles = {"alfasans-xlarge":"typography__alfasans-xlarge_t8l8z","systemCompat":"typography__systemCompat_t8l8z","alfasans-large":"typography__alfasans-large_t8l8z","alfasans-medium":"typography__alfasans-medium_t8l8z","alfasans-small":"typography__alfasans-small_t8l8z","alfasans-xsmall":"typography__alfasans-xsmall_t8l8z"};
6
+ require('./alfasans-index.css')
7
+
8
+ const styles = {"transparent":"typography__transparent_3nhrq","styrene-xlarge":"typography__styrene-xlarge_3nhrq","styrene-large":"typography__styrene-large_3nhrq","styrene-medium":"typography__styrene-medium_3nhrq","styrene-small":"typography__styrene-small_3nhrq","styrene-xsmall":"typography__styrene-xsmall_3nhrq","system-xlarge":"typography__system-xlarge_3nhrq","system-large":"typography__system-large_3nhrq","system-medium":"typography__system-medium_3nhrq","system-small":"typography__system-small_3nhrq","system-xsmall":"typography__system-xsmall_3nhrq","margins-xlarge":"typography__margins-xlarge_3nhrq","margins-large":"typography__margins-large_3nhrq","margins-medium":"typography__margins-medium_3nhrq","margins-small":"typography__margins-small_3nhrq","margins-xsmall":"typography__margins-xsmall_3nhrq"};
6
9
  require('./index.css')
7
10
 
8
- const Title = forwardRef((props, ref) => (React.createElement(TitleBase, { ...props, styles: Object.assign(commonStyles, styles), ref: ref, platform: 'desktop' })));
11
+ const allStyles = process.env.NODE_ENV === 'test'
12
+ ? commonStyles
13
+ : { ...commonStyles, ...styles, ...alfasansStyles };
14
+ const Title = forwardRef((props, ref) => (React.createElement(TitleBase, { ...props, styles: allStyles, ref: ref, platform: 'desktop' })));
9
15
 
10
16
  export { Title };
@@ -1,2 +1,2 @@
1
- declare function getDefaultWeight(font: 'styrene' | 'system', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
1
+ declare function getDefaultWeight(font: 'styrene' | 'system' | 'alfasans', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
2
2
  export { getDefaultWeight };
@@ -1,5 +1,5 @@
1
1
  function getDefaultWeight(font, platform) {
2
- if (font === 'styrene') {
2
+ if (font === 'styrene' || font === 'alfasans') {
3
3
  return 'medium';
4
4
  }
5
5
  if (platform === 'desktop') {
@@ -0,0 +1,61 @@
1
+ /* hash: w6x9g */
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__alfasans-xlarge_31k6n {
27
+ font-size: 34px;
28
+ line-height: 40px;
29
+ font-weight: 500;
30
+ letter-spacing: -0.32px;
31
+ font-family: var(--font-family-alfasans)
32
+ } .typography__alfasans-xlarge_31k6n.typography__systemCompat_31k6n {
33
+ } .typography__alfasans-large_31k6n {
34
+ font-size: 30px;
35
+ line-height: 36px;
36
+ font-weight: 500;
37
+ letter-spacing: -0.25px;
38
+ font-family: var(--font-family-alfasans)
39
+ } .typography__alfasans-large_31k6n.typography__systemCompat_31k6n {
40
+ } .typography__alfasans-medium_31k6n {
41
+ font-size: 26px;
42
+ line-height: 32px;
43
+ font-weight: 500;
44
+ letter-spacing: -0.25px;
45
+ font-family: var(--font-family-alfasans)
46
+ } .typography__alfasans-medium_31k6n.typography__systemCompat_31k6n {
47
+ } .typography__alfasans-small_31k6n {
48
+ font-size: 20px;
49
+ line-height: 28px;
50
+ font-weight: 500;
51
+ letter-spacing: -0.15px;
52
+ font-family: var(--font-family-alfasans)
53
+ } .typography__alfasans-small_31k6n.typography__systemCompat_31k6n {
54
+ } .typography__alfasans-xsmall_31k6n {
55
+ font-size: 16px;
56
+ line-height: 20px;
57
+ font-weight: 500;
58
+ letter-spacing: 0.17px;
59
+ font-family: var(--font-family-alfasans)
60
+ } .typography__alfasans-xsmall_31k6n.typography__systemCompat_31k6n {
61
+ }
@@ -3,9 +3,12 @@ import React from 'react';
3
3
  declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
4
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
5
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
6
- color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
6
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
7
7
  weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
8
- font?: "styrene" | "system" | undefined;
8
+ font?: "alfasans" | "styrene" | "system" | {
9
+ font: "alfasans";
10
+ systemCompat: boolean;
11
+ } | undefined;
9
12
  defaultMargins?: boolean | undefined;
10
13
  className?: string | undefined;
11
14
  dataTestId?: string | undefined;
@@ -1,10 +1,16 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { TitleBase } from '../title/component.js';
3
- import { c as commonStyles } from '../common.module-f25ab3e9.js';
3
+ import { c as commonStyles } from '../common.module-fe3b6c14.js';
4
4
 
5
- const styles = {"styrene-xlarge":"typography__styrene-xlarge_1b56u","styrene-large":"typography__styrene-large_1b56u","styrene-medium":"typography__styrene-medium_1b56u","styrene-small":"typography__styrene-small_1b56u","styrene-xsmall":"typography__styrene-xsmall_1b56u","system-xlarge":"typography__system-xlarge_1b56u","system-large":"typography__system-large_1b56u","system-medium":"typography__system-medium_1b56u","system-small":"typography__system-small_1b56u","system-xsmall":"typography__system-xsmall_1b56u","margins-xlarge":"typography__margins-xlarge_1b56u","margins-large":"typography__margins-large_1b56u","margins-medium":"typography__margins-medium_1b56u","margins-small":"typography__margins-small_1b56u","margins-xsmall":"typography__margins-xsmall_1b56u"};
5
+ const alfasansStyles = {"alfasans-xlarge":"typography__alfasans-xlarge_31k6n","systemCompat":"typography__systemCompat_31k6n","alfasans-large":"typography__alfasans-large_31k6n","alfasans-medium":"typography__alfasans-medium_31k6n","alfasans-small":"typography__alfasans-small_31k6n","alfasans-xsmall":"typography__alfasans-xsmall_31k6n"};
6
+ require('./alfasans-index.css')
7
+
8
+ const styles = {"styrene-xlarge":"typography__styrene-xlarge_1erro","styrene-large":"typography__styrene-large_1erro","styrene-medium":"typography__styrene-medium_1erro","styrene-small":"typography__styrene-small_1erro","styrene-xsmall":"typography__styrene-xsmall_1erro","system-xlarge":"typography__system-xlarge_1erro","system-large":"typography__system-large_1erro","system-medium":"typography__system-medium_1erro","system-small":"typography__system-small_1erro","system-xsmall":"typography__system-xsmall_1erro","margins-xlarge":"typography__margins-xlarge_1erro","margins-large":"typography__margins-large_1erro","margins-medium":"typography__margins-medium_1erro","margins-small":"typography__margins-small_1erro","margins-xsmall":"typography__margins-xsmall_1erro"};
6
9
  require('./index.css')
7
10
 
8
- const TitleMobile = forwardRef((props, ref) => (React.createElement(TitleBase, { ...props, styles: Object.assign(commonStyles, styles), ref: ref, platform: 'mobile' })));
11
+ const allStyles = process.env.NODE_ENV === 'test'
12
+ ? commonStyles
13
+ : { ...commonStyles, ...styles, ...alfasansStyles };
14
+ const TitleMobile = forwardRef((props, ref) => React.createElement(TitleBase, { ...props, styles: allStyles, ref: ref, platform: 'mobile' }));
9
15
 
10
16
  export { TitleMobile };
@@ -1,4 +1,4 @@
1
- /* hash: 1njlc */
1
+ /* hash: 1obwd */
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 */
@@ -29,65 +29,65 @@
29
29
  } :root {
30
30
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
31
31
  'Helvetica Neue', Helvetica, sans-serif;
32
- } :root {
33
- } /* сбрасывает синюю подсветку при нажатии */ .typography__styrene-xlarge_1b56u {
32
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
33
+ } /* сбрасывает синюю подсветку при нажатии */ .typography__styrene-xlarge_1erro {
34
34
  font-size: 34px;
35
35
  line-height: 40px;
36
36
  font-weight: 500;
37
37
  font-feature-settings: 'ss01';
38
38
  font-family: var(--font-family-styrene);
39
- } .typography__styrene-large_1b56u {
39
+ } .typography__styrene-large_1erro {
40
40
  font-size: 30px;
41
41
  line-height: 36px;
42
42
  font-weight: 500;
43
43
  font-feature-settings: 'ss01';
44
44
  font-family: var(--font-family-styrene);
45
- } .typography__styrene-medium_1b56u {
45
+ } .typography__styrene-medium_1erro {
46
46
  font-size: 26px;
47
47
  line-height: 32px;
48
48
  font-weight: 500;
49
49
  font-feature-settings: 'ss01';
50
50
  font-family: var(--font-family-styrene);
51
- } .typography__styrene-small_1b56u {
51
+ } .typography__styrene-small_1erro {
52
52
  font-size: 20px;
53
53
  line-height: 28px;
54
54
  font-weight: 500;
55
55
  font-feature-settings: 'ss01';
56
56
  font-family: var(--font-family-styrene);
57
- } .typography__styrene-xsmall_1b56u {
57
+ } .typography__styrene-xsmall_1erro {
58
58
  font-size: 16px;
59
59
  line-height: 20px;
60
60
  font-weight: 500;
61
61
  font-feature-settings: 'ss01';
62
62
  font-family: var(--font-family-styrene);
63
- } .typography__system-xlarge_1b56u {
63
+ } .typography__system-xlarge_1erro {
64
64
  font-size: 34px;
65
65
  line-height: 40px;
66
66
  font-weight: 600;
67
- } .typography__system-large_1b56u {
67
+ } .typography__system-large_1erro {
68
68
  font-size: 30px;
69
69
  line-height: 36px;
70
70
  font-weight: 600;
71
- } .typography__system-medium_1b56u {
71
+ } .typography__system-medium_1erro {
72
72
  font-size: 26px;
73
73
  line-height: 32px;
74
74
  font-weight: 600;
75
- } .typography__system-small_1b56u {
75
+ } .typography__system-small_1erro {
76
76
  font-size: 20px;
77
77
  line-height: 28px;
78
78
  font-weight: 600;
79
- } .typography__system-xsmall_1b56u {
79
+ } .typography__system-xsmall_1erro {
80
80
  font-size: 16px;
81
81
  line-height: 20px;
82
82
  font-weight: 600;
83
- } .typography__margins-xlarge_1b56u {
83
+ } .typography__margins-xlarge_1erro {
84
84
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
85
- } .typography__margins-large_1b56u {
85
+ } .typography__margins-large_1erro {
86
86
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
87
- } .typography__margins-medium_1b56u {
87
+ } .typography__margins-medium_1erro {
88
88
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
89
- } .typography__margins-small_1b56u {
89
+ } .typography__margins-small_1erro {
90
90
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
91
- } .typography__margins-xsmall_1b56u {
91
+ } .typography__margins-xsmall_1erro {
92
92
  margin: var(--gap-40) var(--gap-0) var(--gap-16);
93
93
  }
@@ -15,9 +15,12 @@ type TitleResponsiveProps = TitleProps & {
15
15
  declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
16
16
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
17
17
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
18
- color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
18
+ color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | "static-positive" | undefined;
19
19
  weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
20
- font?: "styrene" | "system" | undefined;
20
+ font?: "alfasans" | "styrene" | "system" | {
21
+ font: "alfasans";
22
+ systemCompat: boolean;
23
+ } | undefined;
21
24
  defaultMargins?: boolean | undefined;
22
25
  className?: string | undefined;
23
26
  dataTestId?: string | undefined;
@@ -1,3 +1,3 @@
1
- declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
2
- type Color = typeof colors[number];
1
+ declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent", "static-positive"];
2
+ type Color = (typeof colors)[number];
3
3
  export { colors, Color };
@@ -18,6 +18,7 @@ const colors = [
18
18
  'static-secondary-dark',
19
19
  'static-tertiary-dark',
20
20
  'static-accent',
21
+ 'static-positive',
21
22
  ];
22
23
 
23
24
  export { colors };
@@ -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
+ }