@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/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1ssxc */
1
+ /* hash: m94qw */
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 {
4
4
  --color-light-accent-primary: #ef3124;
@@ -29,48 +29,50 @@
29
29
  /* Up */
30
30
 
31
31
  /* Hard up */
32
- } :root {
32
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
33
+
34
+ /* новые значения, используйте их */
33
35
  } :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 */
34
36
 
35
37
  /* новые значения, используйте их */
36
38
  } :root {
37
39
  } :root {
38
- } /* colors */ .typography__tertiary_1dczv {
40
+ } /* colors */ .typography__tertiary_fy1bc {
39
41
  color: var(--color-light-text-tertiary);
40
- } .typography__disabled_1dczv {
42
+ } .typography__disabled_fy1bc {
41
43
  color: var(--color-light-text-quaternary);
42
- } .typography__accent_1dczv {
44
+ } .typography__accent_fy1bc {
43
45
  color: var(--color-light-accent-primary);
44
- } .typography__primary_1dczv {
46
+ } .typography__primary_fy1bc {
45
47
  color: var(--color-light-text-primary);
46
- } .typography__attention_1dczv {
48
+ } .typography__attention_fy1bc {
47
49
  color: var(--color-light-text-attention);
48
- } .typography__positive_1dczv {
50
+ } .typography__positive_fy1bc {
49
51
  color: var(--color-light-text-positive);
50
- } .typography__secondary_1dczv {
52
+ } .typography__secondary_fy1bc {
51
53
  color: var(--color-light-text-secondary);
52
- } .typography__tertiary-inverted_1dczv {
54
+ } .typography__tertiary-inverted_fy1bc {
53
55
  color: var(--color-light-text-tertiary-inverted);
54
- } .typography__primary-inverted_1dczv {
56
+ } .typography__primary-inverted_fy1bc {
55
57
  color: var(--color-light-text-primary-inverted);
56
- } .typography__secondary-inverted_1dczv {
58
+ } .typography__secondary-inverted_fy1bc {
57
59
  color: var(--color-light-text-secondary-inverted);
58
- } .typography__link_1dczv {
60
+ } .typography__link_fy1bc {
59
61
  color: var(--color-light-text-info);
60
- } .typography__negative_1dczv {
62
+ } .typography__negative_fy1bc {
61
63
  color: var(--color-light-text-negative);
62
- } .typography__static-primary-light_1dczv {
64
+ } .typography__static-primary-light_fy1bc {
63
65
  color: var(--color-static-text-primary-light);
64
- } .typography__static-secondary-light_1dczv {
66
+ } .typography__static-secondary-light_fy1bc {
65
67
  color: var(--color-static-text-secondary-light);
66
- } .typography__static-tertiary-light_1dczv {
68
+ } .typography__static-tertiary-light_fy1bc {
67
69
  color: var(--color-static-text-tertiary-light);
68
- } .typography__static-primary-dark_1dczv {
70
+ } .typography__static-primary-dark_fy1bc {
69
71
  color: var(--color-static-text-primary-dark);
70
- } .typography__static-secondary-dark_1dczv {
72
+ } .typography__static-secondary-dark_fy1bc {
71
73
  color: var(--color-static-text-secondary-dark);
72
- } .typography__static-tertiary-dark_1dczv {
74
+ } .typography__static-tertiary-dark_fy1bc {
73
75
  color: var(--color-static-text-tertiary-dark);
74
- } .typography__static-accent_1dczv {
76
+ } .typography__static-accent_fy1bc {
75
77
  color: var(--color-static-accent-primary);
76
78
  }
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var colors = {"tertiary":"typography__tertiary_fy1bc","disabled":"typography__disabled_fy1bc","accent":"typography__accent_fy1bc","primary":"typography__primary_fy1bc","attention":"typography__attention_fy1bc","positive":"typography__positive_fy1bc","secondary":"typography__secondary_fy1bc","tertiary-inverted":"typography__tertiary-inverted_fy1bc","primary-inverted":"typography__primary-inverted_fy1bc","secondary-inverted":"typography__secondary-inverted_fy1bc","link":"typography__link_fy1bc","negative":"typography__negative_fy1bc","static-primary-light":"typography__static-primary-light_fy1bc","static-secondary-light":"typography__static-secondary-light_fy1bc","static-tertiary-light":"typography__static-tertiary-light_fy1bc","static-primary-dark":"typography__static-primary-dark_fy1bc","static-secondary-dark":"typography__static-secondary-dark_fy1bc","static-tertiary-dark":"typography__static-tertiary-dark_fy1bc","static-accent":"typography__static-accent_fy1bc"};
4
+ require('./colors.css')
5
+
6
+ exports.colors = colors;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_nn6vl","bold":"typography__bold_nn6vl","semibold":"typography__semibold_nn6vl","medium":"typography__medium_nn6vl","regular":"typography__regular_nn6vl","rowLimit1":"typography__rowLimit1_nn6vl","rowLimit2":"typography__rowLimit2_nn6vl","rowLimit3":"typography__rowLimit3_nn6vl"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/component.d.ts CHANGED
@@ -2,11 +2,12 @@ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TitleResponsiveProps } from "./title-responsive/index";
5
6
  import { TextElementType } from "./types";
