@alfalab/core-components-typography 6.0.7 → 6.0.8-alfasans

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/colors.css +20 -20
  2. package/colors.module.css.js +1 -1
  3. package/cssm/text/index.module.css +40 -13
  4. package/cssm/title/component.d.ts +2 -12
  5. package/cssm/title/component.js +3 -6
  6. package/cssm/title/component.js.map +1 -1
  7. package/cssm/title/index.d.ts +1 -4
  8. package/cssm/title/index.module.css +23 -74
  9. package/cssm/title-mobile/component.d.ts +1 -4
  10. package/cssm/title-mobile/index.module.css +28 -45
  11. package/cssm/title-responsive/component.d.ts +1 -4
  12. package/esm/colors.css +20 -20
  13. package/esm/colors.module.css.js +1 -1
  14. package/esm/text/index.css +80 -53
  15. package/esm/text/index.module.css.js +1 -1
  16. package/esm/title/common.css +5 -5
  17. package/esm/title/common.module.css.js +1 -1
  18. package/esm/title/component.d.ts +2 -12
  19. package/esm/title/component.js +2 -5
  20. package/esm/title/component.js.map +1 -1
  21. package/esm/title/index.css +38 -89
  22. package/esm/title/index.d.ts +1 -4
  23. package/esm/title/index.module.css.js +1 -1
  24. package/esm/title/index.module.css.js.map +1 -1
  25. package/esm/title-mobile/component.d.ts +1 -4
  26. package/esm/title-mobile/index.css +53 -70
  27. package/esm/title-mobile/index.module.css.js +1 -1
  28. package/esm/title-responsive/component.d.ts +1 -4
  29. package/modern/colors.css +20 -20
  30. package/modern/colors.module.css.js +1 -1
  31. package/modern/text/index.css +80 -53
  32. package/modern/text/index.module.css.js +1 -1
  33. package/modern/title/common.css +5 -5
  34. package/modern/title/common.module.css.js +1 -1
  35. package/modern/title/component.d.ts +2 -12
  36. package/modern/title/component.js +1 -4
  37. package/modern/title/component.js.map +1 -1
  38. package/modern/title/index.css +38 -89
  39. package/modern/title/index.d.ts +1 -4
  40. package/modern/title/index.module.css.js +1 -1
  41. package/modern/title/index.module.css.js.map +1 -1
  42. package/modern/title-mobile/component.d.ts +1 -4
  43. package/modern/title-mobile/index.css +53 -70
  44. package/modern/title-mobile/index.module.css.js +1 -1
  45. package/modern/title-responsive/component.d.ts +1 -4
  46. package/moderncssm/text/index.module.css +37 -11
  47. package/moderncssm/title/component.d.ts +2 -12
  48. package/moderncssm/title/component.js +1 -4
  49. package/moderncssm/title/component.js.map +1 -1
  50. package/moderncssm/title/index.d.ts +1 -4
  51. package/moderncssm/title/index.module.css +20 -79
  52. package/moderncssm/title-mobile/component.d.ts +1 -4
  53. package/moderncssm/title-mobile/index.module.css +25 -40
  54. package/moderncssm/title-responsive/component.d.ts +1 -4
  55. package/package.json +6 -6
  56. package/src/title/component.tsx +3 -10
  57. package/src/title/index.module.css +0 -8
  58. package/text/index.css +80 -53
  59. package/text/index.module.css.js +1 -1
  60. package/title/common.css +5 -5
  61. package/title/common.module.css.js +1 -1
  62. package/title/component.d.ts +2 -12
  63. package/title/component.js +2 -5
  64. package/title/component.js.map +1 -1
  65. package/title/index.css +38 -89
  66. package/title/index.d.ts +1 -4
  67. package/title/index.module.css.js +1 -1
  68. package/title/index.module.css.js.map +1 -1
  69. package/title-mobile/component.d.ts +1 -4
  70. package/title-mobile/index.css +53 -70
  71. package/title-mobile/index.module.css.js +1 -1
  72. package/title-responsive/component.d.ts +1 -4
  73. package/cssm/title/utils.d.ts +0 -1
  74. package/cssm/title/utils.js +0 -16
  75. package/cssm/title/utils.js.map +0 -1
  76. package/esm/title/utils.d.ts +0 -1
  77. package/esm/title/utils.js +0 -12
  78. package/esm/title/utils.js.map +0 -1
  79. package/modern/title/utils.d.ts +0 -1
  80. package/modern/title/utils.js +0 -12
  81. package/modern/title/utils.js.map +0 -1
  82. package/moderncssm/title/utils.d.ts +0 -1
  83. package/moderncssm/title/utils.js +0 -12
  84. package/moderncssm/title/utils.js.map +0 -1
  85. package/src/title/utils.ts +0 -14
  86. package/title/utils.d.ts +0 -1
  87. package/title/utils.js +0 -16
  88. package/title/utils.js.map +0 -1
