@alfalab/core-components-typography 2.4.0 → 2.5.1

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 (78) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/colors.css +13 -13
  3. package/dist/{colors.module-b49595f3.d.ts → colors.module-fc9d4419.d.ts} +0 -0
  4. package/dist/{colors.module-b49595f3.js → colors.module-fc9d4419.js} +1 -1
  5. package/dist/common.module-d2a13511.js +6 -0
  6. package/dist/component.js +2 -2
  7. package/dist/cssm/index.d.ts +1 -0
  8. package/dist/cssm/index.js +2 -0
  9. package/dist/cssm/presets.d.ts +18 -0
  10. package/dist/cssm/presets.js +23 -0
  11. package/dist/cssm/title-responsive/index.module.css +7 -47
  12. package/dist/esm/colors.css +13 -13
  13. package/dist/esm/{colors.module-7fc54cb2.d.ts → colors.module-4e501783.d.ts} +0 -0
  14. package/dist/esm/{colors.module-7fc54cb2.js → colors.module-4e501783.js} +1 -1
  15. package/dist/esm/common.module-99cbee70.js +4 -0
  16. package/dist/esm/component.js +2 -2
  17. package/dist/esm/index.d.ts +1 -0
  18. package/dist/esm/index.js +3 -2
  19. package/dist/esm/presets.d.ts +18 -0
  20. package/dist/esm/presets.js +19 -0
  21. package/dist/esm/text/component.js +2 -2
  22. package/dist/esm/text/index.css +14 -14
  23. package/dist/esm/text/index.js +1 -1
  24. package/dist/esm/title/common.css +5 -5
  25. package/dist/esm/title/component.js +1 -1
  26. package/dist/esm/title/index.css +19 -19
  27. package/dist/esm/title/index.js +3 -3
  28. package/dist/esm/title-mobile/component.js +3 -3
  29. package/dist/esm/title-mobile/index.css +14 -14
  30. package/dist/esm/title-mobile/index.js +2 -2
  31. package/dist/esm/title-responsive/component.js +3 -3
  32. package/dist/esm/title-responsive/index.css +48 -88
  33. package/dist/esm/title-responsive/index.js +2 -2
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +4 -2
  36. package/dist/modern/colors.css +13 -13
  37. package/dist/modern/colors.module-f3004698.js +4 -0
  38. package/dist/modern/common.module-99cbee70.js +4 -0
  39. package/dist/modern/component.js +2 -2
  40. package/dist/modern/index.d.ts +1 -0
  41. package/dist/modern/index.js +3 -2
  42. package/dist/modern/presets.d.ts +18 -0
  43. package/dist/modern/presets.js +19 -0
  44. package/dist/modern/text/component.js +2 -2
  45. package/dist/modern/text/index.css +14 -14
  46. package/dist/modern/text/index.js +1 -1
  47. package/dist/modern/title/common.css +5 -5
  48. package/dist/modern/title/component.js +1 -1
  49. package/dist/modern/title/index.css +19 -19
  50. package/dist/modern/title/index.js +3 -3
  51. package/dist/modern/title-mobile/component.js +3 -3
  52. package/dist/modern/title-mobile/index.css +14 -14
  53. package/dist/modern/title-mobile/index.js +2 -2
  54. package/dist/modern/title-responsive/component.js +3 -3
  55. package/dist/modern/title-responsive/index.css +48 -88
  56. package/dist/modern/title-responsive/index.js +2 -2
  57. package/dist/presets.d.ts +18 -0
  58. package/dist/presets.js +23 -0
  59. package/dist/text/component.d.ts +2 -2
  60. package/dist/text/component.js +2 -2
  61. package/dist/text/index.css +14 -14
  62. package/dist/text/index.js +1 -1
  63. package/dist/title/common.css +5 -5
  64. package/dist/title/component.d.ts +3 -3
  65. package/dist/title/component.js +1 -1
  66. package/dist/title/index.css +19 -19
  67. package/dist/title/index.js +3 -3
  68. package/dist/title-mobile/component.js +3 -3
  69. package/dist/title-mobile/index.css +14 -14
  70. package/dist/title-mobile/index.js +2 -2
  71. package/dist/title-responsive/component.js +3 -3
  72. package/dist/title-responsive/index.css +48 -88
  73. package/dist/title-responsive/index.js +2 -2
  74. package/package.json +3 -3
  75. package/dist/common.module-f1e23ebf.js +0 -6
  76. package/dist/esm/common.module-6a3ec549.js +0 -4
  77. package/dist/modern/colors.module-63a7d62a.js +0 -4
  78. package/dist/modern/common.module-6a3ec549.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1gcj5 */