6
7
  declare const Typography: {
7
8
  Title: FC<TitleProps>;
8
9
  Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
9
- TitleResponsive: FC<TitleProps>;
10
+ TitleResponsive: FC<TitleResponsiveProps>;
10
11
  TitleMobile: FC<TitleMobileProps>;
11
12
  };
12
13
  export { Typography };
@@ -28,7 +28,9 @@
28
28
  /* Up */
29
29
 
30
30
  /* Hard up */
31
- } :root {
31
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
32
+
33
+ /* новые значения, используйте их */
32
34
  } :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 */
33
35
 
34
36
  /* новые значения, используйте их */
@@ -2,11 +2,12 @@ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TitleResponsiveProps } from "./title-responsive/index";
5
6
  import { TextElementType } from "./types";
6
7
  declare const Typography: {
7
8
  Title: FC<TitleProps>;
8
9
  Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
9
- TitleResponsive: FC<TitleProps>;
10
+ TitleResponsive: FC<TitleResponsiveProps>;
10
11
  TitleMobile: FC<TitleMobileProps>;
11
12
  };
12
13
  export { Typography };
@@ -9,8 +9,10 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
12
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
13
  --border-radius-pill: 99px;
14
+
15
+ /* новые значения, используйте их */
14
16
  } :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 */
15
17
 
16
18
  /* новые значения, используйте их */
@@ -9,15 +9,18 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
12
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
+
14
+ /* новые значения, используйте их */
13
15
  } :root { /* deprecated */ /* deprecated */ /* deprecated */
14
16
  --gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
15
17
 
16
18
  /* новые значения, используйте их */
19
+ --gap-12: var(--gap-s);
17
20
  } :root {
18
21
  } :root {
19
22
  } :root {
20
- --text-paragraph-margin-bottom: 0 0 var(--gap-s);
23
+ --text-paragraph-margin-bottom: 0 0 var(--gap-12);
21
24
  } .paragraph {
22
25
  margin: 0;
23
26
  padding: 0;
@@ -9,7 +9,9 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
12
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
+
14
+ /* новые значения, используйте их */
13
15
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
16
  --gap-m: 16px; /* deprecated */ /* deprecated */
15
17
  --gap-xl: 24px; /* deprecated */ /* deprecated */
@@ -17,6 +19,10 @@
17
19
  --gap-4xl: 48px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
18
20
 
19
21
  /* новые значения, используйте их */
22
+ --gap-16: var(--gap-m);
23
+ --gap-24: var(--gap-xl);
24
+ --gap-40: var(--gap-3xl);
25
+ --gap-48: var(--gap-4xl);
20
26
  } :root {
21
27
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
22
28
  'Helvetica Neue', Helvetica, sans-serif;
@@ -72,13 +78,13 @@
72
78
  line-height: 22px;
73
79
  font-weight: 700;
74
80
  } .margins-xlarge {
75
- margin: 0 0 var(--gap-xl);
81
+ margin: 0 0 var(--gap-24);
76
82
  } .margins-large {
77
- margin: var(--gap-4xl) 0 var(--gap-xl);
83
+ margin: var(--gap-48) 0 var(--gap-24);
78
84
  } .margins-medium {
79
- margin: var(--gap-4xl) 0 var(--gap-xl);
85
+ margin: var(--gap-48) 0 var(--gap-24);
80
86
  } .margins-small {
81
- margin: var(--gap-3xl) 0 var(--gap-m);
87
+ margin: var(--gap-40) 0 var(--gap-16);
82
88
  } .margins-xsmall {
83
- margin: var(--gap-3xl) 0 var(--gap-m);
89
+ margin: var(--gap-40) 0 var(--gap-16);
84
90
  }
