@alfalab/core-components-typography 4.8.0 → 4.10.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 (125) hide show
  1. package/colors.css +23 -21
  2. package/colors.module-5866c16f.js +6 -0
  3. package/common.module-98ac839d.js +6 -0
  4. package/component.d.ts +2 -1
  5. package/cssm/colors.module.css +3 -1
  6. package/cssm/component.d.ts +2 -1
  7. package/cssm/hooks/use-skeleton.module.css +3 -1
  8. package/cssm/text/index.module.css +5 -2
  9. package/cssm/title/index.module.css +12 -6
  10. package/cssm/title-mobile/component.d.ts +1 -3
  11. package/cssm/title-mobile/index.d.ts +2 -1
  12. package/cssm/title-mobile/index.module.css +20 -2
  13. package/cssm/title-responsive/component.d.ts +15 -1
  14. package/cssm/title-responsive/component.js +8 -9
  15. package/esm/colors.css +23 -21
  16. package/esm/colors.module-5cfaa8f2.js +4 -0
  17. package/esm/common.module-f31888e6.js +4 -0
  18. package/esm/component.d.ts +2 -1
  19. package/esm/hooks/use-skeleton.css +8 -6
  20. package/esm/hooks/use-skeleton.js +1 -1
  21. package/esm/text/component.js +2 -2
  22. package/esm/text/index.css +26 -23
  23. package/esm/title/common.css +9 -9
  24. package/esm/title/component.js +1 -1
  25. package/esm/title/index.css +28 -22
  26. package/esm/title/index.js +2 -2
  27. package/esm/title-mobile/component.d.ts +1 -3
  28. package/esm/title-mobile/component.js +2 -2
  29. package/esm/title-mobile/index.css +31 -13
  30. package/esm/title-mobile/index.d.ts +2 -1
  31. package/esm/title-responsive/component.d.ts +15 -1
  32. package/esm/title-responsive/component.js +9 -10
  33. package/hooks/use-skeleton.css +8 -6
  34. package/hooks/use-skeleton.js +1 -1
  35. package/modern/colors.css +23 -21
  36. package/modern/colors.module-cfe2fa4f.js +4 -0
  37. package/modern/common.module-67cdcc8d.js +4 -0
  38. package/modern/component.d.ts +2 -1
  39. package/modern/hooks/use-skeleton.css +8 -6
  40. package/modern/hooks/use-skeleton.js +1 -1
  41. package/modern/text/component.js +2 -2
  42. package/modern/text/index.css +26 -23
  43. package/modern/title/common.css +9 -9
  44. package/modern/title/component.js +1 -1
  45. package/modern/title/index.css +28 -22
  46. package/modern/title/index.js +2 -2
  47. package/modern/title-mobile/component.d.ts +1 -3
  48. package/modern/title-mobile/component.js +2 -2
  49. package/modern/title-mobile/index.css +31 -13
  50. package/modern/title-mobile/index.d.ts +2 -1
  51. package/modern/title-responsive/component.d.ts +15 -1
  52. package/modern/title-responsive/component.js +7 -9
  53. package/moderncssm/colors.d.ts +3 -0
  54. package/moderncssm/colors.js +23 -0
  55. package/moderncssm/colors.module.css +79 -0
  56. package/moderncssm/component.d.ts +13 -0
  57. package/moderncssm/component.js +13 -0
  58. package/moderncssm/hooks/index.d.ts +1 -0
  59. package/moderncssm/hooks/index.js +1 -0
  60. package/moderncssm/hooks/use-skeleton.d.ts +12 -0
  61. package/moderncssm/hooks/use-skeleton.js +50 -0
  62. package/moderncssm/hooks/use-skeleton.module.css +17 -0
  63. package/moderncssm/index.d.ts +5 -0
  64. package/moderncssm/index.js +2 -0
  65. package/moderncssm/margins.module.css +1 -0
  66. package/moderncssm/presets.d.ts +18 -0
  67. package/moderncssm/presets.js +19 -0
  68. package/moderncssm/text/component.d.ts +63 -0
  69. package/moderncssm/text/component.js +43 -0
  70. package/moderncssm/text/index.d.ts +1 -0
  71. package/moderncssm/text/index.js +1 -0
  72. package/moderncssm/text/index.module.css +124 -0
  73. package/moderncssm/title/common.module.css +42 -0
  74. package/moderncssm/title/component.d.ts +122 -0
  75. package/moderncssm/title/component.js +20 -0
  76. package/moderncssm/title/index.d.ts +20 -0
  77. package/moderncssm/title/index.js +8 -0
  78. package/moderncssm/title/index.module.css +76 -0
  79. package/moderncssm/title/utils.d.ts +2 -0
  80. package/moderncssm/title/utils.js +11 -0
  81. package/moderncssm/title-mobile/component.d.ts +18 -0
  82. package/moderncssm/title-mobile/component.js +8 -0
  83. package/moderncssm/title-mobile/index.d.ts +2 -0
  84. package/moderncssm/title-mobile/index.js +1 -0
  85. package/moderncssm/title-mobile/index.module.css +76 -0
  86. package/moderncssm/title-responsive/component.d.ts +32 -0
  87. package/moderncssm/title-responsive/component.js +13 -0
  88. package/moderncssm/title-responsive/index.d.ts +1 -0
  89. package/moderncssm/title-responsive/index.js +1 -0
  90. package/moderncssm/types.d.ts +21 -0
  91. package/moderncssm/types.js +1 -0
  92. package/package.json +4 -4
  93. package/src/colors.module.css +1 -1
  94. package/src/component.tsx +2 -2
  95. package/src/hooks/use-skeleton.module.css +1 -1
  96. package/src/margins.module.css +3 -3
  97. package/src/text/index.module.css +2 -2
  98. package/src/title/index.module.css +1 -1
  99. package/src/title-mobile/component.tsx +0 -2
  100. package/src/title-mobile/index.module.css +21 -1
  101. package/src/title-mobile/index.tsx +2 -1
  102. package/src/title-responsive/component.tsx +20 -17
  103. package/text/component.js +2 -2
  104. package/text/index.css +26 -23
  105. package/title/common.css +9 -9
  106. package/title/component.js +1 -1
  107. package/title/index.css +28 -22
  108. package/title/index.js +2 -2
  109. package/title-mobile/component.d.ts +1 -3
  110. package/title-mobile/component.js +2 -2
  111. package/title-mobile/index.css +31 -13
  112. package/title-mobile/index.d.ts +2 -1
  113. package/title-responsive/component.d.ts +15 -1
  114. package/title-responsive/component.js +8 -9
  115. package/colors.module-ae9077a2.js +0 -6
  116. package/common.module-b1c6f346.js +0 -6
  117. package/cssm/title-responsive/index.module.css +0 -174
  118. package/esm/colors.module-150df74d.js +0 -4
  119. package/esm/common.module-6fb90ced.js +0 -4
  120. package/esm/title-responsive/index.css +0 -175
  121. package/modern/colors.module-024abe1e.js +0 -4
  122. package/modern/common.module-38c9e9b8.js +0 -4
  123. package/modern/title-responsive/index.css +0 -175
  124. package/src/title-responsive/index.module.css +0 -126
  125. package/title-responsive/index.css +0 -175