1
+ /* hash: 1qjmv */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,87 +17,87 @@
17
17
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
- .typography__styrene-xlarge_411ik {
20
+ .typography__styrene-xlarge_1vryw {
21
21
  font-size: 48px;
22
22
  line-height: 64px;
23
23
  font-weight: 500;
24
24
  font-feature-settings: 'ss01';
25
25
  font-family: var(--font-family-styrene);
26
26
  }
27
- .typography__styrene-large_411ik {
27
+ .typography__styrene-large_1vryw {
28
28
  font-size: 40px;
29
29
  line-height: 48px;
30
30
  font-weight: 500;
31
31
  font-feature-settings: 'ss01';
32
32
  font-family: var(--font-family-styrene);
33
33
  }
34
- .typography__styrene-medium_411ik {
34
+ .typography__styrene-medium_1vryw {
35
35
  font-size: 32px;
36
36
  line-height: 40px;
37
37
  font-weight: 500;
38
38
  font-feature-settings: 'ss01';
39
39
  font-family: var(--font-family-styrene);
40
40
  }
41
- .typography__styrene-small_411ik {
41
+ .typography__styrene-small_1vryw {
42
42
  font-size: 24px;
43
43
  line-height: 32px;
44
44
  font-weight: 500;
45
45
  font-feature-settings: 'ss01';
46
46
  font-family: var(--font-family-styrene);
47
47
  }
48
- .typography__styrene-xsmall_411ik {
48
+ .typography__styrene-xsmall_1vryw {
49
49
  font-size: 20px;
50
50
  line-height: 24px;
51
51
  font-weight: 500;
52
52
  font-feature-settings: 'ss01';
53
53
  font-family: var(--font-family-styrene);
54
54
  }
55
- .typography__system-xlarge_411ik {
55
+ .typography__system-xlarge_1vryw {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_411ik {
60
+ .typography__system-large_1vryw {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_411ik {
65
+ .typography__system-medium_1vryw {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_411ik {
70
+ .typography__system-small_1vryw {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_411ik {
75
+ .typography__system-xsmall_1vryw {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_411ik {
80
+ .typography__margins-xlarge_1vryw {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_411ik {
83
+ .typography__margins-large_1vryw {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_411ik {
86
+ .typography__margins-medium_1vryw {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_411ik {
89
+ .typography__margins-small_1vryw {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_411ik {
92
+ .typography__margins-xsmall_1vryw {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_411ik {
95
+ .typography__bold_1vryw {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_411ik {
98
+ .typography__medium_1vryw {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_411ik {
101
+ .typography__regular_1vryw {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-7fc54cb2.js';
1
+ import { _ as __assign } from '../colors.module-4e501783.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title as Title$1 } from './component.js';
5
- import { c as commonStyles } from '../common.module-6a3ec549.js';
5
+ import { c as commonStyles } from '../common.module-99cbee70.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_411ik","styrene-large":"typography__styrene-large_411ik","styrene-medium":"typography__styrene-medium_411ik","styrene-small":"typography__styrene-small_411ik","styrene-xsmall":"typography__styrene-xsmall_411ik","system-xlarge":"typography__system-xlarge_411ik","system-large":"typography__system-large_411ik","system-medium":"typography__system-medium_411ik","system-small":"typography__system-small_411ik","system-xsmall":"typography__system-xsmall_411ik","margins-xlarge":"typography__margins-xlarge_411ik","margins-large":"typography__margins-large_411ik","margins-medium":"typography__margins-medium_411ik","margins-small":"typography__margins-small_411ik","margins-xsmall":"typography__margins-xsmall_411ik","bold":"typography__bold_411ik","medium":"typography__medium_411ik","regular":"typography__regular_411ik"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1vryw","styrene-large":"typography__styrene-large_1vryw","styrene-medium":"typography__styrene-medium_1vryw","styrene-small":"typography__styrene-small_1vryw","styrene-xsmall":"typography__styrene-xsmall_1vryw","system-xlarge":"typography__system-xlarge_1vryw","system-large":"typography__system-large_1vryw","system-medium":"typography__system-medium_1vryw","system-small":"typography__system-small_1vryw","system-xsmall":"typography__system-xsmall_1vryw","margins-xlarge":"typography__margins-xlarge_1vryw","margins-large":"typography__margins-large_1vryw","margins-medium":"typography__margins-medium_1vryw","margins-small":"typography__margins-small_1vryw","margins-xsmall":"typography__margins-xsmall_1vryw","bold":"typography__bold_1vryw","medium":"typography__medium_1vryw","regular":"typography__regular_1vryw"};
8
8
  require('./index.css')
9
9
 
10
10
  var Title = function (props) {
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-7fc54cb2.js';
1
+ import { _ as __assign } from '../colors.module-4e501783.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-6a3ec549.js';
5
+ import { c as commonStyles } from '../common.module-99cbee70.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_qomdc","styrene-large":"typography__styrene-large_qomdc","styrene-medium":"typography__styrene-medium_qomdc","styrene-small":"typography__styrene-small_qomdc","styrene-xsmall":"typography__styrene-xsmall_qomdc","system-xlarge":"typography__system-xlarge_qomdc","system-large":"typography__system-large_qomdc","system-medium":"typography__system-medium_qomdc","system-small":"typography__system-small_qomdc","system-xsmall":"typography__system-xsmall_qomdc","bold":"typography__bold_qomdc","medium":"typography__medium_qomdc","regular":"typography__regular_qomdc"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_10941","styrene-large":"typography__styrene-large_10941","styrene-medium":"typography__styrene-medium_10941","styrene-small":"typography__styrene-small_10941","styrene-xsmall":"typography__styrene-xsmall_10941","system-xlarge":"typography__system-xlarge_10941","system-large":"typography__system-large_10941","system-medium":"typography__system-medium_10941","system-small":"typography__system-small_10941","system-xsmall":"typography__system-xsmall_10941","bold":"typography__bold_10941","medium":"typography__medium_10941","regular":"typography__regular_10941"};
8
8
  require('./index.css')
9
9
 
10
10
  var TitleMobile = function (props) {
@@ -1,4 +1,4 @@
1
- /* hash: 19t8c */
1
+ /* hash: rjmzw */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,72 +11,72 @@
11
11
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
12
  'Helvetica Neue', Helvetica, sans-serif;
13
13
  }
14
- .typography__styrene-xlarge_qomdc {
14
+ .typography__styrene-xlarge_10941 {
15
15
  font-size: 34px;
16
16
  line-height: 40px;
17
17
  font-weight: 500;
18
18
  font-feature-settings: 'ss01';
19
19
  font-family: var(--font-family-styrene);
20
20
  }
21
- .typography__styrene-large_qomdc {
21
+ .typography__styrene-large_10941 {
22
22
  font-size: 30px;
23
23
  line-height: 36px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-medium_qomdc {
28
+ .typography__styrene-medium_10941 {
29
29
  font-size: 26px;
30
30
  line-height: 32px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-small_qomdc {
35
+ .typography__styrene-small_10941 {
36
36
  font-size: 20px;
37
37
  line-height: 28px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-xsmall_qomdc {
42
+ .typography__styrene-xsmall_10941 {
43
43
  font-size: 16px;
44
44
  line-height: 24px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__system-xlarge_qomdc {
49
+ .typography__system-xlarge_10941 {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
53
  }
54
- .typography__system-large_qomdc {
54
+ .typography__system-large_10941 {
55
55
  font-size: 30px;
56
56
  line-height: 36px;
57
57
  font-weight: 600;
58
58
  }
59
- .typography__system-medium_qomdc {
59
+ .typography__system-medium_10941 {
60
60
  font-size: 26px;
61
61
  line-height: 32px;
62
62
  font-weight: 600;
63
63
  }
64
- .typography__system-small_qomdc {
64
+ .typography__system-small_10941 {
65
65
  font-size: 20px;
66
66
  line-height: 28px;
67
67
  font-weight: 600;
68
68
  }
69
- .typography__system-xsmall_qomdc {
69
+ .typography__system-xsmall_10941 {
70
70
  font-size: 16px;
71
71
  line-height: 24px;
72
72
  font-weight: 600;
73
73
  }
74
- .typography__bold_qomdc {
74
+ .typography__bold_10941 {
75
75
  font-weight: bold;
76
76
  }
77
- .typography__medium_qomdc {
77
+ .typography__medium_10941 {
78
78
  font-weight: 500;
79
79
  }
80
- .typography__regular_qomdc {
80
+ .typography__regular_10941 {
81
81
  font-weight: normal;
82
82
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-7fc54cb2.js';
1
+ import '../colors.module-4e501783.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-6a3ec549.js';
5
+ import '../common.module-99cbee70.js';
6
6
  export { TitleMobile } from './component.js';
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-7fc54cb2.js';
1
+ import { _ as __assign } from '../colors.module-4e501783.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-6a3ec549.js';
5
+ import { c as commonStyles } from '../common.module-99cbee70.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1u73v","styrene-large":"typography__styrene-large_1u73v","styrene-medium":"typography__styrene-medium_1u73v","styrene-small":"typography__styrene-small_1u73v","styrene-xsmall":"typography__styrene-xsmall_1u73v","system-xlarge":"typography__system-xlarge_1u73v","system-large":"typography__system-large_1u73v","system-medium":"typography__system-medium_1u73v","system-small":"typography__system-small_1u73v","system-xsmall":"typography__system-xsmall_1u73v","margins-xlarge":"typography__margins-xlarge_1u73v","margins-large":"typography__margins-large_1u73v","margins-medium":"typography__margins-medium_1u73v","margins-small":"typography__margins-small_1u73v","margins-xsmall":"typography__margins-xsmall_1u73v"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_505xy","styrene-large":"typography__styrene-large_505xy","styrene-medium":"typography__styrene-medium_505xy","styrene-small":"typography__styrene-small_505xy","styrene-xsmall":"typography__styrene-xsmall_505xy","system-xlarge":"typography__system-xlarge_505xy","system-large":"typography__system-large_505xy","system-medium":"typography__system-medium_505xy","system-small":"typography__system-small_505xy","system-xsmall":"typography__system-xsmall_505xy","margins-xlarge":"typography__margins-xlarge_505xy","margins-large":"typography__margins-large_505xy","margins-medium":"typography__margins-medium_505xy","margins-small":"typography__margins-small_505xy","margins-xsmall":"typography__margins-xsmall_505xy"};
8
8
  require('./index.css')
9
9
 
10
10
  var TitleResponsive = function (props) {
@@ -1,4 +1,4 @@
1
- /* hash: dmklw */
1
+ /* hash: 7rpa7 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -18,174 +18,134 @@
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
20
  /* TODO: поменять медиа-запросы на миксины */
21
- .typography__styrene-xlarge_1u73v {
22
- font-size: 32px;
21
+ .typography__styrene-xlarge_505xy {
22
+ font-size: 34px;
23
23
  line-height: 40px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-large_1u73v {
29
- font-size: 24px;
30
- line-height: 32px;
28
+ .typography__styrene-large_505xy {
29
+ font-size: 30px;
30
+ line-height: 36px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-medium_1u73v {
36
- font-size: 20px;
37
- line-height: 24px;
35
+ .typography__styrene-medium_505xy {
36
+ font-size: 26px;
37
+ line-height: 32px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-small_1u73v {
42
+ .typography__styrene-small_505xy {
43
43
  font-size: 20px;
44
- line-height: 24px;
44
+ line-height: 28px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__styrene-xsmall_1u73v {
50
- font-size: 20px;
49
+ .typography__styrene-xsmall_505xy {
50
+ font-size: 16px;
51
51
  line-height: 24px;
52
52
  font-weight: 500;
53
53
  font-feature-settings: 'ss01';
54
54
  font-family: var(--font-family-styrene);
55
55
  }
56
- .typography__system-xlarge_1u73v {
56
+ .typography__system-xlarge_505xy {
57
57
  font-size: 30px;
58
58
  line-height: 36px;
59
59
  font-weight: 700;
60
60
  }
61
- .typography__system-large_1u73v {
61
+ .typography__system-large_505xy {
62
62
  font-size: 22px;
63
63
  line-height: 26px;
64
64
  font-weight: 700;
65
65
  }
66
- .typography__system-medium_1u73v {
66
+ .typography__system-medium_505xy {
67
67
  font-size: 18px;
68
68
  line-height: 22px;
69
69
  font-weight: 700;
70
70
  }
71
- .typography__system-small_1u73v {
71
+ .typography__system-small_505xy {
72
72
  font-size: 18px;
73
73
  line-height: 22px;
74
74
  font-weight: 700;
75
75
  }
76
- .typography__system-xsmall_1u73v {
76
+ .typography__system-xsmall_505xy {
77
77
  font-size: 18px;
78
78
  line-height: 22px;
79
79
  font-weight: 700;
80
80
  }
81
- .typography__margins-xlarge_1u73v {
81
+ .typography__margins-xlarge_505xy {
82
82
  margin: 0 0 var(--gap-xl);
83
83
  }
84
- .typography__margins-large_1u73v {
84
+ .typography__margins-large_505xy {
85
85
  margin: var(--gap-3xl) 0 var(--gap-m);
86
86
  }
87
- .typography__margins-medium_1u73v {
87
+ .typography__margins-medium_505xy {
88
88
  margin: var(--gap-3xl) 0 var(--gap-m);
89
89
  }
90
- .typography__margins-small_1u73v {
90
+ .typography__margins-small_505xy {
91
91
  margin: var(--gap-3xl) 0 var(--gap-m);
92
92
  }
93
- .typography__margins-xsmall_1u73v {
93
+ .typography__margins-xsmall_505xy {
94
94
  margin: var(--gap-3xl) 0 var(--gap-m);
95
95
  }
96
96
  @media screen and (min-width: 600px) {
97
- .typography__styrene-xlarge_1u73v {
98
- font-size: 40px;
99
- line-height: 48px;
100
- font-weight: 500;
101
- font-feature-settings: 'ss01';
102
- font-family: var(--font-family-styrene);
103
- }
104
-
105
- .typography__styrene-large_1u73v {
106
- font-size: 32px;
107
- line-height: 40px;
108
- font-weight: 500;
109
- font-feature-settings: 'ss01';
110
- font-family: var(--font-family-styrene);
111
- }
112
-
113
- .typography__styrene-medium_1u73v {
114
- font-size: 24px;
115
- line-height: 32px;
116
- font-weight: 500;
117
- font-feature-settings: 'ss01';
118
- font-family: var(--font-family-styrene);
119
- }
120
-
121
- .typography__styrene-small_1u73v {
122
- font-size: 24px;
123
- line-height: 32px;
124
- font-weight: 500;
125
- font-feature-settings: 'ss01';
126
- font-family: var(--font-family-styrene);
127
- }
128
-
129
- .typography__styrene-xsmall_1u73v {
130
- font-size: 20px;
131
- line-height: 24px;
132
- font-weight: 500;
133
- font-feature-settings: 'ss01';
134
- font-family: var(--font-family-styrene);
135
- }
136
-
137
- .typography__system-xlarge_1u73v {
97
+ .typography__system-xlarge_505xy {
138
98
  font-size: 40px;
139
99
  line-height: 48px;
140
100
  font-weight: 700;
141
101
  }
142
102
 
143
- .typography__system-large_1u73v {
103
+ .typography__system-large_505xy {
144
104
  font-size: 30px;
145
105
  line-height: 36px;
146
106
  font-weight: 700;
147
107
  }
148
108
 
149
- .typography__system-medium_1u73v {
109
+ .typography__system-medium_505xy {
150
110
  font-size: 22px;
151
111
  line-height: 26px;
152
112
  font-weight: 700;
153
113
  }
154
114
 
155
- .typography__system-small_1u73v {
115
+ .typography__system-small_505xy {
156
116
  font-size: 22px;
157
117
  line-height: 26px;
158
118
  font-weight: 700;
159
119
  }
160
120
 
161
- .typography__system-xsmall_1u73v {
121
+ .typography__system-xsmall_505xy {
162
122
  font-size: 18px;
163
123
  line-height: 22px;
164
124
  font-weight: 700;
165
125
  }
166
126
 
167
- .typography__margins-xlarge_1u73v {
127
+ .typography__margins-xlarge_505xy {
168
128
  margin: 0 0 var(--gap-xl);
169
129
  }
170
130
 
171
- .typography__margins-large_1u73v {
131
+ .typography__margins-large_505xy {
172
132
  margin: var(--gap-4xl) 0 var(--gap-xl);
173
133
  }
174
134
 
175
- .typography__margins-medium_1u73v {
135
+ .typography__margins-medium_505xy {
176
136
  margin: var(--gap-3xl) 0 var(--gap-m);
177
137
  }
178
138
 
179
- .typography__margins-small_1u73v {
139
+ .typography__margins-small_505xy {
180
140
  margin: var(--gap-3xl) 0 var(--gap-m);
181
141
  }
182
142
 
183
- .typography__margins-xsmall_1u73v {
143
+ .typography__margins-xsmall_505xy {
184
144
  margin: var(--gap-3xl) 0 var(--gap-m);
185
145
  }
186
146
  }
187
147
  @media screen and (min-width: 1024px) {
188
- .typography__styrene-xlarge_1u73v {
148
+ .typography__styrene-xlarge_505xy {
189
149
  font-size: 48px;
190
150
  line-height: 64px;
191
151
  font-weight: 500;
@@ -193,7 +153,7 @@
193
153
  font-family: var(--font-family-styrene);
194
154
  }
195
155
 
196
- .typography__styrene-large_1u73v {
156
+ .typography__styrene-large_505xy {
197
157
  font-size: 40px;
198
158
  line-height: 48px;
199
159
  font-weight: 500;
@@ -201,7 +161,7 @@
201
161
  font-family: var(--font-family-styrene);
202
162
  }
203
163
 
204
- .typography__styrene-medium_1u73v {
164
+ .typography__styrene-medium_505xy {
205
165
  font-size: 32px;
206
166
  line-height: 40px;
207
167
  font-weight: 500;
@@ -209,7 +169,7 @@
209
169
  font-family: var(--font-family-styrene);
210
170
  }
211
171
 
212
- .typography__styrene-small_1u73v {
172
+ .typography__styrene-small_505xy {
213
173
  font-size: 24px;
214
174
  line-height: 32px;
215
175
  font-weight: 500;
@@ -217,7 +177,7 @@
217
177
  font-family: var(--font-family-styrene);
218
178
  }
219
179
 
220
- .typography__styrene-xsmall_1u73v {
180
+ .typography__styrene-xsmall_505xy {
221
181
  font-size: 20px;
222
182
  line-height: 24px;
223
183
  font-weight: 500;
@@ -225,53 +185,53 @@
225
185
  font-family: var(--font-family-styrene);
226
186
  }
227
187
 
228
- .typography__system-xlarge_1u73v {
188
+ .typography__system-xlarge_505xy {
229
189
  font-size: 48px;
230
190
  line-height: 52px;
231
191
  font-weight: 700;
232
192
  }
233
193
 
234
- .typography__system-large_1u73v {
194
+ .typography__system-large_505xy {
235
195
  font-size: 40px;
236
196
  line-height: 48px;
237
197
  font-weight: 700;
238
198
  }
239
199
 
240
- .typography__system-medium_1u73v {
200
+ .typography__system-medium_505xy {
241
201
  font-size: 30px;
242
202
  line-height: 36px;
243
203
  font-weight: 700;
244
204
  }
245
205
 
246
- .typography__system-small_1u73v {
206
+ .typography__system-small_505xy {
247
207
  font-size: 22px;
248
208
  line-height: 26px;
249
209
  font-weight: 700;
250
210
  }
251
211
 
252
- .typography__system-xsmall_1u73v {
212
+ .typography__system-xsmall_505xy {
253
213
  font-size: 18px;
254
214
  line-height: 22px;
255
215
  font-weight: 700;
256
216
  }
257
217
 
258
- .typography__margins-xlarge_1u73v {
218
+ .typography__margins-xlarge_505xy {
259
219
  margin: 0 0 var(--gap-xl);
260
220
  }
261
221
 
262
- .typography__margins-large_1u73v {
222
+ .typography__margins-large_505xy {
263
223
  margin: var(--gap-4xl) 0 var(--gap-xl);
264
224
  }
265
225
 
266
- .typography__margins-medium_1u73v {
226
+ .typography__margins-medium_505xy {
267
227
  margin: var(--gap-4xl) 0 var(--gap-xl);
268
228
  }
269
229
 
270
- .typography__margins-small_1u73v {
230
+ .typography__margins-small_505xy {
271
231
  margin: var(--gap-3xl) 0 var(--gap-m);
272
232
  }
273
233
 
274
- .typography__margins-xsmall_1u73v {
234
+ .typography__margins-xsmall_505xy {
275
235
  margin: var(--gap-3xl) 0 var(--gap-m);
276
236
  }
277
237
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-7fc54cb2.js';
1
+ import '../colors.module-4e501783.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-6a3ec549.js';
5
+ import '../common.module-99cbee70.js';
6
6
  export { TitleResponsive } from './component.js';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./component";
2
+ export * from "./presets";
2
3
  export { TitleProps } from "./title/index";
3
4
  export { TextProps } from "./text/index";
package/dist/index.js CHANGED
@@ -2,17 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-b49595f3.js');
5
+ require('./colors.module-fc9d4419.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./title/component.js');
9
- require('./common.module-f1e23ebf.js');
9
+ require('./common.module-d2a13511.js');
10
10
  require('./title/index.js');
11
11
  require('./text/component.js');
12
12
  require('./title-responsive/component.js');
13
13
  require('./title-mobile/component.js');
14
14
  var component = require('./component.js');
15
+ var presets = require('./presets.js');
15
16
 
16
17
 
17
18
 
18
19
  exports.Typography = component.Typography;
20
+ exports.typographyPresets = presets.typographyPresets;
@@ -1,4 +1,4 @@
1
- /* hash: 1yiw4 */
1
+ /* hash: 1j1lw */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_zoxuj {
25
+ .typography__tertiary_v6g6s {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_zoxuj {
28
+ .typography__disabled_v6g6s {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_zoxuj {
31
+ .typography__accent_v6g6s {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_zoxuj {
34
+ .typography__primary_v6g6s {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_zoxuj {
37
+ .typography__attention_v6g6s {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_zoxuj {
40
+ .typography__positive_v6g6s {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_zoxuj {
43
+ .typography__secondary_v6g6s {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_zoxuj {
46
+ .typography__tertiary-inverted_v6g6s {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_zoxuj {
49
+ .typography__primary-inverted_v6g6s {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_zoxuj {
52
+ .typography__secondary-inverted_v6g6s {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_zoxuj {
55
+ .typography__link_v6g6s {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_zoxuj {
58
+ .typography__negative_v6g6s {
59
59
  color: var(--color-light-text-negative);
60
60
  }