@@ -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 };
@@ -1 +1,2 @@
1
- export * from "./component";
1
+ export { TitleMobile } from "./component";
2
+ export type { TitleProps as TitleMobileProps } from "../title/component";
@@ -9,10 +9,18 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
13
- } :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 */
12
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
+
14
+ /* новые значения, используйте их */
15
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
+ --gap-m: 16px; /* deprecated */ /* deprecated */
17
+ --gap-xl: 24px; /* deprecated */ /* deprecated */
18
+ --gap-3xl: 40px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
19
 
15
20
  /* новые значения, используйте их */
21
+ --gap-16: var(--gap-m);
22
+ --gap-24: var(--gap-xl);
23
+ --gap-40: var(--gap-3xl);
16
24
  } :root {
17
25
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
18
26
  'Helvetica Neue', Helvetica, sans-serif;
@@ -67,4 +75,14 @@
67
75
  font-size: 16px;
68
76
  line-height: 20px;
69
77
  font-weight: 600;
78
+ } .margins-xlarge {
79
+ margin: 0 0 var(--gap-24);
80
+ } .margins-large {
81
+ margin: var(--gap-40) 0 var(--gap-16);
82
+ } .margins-medium {
83
+ margin: var(--gap-40) 0 var(--gap-16);
84
+ } .margins-small {
85
+ margin: var(--gap-40) 0 var(--gap-16);
86
+ } .margins-xsmall {
87
+ margin: var(--gap-40) 0 var(--gap-16);
70
88
  }
@@ -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/cssm');
8
- var title_component = require('../title/component.js');
9
- var commonStyles = require('../title/common.module.css');
10
- var styles = require('./index.module.css');
8
+ var title_index = require('../title/index.js');
9
+ var titleMobile_component = require('../title-mobile/component.js');
11
10
 
12
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
13
12
 
14
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
- var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
16
- var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
17
14
 
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(commonStyles__default.default, styles__default.default), 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;
package/esm/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1ssxc */
1
+ /* hash: m94qw */
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 {
4
4
  --color-light-accent-primary: #ef3124;
@@ -29,48 +29,50 @@
29
29
  /* Up */
30
30
 
31
31
  /* Hard up */
32
- } :root {
32
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
33
+
34
+ /* новые значения, используйте их */
33
35
  } :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 */
34
36
 
35
37
  /* новые значения, используйте их */