package/title/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 4uby2 */
1
+ /* hash: 1f822 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -10,7 +10,9 @@
10
10
  /* Up */
11
11
 
12
12
  /* Hard up */
13
- } :root {
13
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
+
15
+ /* новые значения, используйте их */
14
16
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
15
17
  --gap-m: 16px; /* deprecated */ /* deprecated */
16
18
  --gap-xl: 24px; /* deprecated */ /* deprecated */
@@ -18,68 +20,72 @@
18
20
  --gap-4xl: 48px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
21
 
20
22
  /* новые значения, используйте их */
23
+ --gap-16: var(--gap-m);
24
+ --gap-24: var(--gap-xl);
25
+ --gap-40: var(--gap-3xl);
26
+ --gap-48: var(--gap-4xl);
21
27
  } :root {
22
28
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
23
29
  'Helvetica Neue', Helvetica, sans-serif;
24
30
  } :root {
25
- } .typography__styrene-xlarge_16vxq {
31
+ } .typography__styrene-xlarge_1pe64 {
26
32
  font-size: 48px;
27
33
  line-height: 64px;
28
34
  font-weight: 500;
29
35
  font-feature-settings: 'ss01';
30
36
  font-family: var(--font-family-styrene);
31
- } .typography__styrene-large_16vxq {
37
+ } .typography__styrene-large_1pe64 {
32
38
  font-size: 40px;
33
39
  line-height: 48px;
34
40
  font-weight: 500;
35
41
  font-feature-settings: 'ss01';
36
42
  font-family: var(--font-family-styrene);
37
- } .typography__styrene-medium_16vxq {
43
+ } .typography__styrene-medium_1pe64 {
38
44
  font-size: 32px;
39
45
  line-height: 40px;
40
46
  font-weight: 500;
41
47
  font-feature-settings: 'ss01';
42
48
  font-family: var(--font-family-styrene);
43
- } .typography__styrene-small_16vxq {
49
+ } .typography__styrene-small_1pe64 {
44
50
  font-size: 24px;
45
51
  line-height: 32px;
46
52
  font-weight: 500;
47
53
  font-feature-settings: 'ss01';
48
54
  font-family: var(--font-family-styrene);
49
- } .typography__styrene-xsmall_16vxq {
55
+ } .typography__styrene-xsmall_1pe64 {
50
56
  font-size: 20px;
51
57
  line-height: 24px;
52
58
  font-weight: 500;
53
59
  font-feature-settings: 'ss01';
54
60
  font-family: var(--font-family-styrene);
55
- } .typography__system-xlarge_16vxq {
61
+ } .typography__system-xlarge_1pe64 {
56
62
  font-size: 48px;
57
63
  line-height: 52px;
58
64
  font-weight: 700;
59
- } .typography__system-large_16vxq {
65
+ } .typography__system-large_1pe64 {
60
66
  font-size: 40px;
61
67
  line-height: 48px;
62
68
  font-weight: 700;
63
- } .typography__system-medium_16vxq {
69
+ } .typography__system-medium_1pe64 {
64
70
  font-size: 30px;
65
71
  line-height: 36px;
66
72
  font-weight: 700;
67
- } .typography__system-small_16vxq {
73
+ } .typography__system-small_1pe64 {
68
74
  font-size: 22px;
69
75
  line-height: 26px;
70
76
  font-weight: 700;
71
- } .typography__system-xsmall_16vxq {
77
+ } .typography__system-xsmall_1pe64 {
72
78
  font-size: 18px;
73
79
  line-height: 22px;
74
80
  font-weight: 700;
75
- } .typography__margins-xlarge_16vxq {
76
- margin: 0 0 var(--gap-xl);
77
- } .typography__margins-large_16vxq {
78
- margin: var(--gap-4xl) 0 var(--gap-xl);
79
- } .typography__margins-medium_16vxq {
80
- margin: var(--gap-4xl) 0 var(--gap-xl);
81
- } .typography__margins-small_16vxq {
82
- margin: var(--gap-3xl) 0 var(--gap-m);
83
- } .typography__margins-xsmall_16vxq {
84
- margin: var(--gap-3xl) 0 var(--gap-m);
81
+ } .typography__margins-xlarge_1pe64 {
82
+ margin: 0 0 var(--gap-24);
83
+ } .typography__margins-large_1pe64 {
84
+ margin: var(--gap-48) 0 var(--gap-24);
85
+ } .typography__margins-medium_1pe64 {
86
+ margin: var(--gap-48) 0 var(--gap-24);
87
+ } .typography__margins-small_1pe64 {
88
+ margin: var(--gap-40) 0 var(--gap-16);
89
+ } .typography__margins-xsmall_1pe64 {
90
+ margin: var(--gap-40) 0 var(--gap-16);
85
91
  }
