@alfalab/core-components-typography 2.3.0 → 2.5.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 (94) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/colors.css +13 -13
  3. package/dist/{colors.module-35c48cf7.d.ts → colors.module-14ced997.d.ts} +0 -0
  4. package/dist/{colors.module-35c48cf7.js → colors.module-14ced997.js} +1 -1
  5. package/dist/common.module-01d90d2d.js +6 -0
  6. package/dist/component.d.ts +2 -0
  7. package/dist/component.js +4 -2
  8. package/dist/cssm/component.d.ts +2 -0
  9. package/dist/cssm/component.js +3 -0
  10. package/dist/cssm/index.d.ts +1 -0
  11. package/dist/cssm/index.js +4 -0
  12. package/dist/cssm/presets.d.ts +18 -0
  13. package/dist/cssm/presets.js +23 -0
  14. package/dist/cssm/title-mobile/component.d.ts +5 -0
  15. package/dist/cssm/title-mobile/component.js +27 -0
  16. package/dist/cssm/title-mobile/index.d.ts +1 -0
  17. package/dist/cssm/title-mobile/index.js +16 -0
  18. package/dist/cssm/title-mobile/index.module.css +81 -0
  19. package/dist/cssm/title-responsive/index.module.css +7 -47
  20. package/dist/esm/colors.css +13 -13
  21. package/dist/esm/{colors.module-2c206829.d.ts → colors.module-fef377ec.d.ts} +0 -0
  22. package/dist/esm/{colors.module-2c206829.js → colors.module-fef377ec.js} +1 -1
  23. package/dist/esm/common.module-f9c1ed2c.js +4 -0
  24. package/dist/esm/component.d.ts +2 -0
  25. package/dist/esm/component.js +4 -2
  26. package/dist/esm/index.d.ts +1 -0
  27. package/dist/esm/index.js +4 -2
  28. package/dist/esm/presets.d.ts +18 -0
  29. package/dist/esm/presets.js +19 -0
  30. package/dist/esm/text/component.js +2 -2
  31. package/dist/esm/text/index.css +14 -14
  32. package/dist/esm/text/index.js +1 -1
  33. package/dist/esm/title/common.css +5 -5
  34. package/dist/esm/title/component.js +1 -1
  35. package/dist/esm/title/index.css +19 -19
  36. package/dist/esm/title/index.js +3 -3
  37. package/dist/esm/title-mobile/component.d.ts +5 -0
  38. package/dist/esm/title-mobile/component.js +18 -0
  39. package/dist/esm/title-mobile/index.css +82 -0
  40. package/dist/esm/title-mobile/index.d.ts +1 -0
  41. package/dist/esm/title-mobile/index.js +6 -0
  42. package/dist/esm/title-responsive/component.js +3 -3
  43. package/dist/esm/title-responsive/index.css +48 -88
  44. package/dist/esm/title-responsive/index.js +2 -2
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.js +5 -2
  47. package/dist/modern/colors.css +13 -13
  48. package/dist/modern/colors.module-b724016d.js +4 -0
  49. package/dist/modern/common.module-f9c1ed2c.js +4 -0
  50. package/dist/modern/component.d.ts +2 -0
  51. package/dist/modern/component.js +4 -2
  52. package/dist/modern/index.d.ts +1 -0
  53. package/dist/modern/index.js +4 -2
  54. package/dist/modern/presets.d.ts +18 -0
  55. package/dist/modern/presets.js +19 -0
  56. package/dist/modern/text/component.js +2 -2
  57. package/dist/modern/text/index.css +14 -14
  58. package/dist/modern/text/index.js +1 -1
  59. package/dist/modern/title/common.css +5 -5
  60. package/dist/modern/title/component.js +1 -1
  61. package/dist/modern/title/index.css +19 -19
  62. package/dist/modern/title/index.js +3 -3
  63. package/dist/modern/title-mobile/component.d.ts +5 -0
  64. package/dist/modern/title-mobile/component.js +18 -0
  65. package/dist/modern/title-mobile/index.css +82 -0
  66. package/dist/modern/title-mobile/index.d.ts +1 -0
  67. package/dist/modern/title-mobile/index.js +6 -0
  68. package/dist/modern/title-responsive/component.js +3 -3
  69. package/dist/modern/title-responsive/index.css +48 -88
  70. package/dist/modern/title-responsive/index.js +2 -2
  71. package/dist/presets.d.ts +18 -0
  72. package/dist/presets.js +23 -0
  73. package/dist/text/component.d.ts +2 -2
  74. package/dist/text/component.js +2 -2
  75. package/dist/text/index.css +14 -14
  76. package/dist/text/index.js +1 -1
  77. package/dist/title/common.css +5 -5
  78. package/dist/title/component.d.ts +3 -3
  79. package/dist/title/component.js +1 -1
  80. package/dist/title/index.css +19 -19
  81. package/dist/title/index.js +3 -3
  82. package/dist/title-mobile/component.d.ts +5 -0
  83. package/dist/title-mobile/component.js +26 -0
  84. package/dist/title-mobile/index.css +82 -0
  85. package/dist/title-mobile/index.d.ts +1 -0
  86. package/dist/title-mobile/index.js +14 -0
  87. package/dist/title-responsive/component.js +3 -3
  88. package/dist/title-responsive/index.css +48 -88
  89. package/dist/title-responsive/index.js +2 -2
  90. package/package.json +2 -2
  91. package/dist/common.module-8f8baeca.js +0 -6
  92. package/dist/esm/common.module-c6bc7a27.js +0 -4
  93. package/dist/modern/colors.module-148ba739.js +0 -4
  94. package/dist/modern/common.module-c6bc7a27.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 19kun */