@@ -8,116 +8,99 @@
8
8
  --gap-40: var(--gap-3xl);
9
9
  }
10
10
  :root {
11
- --font-family-system:
12
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
13
- --font-family-styrene:
14
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
15
- sans-serif;
11
+ --font-family-alfasans:
12
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
13
+ Helvetica, sans-serif;
16
14
  }
17
15
  .xlarge {
18
16
  font-size: 34px;
19
17
  line-height: 40px;
20
- font-weight: 600;
21
- font-family: var(--font-family-system);
18
+ font-weight: 500;
19
+ letter-spacing: -0.32px;
20
+ font-family: var(--font-family-alfasans);
22
21
  }
23
22
  .xlarge.font {
24
- font-weight: 500;
25
- font-feature-settings: 'ss01';
26
- font-family: var(--font-family-styrene);
27
23
  }
28
24
  .regular-xlarge {
29
25
  font-size: 34px;
30
26
  line-height: 40px;
31
27
  font-weight: 400;
32
- font-family: var(--font-family-system);
28
+ letter-spacing: -1.36px;
29
+ font-family: var(--font-family-alfasans);
33
30
  }
34
31
  .regular-xlarge.system {
35
- font-feature-settings: 'ss01';
36
- font-family: var(--font-family-styrene);
37
32
  }
38
33
  .large {
39
34
  font-size: 30px;
40
35
  line-height: 36px;
41
- font-weight: 600;
42
- font-family: var(--font-family-system);
36
+ font-weight: 500;
37
+ letter-spacing: -0.25px;
38
+ font-family: var(--font-family-alfasans);
43
39
  }
44
40
  .large.font {
45
- font-weight: 500;
46
- font-feature-settings: 'ss01';
47
- font-family: var(--font-family-styrene);
48
41
  }
49
42
  .regular-large {
50
43
  font-size: 30px;
51
44
  line-height: 36px;
52
45
  font-weight: 400;
53
- font-family: var(--font-family-system);
46
+ letter-spacing: -1.25px;
47
+ font-family: var(--font-family-alfasans);
54
48
  }
55
49
  .regular-large.system {
56
- font-feature-settings: 'ss01';
57
- font-family: var(--font-family-styrene);
58
50
  }
59
51
  .medium {
60
52
  font-size: 26px;
61
53
  line-height: 32px;
62
- font-weight: 600;
63
- font-family: var(--font-family-system);
54
+ font-weight: 500;
55
+ letter-spacing: -0.25px;
56
+ font-family: var(--font-family-alfasans);
64
57
  }
65
58
  .medium.font {
66
- font-weight: 500;
67
- font-feature-settings: 'ss01';
68
- font-family: var(--font-family-styrene);
69
59
  }
70
60
  .regular-medium {
71
61
  font-size: 26px;
72
62
  line-height: 32px;
73
63
  font-weight: 400;
74
- font-family: var(--font-family-system);
64
+ letter-spacing: -1px;
65
+ font-family: var(--font-family-alfasans);
75
66
  }
76
67
  .regular-medium.system {
77
- font-feature-settings: 'ss01';
78
- font-family: var(--font-family-styrene);
79
68
  }
80
69
  .small {
81
70
  font-size: 20px;
82
71
  line-height: 28px;
83
- font-weight: 600;
84
- font-family: var(--font-family-system);
72
+ font-weight: 500;
73
+ letter-spacing: -0.15px;
74
+ font-family: var(--font-family-alfasans);
85
75
  }
86
76
  .small.font {
87
- font-weight: 500;
88
- font-feature-settings: 'ss01';
89
- font-family: var(--font-family-styrene);
90
77
  }
91
78
  .regular-small {
92
79
  font-size: 20px;
93
80
  line-height: 28px;
94
81
  font-weight: 400;
95
- font-family: var(--font-family-system);
82
+ letter-spacing: -0.68px;
83
+ font-family: var(--font-family-alfasans);
96
84
  }
