@alfalab/core-components-typography 6.0.11 → 6.0.12-alfasans

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/colors.css +20 -20
  2. package/colors.module.css.js +1 -1
  3. package/cssm/text/index.module.css +40 -13
  4. package/cssm/title/component.d.ts +2 -8
  5. package/cssm/title/component.js +3 -6
  6. package/cssm/title/component.js.map +1 -1
  7. package/cssm/title/index.d.ts +1 -4
  8. package/cssm/title/index.module.css +23 -74
  9. package/cssm/title-mobile/component.d.ts +1 -4
  10. package/cssm/title-mobile/index.module.css +28 -45
  11. package/cssm/title-responsive/component.d.ts +1 -4
  12. package/esm/colors.css +20 -20
  13. package/esm/colors.module.css.js +1 -1
  14. package/esm/text/index.css +80 -53
  15. package/esm/text/index.module.css.js +1 -1
  16. package/esm/title/common.css +5 -5
  17. package/esm/title/common.module.css.js +1 -1
  18. package/esm/title/component.d.ts +2 -8
  19. package/esm/title/component.js +2 -5
  20. package/esm/title/component.js.map +1 -1
  21. package/esm/title/index.css +38 -89
  22. package/esm/title/index.d.ts +1 -4
  23. package/esm/title/index.module.css.js +1 -1
  24. package/esm/title/index.module.css.js.map +1 -1
  25. package/esm/title-mobile/component.d.ts +1 -4
  26. package/esm/title-mobile/index.css +53 -70
  27. package/esm/title-mobile/index.module.css.js +1 -1
  28. package/esm/title-responsive/component.d.ts +1 -4
  29. package/modern/colors.css +20 -20
  30. package/modern/colors.module.css.js +1 -1
  31. package/modern/text/index.css +80 -53
  32. package/modern/text/index.module.css.js +1 -1
  33. package/modern/title/common.css +5 -5
  34. package/modern/title/common.module.css.js +1 -1
  35. package/modern/title/component.d.ts +2 -8
  36. package/modern/title/component.js +1 -4
  37. package/modern/title/component.js.map +1 -1
  38. package/modern/title/index.css +38 -89
  39. package/modern/title/index.d.ts +1 -4
  40. package/modern/title/index.module.css.js +1 -1
  41. package/modern/title/index.module.css.js.map +1 -1
  42. package/modern/title-mobile/component.d.ts +1 -4
  43. package/modern/title-mobile/index.css +53 -70
  44. package/modern/title-mobile/index.module.css.js +1 -1
  45. package/modern/title-responsive/component.d.ts +1 -4
  46. package/moderncssm/text/index.module.css +37 -11
  47. package/moderncssm/title/component.d.ts +2 -8
  48. package/moderncssm/title/component.js +1 -4
  49. package/moderncssm/title/component.js.map +1 -1
  50. package/moderncssm/title/index.d.ts +1 -4
  51. package/moderncssm/title/index.module.css +20 -79
  52. package/moderncssm/title-mobile/component.d.ts +1 -4
  53. package/moderncssm/title-mobile/index.module.css +25 -40
  54. package/moderncssm/title-responsive/component.d.ts +1 -4
  55. package/package.json +6 -6
  56. package/src/title/component.tsx +3 -8
  57. package/src/title/index.module.css +0 -8
  58. package/text/index.css +80 -53
  59. package/text/index.module.css.js +1 -1
  60. package/title/common.css +5 -5
  61. package/title/common.module.css.js +1 -1
  62. package/title/component.d.ts +2 -8
  63. package/title/component.js +2 -5
  64. package/title/component.js.map +1 -1
  65. package/title/index.css +38 -89
  66. package/title/index.d.ts +1 -4
  67. package/title/index.module.css.js +1 -1
  68. package/title/index.module.css.js.map +1 -1
  69. package/title-mobile/component.d.ts +1 -4
  70. package/title-mobile/index.css +53 -70
  71. package/title-mobile/index.module.css.js +1 -1
  72. package/title-responsive/component.d.ts +1 -4
  73. package/cssm/title/utils.d.ts +0 -1
  74. package/cssm/title/utils.js +0 -16
  75. package/cssm/title/utils.js.map +0 -1
  76. package/esm/title/utils.d.ts +0 -1
  77. package/esm/title/utils.js +0 -12
  78. package/esm/title/utils.js.map +0 -1
  79. package/modern/title/utils.d.ts +0 -1
  80. package/modern/title/utils.js +0 -12
  81. package/modern/title/utils.js.map +0 -1
  82. package/moderncssm/title/utils.d.ts +0 -1
  83. package/moderncssm/title/utils.js +0 -12
  84. package/moderncssm/title/utils.js.map +0 -1
  85. package/src/title/utils.ts +0 -14
  86. package/title/utils.d.ts +0 -1
  87. package/title/utils.js +0 -16
  88. package/title/utils.js.map +0 -1