package/title/index.js CHANGED
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var title_component = require('./component.js');
8
- var common_module = require('../common.module-b1c6f346.js');
8
+ var common_module = require('../common.module-98ac839d.js');
9
9
 
10
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
 
14
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_16vxq","styrene-large":"typography__styrene-large_16vxq","styrene-medium":"typography__styrene-medium_16vxq","styrene-small":"typography__styrene-small_16vxq","styrene-xsmall":"typography__styrene-xsmall_16vxq","system-xlarge":"typography__system-xlarge_16vxq","system-large":"typography__system-large_16vxq","system-medium":"typography__system-medium_16vxq","system-small":"typography__system-small_16vxq","system-xsmall":"typography__system-xsmall_16vxq","margins-xlarge":"typography__margins-xlarge_16vxq","margins-large":"typography__margins-large_16vxq","margins-medium":"typography__margins-medium_16vxq","margins-small":"typography__margins-small_16vxq","margins-xsmall":"typography__margins-xsmall_16vxq"};
14
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1pe64","styrene-large":"typography__styrene-large_1pe64","styrene-medium":"typography__styrene-medium_1pe64","styrene-small":"typography__styrene-small_1pe64","styrene-xsmall":"typography__styrene-xsmall_1pe64","system-xlarge":"typography__system-xlarge_1pe64","system-large":"typography__system-large_1pe64","system-medium":"typography__system-medium_1pe64","system-small":"typography__system-small_1pe64","system-xsmall":"typography__system-xsmall_1pe64","margins-xlarge":"typography__margins-xlarge_1pe64","margins-large":"typography__margins-large_1pe64","margins-medium":"typography__margins-medium_1pe64","margins-small":"typography__margins-small_1pe64","margins-xsmall":"typography__margins-xsmall_1pe64"};
15
15
  require('./index.css')