97
85
  .regular-small.system {
98
- font-feature-settings: 'ss01';
99
- font-family: var(--font-family-styrene);
100
86
  }
101
87
  .xsmall {
102
88
  font-size: 16px;
103
89
  line-height: 20px;
104
- font-weight: 600;
105
- font-family: var(--font-family-system);
90
+ font-weight: 500;
91
+ letter-spacing: 0.17px;
92
+ font-family: var(--font-family-alfasans);
106
93
  }
107
94
  .xsmall.font {
108
- font-weight: 500;
109
- font-feature-settings: 'ss01';
110
- font-family: var(--font-family-styrene);
111
95
  }
112
96
  .regular-xsmall {
113
97
  font-size: 16px;
114
98
  line-height: 20px;
115
99
  font-weight: 400;
116
- font-family: var(--font-family-system);
100
+ letter-spacing: -0.24px;
101
+ font-family: var(--font-family-alfasans);
117
102
  }
118
103
  .regular-xsmall.system {
119
- font-feature-settings: 'ss01';
120
- font-family: var(--font-family-styrene);
121
104
  }
122
105
  .component.margins-xlarge {
123
106
  margin: var(--gap-0) var(--gap-0) var(--gap-24);
@@ -16,10 +16,7 @@ export declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React
16
16
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
17
17
  color?: import("..").Color;
18
18
  weight?: "regular" | "medium" | "bold" | "semibold";
19
- font?: "styrene" | "system" | "alfasans" | {
20
- font: "alfasans";
21
- systemCompat: boolean;
22
- };
19
+ font?: "styrene" | "system";
23
20
  defaultMargins?: boolean;
24
21
  className?: string;
25
22
  dataTestId?: string;
package/esm/colors.css CHANGED
@@ -20,63 +20,63 @@
20
20
  --color-static-text-tertiary-dark: rgba(5, 8, 29, 0.38);
21
21
  --color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
22
22
  }