1
+ /* hash: 1xbbd */
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_27e0j {
20
+ .typography__styrene-xlarge_1util {
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_27e0j {
27
+ .typography__styrene-large_1util {
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_27e0j {
34
+ .typography__styrene-medium_1util {
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_27e0j {
41
+ .typography__styrene-small_1util {
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_27e0j {
48
+ .typography__styrene-xsmall_1util {
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_27e0j {
55
+ .typography__system-xlarge_1util {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_27e0j {
60
+ .typography__system-large_1util {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_27e0j {
65
+ .typography__system-medium_1util {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_27e0j {
70
+ .typography__system-small_1util {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_27e0j {
75
+ .typography__system-xsmall_1util {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_27e0j {
80
+ .typography__margins-xlarge_1util {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_27e0j {
83
+ .typography__margins-large_1util {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_27e0j {
86
+ .typography__margins-medium_1util {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_27e0j {
89
+ .typography__margins-small_1util {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_27e0j {
92
+ .typography__margins-xsmall_1util {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_27e0j {
95
+ .typography__bold_1util {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_27e0j {
98
+ .typography__medium_1util {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_27e0j {
101
+ .typography__regular_1util {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-148ba739.js';
3
+ import '../colors.module-b724016d.js';
4
4
  import { Title as Title$1 } from './component.js';
5
- import { c as commonStyles } from '../common.module-c6bc7a27.js';
5
+ import { c as commonStyles } from '../common.module-f9c1ed2c.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_27e0j","styrene-large":"typography__styrene-large_27e0j","styrene-medium":"typography__styrene-medium_27e0j","styrene-small":"typography__styrene-small_27e0j","styrene-xsmall":"typography__styrene-xsmall_27e0j","system-xlarge":"typography__system-xlarge_27e0j","system-large":"typography__system-large_27e0j","system-medium":"typography__system-medium_27e0j","system-small":"typography__system-small_27e0j","system-xsmall":"typography__system-xsmall_27e0j","margins-xlarge":"typography__margins-xlarge_27e0j","margins-large":"typography__margins-large_27e0j","margins-medium":"typography__margins-medium_27e0j","margins-small":"typography__margins-small_27e0j","margins-xsmall":"typography__margins-xsmall_27e0j","bold":"typography__bold_27e0j","medium":"typography__medium_27e0j","regular":"typography__regular_27e0j"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1util","styrene-large":"typography__styrene-large_1util","styrene-medium":"typography__styrene-medium_1util","styrene-small":"typography__styrene-small_1util","styrene-xsmall":"typography__styrene-xsmall_1util","system-xlarge":"typography__system-xlarge_1util","system-large":"typography__system-large_1util","system-medium":"typography__system-medium_1util","system-small":"typography__system-small_1util","system-xsmall":"typography__system-xsmall_1util","margins-xlarge":"typography__margins-xlarge_1util","margins-large":"typography__margins-large_1util","margins-medium":"typography__margins-medium_1util","margins-small":"typography__margins-small_1util","margins-xsmall":"typography__margins-xsmall_1util","bold":"typography__bold_1util","medium":"typography__medium_1util","regular":"typography__regular_1util"};
8
8
  require('./index.css')
9
9
 
10
10
  const Title = props => {
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { TitleProps } from "../title/component";
3
+ type TitleMobileProps = Omit<TitleProps, 'defaultMargins'>;
4
+ declare const TitleMobile: FC<TitleMobileProps>;
5
+ export { TitleMobileProps, TitleMobile };
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import 'classnames';
3
+ import '../colors.module-b724016d.js';
4
+ import { Title } from '../title/component.js';
5
+ import { c as commonStyles } from '../common.module-f9c1ed2c.js';
6
+
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1ypfk","styrene-large":"typography__styrene-large_1ypfk","styrene-medium":"typography__styrene-medium_1ypfk","styrene-small":"typography__styrene-small_1ypfk","styrene-xsmall":"typography__styrene-xsmall_1ypfk","system-xlarge":"typography__system-xlarge_1ypfk","system-large":"typography__system-large_1ypfk","system-medium":"typography__system-medium_1ypfk","system-small":"typography__system-small_1ypfk","system-xsmall":"typography__system-xsmall_1ypfk","bold":"typography__bold_1ypfk","medium":"typography__medium_1ypfk","regular":"typography__regular_1ypfk"};
8
+ require('./index.css')
9
+
10
+ const TitleMobile = props => {
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ return React.createElement(Title, Object.assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
+ };
17
+
18
+ export { TitleMobile };
@@ -0,0 +1,82 @@
1
+ /* hash: kryi4 */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
+ 'Helvetica Neue', Helvetica, sans-serif;
13
+ }
14
+ .typography__styrene-xlarge_1ypfk {
15
+ font-size: 34px;
16
+ line-height: 40px;
17
+ font-weight: 500;
18
+ font-feature-settings: 'ss01';
19
+ font-family: var(--font-family-styrene);
20
+ }
21
+ .typography__styrene-large_1ypfk {
22
+ font-size: 30px;
23
+ line-height: 36px;
24
+ font-weight: 500;
25
+ font-feature-settings: 'ss01';
26
+ font-family: var(--font-family-styrene);
27
+ }
28
+ .typography__styrene-medium_1ypfk {
29
+ font-size: 26px;
30
+ line-height: 32px;
31
+ font-weight: 500;
32
+ font-feature-settings: 'ss01';
33
+ font-family: var(--font-family-styrene);
34
+ }
35
+ .typography__styrene-small_1ypfk {
36
+ font-size: 20px;
37
+ line-height: 28px;
38
+ font-weight: 500;
39
+ font-feature-settings: 'ss01';
40
+ font-family: var(--font-family-styrene);
41
+ }
42
+ .typography__styrene-xsmall_1ypfk {
43
+ font-size: 16px;
44
+ line-height: 24px;
45
+ font-weight: 500;
46
+ font-feature-settings: 'ss01';
47
+ font-family: var(--font-family-styrene);
48
+ }
49
+ .typography__system-xlarge_1ypfk {
50
+ font-size: 34px;
51
+ line-height: 40px;
52
+ font-weight: 600;
53
+ }
54
+ .typography__system-large_1ypfk {
55
+ font-size: 30px;
56
+ line-height: 36px;
57
+ font-weight: 600;
58
+ }
59
+ .typography__system-medium_1ypfk {
60
+ font-size: 26px;
61
+ line-height: 32px;
62
+ font-weight: 600;
63
+ }
64
+ .typography__system-small_1ypfk {
65
+ font-size: 20px;
66
+ line-height: 28px;
67
+ font-weight: 600;
68
+ }
69
+ .typography__system-xsmall_1ypfk {
70
+ font-size: 16px;
71
+ line-height: 24px;
72
+ font-weight: 600;
73
+ }
74
+ .typography__bold_1ypfk {
75
+ font-weight: bold;
76
+ }
77
+ .typography__medium_1ypfk {
78
+ font-weight: 500;
79
+ }
80
+ .typography__regular_1ypfk {
81
+ font-weight: normal;
82
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../colors.module-b724016d.js';
4
+ import '../title/component.js';
5
+ import '../common.module-f9c1ed2c.js';
6
+ export { TitleMobile } from './component.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-148ba739.js';
3
+ import '../colors.module-b724016d.js';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-c6bc7a27.js';
5
+ import { c as commonStyles } from '../common.module-f9c1ed2c.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1467o","styrene-large":"typography__styrene-large_1467o","styrene-medium":"typography__styrene-medium_1467o","styrene-small":"typography__styrene-small_1467o","styrene-xsmall":"typography__styrene-xsmall_1467o","system-xlarge":"typography__system-xlarge_1467o","system-large":"typography__system-large_1467o","system-medium":"typography__system-medium_1467o","system-small":"typography__system-small_1467o","system-xsmall":"typography__system-xsmall_1467o","margins-xlarge":"typography__margins-xlarge_1467o","margins-large":"typography__margins-large_1467o","margins-medium":"typography__margins-medium_1467o","margins-small":"typography__margins-small_1467o","margins-xsmall":"typography__margins-xsmall_1467o"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_15h6y","styrene-large":"typography__styrene-large_15h6y","styrene-medium":"typography__styrene-medium_15h6y","styrene-small":"typography__styrene-small_15h6y","styrene-xsmall":"typography__styrene-xsmall_15h6y","system-xlarge":"typography__system-xlarge_15h6y","system-large":"typography__system-large_15h6y","system-medium":"typography__system-medium_15h6y","system-small":"typography__system-small_15h6y","system-xsmall":"typography__system-xsmall_15h6y","margins-xlarge":"typography__margins-xlarge_15h6y","margins-large":"typography__margins-large_15h6y","margins-medium":"typography__margins-medium_15h6y","margins-small":"typography__margins-small_15h6y","margins-xsmall":"typography__margins-xsmall_15h6y"};
8
8
  require('./index.css')
9
9
 
10
10
  const TitleResponsive = props => {
@@ -1,4 +1,4 @@
1
- /* hash: 1awxd */
1
+ /* hash: 19igk */
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_1467o {
22
- font-size: 32px;
21
+ .typography__styrene-xlarge_15h6y {
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_1467o {
29
- font-size: 24px;
30
- line-height: 32px;
28
+ .typography__styrene-large_15h6y {
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_1467o {
36
- font-size: 20px;
37
- line-height: 24px;
35
+ .typography__styrene-medium_15h6y {
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_1467o {
42
+ .typography__styrene-small_15h6y {
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_1467o {
50
- font-size: 20px;
49
+ .typography__styrene-xsmall_15h6y {
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_1467o {
56
+ .typography__system-xlarge_15h6y {
57
57
  font-size: 30px;
58
58
  line-height: 36px;
59
59
  font-weight: 700;
60
60
  }
61
- .typography__system-large_1467o {
61
+ .typography__system-large_15h6y {
62
62
  font-size: 22px;
63
63
  line-height: 26px;
64
64
  font-weight: 700;
65
65
  }
66
- .typography__system-medium_1467o {
66
+ .typography__system-medium_15h6y {
67
67
  font-size: 18px;
68
68
  line-height: 22px;
69
69
  font-weight: 700;
70
70
  }
71
- .typography__system-small_1467o {
71
+ .typography__system-small_15h6y {
72
72
  font-size: 18px;
73
73
  line-height: 22px;
74
74
  font-weight: 700;
75
75
  }
76
- .typography__system-xsmall_1467o {
76
+ .typography__system-xsmall_15h6y {
77
77
  font-size: 18px;
78
78
  line-height: 22px;
79
79
  font-weight: 700;
80
80
  }
81
- .typography__margins-xlarge_1467o {
81
+ .typography__margins-xlarge_15h6y {
82
82
  margin: 0 0 var(--gap-xl);
83
83
  }
84
- .typography__margins-large_1467o {
84
+ .typography__margins-large_15h6y {
85
85
  margin: var(--gap-3xl) 0 var(--gap-m);
86
86
  }
87
- .typography__margins-medium_1467o {
87
+ .typography__margins-medium_15h6y {
88
88
  margin: var(--gap-3xl) 0 var(--gap-m);
89
89
  }
90
- .typography__margins-small_1467o {
90
+ .typography__margins-small_15h6y {
91
91
  margin: var(--gap-3xl) 0 var(--gap-m);
92
92
  }
93
- .typography__margins-xsmall_1467o {
93
+ .typography__margins-xsmall_15h6y {
94
94
  margin: var(--gap-3xl) 0 var(--gap-m);
95
95
  }
96
96
  @media screen and (min-width: 600px) {
97
- .typography__styrene-xlarge_1467o {
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_1467o {
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_1467o {
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_1467o {
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_1467o {
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_1467o {
97
+ .typography__system-xlarge_15h6y {
138
98
  font-size: 40px;
139
99
  line-height: 48px;
140
100
  font-weight: 700;
141
101
  }
142
102
 
143
- .typography__system-large_1467o {
103
+ .typography__system-large_15h6y {
144
104
  font-size: 30px;
145
105
  line-height: 36px;
146
106
  font-weight: 700;
147
107
  }
148
108
 
149
- .typography__system-medium_1467o {
109
+ .typography__system-medium_15h6y {
150
110
  font-size: 22px;
151
111
  line-height: 26px;
152
112
  font-weight: 700;
153
113
  }
154
114
 
155
- .typography__system-small_1467o {
115
+ .typography__system-small_15h6y {
156
116
  font-size: 22px;
157
117
  line-height: 26px;
158
118
  font-weight: 700;
159
119
  }
160
120
 
161
- .typography__system-xsmall_1467o {
121
+ .typography__system-xsmall_15h6y {
162
122
  font-size: 18px;
163
123
  line-height: 22px;
164
124
  font-weight: 700;
165
125
  }
166
126
 
167
- .typography__margins-xlarge_1467o {
127
+ .typography__margins-xlarge_15h6y {
168
128
  margin: 0 0 var(--gap-xl);
169
129
  }
170
130
 
171
- .typography__margins-large_1467o {
131
+ .typography__margins-large_15h6y {
172
132
  margin: var(--gap-4xl) 0 var(--gap-xl);
173
133
  }
174
134
 
175
- .typography__margins-medium_1467o {
135
+ .typography__margins-medium_15h6y {
176
136
  margin: var(--gap-3xl) 0 var(--gap-m);
177
137
  }
178
138
 
179
- .typography__margins-small_1467o {
139
+ .typography__margins-small_15h6y {
180
140
  margin: var(--gap-3xl) 0 var(--gap-m);
181
141
  }
182
142
 
183
- .typography__margins-xsmall_1467o {
143
+ .typography__margins-xsmall_15h6y {
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_1467o {
148
+ .typography__styrene-xlarge_15h6y {
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_1467o {
156
+ .typography__styrene-large_15h6y {
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_1467o {
164
+ .typography__styrene-medium_15h6y {
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_1467o {
172
+ .typography__styrene-small_15h6y {
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_1467o {
180
+ .typography__styrene-xsmall_15h6y {
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_1467o {
188
+ .typography__system-xlarge_15h6y {
229
189
  font-size: 48px;
230
190
  line-height: 52px;
231
191
  font-weight: 700;
232
192
  }
233
193
 
234
- .typography__system-large_1467o {
194
+ .typography__system-large_15h6y {
235
195
  font-size: 40px;
236
196
  line-height: 48px;
237
197
  font-weight: 700;
238
198
  }
239
199
 
240
- .typography__system-medium_1467o {
200
+ .typography__system-medium_15h6y {
241
201
  font-size: 30px;
242
202
  line-height: 36px;
243
203
  font-weight: 700;
244
204
  }
245
205
 
246
- .typography__system-small_1467o {
206
+ .typography__system-small_15h6y {
247
207
  font-size: 22px;
248
208
  line-height: 26px;
249
209
  font-weight: 700;
250
210
  }
251
211
 
252
- .typography__system-xsmall_1467o {
212
+ .typography__system-xsmall_15h6y {
253
213
  font-size: 18px;
254
214
  line-height: 22px;
255
215
  font-weight: 700;
256
216
  }
257
217
 
258
- .typography__margins-xlarge_1467o {
218
+ .typography__margins-xlarge_15h6y {
259
219
  margin: 0 0 var(--gap-xl);
260
220
  }
261
221
 
262
- .typography__margins-large_1467o {
222
+ .typography__margins-large_15h6y {
263
223
  margin: var(--gap-4xl) 0 var(--gap-xl);
264
224
  }
265
225
 
266
- .typography__margins-medium_1467o {
226
+ .typography__margins-medium_15h6y {
267
227
  margin: var(--gap-4xl) 0 var(--gap-xl);
268
228
  }
269
229
 
270
- .typography__margins-small_1467o {
230
+ .typography__margins-small_15h6y {
271
231
  margin: var(--gap-3xl) 0 var(--gap-m);
272
232
  }
273
233
 
274
- .typography__margins-xsmall_1467o {
234
+ .typography__margins-xsmall_15h6y {
275
235
  margin: var(--gap-3xl) 0 var(--gap-m);
276
236
  }
277
237
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../colors.module-148ba739.js';
3
+ import '../colors.module-b724016d.js';
4
4
  import '../title/component.js';
5
- import '../common.module-c6bc7a27.js';
5
+ import '../common.module-f9c1ed2c.js';
6
6
  export { TitleResponsive } from './component.js';
@@ -0,0 +1,18 @@
1
+ declare const typographyPresets: {
2
+ mobile: {
3
+ list: {
4
+ text: {
5
+ primary: {
6
+ tag: string;
7
+ view: string;
8
+ };
9
+ secondary: {
10
+ tag: string;
11
+ color: string;
12
+ view: string;
13
+ };
14
+ };
15
+ };
16
+ };
17
+ };
18
+ export { typographyPresets };
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var typographyPresets = {
6
+ mobile: {
7
+ list: {
8
+ text: {
9
+ primary: {
10
+ tag: 'div',
11
+ view: 'primary-medium',
12
+ },
13
+ secondary: {
14
+ tag: 'div',
15
+ color: 'secondary',
16
+ view: 'primary-small',
17
+ },
18
+ },
19
+ },
20
+ },
21
+ };
22
+
23
+ exports.typographyPresets = typographyPresets;
@@ -50,7 +50,7 @@ declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultCh
50
50
  /**
51
51
  * Толщина шрифта
52
52
  */
53
- weight?: "regular" | "medium" | "bold" | undefined;
53
+ weight?: "medium" | "regular" | "bold" | undefined;
54
54
  /**
55
55
  * Делает цифры моноширинными
56
56
  */
@@ -58,7 +58,7 @@ declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultCh
58
58
  /**
59
59
  * HTML тег
60
60
  */
61
- tag?: "p" | "span" | "div" | undefined;
61
+ tag?: "div" | "p" | "span" | undefined;
62
62
  /**
63
63
  * Css-класс для стилизации (native prop)
64
64
  */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var colors_module = require('../colors.module-35c48cf7.js');
5
+ var colors_module = require('../colors.module-14ced997.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
 
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
13
13
 
14
- var styles = {"paragraph":"typography__paragraph_15q31","primary-large":"typography__primary-large_15q31","primary-medium":"typography__primary-medium_15q31","primary-small":"typography__primary-small_15q31","secondary-large":"typography__secondary-large_15q31","secondary-medium":"typography__secondary-medium_15q31","secondary-small":"typography__secondary-small_15q31","component":"typography__component_15q31","caps":"typography__caps_15q31","bold":"typography__bold_15q31","medium":"typography__medium_15q31","regular":"typography__regular_15q31","monospace":"typography__monospace_15q31"};
14
+ var styles = {"paragraph":"typography__paragraph_1c52j","primary-large":"typography__primary-large_1c52j","primary-medium":"typography__primary-medium_1c52j","primary-small":"typography__primary-small_1c52j","secondary-large":"typography__secondary-large_1c52j","secondary-medium":"typography__secondary-medium_1c52j","secondary-small":"typography__secondary-small_1c52j","component":"typography__component_1c52j","caps":"typography__caps_1c52j","bold":"typography__bold_1c52j","medium":"typography__medium_1c52j","regular":"typography__regular_1c52j","monospace":"typography__monospace_1c52j"};
15
15
  require('./index.css')
16
16
 
17
17
  var Text = React.forwardRef(function (_a, ref) {