@@ -5,116 +5,99 @@
5
5
  --gap-40: 40px;
6
6
  }
7
7
  :root {
8
- --font-family-system:
9
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
- --font-family-styrene:
11
- 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
12
- sans-serif;
8
+ --font-family-alfasans:
9
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
10
+ Helvetica, sans-serif;
13
11
  }
14
12
  .xlarge {
15
13
  font-size: 34px;
16
14
  line-height: 40px;
17
- font-weight: 600;
18
- font-family: var(--font-family-system);
15
+ font-weight: 500;
16
+ letter-spacing: -0.32px;
17
+ font-family: var(--font-family-alfasans);
19
18
  }
20
19
  .xlarge.font {
21
- font-weight: 500;
22
- font-feature-settings: 'ss01';
23
- font-family: var(--font-family-styrene);
24
20
  }
25
21
  .regular-xlarge {
26
22
  font-size: 34px;
27
23
  line-height: 40px;
28
24
  font-weight: 400;
29
- font-family: var(--font-family-system);
25
+ letter-spacing: -1.36px;
26
+ font-family: var(--font-family-alfasans);
30
27
  }
31
28
  .regular-xlarge.system {
32
- font-feature-settings: 'ss01';
33
- font-family: var(--font-family-styrene);
34
29
  }
35
30
  .large {
36
31
  font-size: 30px;
37
32
  line-height: 36px;
38
- font-weight: 600;
39
- font-family: var(--font-family-system);
33
+ font-weight: 500;
34
+ letter-spacing: -0.25px;
35
+ font-family: var(--font-family-alfasans);
40
36
  }
41
37
  .large.font {
42
- font-weight: 500;
43
- font-feature-settings: 'ss01';
44
- font-family: var(--font-family-styrene);
45
38
  }
46
39
  .regular-large {
47
40
  font-size: 30px;
48
41
  line-height: 36px;
49
42
  font-weight: 400;
50
- font-family: var(--font-family-system);
43
+ letter-spacing: -1.25px;
44
+ font-family: var(--font-family-alfasans);
51
45
  }
52
46
  .regular-large.system {
53
- font-feature-settings: 'ss01';
54
- font-family: var(--font-family-styrene);
55
47
  }
56
48
  .medium {
57
49
  font-size: 26px;
58
50
  line-height: 32px;
59
- font-weight: 600;
60
- font-family: var(--font-family-system);
51
+ font-weight: 500;
52
+ letter-spacing: -0.25px;
53
+ font-family: var(--font-family-alfasans);
61
54
  }
62
55
  .medium.font {
63
- font-weight: 500;
64
- font-feature-settings: 'ss01';
65
- font-family: var(--font-family-styrene);
66
56
  }
67
57
  .regular-medium {
68
58
  font-size: 26px;
69
59
  line-height: 32px;
70
60
  font-weight: 400;
71
- font-family: var(--font-family-system);
61
+ letter-spacing: -1px;
62
+ font-family: var(--font-family-alfasans);
72
63
  }
73
64
  .regular-medium.system {
74
- font-feature-settings: 'ss01';
75
- font-family: var(--font-family-styrene);
76
65
  }
77
66
  .small {
78
67
  font-size: 20px;
79
68
  line-height: 28px;
80
- font-weight: 600;
81
- font-family: var(--font-family-system);
69
+ font-weight: 500;
70
+ letter-spacing: -0.15px;
71
+ font-family: var(--font-family-alfasans);
82
72
  }
83
73
  .small.font {
84
- font-weight: 500;
85
- font-feature-settings: 'ss01';
86
- font-family: var(--font-family-styrene);
87
74
  }
88
75
  .regular-small {
89
76
  font-size: 20px;
90
77
  line-height: 28px;
91
78
  font-weight: 400;
92
- font-family: var(--font-family-system);
79
+ letter-spacing: -0.68px;
80
+ font-family: var(--font-family-alfasans);
93
81
  }