23
- .typography__tertiary_lgmjt {
23
+ .typography__tertiary_1w1vx {
24
24
  color: var(--color-light-text-tertiary);
25
25
  }
26
- .typography__disabled_lgmjt {
26
+ .typography__disabled_1w1vx {
27
27
  color: var(--color-light-text-quaternary);
28
28
  }
29
- .typography__accent_lgmjt {
29
+ .typography__accent_1w1vx {
30
30
  color: var(--color-light-accent-primary);
31
31
  }
32
- .typography__primary_lgmjt {
32
+ .typography__primary_1w1vx {
33
33
  color: var(--color-light-text-primary);
34
34
  }
35
- .typography__attention_lgmjt {
35
+ .typography__attention_1w1vx {
36
36
  color: var(--color-light-text-attention);
37
37
  }
38
- .typography__positive_lgmjt {
38
+ .typography__positive_1w1vx {
39
39
  color: var(--color-light-text-positive);
40
40
  }
41
- .typography__secondary_lgmjt {
41
+ .typography__secondary_1w1vx {
42
42
  color: var(--color-light-text-secondary);
43
43
  }
44
- .typography__tertiary-inverted_lgmjt {
44
+ .typography__tertiary-inverted_1w1vx {
45
45
  color: var(--color-light-text-tertiary-inverted);
46
46
  }
47
- .typography__primary-inverted_lgmjt {
47
+ .typography__primary-inverted_1w1vx {
48
48
  color: var(--color-light-text-primary-inverted);
49
49
  }
50
- .typography__secondary-inverted_lgmjt {
50
+ .typography__secondary-inverted_1w1vx {
51
51
  color: var(--color-light-text-secondary-inverted);
52
52
  }
53
- .typography__link_lgmjt {
53
+ .typography__link_1w1vx {
54
54
  color: var(--color-light-text-info);
55
55
  }
56
- .typography__negative_lgmjt {
56
+ .typography__negative_1w1vx {
57
57
  color: var(--color-light-text-negative);
58
58
  }
59
- .typography__static-primary-light_lgmjt {
59
+ .typography__static-primary-light_1w1vx {
60
60
  color: var(--color-static-text-primary-light);
61
61
  }
62
- .typography__static-secondary-light_lgmjt {
62
+ .typography__static-secondary-light_1w1vx {
63
63
  color: var(--color-static-text-secondary-light);
64
64
  }
65
- .typography__static-tertiary-light_lgmjt {
65
+ .typography__static-tertiary-light_1w1vx {
66
66
  color: var(--color-static-text-tertiary-light);
67
67
  }
68
- .typography__static-primary-dark_lgmjt {
68
+ .typography__static-primary-dark_1w1vx {
69
69
  color: var(--color-static-text-primary-dark);
70
70
  }
71
- .typography__static-secondary-dark_lgmjt {
71
+ .typography__static-secondary-dark_1w1vx {
72
72
  color: var(--color-static-text-secondary-dark);
73
73
  }
74
- .typography__static-tertiary-dark_lgmjt {
74
+ .typography__static-tertiary-dark_1w1vx {
75
75
  color: var(--color-static-text-tertiary-dark);
76
76
  }
77
- .typography__static-accent_lgmjt {
77
+ .typography__static-accent_1w1vx {
78
78
  color: var(--color-static-accent-primary);
79
79
  }
80
- .typography__static-positive_lgmjt {
80
+ .typography__static-positive_1w1vx {
81
81
  color: var(--color-static-text-positive);
82
82
  }
@@ -1,6 +1,6 @@
1
1
  import './colors.css';
2
2
 
3
- var colors = {"tertiary":"typography__tertiary_lgmjt","disabled":"typography__disabled_lgmjt","accent":"typography__accent_lgmjt","primary":"typography__primary_lgmjt","attention":"typography__attention_lgmjt","positive":"typography__positive_lgmjt","secondary":"typography__secondary_lgmjt","tertiary-inverted":"typography__tertiary-inverted_lgmjt","primary-inverted":"typography__primary-inverted_lgmjt","secondary-inverted":"typography__secondary-inverted_lgmjt","link":"typography__link_lgmjt","negative":"typography__negative_lgmjt","static-primary-light":"typography__static-primary-light_lgmjt","static-secondary-light":"typography__static-secondary-light_lgmjt","static-tertiary-light":"typography__static-tertiary-light_lgmjt","static-primary-dark":"typography__static-primary-dark_lgmjt","static-secondary-dark":"typography__static-secondary-dark_lgmjt","static-tertiary-dark":"typography__static-tertiary-dark_lgmjt","static-accent":"typography__static-accent_lgmjt","static-positive":"typography__static-positive_lgmjt"};
3
+ var colors = {"tertiary":"typography__tertiary_1w1vx","disabled":"typography__disabled_1w1vx","accent":"typography__accent_1w1vx","primary":"typography__primary_1w1vx","attention":"typography__attention_1w1vx","positive":"typography__positive_1w1vx","secondary":"typography__secondary_1w1vx","tertiary-inverted":"typography__tertiary-inverted_1w1vx","primary-inverted":"typography__primary-inverted_1w1vx","secondary-inverted":"typography__secondary-inverted_1w1vx","link":"typography__link_1w1vx","negative":"typography__negative_1w1vx","static-primary-light":"typography__static-primary-light_1w1vx","static-secondary-light":"typography__static-secondary-light_1w1vx","static-tertiary-light":"typography__static-tertiary-light_1w1vx","static-primary-dark":"typography__static-primary-dark_1w1vx","static-secondary-dark":"typography__static-secondary-dark_1w1vx","static-tertiary-dark":"typography__static-tertiary-dark_1w1vx","static-accent":"typography__static-accent_1w1vx","static-positive":"typography__static-positive_1w1vx"};
4
4
 
5
5
  export { colors as default };
6
6
  //# sourceMappingURL=colors.module.css.js.map
@@ -4,179 +4,206 @@
4
4
  --gap-12: var(--gap-s);
5
5
  }
6
6
  :root {
7
- --font-family-system:
8
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
7
+ --font-family-alfasans:
8
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
9
+ Helvetica, sans-serif;
9
10
  }
10
- .typography__transparent_knen6 {
11
+ .typography__transparent_1chmc {
11
12
  opacity: 0;
12
13
  }
13
14
  :root {
14
15
  --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
15
16
  }
16
- .typography__paragraph_knen6 {
17
+ .typography__paragraph_1chmc {
17
18
  margin: var(--gap-0);
18
19
  padding: var(--gap-0);
19
20
  }
20
- .typography__paragraphWithMargins_knen6 {
21
+ .typography__paragraphWithMargins_1chmc {
21
22
  padding: var(--gap-0);
22
23
  margin: var(--text-paragraph-margin-bottom);
23
24
  }
24
- .typography__component_knen6 {
25
+ .typography__component_1chmc {
25
26
  font-size: 16px;
26
27
  line-height: 20px;
27
28
  font-weight: 400;
28
- font-family: var(--font-family-system);
29
+ letter-spacing: -0.24px;
30
+ font-family: var(--font-family-alfasans);
29
31
  }
30
- .typography__component_knen6.typography__bold_knen6 {
32
+ .typography__component_1chmc.typography__bold_1chmc {
31
33
  font-weight: 700;
34
+ letter-spacing: 0.43px;
32
35
  }
33
- .typography__component_knen6.typography__medium_knen6 {
36
+ .typography__component_1chmc.typography__medium_1chmc {
34
37
  font-weight: 500;
38
+ letter-spacing: -0.05px;
35
39
  }
36
- .typography__caps_knen6 {
40
+ .typography__caps_1chmc {
37
41
  font-size: 12px;
38
42
  line-height: 16px;
39
43
  font-weight: 400;
40
44
  letter-spacing: 1.25px;
41
45
  text-transform: uppercase;
42
- font-family: var(--font-family-system);
46
+ font-family: var(--font-family-alfasans);
43
47
  }
44
- .typography__caps_knen6.typography__bold_knen6 {
48
+ .typography__caps_1chmc.typography__bold_1chmc {
45
49
  font-weight: 700;
46
50
  }
47
- .typography__caps_knen6.typography__medium_knen6 {
51
+ .typography__caps_1chmc.typography__medium_1chmc {
48
52
  font-weight: 500;
49
53
  }
50
- .typography__tagline_knen6 {
54
+ .typography__tagline_1chmc {
51
55
  font-size: 12px;
52
56
  line-height: 16px;
53
57
  font-weight: 400;
54
58
  letter-spacing: 1.25px;
55
59
  text-transform: uppercase;
56
- font-family: var(--font-family-system);
60
+ font-family: var(--font-family-alfasans);
57
61
  }
58
- .typography__tagline_knen6.typography__bold_knen6 {
62
+ .typography__tagline_1chmc.typography__bold_1chmc {
59
63
  font-weight: 700;
60
64
  }
61
- .typography__tagline_knen6.typography__medium_knen6 {
65
+ .typography__tagline_1chmc.typography__medium_1chmc {
62
66
  font-weight: 500;
63
67
  }
64
- .typography__primary-large_knen6 {
68
+ .typography__primary-large_1chmc {
65
69
  font-size: 18px;
66
70
  line-height: 24px;
67
71
  font-weight: 400;
68
- font-family: var(--font-family-system);
72
+ letter-spacing: -0.36px;
73
+ font-family: var(--font-family-alfasans);
69
74
  }
70
- .typography__primary-large_knen6.typography__bold_knen6 {
75
+ .typography__primary-large_1chmc.typography__bold_1chmc {
71
76
  font-weight: 700;
77
+ letter-spacing: 0.38px;
72
78
  }
73
- .typography__primary-large_knen6.typography__medium_knen6 {
79
+ .typography__primary-large_1chmc.typography__medium_1chmc {
74
80
  font-weight: 500;
81
+ letter-spacing: -0.17px;
75
82
  }
76
- .typography__primary-medium_knen6 {
83
+ .typography__primary-medium_1chmc {
77
84
  font-size: 16px;
78
85
  line-height: 24px;
79
86
  font-weight: 400;
80
- font-family: var(--font-family-system);
87
+ letter-spacing: -0.24px;
88
+ font-family: var(--font-family-alfasans);
81
89
  }
82
- .typography__primary-medium_knen6.typography__bold_knen6 {
90
+ .typography__primary-medium_1chmc.typography__bold_1chmc {
83
91
  font-weight: 700;
92
+ letter-spacing: 0.43px;
84
93
  }
85
- .typography__primary-medium_knen6.typography__medium_knen6 {
94
+ .typography__primary-medium_1chmc.typography__medium_1chmc {
86
95
  font-weight: 500;
96
+ letter-spacing: -0.05px;
87
97
  }
88
- .typography__primary-small_knen6 {
98
+ .typography__primary-small_1chmc {
89
99
  font-size: 14px;
90
100
  line-height: 20px;
91
101
  font-weight: 400;
92
- font-family: var(--font-family-system);
102
+ letter-spacing: -0.08px;
103
+ font-family: var(--font-family-alfasans);
93
104
  }
94
- .typography__primary-small_knen6.typography__bold_knen6 {
105
+ .typography__primary-small_1chmc.typography__bold_1chmc {
95
106
  font-weight: 700;
107
+ letter-spacing: 0.47px;
96
108
  }
97
- .typography__primary-small_knen6.typography__medium_knen6 {
109
+ .typography__primary-small_1chmc.typography__medium_1chmc {
98
110
  font-weight: 500;
111
+ letter-spacing: 0.07px;
99
112
  }
100
- .typography__component-primary_knen6 {
113
+ .typography__component-primary_1chmc {
101
114
  font-size: 16px;
102
115
  line-height: 20px;
103
116
  font-weight: 400;
104
- font-family: var(--font-family-system);
117
+ letter-spacing: -0.24px;
118
+ font-family: var(--font-family-alfasans);
105
119
  }
106
- .typography__component-primary_knen6.typography__bold_knen6 {
120
+ .typography__component-primary_1chmc.typography__bold_1chmc {
107
121
  font-weight: 700;
122
+ letter-spacing: 0.43px;
108
123
  }
109
- .typography__component-primary_knen6.typography__medium_knen6 {
124
+ .typography__component-primary_1chmc.typography__medium_1chmc {
110
125
  font-weight: 500;
126
+ letter-spacing: -0.05px;
111
127
  }
112
- .typography__secondary-large_knen6 {
128
+ .typography__secondary-large_1chmc {
113
129
  font-size: 13px;
114
130
  line-height: 16px;
115
131
  font-weight: 400;
116
- font-family: var(--font-family-system);
132
+ font-family: var(--font-family-alfasans);
117
133
  }
118
- .typography__secondary-large_knen6.typography__bold_knen6 {
134
+ .typography__secondary-large_1chmc.typography__bold_1chmc {
119
135
  font-weight: 700;
136
+ letter-spacing: 0.54px;
120
137
  }
121
- .typography__secondary-large_knen6.typography__medium_knen6 {
138
+ .typography__secondary-large_1chmc.typography__medium_1chmc {
122
139
  font-weight: 500;
140
+ letter-spacing: 0.13px;
123
141
  }
124
- .typography__secondary-medium_knen6 {
142
+ .typography__secondary-medium_1chmc {
125
143
  font-size: 12px;
126
144
  line-height: 16px;
127
145
  font-weight: 400;
128
- font-family: var(--font-family-system);
146
+ letter-spacing: 0.06px;
147
+ font-family: var(--font-family-alfasans);
129
148
  }
130
- .typography__secondary-medium_knen6.typography__bold_knen6 {
149
+ .typography__secondary-medium_1chmc.typography__bold_1chmc {
131
150
  font-weight: 700;
151
+ letter-spacing: 0.57px;
132
152
  }
133
- .typography__secondary-medium_knen6.typography__medium_knen6 {
153
+ .typography__secondary-medium_1chmc.typography__medium_1chmc {
134
154
  font-weight: 500;
155
+ letter-spacing: 0.19px;
135
156
  }
136
- .typography__secondary-small_knen6 {
157
+ .typography__secondary-small_1chmc {
137
158
  font-size: 11px;
138
159
  line-height: 16px;
139
160
  font-weight: 400;
140
- font-family: var(--font-family-system);
161
+ letter-spacing: 0.15px;
162
+ font-family: var(--font-family-alfasans);
141
163
  }
142
- .typography__secondary-small_knen6.typography__bold_knen6 {
164
+ .typography__secondary-small_1chmc.typography__bold_1chmc {
143
165
  font-weight: 700;
166
+ letter-spacing: 0.54px;
144
167
  }
145
- .typography__secondary-small_knen6.typography__medium_knen6 {
168
+ .typography__secondary-small_1chmc.typography__medium_1chmc {
146
169
  font-weight: 500;
170
+ letter-spacing: 0.24px;
147
171
  }
148
- .typography__component-secondary_knen6 {
172
+ .typography__component-secondary_1chmc {
149
173
  font-size: 14px;
150
174
  line-height: 18px;
151
175
  font-weight: 400;
152
- font-family: var(--font-family-system);
176
+ letter-spacing: -0.08px;
177
+ font-family: var(--font-family-alfasans);
153
178
  }
154
- .typography__component-secondary_knen6.typography__bold_knen6 {
179
+ .typography__component-secondary_1chmc.typography__bold_1chmc {
155
180
  font-weight: 700;
181
+ letter-spacing: 0.47px;
156
182
  }
157
- .typography__component-secondary_knen6.typography__medium_knen6 {
183
+ .typography__component-secondary_1chmc.typography__medium_1chmc {
158
184
  font-weight: 500;
185
+ letter-spacing: 0.07px;
159
186
  }
160
- .typography__rowLimit1_knen6 {
187
+ .typography__rowLimit1_1chmc {
161
188
  -webkit-line-clamp: 1;
162
189
  display: -webkit-box;
163
190
  -webkit-box-orient: vertical;
164
191
  overflow: hidden;
165
192
  word-break: break-all;
166
193
  }
167
- .typography__rowLimit2_knen6 {
194
+ .typography__rowLimit2_1chmc {
168
195
  -webkit-line-clamp: 2;
169
196
  display: -webkit-box;
170
197
  -webkit-box-orient: vertical;
171
198
  overflow: hidden;
172
199
  }
173
- .typography__rowLimit3_knen6 {
200
+ .typography__rowLimit3_1chmc {
174
201
  -webkit-line-clamp: 3;
175
202
  display: -webkit-box;
176
203
  -webkit-box-orient: vertical;
177
204
  overflow: hidden;
178
205
  }
179
- .typography__monospace_knen6 {
206
+ .typography__monospace_1chmc {
180
207
  font-feature-settings: "tnum";
181
208
  font-variant-numeric: tabular-nums;
182
209
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"transparent":"typography__transparent_knen6","paragraph":"typography__paragraph_knen6","paragraphWithMargins":"typography__paragraphWithMargins_knen6","component":"typography__component_knen6","bold":"typography__bold_knen6","medium":"typography__medium_knen6","caps":"typography__caps_knen6","tagline":"typography__tagline_knen6","primary-large":"typography__primary-large_knen6","primary-medium":"typography__primary-medium_knen6","primary-small":"typography__primary-small_knen6","component-primary":"typography__component-primary_knen6","secondary-large":"typography__secondary-large_knen6","secondary-medium":"typography__secondary-medium_knen6","secondary-small":"typography__secondary-small_knen6","component-secondary":"typography__component-secondary_knen6","rowLimit1":"typography__rowLimit1_knen6","rowLimit2":"typography__rowLimit2_knen6","rowLimit3":"typography__rowLimit3_knen6","monospace":"typography__monospace_knen6"};
3
+ var styles = {"transparent":"typography__transparent_1chmc","paragraph":"typography__paragraph_1chmc","paragraphWithMargins":"typography__paragraphWithMargins_1chmc","component":"typography__component_1chmc","bold":"typography__bold_1chmc","medium":"typography__medium_1chmc","caps":"typography__caps_1chmc","tagline":"typography__tagline_1chmc","primary-large":"typography__primary-large_1chmc","primary-medium":"typography__primary-medium_1chmc","primary-small":"typography__primary-small_1chmc","component-primary":"typography__component-primary_1chmc","secondary-large":"typography__secondary-large_1chmc","secondary-medium":"typography__secondary-medium_1chmc","secondary-small":"typography__secondary-small_1chmc","component-secondary":"typography__component-secondary_1chmc","rowLimit1":"typography__rowLimit1_1chmc","rowLimit2":"typography__rowLimit2_1chmc","rowLimit3":"typography__rowLimit3_1chmc","monospace":"typography__monospace_1chmc"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -1,27 +1,27 @@
1
1
  :root {
2
2
  --gap-0: 0px;
3
3
  }
4
- .typography__transparent_1cokz {
4
+ .typography__transparent_plvpy {
5
5
  opacity: 0;
6
6
  }
7
- .typography__component_1cokz {
7
+ .typography__component_plvpy {
8
8
  margin: var(--gap-0);
9
9
  padding: var(--gap-0);
10
10
  }
11
- .typography__rowLimit1_1cokz {
11
+ .typography__rowLimit1_plvpy {
12
12
  -webkit-line-clamp: 1;
13
13
  display: -webkit-box;
14
14
  -webkit-box-orient: vertical;
15
15
  overflow: hidden;
16
16
  word-break: break-all;
17
17
  }
18
- .typography__rowLimit2_1cokz {
18
+ .typography__rowLimit2_plvpy {
19
19
  -webkit-line-clamp: 2;
20
20
  display: -webkit-box;
21
21
  -webkit-box-orient: vertical;
22
22
  overflow: hidden;
23
23
  }
24
- .typography__rowLimit3_1cokz {
24
+ .typography__rowLimit3_plvpy {
25
25
  -webkit-line-clamp: 3;
26
26
  display: -webkit-box;
27
27
  -webkit-box-orient: vertical;
@@ -1,6 +1,6 @@
1
1
  import './common.css';
2
2
 
3
- var commonStyles = {"transparent":"typography__transparent_1cokz","component":"typography__component_1cokz","rowLimit1":"typography__rowLimit1_1cokz","rowLimit2":"typography__rowLimit2_1cokz","rowLimit3":"typography__rowLimit3_1cokz"};
3
+ var commonStyles = {"transparent":"typography__transparent_plvpy","component":"typography__component_plvpy","rowLimit1":"typography__rowLimit1_plvpy","rowLimit2":"typography__rowLimit2_plvpy","rowLimit3":"typography__rowLimit3_plvpy"};
4
4
 
5
5
  export { commonStyles as default };
6
6
  //# sourceMappingURL=common.module.css.js.map
@@ -21,13 +21,8 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
21
21
  weight?: 'regular' | 'medium' | 'bold' | 'semibold';
22
22
  /**
23
23
  * Шрифт текста
24
- *
25
- * @deprecated
26
24
  */
27
- font?: 'styrene' | 'system' | 'alfasans' | {
28
- font: 'alfasans';
29
- systemCompat: boolean;
30
- };
25
+ font?: 'styrene' | 'system';
31
26
  /**
32
27
  * Добавляет отступы
33
28
  */
@@ -87,13 +82,8 @@ export declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps
87
82
  weight?: "regular" | "medium" | "bold" | "semibold";
88
83
  /**
89
84
  * Шрифт текста
90
- *
91
- * @deprecated
92
85
  */
93
- font?: "styrene" | "system" | "alfasans" | {
94
- font: "alfasans";
95
- systemCompat: boolean;
96
- };
86
+ font?: "styrene" | "system";
97
87
  /**
98
88
  * Добавляет отступы
99
89
  */
@@ -2,16 +2,14 @@ import { __rest, __assign } from 'tslib';
2
2
  import React, { forwardRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
- import { isObject } from '@alfalab/core-components-shared/esm';
6
5
  import { useSkeleton } from '@alfalab/core-components-skeleton/esm';
7
- import { getDefaultWeight } from './utils.js';
8
6
  import colors from '../colors.module.css.js';
9
7
  import commonStyles from './common.module.css.js';
10
8
 
11
9
  var TitleBase = forwardRef(function (_a, ref) {
12
10
  var _b;
13
- var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, font = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? getDefaultWeight(isObject(font) ? font.font : font, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = __rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
14
- var _h = useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
11
+ var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d; _a.font; _a.platform; var _e = _a.weight, weight = _e === void 0 ? 'bold' : _e, _f = _a.defaultMargins, defaultMargins = _f === void 0 ? false : _f, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = __rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
12
+ var _g = useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _g.renderSkeleton, textRef = _g.textRef;
15
13
  var skeleton = renderSkeleton({
16
14
  wrapperClassName: cn(defaultMargins && styles["margins-".concat(view)]),
17
15
  dataTestId: dataTestId,
@@ -22,7 +20,6 @@ var TitleBase = forwardRef(function (_a, ref) {
22
20
  return (React.createElement(Component, __assign({ className: cn(commonStyles.component, styles.component, className, styles["".concat(weight === 'regular' ? 'regular-' : '').concat(view)], defaultMargins && styles["margins-".concat(view)], color && colors[color], (_b = {},
23
21
  _b[commonStyles["rowLimit".concat(rowLimit)]] = rowLimit,
24
22
  _b[commonStyles.transparent] = showSkeleton,
25
- _b[styles.font] = (isObject(font) && !font.systemCompat) || !(font === 'system'),
26
23
  _b)), "data-test-id": dataTestId, ref: mergeRefs([ref, textRef]) }, restProps), children));
27
24
  });
28
25