16
16
 
17
17
  var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: Object.assign(common_module.commonStyles, styles), ref: ref, platform: 'desktop' }))); });
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "../title/component";
4
- type TitleMobileProps = Omit<TitleProps, 'defaultMargins'>;
5
3
  declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
6
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
7
5
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
@@ -17,4 +15,4 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
17
15
  skeletonProps?: import("../types").TextSkeletonProps | undefined;
18
16
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
19
17
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
20
- export { TitleMobileProps, TitleMobile };
18
+ export { TitleMobile };
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var title_component = require('../title/component.js');
8
- var common_module = require('../common.module-b1c6f346.js');
8
+ var common_module = require('../common.module-98ac839d.js');
9
9
 
10
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
 
14
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_suif4","styrene-large":"typography__styrene-large_suif4","styrene-medium":"typography__styrene-medium_suif4","styrene-small":"typography__styrene-small_suif4","styrene-xsmall":"typography__styrene-xsmall_suif4","system-xlarge":"typography__system-xlarge_suif4","system-large":"typography__system-large_suif4","system-medium":"typography__system-medium_suif4","system-small":"typography__system-small_suif4","system-xsmall":"typography__system-xsmall_suif4"};
14
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_6dq2l","styrene-large":"typography__styrene-large_6dq2l","styrene-medium":"typography__styrene-medium_6dq2l","styrene-small":"typography__styrene-small_6dq2l","styrene-xsmall":"typography__styrene-xsmall_6dq2l","system-xlarge":"typography__system-xlarge_6dq2l","system-large":"typography__system-large_6dq2l","system-medium":"typography__system-medium_6dq2l","system-small":"typography__system-small_6dq2l","system-xsmall":"typography__system-xsmall_6dq2l","margins-xlarge":"typography__margins-xlarge_6dq2l","margins-large":"typography__margins-large_6dq2l","margins-medium":"typography__margins-medium_6dq2l","margins-small":"typography__margins-small_6dq2l","margins-xsmall":"typography__margins-xsmall_6dq2l"};
15
15
  require('./index.css')
16
16
 
17
17
  var TitleMobile = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: Object.assign(common_module.commonStyles, styles), ref: ref, platform: 'mobile' }))); });
@@ -1,4 +1,4 @@
1
- /* hash: wl9na */
1
+ /* hash: sk9na */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -10,62 +10,80 @@
10
10
  /* Up */
11
11
 
12
12
  /* Hard up */