94
82
  .regular-small.system {
95
- font-feature-settings: 'ss01';
96
- font-family: var(--font-family-styrene);
97
83
  }
98
84
  .xsmall {
99
85
  font-size: 16px;
100
86
  line-height: 20px;
101
- font-weight: 600;
102
- font-family: var(--font-family-system);
87
+ font-weight: 500;
88
+ letter-spacing: 0.17px;
89
+ font-family: var(--font-family-alfasans);
103
90
  }
104
91
  .xsmall.font {
105
- font-weight: 500;
106
- font-feature-settings: 'ss01';
107
- font-family: var(--font-family-styrene);
108
92
  }
109
93
  .regular-xsmall {
110
94
  font-size: 16px;
111
95
  line-height: 20px;
112
96
  font-weight: 400;
113
- font-family: var(--font-family-system);
97
+ letter-spacing: -0.24px;
98
+ font-family: var(--font-family-alfasans);
114
99
  }
115
100
  .regular-xsmall.system {
116
- font-feature-settings: 'ss01';
117
- font-family: var(--font-family-styrene);
118
101
  }
119
102
  .component.margins-xlarge {
120
103
  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_1babu {
23
+ .typography__tertiary_1vxb9 {
24
24
  color: var(--color-light-text-tertiary);
25
25
  }
26
- .typography__disabled_1babu {
26
+ .typography__disabled_1vxb9 {
27
27
  color: var(--color-light-text-quaternary);
28
28
  }
29
- .typography__accent_1babu {
29
+ .typography__accent_1vxb9 {
30
30
  color: var(--color-light-accent-primary);
31
31
  }
32
- .typography__primary_1babu {
32
+ .typography__primary_1vxb9 {
33
33
  color: var(--color-light-text-primary);
34
34
  }
35
- .typography__attention_1babu {
35
+ .typography__attention_1vxb9 {
36
36
  color: var(--color-light-text-attention);
37
37
  }
38
- .typography__positive_1babu {
38
+ .typography__positive_1vxb9 {
39
39
  color: var(--color-light-text-positive);
40
40
  }
41
- .typography__secondary_1babu {
41
+ .typography__secondary_1vxb9 {
42
42
  color: var(--color-light-text-secondary);
43
43
  }
44
- .typography__tertiary-inverted_1babu {
44
+ .typography__tertiary-inverted_1vxb9 {
45
45
  color: var(--color-light-text-tertiary-inverted);
46
46
  }
47
- .typography__primary-inverted_1babu {
47
+ .typography__primary-inverted_1vxb9 {
48
48
  color: var(--color-light-text-primary-inverted);
49
49
  }
50
- .typography__secondary-inverted_1babu {
50
+ .typography__secondary-inverted_1vxb9 {
51
51
  color: var(--color-light-text-secondary-inverted);
52
52
  }
53
- .typography__link_1babu {
53
+ .typography__link_1vxb9 {
54
54
  color: var(--color-light-text-info);
55
55
  }
56
- .typography__negative_1babu {
56
+ .typography__negative_1vxb9 {
57
57
  color: var(--color-light-text-negative);
58
58
  }
59
- .typography__static-primary-light_1babu {
59
+ .typography__static-primary-light_1vxb9 {
60
60
  color: var(--color-static-text-primary-light);
61
61
  }
62
- .typography__static-secondary-light_1babu {
62
+ .typography__static-secondary-light_1vxb9 {
63
63
  color: var(--color-static-text-secondary-light);
64
64
  }
65
- .typography__static-tertiary-light_1babu {
65
+ .typography__static-tertiary-light_1vxb9 {
66
66
  color: var(--color-static-text-tertiary-light);
67
67
  }
68
- .typography__static-primary-dark_1babu {
68
+ .typography__static-primary-dark_1vxb9 {
69
69
  color: var(--color-static-text-primary-dark);
70
70
  }
71
- .typography__static-secondary-dark_1babu {
71
+ .typography__static-secondary-dark_1vxb9 {
72
72
  color: var(--color-static-text-secondary-dark);
73
73
  }
74
- .typography__static-tertiary-dark_1babu {
74
+ .typography__static-tertiary-dark_1vxb9 {
75
75
  color: var(--color-static-text-tertiary-dark);
76
76
  }
77
- .typography__static-accent_1babu {
77
+ .typography__static-accent_1vxb9 {
78
78
  color: var(--color-static-accent-primary);
79
79
  }
80
- .typography__static-positive_1babu {
80
+ .typography__static-positive_1vxb9 {
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_1babu","disabled":"typography__disabled_1babu","accent":"typography__accent_1babu","primary":"typography__primary_1babu","attention":"typography__attention_1babu","positive":"typography__positive_1babu","secondary":"typography__secondary_1babu","tertiary-inverted":"typography__tertiary-inverted_1babu","primary-inverted":"typography__primary-inverted_1babu","secondary-inverted":"typography__secondary-inverted_1babu","link":"typography__link_1babu","negative":"typography__negative_1babu","static-primary-light":"typography__static-primary-light_1babu","static-secondary-light":"typography__static-secondary-light_1babu","static-tertiary-light":"typography__static-tertiary-light_1babu","static-primary-dark":"typography__static-primary-dark_1babu","static-secondary-dark":"typography__static-secondary-dark_1babu","static-tertiary-dark":"typography__static-tertiary-dark_1babu","static-accent":"typography__static-accent_1babu","static-positive":"typography__static-positive_1babu"};
3
+ var colors = {"tertiary":"typography__tertiary_1vxb9","disabled":"typography__disabled_1vxb9","accent":"typography__accent_1vxb9","primary":"typography__primary_1vxb9","attention":"typography__attention_1vxb9","positive":"typography__positive_1vxb9","secondary":"typography__secondary_1vxb9","tertiary-inverted":"typography__tertiary-inverted_1vxb9","primary-inverted":"typography__primary-inverted_1vxb9","secondary-inverted":"typography__secondary-inverted_1vxb9","link":"typography__link_1vxb9","negative":"typography__negative_1vxb9","static-primary-light":"typography__static-primary-light_1vxb9","static-secondary-light":"typography__static-secondary-light_1vxb9","static-tertiary-light":"typography__static-tertiary-light_1vxb9","static-primary-dark":"typography__static-primary-dark_1vxb9","static-secondary-dark":"typography__static-secondary-dark_1vxb9","static-tertiary-dark":"typography__static-tertiary-dark_1vxb9","static-accent":"typography__static-accent_1vxb9","static-positive":"typography__static-positive_1vxb9"};
4
4
 
5
5
  export { colors as default };
6
6
  //# sourceMappingURL=colors.module.css.js.map
@@ -3,179 +3,206 @@
3
3
  --gap-12: 12px;
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
- .typography__transparent_1v5sg {
10
+ .typography__transparent_1yij4 {
10
11
  opacity: 0;
11
12
  }
12
13
  :root {
13
14
  --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
14
15
  }
15
- .typography__paragraph_1v5sg {
16
+ .typography__paragraph_1yij4 {
16
17
  margin: var(--gap-0);
17
18
  padding: var(--gap-0);
18
19
  }
19
- .typography__paragraphWithMargins_1v5sg {
20
+ .typography__paragraphWithMargins_1yij4 {
20
21
  padding: var(--gap-0);
21
22
  margin: var(--text-paragraph-margin-bottom);
22
23
  }
23
- .typography__component_1v5sg {
24
+ .typography__component_1yij4 {
24
25
  font-size: 16px;
25
26
  line-height: 20px;
26
27
  font-weight: 400;
27
- font-family: var(--font-family-system);
28
+ letter-spacing: -0.24px;
29
+ font-family: var(--font-family-alfasans);
28
30
  }
29
- .typography__component_1v5sg.typography__bold_1v5sg {
31
+ .typography__component_1yij4.typography__bold_1yij4 {
30
32
  font-weight: 700;
33
+ letter-spacing: 0.43px;
31
34
  }
32
- .typography__component_1v5sg.typography__medium_1v5sg {
35
+ .typography__component_1yij4.typography__medium_1yij4 {
33
36
  font-weight: 500;
37
+ letter-spacing: -0.05px;
34
38
  }
35
- .typography__caps_1v5sg {
39
+ .typography__caps_1yij4 {
36
40
  font-size: 12px;
37
41
  line-height: 16px;
38
42
  font-weight: 400;
39
43
  letter-spacing: 1.25px;
40
44
  text-transform: uppercase;
41
- font-family: var(--font-family-system);
45
+ font-family: var(--font-family-alfasans);
42
46
  }
43
- .typography__caps_1v5sg.typography__bold_1v5sg {
47
+ .typography__caps_1yij4.typography__bold_1yij4 {
44
48
  font-weight: 700;
45
49
  }
46
- .typography__caps_1v5sg.typography__medium_1v5sg {
50
+ .typography__caps_1yij4.typography__medium_1yij4 {
47
51
  font-weight: 500;
48
52
  }
49
- .typography__tagline_1v5sg {
53
+ .typography__tagline_1yij4 {
50
54
  font-size: 12px;
51
55
  line-height: 16px;
52
56
  font-weight: 400;
53
57
  letter-spacing: 1.25px;
54
58
  text-transform: uppercase;
55
- font-family: var(--font-family-system);
59
+ font-family: var(--font-family-alfasans);
56
60
  }
57
- .typography__tagline_1v5sg.typography__bold_1v5sg {
61
+ .typography__tagline_1yij4.typography__bold_1yij4 {
58
62
  font-weight: 700;
59
63
  }
60
- .typography__tagline_1v5sg.typography__medium_1v5sg {
64
+ .typography__tagline_1yij4.typography__medium_1yij4 {
61
65
  font-weight: 500;
62
66
  }
63
- .typography__primary-large_1v5sg {
67
+ .typography__primary-large_1yij4 {
64
68
  font-size: 18px;
65
69
  line-height: 24px;
66
70
  font-weight: 400;
67
- font-family: var(--font-family-system);
71
+ letter-spacing: -0.36px;
72
+ font-family: var(--font-family-alfasans);
68
73
  }
69
- .typography__primary-large_1v5sg.typography__bold_1v5sg {
74
+ .typography__primary-large_1yij4.typography__bold_1yij4 {
70
75
  font-weight: 700;
76
+ letter-spacing: 0.38px;
71
77
  }
72
- .typography__primary-large_1v5sg.typography__medium_1v5sg {
78
+ .typography__primary-large_1yij4.typography__medium_1yij4 {
73
79
  font-weight: 500;
80
+ letter-spacing: -0.17px;
74
81
  }
75
- .typography__primary-medium_1v5sg {
82
+ .typography__primary-medium_1yij4 {
76
83
  font-size: 16px;
77
84
  line-height: 24px;
78
85
  font-weight: 400;
79
- font-family: var(--font-family-system);
86
+ letter-spacing: -0.24px;
87
+ font-family: var(--font-family-alfasans);
80
88
  }
81
- .typography__primary-medium_1v5sg.typography__bold_1v5sg {
89
+ .typography__primary-medium_1yij4.typography__bold_1yij4 {
82
90
  font-weight: 700;
91
+ letter-spacing: 0.43px;
83
92
  }
84
- .typography__primary-medium_1v5sg.typography__medium_1v5sg {
93
+ .typography__primary-medium_1yij4.typography__medium_1yij4 {
85
94
  font-weight: 500;
95
+ letter-spacing: -0.05px;
86
96
  }
87
- .typography__primary-small_1v5sg {
97
+ .typography__primary-small_1yij4 {
88
98
  font-size: 14px;
89
99
  line-height: 20px;
90
100
  font-weight: 400;
91
- font-family: var(--font-family-system);
101
+ letter-spacing: -0.08px;
102
+ font-family: var(--font-family-alfasans);
92
103
  }
93
- .typography__primary-small_1v5sg.typography__bold_1v5sg {
104
+ .typography__primary-small_1yij4.typography__bold_1yij4 {
94
105
  font-weight: 700;
106
+ letter-spacing: 0.47px;
95
107
  }
96
- .typography__primary-small_1v5sg.typography__medium_1v5sg {
108
+ .typography__primary-small_1yij4.typography__medium_1yij4 {
97
109
  font-weight: 500;
110
+ letter-spacing: 0.07px;
98
111
  }
99
- .typography__component-primary_1v5sg {
112
+ .typography__component-primary_1yij4 {
100
113
  font-size: 16px;
101
114
  line-height: 20px;
102
115
  font-weight: 400;
103
- font-family: var(--font-family-system);
116
+ letter-spacing: -0.24px;
117
+ font-family: var(--font-family-alfasans);
104
118
  }
105
- .typography__component-primary_1v5sg.typography__bold_1v5sg {
119
+ .typography__component-primary_1yij4.typography__bold_1yij4 {
106
120
  font-weight: 700;
121
+ letter-spacing: 0.43px;
107
122
  }
108
- .typography__component-primary_1v5sg.typography__medium_1v5sg {
123
+ .typography__component-primary_1yij4.typography__medium_1yij4 {
109
124
  font-weight: 500;
125
+ letter-spacing: -0.05px;
110
126
  }
111
- .typography__secondary-large_1v5sg {
127
+ .typography__secondary-large_1yij4 {
112
128
  font-size: 13px;
113
129
  line-height: 16px;
114
130
  font-weight: 400;
115
- font-family: var(--font-family-system);
131
+ font-family: var(--font-family-alfasans);
116
132
  }
117
- .typography__secondary-large_1v5sg.typography__bold_1v5sg {
133
+ .typography__secondary-large_1yij4.typography__bold_1yij4 {
118
134
  font-weight: 700;
135
+ letter-spacing: 0.54px;
119
136
  }
120
- .typography__secondary-large_1v5sg.typography__medium_1v5sg {
137
+ .typography__secondary-large_1yij4.typography__medium_1yij4 {
121
138
  font-weight: 500;
139
+ letter-spacing: 0.13px;
122
140
  }
123
- .typography__secondary-medium_1v5sg {
141
+ .typography__secondary-medium_1yij4 {
124
142
  font-size: 12px;
125
143
  line-height: 16px;
126
144
  font-weight: 400;
127
- font-family: var(--font-family-system);
145
+ letter-spacing: 0.06px;
146
+ font-family: var(--font-family-alfasans);
128
147
  }
129
- .typography__secondary-medium_1v5sg.typography__bold_1v5sg {
148
+ .typography__secondary-medium_1yij4.typography__bold_1yij4 {
130
149
  font-weight: 700;
150
+ letter-spacing: 0.57px;
131
151
  }
132
- .typography__secondary-medium_1v5sg.typography__medium_1v5sg {
152
+ .typography__secondary-medium_1yij4.typography__medium_1yij4 {
133
153
  font-weight: 500;
154
+ letter-spacing: 0.19px;
134
155
  }
135
- .typography__secondary-small_1v5sg {
156
+ .typography__secondary-small_1yij4 {
136
157
  font-size: 11px;
137
158
  line-height: 16px;
138
159
  font-weight: 400;
139
- font-family: var(--font-family-system);
160
+ letter-spacing: 0.15px;
161
+ font-family: var(--font-family-alfasans);
140
162
  }
141
- .typography__secondary-small_1v5sg.typography__bold_1v5sg {
163
+ .typography__secondary-small_1yij4.typography__bold_1yij4 {
142
164
  font-weight: 700;
165
+ letter-spacing: 0.54px;
143
166
  }
144
- .typography__secondary-small_1v5sg.typography__medium_1v5sg {
167
+ .typography__secondary-small_1yij4.typography__medium_1yij4 {
145
168
  font-weight: 500;
169
+ letter-spacing: 0.24px;
146
170
  }
147
- .typography__component-secondary_1v5sg {
171
+ .typography__component-secondary_1yij4 {
148
172
  font-size: 14px;
149
173
  line-height: 18px;
150
174
  font-weight: 400;
151
- font-family: var(--font-family-system);
175
+ letter-spacing: -0.08px;
176
+ font-family: var(--font-family-alfasans);
152
177
  }
153
- .typography__component-secondary_1v5sg.typography__bold_1v5sg {
178
+ .typography__component-secondary_1yij4.typography__bold_1yij4 {
154
179
  font-weight: 700;
180
+ letter-spacing: 0.47px;
155
181
  }
156
- .typography__component-secondary_1v5sg.typography__medium_1v5sg {
182
+ .typography__component-secondary_1yij4.typography__medium_1yij4 {
157
183
  font-weight: 500;
184
+ letter-spacing: 0.07px;
158
185
  }
159
- .typography__rowLimit1_1v5sg {
186
+ .typography__rowLimit1_1yij4 {
160
187
  -webkit-line-clamp: 1;
161
188
  display: -webkit-box;
162
189
  -webkit-box-orient: vertical;
163
190
  overflow: hidden;
164
191
  word-break: break-all;
165
192
  }
166
- .typography__rowLimit2_1v5sg {
193
+ .typography__rowLimit2_1yij4 {
167
194
  -webkit-line-clamp: 2;
168
195
  display: -webkit-box;
169
196
  -webkit-box-orient: vertical;
170
197
  overflow: hidden;
171
198
  }
172
- .typography__rowLimit3_1v5sg {
199
+ .typography__rowLimit3_1yij4 {
173
200
  -webkit-line-clamp: 3;
174
201
  display: -webkit-box;
175
202
  -webkit-box-orient: vertical;
176
203
  overflow: hidden;
177
204
  }
178
- .typography__monospace_1v5sg {
205
+ .typography__monospace_1yij4 {
179
206
  font-feature-settings: "tnum";
180
207
  font-variant-numeric: tabular-nums;
181
208
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"transparent":"typography__transparent_1v5sg","paragraph":"typography__paragraph_1v5sg","paragraphWithMargins":"typography__paragraphWithMargins_1v5sg","component":"typography__component_1v5sg","bold":"typography__bold_1v5sg","medium":"typography__medium_1v5sg","caps":"typography__caps_1v5sg","tagline":"typography__tagline_1v5sg","primary-large":"typography__primary-large_1v5sg","primary-medium":"typography__primary-medium_1v5sg","primary-small":"typography__primary-small_1v5sg","component-primary":"typography__component-primary_1v5sg","secondary-large":"typography__secondary-large_1v5sg","secondary-medium":"typography__secondary-medium_1v5sg","secondary-small":"typography__secondary-small_1v5sg","component-secondary":"typography__component-secondary_1v5sg","rowLimit1":"typography__rowLimit1_1v5sg","rowLimit2":"typography__rowLimit2_1v5sg","rowLimit3":"typography__rowLimit3_1v5sg","monospace":"typography__monospace_1v5sg"};
3
+ var styles = {"transparent":"typography__transparent_1yij4","paragraph":"typography__paragraph_1yij4","paragraphWithMargins":"typography__paragraphWithMargins_1yij4","component":"typography__component_1yij4","bold":"typography__bold_1yij4","medium":"typography__medium_1yij4","caps":"typography__caps_1yij4","tagline":"typography__tagline_1yij4","primary-large":"typography__primary-large_1yij4","primary-medium":"typography__primary-medium_1yij4","primary-small":"typography__primary-small_1yij4","component-primary":"typography__component-primary_1yij4","secondary-large":"typography__secondary-large_1yij4","secondary-medium":"typography__secondary-medium_1yij4","secondary-small":"typography__secondary-small_1yij4","component-secondary":"typography__component-secondary_1yij4","rowLimit1":"typography__rowLimit1_1yij4","rowLimit2":"typography__rowLimit2_1yij4","rowLimit3":"typography__rowLimit3_1yij4","monospace":"typography__monospace_1yij4"};
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_16406 {
4
+ .typography__transparent_1h0nz {
5
5
  opacity: 0;
6
6
  }
7
- .typography__component_16406 {
7
+ .typography__component_1h0nz {
8
8
  margin: var(--gap-0);
9
9
  padding: var(--gap-0);
10
10
  }
11
- .typography__rowLimit1_16406 {
11
+ .typography__rowLimit1_1h0nz {
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_16406 {
18
+ .typography__rowLimit2_1h0nz {
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_16406 {
24
+ .typography__rowLimit3_1h0nz {
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_16406","component":"typography__component_16406","rowLimit1":"typography__rowLimit1_16406","rowLimit2":"typography__rowLimit2_16406","rowLimit3":"typography__rowLimit3_16406"};
3
+ var commonStyles = {"transparent":"typography__transparent_1h0nz","component":"typography__component_1h0nz","rowLimit1":"typography__rowLimit1_1h0nz","rowLimit2":"typography__rowLimit2_1h0nz","rowLimit3":"typography__rowLimit3_1h0nz"};
4
4
 
5
5
  export { commonStyles as default };
6
6
  //# sourceMappingURL=common.module.css.js.map
@@ -22,10 +22,7 @@ export type TitleProps = Omit<NativeProps, 'color'> & {
22
22
  /**
23
23
  * Шрифт текста
24
24
  */
25
- font?: 'styrene' | 'system' | 'alfasans' | {
26
- font: 'alfasans';
27
- systemCompat: boolean;
28
- };
25
+ font?: 'styrene' | 'system';
29
26
  /**
30
27
  * Добавляет отступы
31
28
  */
@@ -86,10 +83,7 @@ export declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps
86
83
  /**
87
84
  * Шрифт текста
88
85
  */
89
- font?: "styrene" | "system" | "alfasans" | {
90
- font: "alfasans";
91
- systemCompat: boolean;
92
- };
86
+ font?: "styrene" | "system";
93
87
  /**
94
88
  * Добавляет отступы
95
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