36
38
  } :root {
37
39
  } :root {
38
- } /* colors */ .typography__tertiary_1dczv {
40
+ } /* colors */ .typography__tertiary_fy1bc {
39
41
  color: var(--color-light-text-tertiary);
40
- } .typography__disabled_1dczv {
42
+ } .typography__disabled_fy1bc {
41
43
  color: var(--color-light-text-quaternary);
42
- } .typography__accent_1dczv {
44
+ } .typography__accent_fy1bc {
43
45
  color: var(--color-light-accent-primary);
44
- } .typography__primary_1dczv {
46
+ } .typography__primary_fy1bc {
45
47
  color: var(--color-light-text-primary);
46
- } .typography__attention_1dczv {
48
+ } .typography__attention_fy1bc {
47
49
  color: var(--color-light-text-attention);
48
- } .typography__positive_1dczv {
50
+ } .typography__positive_fy1bc {
49
51
  color: var(--color-light-text-positive);
50
- } .typography__secondary_1dczv {
52
+ } .typography__secondary_fy1bc {
51
53
  color: var(--color-light-text-secondary);
52
- } .typography__tertiary-inverted_1dczv {
54
+ } .typography__tertiary-inverted_fy1bc {
53
55
  color: var(--color-light-text-tertiary-inverted);
54
- } .typography__primary-inverted_1dczv {
56
+ } .typography__primary-inverted_fy1bc {
55
57
  color: var(--color-light-text-primary-inverted);
56
- } .typography__secondary-inverted_1dczv {
58
+ } .typography__secondary-inverted_fy1bc {
57
59
  color: var(--color-light-text-secondary-inverted);
58
- } .typography__link_1dczv {
60
+ } .typography__link_fy1bc {
59
61
  color: var(--color-light-text-info);
60
- } .typography__negative_1dczv {
62
+ } .typography__negative_fy1bc {
61
63
  color: var(--color-light-text-negative);
62
- } .typography__static-primary-light_1dczv {
64
+ } .typography__static-primary-light_fy1bc {
63
65
  color: var(--color-static-text-primary-light);
64
- } .typography__static-secondary-light_1dczv {
66
+ } .typography__static-secondary-light_fy1bc {
65
67
  color: var(--color-static-text-secondary-light);
66
- } .typography__static-tertiary-light_1dczv {
68
+ } .typography__static-tertiary-light_fy1bc {
67
69
  color: var(--color-static-text-tertiary-light);
68
- } .typography__static-primary-dark_1dczv {
70
+ } .typography__static-primary-dark_fy1bc {
69
71
  color: var(--color-static-text-primary-dark);
70
- } .typography__static-secondary-dark_1dczv {
72
+ } .typography__static-secondary-dark_fy1bc {
71
73
  color: var(--color-static-text-secondary-dark);
72
- } .typography__static-tertiary-dark_1dczv {
74
+ } .typography__static-tertiary-dark_fy1bc {
73
75
  color: var(--color-static-text-tertiary-dark);
74
- } .typography__static-accent_1dczv {
76
+ } .typography__static-accent_fy1bc {
75
77
  color: var(--color-static-accent-primary);
76
78
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_fy1bc","disabled":"typography__disabled_fy1bc","accent":"typography__accent_fy1bc","primary":"typography__primary_fy1bc","attention":"typography__attention_fy1bc","positive":"typography__positive_fy1bc","secondary":"typography__secondary_fy1bc","tertiary-inverted":"typography__tertiary-inverted_fy1bc","primary-inverted":"typography__primary-inverted_fy1bc","secondary-inverted":"typography__secondary-inverted_fy1bc","link":"typography__link_fy1bc","negative":"typography__negative_fy1bc","static-primary-light":"typography__static-primary-light_fy1bc","static-secondary-light":"typography__static-secondary-light_fy1bc","static-tertiary-light":"typography__static-tertiary-light_fy1bc","static-primary-dark":"typography__static-primary-dark_fy1bc","static-secondary-dark":"typography__static-secondary-dark_fy1bc","static-tertiary-dark":"typography__static-tertiary-dark_fy1bc","static-accent":"typography__static-accent_fy1bc"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_nn6vl","bold":"typography__bold_nn6vl","semibold":"typography__semibold_nn6vl","medium":"typography__medium_nn6vl","regular":"typography__regular_nn6vl","rowLimit1":"typography__rowLimit1_nn6vl","rowLimit2":"typography__rowLimit2_nn6vl","rowLimit3":"typography__rowLimit3_nn6vl"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -2,11 +2,12 @@ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TitleResponsiveProps } from "./title-responsive/index";
5
6
  import { TextElementType } from "./types";
6
7
  declare const Typography: {
7
8
  Title: FC<TitleProps>;
8
9
  Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
9
- TitleResponsive: FC<TitleProps>;
10
+ TitleResponsive: FC<TitleResponsiveProps>;
10
11
  TitleMobile: FC<TitleMobileProps>;
11
12
  };
12
13
  export { Typography };