13
- } :root {
14
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
+
15
+ /* новые значения, используйте их */
16
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
17
+ --gap-m: 16px; /* deprecated */ /* deprecated */
18
+ --gap-xl: 24px; /* deprecated */ /* deprecated */
19
+ --gap-3xl: 40px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
15
20
 
16
21
  /* новые значения, используйте их */
22
+ --gap-16: var(--gap-m);
23
+ --gap-24: var(--gap-xl);
24
+ --gap-40: var(--gap-3xl);
17
25
  } :root {
18
26
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
19
27
  'Helvetica Neue', Helvetica, sans-serif;
20
28
  } :root {
21
- } .typography__styrene-xlarge_suif4 {
29
+ } .typography__styrene-xlarge_6dq2l {
22
30
  font-size: 34px;
23
31
  line-height: 40px;
24
32
  font-weight: 500;
25
33
  font-feature-settings: 'ss01';
26
34
  font-family: var(--font-family-styrene);
27
- } .typography__styrene-large_suif4 {
35
+ } .typography__styrene-large_6dq2l {
28
36
  font-size: 30px;
29
37
  line-height: 36px;
30
38
  font-weight: 500;
31
39
  font-feature-settings: 'ss01';
32
40
  font-family: var(--font-family-styrene);
33
- } .typography__styrene-medium_suif4 {
41
+ } .typography__styrene-medium_6dq2l {
34
42
  font-size: 26px;
35
43
  line-height: 32px;
36
44
  font-weight: 500;
37
45
  font-feature-settings: 'ss01';
38
46
  font-family: var(--font-family-styrene);
39
- } .typography__styrene-small_suif4 {
47
+ } .typography__styrene-small_6dq2l {
40
48
  font-size: 20px;
41
49
  line-height: 28px;
42
50
  font-weight: 500;
43
51
  font-feature-settings: 'ss01';
44
52
  font-family: var(--font-family-styrene);
45
- } .typography__styrene-xsmall_suif4 {
53
+ } .typography__styrene-xsmall_6dq2l {
46
54
  font-size: 16px;
47
55
  line-height: 20px;
48
56
  font-weight: 500;
49
57
  font-feature-settings: 'ss01';
50
58
  font-family: var(--font-family-styrene);
51
- } .typography__system-xlarge_suif4 {
59
+ } .typography__system-xlarge_6dq2l {
52
60
  font-size: 34px;
53
61
  line-height: 40px;
54
62
  font-weight: 600;
55
- } .typography__system-large_suif4 {
63
+ } .typography__system-large_6dq2l {
56
64
  font-size: 30px;
57
65
  line-height: 36px;
58
66
  font-weight: 600;
59
- } .typography__system-medium_suif4 {
67
+ } .typography__system-medium_6dq2l {
60
68
  font-size: 26px;
61
69
  line-height: 32px;
62
70
  font-weight: 600;
63
- } .typography__system-small_suif4 {
71
+ } .typography__system-small_6dq2l {
64
72
  font-size: 20px;
65
73
  line-height: 28px;
66
74
  font-weight: 600;
67
- } .typography__system-xsmall_suif4 {
75
+ } .typography__system-xsmall_6dq2l {
68
76
  font-size: 16px;
69
77
  line-height: 20px;
70
78
  font-weight: 600;
79
+ } .typography__margins-xlarge_6dq2l {
80
+ margin: 0 0 var(--gap-24);
81
+ } .typography__margins-large_6dq2l {
82
+ margin: var(--gap-40) 0 var(--gap-16);
83
+ } .typography__margins-medium_6dq2l {
84
+ margin: var(--gap-40) 0 var(--gap-16);
85
+ } .typography__margins-small_6dq2l {
86
+ margin: var(--gap-40) 0 var(--gap-16);
87
+ } .typography__margins-xsmall_6dq2l {
88
+ margin: var(--gap-40) 0 var(--gap-16);
71
89
  }
@@ -1 +1,2 @@
1
- export * from "./component";
1
+ export { TitleMobile } from "./component";
2
+ export type { TitleProps as TitleMobileProps } from "../title/component";
@@ -1,5 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
+ import { TitleProps } from "../title/index";
4
+ type TitleResponsiveProps = TitleProps & {
5
+ /**
6
+ * Контрольная точка, с нее начинается desktop версия
7
+ * @default 1024
8
+ */
9
+ breakpoint?: number;
10
+ };
3
11
  declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
4
12
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
13
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
@@ -14,5 +22,11 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
14
22
  showSkeleton?: boolean | undefined;
15
23
  skeletonProps?: import("../types").TextSkeletonProps | undefined;
16
24
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
25
+ } & {
26
+ /**
27
+ * Контрольная точка, с нее начинается desktop версия
28
+ * @default 1024
29
+ */
30
+ breakpoint?: number | undefined;
17
31
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
18
- export { TitleResponsive };
32
+ export { TitleResponsiveProps, TitleResponsive };
@@ -5,20 +5,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var coreComponentsMq = require('@alfalab/core-components-mq');
8
- var title_component = require('../title/component.js');
9
- var common_module = require('../common.module-b1c6f346.js');
8
+ var title_index = require('../title/index.js');
9
+ var titleMobile_component = require('../title-mobile/component.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
 
15
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1ck99","styrene-large":"typography__styrene-large_1ck99","styrene-medium":"typography__styrene-medium_1ck99","styrene-small":"typography__styrene-small_1ck99","styrene-xsmall":"typography__styrene-xsmall_1ck99","system-xlarge":"typography__system-xlarge_1ck99","system-large":"typography__system-large_1ck99","system-medium":"typography__system-medium_1ck99","system-small":"typography__system-small_1ck99","system-xsmall":"typography__system-xsmall_1ck99","margins-xlarge":"typography__margins-xlarge_1ck99","margins-large":"typography__margins-large_1ck99","margins-medium":"typography__margins-medium_1ck99","margins-small":"typography__margins-small_1ck99","margins-xsmall":"typography__margins-xsmall_1ck99"};
16
- require('./index.css')
17
-
18
- var TitleResponsive = React.forwardRef(function (props, ref) {
19
- var defaultMatchMediaValue = props.defaultMatchMediaValue;
20
- var isDesktop = coreComponentsMq.useMatchMedia('(min-width: 1024px)', defaultMatchMediaValue)[0];
21
- return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: Object.assign(common_module.commonStyles, styles), ref: ref, platform: isDesktop ? 'desktop' : 'mobile' })));
15
+ var TitleResponsive = React.forwardRef(function (_a, ref) {
16
+ var defaultMatchMediaValue = _a.defaultMatchMediaValue, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["defaultMatchMediaValue", "breakpoint"]);
17
+ var query = "(min-width: ".concat(breakpoint, "px)");
18
+ var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
19
+ var Component = isDesktop ? title_index.Title : titleMobile_component.TitleMobile;
20
+ return React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: ref }));
22
21
  });
23
22
 
24
23
  exports.TitleResponsive = TitleResponsive;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var colors = {"tertiary":"typography__tertiary_1dczv","disabled":"typography__disabled_1dczv","accent":"typography__accent_1dczv","primary":"typography__primary_1dczv","attention":"typography__attention_1dczv","positive":"typography__positive_1dczv","secondary":"typography__secondary_1dczv","tertiary-inverted":"typography__tertiary-inverted_1dczv","primary-inverted":"typography__primary-inverted_1dczv","secondary-inverted":"typography__secondary-inverted_1dczv","link":"typography__link_1dczv","negative":"typography__negative_1dczv","static-primary-light":"typography__static-primary-light_1dczv","static-secondary-light":"typography__static-secondary-light_1dczv","static-tertiary-light":"typography__static-tertiary-light_1dczv","static-primary-dark":"typography__static-primary-dark_1dczv","static-secondary-dark":"typography__static-secondary-dark_1dczv","static-tertiary-dark":"typography__static-tertiary-dark_1dczv","static-accent":"typography__static-accent_1dczv"};
4
- require('./colors.css')
5
-
6
- exports.colors = colors;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"typography__component_1e0qe","bold":"typography__bold_1e0qe","semibold":"typography__semibold_1e0qe","medium":"typography__medium_1e0qe","regular":"typography__regular_1e0qe","rowLimit1":"typography__rowLimit1_1e0qe","rowLimit2":"typography__rowLimit2_1e0qe","rowLimit3":"typography__rowLimit3_1e0qe"};
4
- require('./title/common.css')
5
-
6
- exports.commonStyles = commonStyles;