@@ -1,4 +1,4 @@
1
- /* hash: 1sejh */
1
+ /* hash: 13r5k */
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,19 +10,21 @@
10
10
  /* Up */
11
11
 
12
12
  /* Hard up */
13
- } :root {
13
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
14
14
  --border-radius-pill: 99px;
15
+
16
+ /* новые значения, используйте их */
15
17
  } :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 */
16
18
 
17
19
  /* новые значения, используйте их */
18
20
  } :root {
19
21
  } :root {
20
- } .typography__skeletonText_1bwmk.typography__skeletonText_1bwmk {
22
+ } .typography__skeletonText_ml3np.typography__skeletonText_ml3np {
21
23
  border-radius: var(--border-radius-pill);
22
- } .typography__left_1bwmk > div {
24
+ } .typography__left_ml3np > div {
23
25
  margin-right: auto;
24
- } .typography__center_1bwmk > div {
26
+ } .typography__center_ml3np > div {
25
27
  margin: 0 auto;
26
- } .typography__right_1bwmk > div {
28
+ } .typography__right_ml3np > div {
27
29
  margin-left: auto;
28
30
  }
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
5
5
  import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
6
6
 
7
- var styles = {"skeletonText":"typography__skeletonText_1bwmk","left":"typography__left_1bwmk","center":"typography__center_1bwmk","right":"typography__right_1bwmk"};
7
+ var styles = {"skeletonText":"typography__skeletonText_ml3np","left":"typography__left_ml3np","center":"typography__center_ml3np","right":"typography__right_ml3np"};
8
8
  require('./use-skeleton.css')
9
9
 
10
10
  function useSkeleton(showSkeleton, skeletonProps) {
@@ -3,9 +3,9 @@ import React, { forwardRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { useSkeleton } from '../hooks/use-skeleton.js';
6
- import { c as colors } from '../colors.module-150df74d.js';
6
+ import { c as colors } from '../colors.module-5cfaa8f2.js';
7
7
 
8
- var styles = {"paragraph":"typography__paragraph_hw1vb","paragraphWithMargins":"typography__paragraphWithMargins_hw1vb","primary-large":"typography__primary-large_hw1vb","primary-medium":"typography__primary-medium_hw1vb","primary-small":"typography__primary-small_hw1vb","secondary-large":"typography__secondary-large_hw1vb","secondary-medium":"typography__secondary-medium_hw1vb","secondary-small":"typography__secondary-small_hw1vb","component":"typography__component_hw1vb","component-primary":"typography__component-primary_hw1vb","component-secondary":"typography__component-secondary_hw1vb","caps":"typography__caps_hw1vb","tagline":"typography__tagline_hw1vb","bold":"typography__bold_hw1vb","medium":"typography__medium_hw1vb","regular":"typography__regular_hw1vb","monospace":"typography__monospace_hw1vb","rowLimit1":"typography__rowLimit1_hw1vb","rowLimit2":"typography__rowLimit2_hw1vb","rowLimit3":"typography__rowLimit3_hw1vb"};
8
+ var styles = {"paragraph":"typography__paragraph_6mjyh","paragraphWithMargins":"typography__paragraphWithMargins_6mjyh","primary-large":"typography__primary-large_6mjyh","primary-medium":"typography__primary-medium_6mjyh","primary-small":"typography__primary-small_6mjyh","secondary-large":"typography__secondary-large_6mjyh","secondary-medium":"typography__secondary-medium_6mjyh","secondary-small":"typography__secondary-small_6mjyh","component":"typography__component_6mjyh","component-primary":"typography__component-primary_6mjyh","component-secondary":"typography__component-secondary_6mjyh","caps":"typography__caps_6mjyh","tagline":"typography__tagline_6mjyh","bold":"typography__bold_6mjyh","medium":"typography__medium_6mjyh","regular":"typography__regular_6mjyh","monospace":"typography__monospace_6mjyh","rowLimit1":"typography__rowLimit1_6mjyh","rowLimit2":"typography__rowLimit2_6mjyh","rowLimit3":"typography__rowLimit3_6mjyh"};
9
9
  require('./index.css')
10
10
 
11
11
  var logWarning = function (view) {