@alfalab/core-components-typography 4.7.0 → 4.9.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 (91) hide show
  1. package/colors.css +26 -22
  2. package/colors.module-22f6ce74.js +6 -0
  3. package/common.module-4e0e0a99.js +6 -0
  4. package/component.d.ts +2 -1
  5. package/cssm/colors.module.css +6 -2
  6. package/cssm/component.d.ts +2 -1
  7. package/cssm/hooks/use-skeleton.module.css +6 -2
  8. package/cssm/text/component.d.ts +1 -1
  9. package/cssm/text/index.module.css +15 -4
  10. package/cssm/title/common.module.css +26 -0
  11. package/cssm/title/index.module.css +19 -27
  12. package/cssm/title-mobile/component.d.ts +1 -3
  13. package/cssm/title-mobile/index.d.ts +2 -1
  14. package/cssm/title-mobile/index.module.css +22 -2
  15. package/cssm/title-responsive/component.d.ts +15 -1
  16. package/cssm/title-responsive/component.js +8 -9
  17. package/esm/colors.css +26 -22
  18. package/esm/colors.module-4b94173a.js +4 -0
  19. package/esm/common.module-db571a36.js +4 -0
  20. package/esm/component.d.ts +2 -1
  21. package/esm/hooks/use-skeleton.css +11 -7
  22. package/esm/hooks/use-skeleton.js +1 -1
  23. package/esm/text/component.d.ts +1 -1
  24. package/esm/text/component.js +2 -2
  25. package/esm/text/index.css +35 -24
  26. package/esm/title/common.css +32 -6
  27. package/esm/title/component.js +1 -1
  28. package/esm/title/index.css +35 -43
  29. package/esm/title/index.js +2 -2
  30. package/esm/title-mobile/component.d.ts +1 -3
  31. package/esm/title-mobile/component.js +2 -2
  32. package/esm/title-mobile/index.css +33 -13
  33. package/esm/title-mobile/index.d.ts +2 -1
  34. package/esm/title-responsive/component.d.ts +15 -1
  35. package/esm/title-responsive/component.js +9 -10
  36. package/hooks/use-skeleton.css +11 -7
  37. package/hooks/use-skeleton.js +1 -1
  38. package/modern/colors.css +26 -22
  39. package/modern/colors.module-7accbb7b.js +4 -0
  40. package/modern/common.module-03f59939.js +4 -0
  41. package/modern/component.d.ts +2 -1
  42. package/modern/hooks/use-skeleton.css +11 -7
  43. package/modern/hooks/use-skeleton.js +1 -1
  44. package/modern/text/component.d.ts +1 -1
  45. package/modern/text/component.js +2 -2
  46. package/modern/text/index.css +35 -24
  47. package/modern/title/common.css +32 -6
  48. package/modern/title/component.js +1 -1
  49. package/modern/title/index.css +35 -43
  50. package/modern/title/index.js +2 -2
  51. package/modern/title-mobile/component.d.ts +1 -3
  52. package/modern/title-mobile/component.js +2 -2
  53. package/modern/title-mobile/index.css +33 -13
  54. package/modern/title-mobile/index.d.ts +2 -1
  55. package/modern/title-responsive/component.d.ts +15 -1
  56. package/modern/title-responsive/component.js +7 -9
  57. package/package.json +4 -2
  58. package/src/component.tsx +2 -2
  59. package/src/margins.module.css +3 -3
  60. package/src/text/component.tsx +2 -1
  61. package/src/text/index.module.css +5 -1
  62. package/src/title/common.module.css +13 -0
  63. package/src/title/index.module.css +0 -13
  64. package/src/title-mobile/component.tsx +0 -2
  65. package/src/title-mobile/index.module.css +20 -0
  66. package/src/title-mobile/index.tsx +2 -1
  67. package/src/title-responsive/component.tsx +20 -17
  68. package/text/component.d.ts +1 -1
  69. package/text/component.js +2 -2
  70. package/text/index.css +35 -24
  71. package/title/common.css +32 -6
  72. package/title/component.js +1 -1
  73. package/title/index.css +35 -43
  74. package/title/index.js +2 -2
  75. package/title-mobile/component.d.ts +1 -3
  76. package/title-mobile/component.js +2 -2
  77. package/title-mobile/index.css +33 -13
  78. package/title-mobile/index.d.ts +2 -1
  79. package/title-responsive/component.d.ts +15 -1
  80. package/title-responsive/component.js +8 -9
  81. package/colors.module-0c7366a2.js +0 -6
  82. package/common.module-6c15aeb4.js +0 -6
  83. package/cssm/title-responsive/index.module.css +0 -172
  84. package/esm/colors.module-96fcf062.js +0 -4
  85. package/esm/common.module-1d64d5c0.js +0 -4
  86. package/esm/title-responsive/index.css +0 -173
  87. package/modern/colors.module-68086c1d.js +0 -4
  88. package/modern/common.module-ffb1e96a.js +0 -4
  89. package/modern/title-responsive/index.css +0 -173
  90. package/src/title-responsive/index.module.css +0 -126
  91. package/title-responsive/index.css +0 -173
package/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1x64h */
1
+ /* hash: 8w3y6 */
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,46 +29,50 @@
29
29
  /* Up */
30
30
 
31
31
  /* Hard up */
32
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
33
+
34
+ /* новые значения, используйте их */
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 */
36
+
37
+ /* новые значения, используйте их */
32
38
  } :root {
33
39
  } :root {
34
- } :root {
35
- } :root {
36
- } /* colors */ .typography__tertiary_1xd5u {
40
+ } /* colors */ .typography__tertiary_q8fem {
37
41
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1xd5u {
42
+ } .typography__disabled_q8fem {
39
43
  color: var(--color-light-text-quaternary);
40
- } .typography__accent_1xd5u {
44
+ } .typography__accent_q8fem {
41
45
  color: var(--color-light-accent-primary);
42
- } .typography__primary_1xd5u {
46
+ } .typography__primary_q8fem {
43
47
  color: var(--color-light-text-primary);
44
- } .typography__attention_1xd5u {
48
+ } .typography__attention_q8fem {
45
49
  color: var(--color-light-text-attention);
46
- } .typography__positive_1xd5u {
50
+ } .typography__positive_q8fem {
47
51
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1xd5u {
52
+ } .typography__secondary_q8fem {
49
53
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1xd5u {
54
+ } .typography__tertiary-inverted_q8fem {
51
55
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1xd5u {
56
+ } .typography__primary-inverted_q8fem {
53
57
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1xd5u {
58
+ } .typography__secondary-inverted_q8fem {
55
59
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1xd5u {
60
+ } .typography__link_q8fem {
57
61
  color: var(--color-light-text-info);
58
- } .typography__negative_1xd5u {
62
+ } .typography__negative_q8fem {
59
63
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1xd5u {
64
+ } .typography__static-primary-light_q8fem {
61
65
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1xd5u {
66
+ } .typography__static-secondary-light_q8fem {
63
67
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1xd5u {
68
+ } .typography__static-tertiary-light_q8fem {
65
69
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1xd5u {
70
+ } .typography__static-primary-dark_q8fem {
67
71
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1xd5u {
72
+ } .typography__static-secondary-dark_q8fem {
69
73
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1xd5u {
74
+ } .typography__static-tertiary-dark_q8fem {
71
75
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1xd5u {
76
+ } .typography__static-accent_q8fem {
73
77
  color: var(--color-static-accent-primary);
74
78
  }
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var colors = {"tertiary":"typography__tertiary_q8fem","disabled":"typography__disabled_q8fem","accent":"typography__accent_q8fem","primary":"typography__primary_q8fem","attention":"typography__attention_q8fem","positive":"typography__positive_q8fem","secondary":"typography__secondary_q8fem","tertiary-inverted":"typography__tertiary-inverted_q8fem","primary-inverted":"typography__primary-inverted_q8fem","secondary-inverted":"typography__secondary-inverted_q8fem","link":"typography__link_q8fem","negative":"typography__negative_q8fem","static-primary-light":"typography__static-primary-light_q8fem","static-secondary-light":"typography__static-secondary-light_q8fem","static-tertiary-light":"typography__static-tertiary-light_q8fem","static-primary-dark":"typography__static-primary-dark_q8fem","static-secondary-dark":"typography__static-secondary-dark_q8fem","static-tertiary-dark":"typography__static-tertiary-dark_q8fem","static-accent":"typography__static-accent_q8fem"};
4
+ require('./colors.css')
5
+
6
+ exports.colors = colors;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_yzkwo","bold":"typography__bold_yzkwo","semibold":"typography__semibold_yzkwo","medium":"typography__medium_yzkwo","regular":"typography__regular_yzkwo","rowLimit1":"typography__rowLimit1_yzkwo","rowLimit2":"typography__rowLimit2_yzkwo","rowLimit3":"typography__rowLimit3_yzkwo"};
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,8 +28,12 @@
28
28
  /* Up */
29
29
 
30
30
  /* Hard up */
31
- } :root {
32
- } :root {
31
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
32
+
33
+ /* новые значения, используйте их */
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 */
35
+
36
+ /* новые значения, используйте их */
33
37
  } :root {
34
38
  } :root {
35
39
  } /* colors */ .tertiary {
@@ -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,9 +9,13 @@
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
- } :root {
14
+
15
+ /* новые значения, используйте их */
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 */
17
+
18
+ /* новые значения, используйте их */
15
19
  } :root {
16
20
  } :root {
17
21
  } .skeletonText.skeletonText {
@@ -8,7 +8,7 @@ type TextBaseProps = {
8
8
  /**
9
9
  * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
10
10
  */
11
- view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'component-primary' | 'component-secondary' | 'caps';
11
+ view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'component-primary' | 'component-secondary' | 'caps' | 'tagline';
12
12
  /**
13
13
  * Цвет текста
14
14
  */
@@ -9,13 +9,18 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
13
- } :root {
14
- --gap-s: 12px;
12
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
13
+
14
+ /* новые значения, используйте их */
15
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */
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 */
17
+
18
+ /* новые значения, используйте их */
19
+ --gap-12: var(--gap-s);
15
20
  } :root {
16
21
  } :root {
17
22
  } :root {
18
- --text-paragraph-margin-bottom: 0 0 var(--gap-s);
23
+ --text-paragraph-margin-bottom: 0 0 var(--gap-12);
19
24
  } .paragraph {
20
25
  margin: 0;
21
26
  padding: 0;
@@ -64,6 +69,12 @@
64
69
  font-weight: 500;
65
70
  letter-spacing: 1.25px;
66
71
  text-transform: uppercase;
72
+ } .tagline {
73
+ font-size: 12px;
74
+ line-height: 16px;
75
+ font-weight: 500;
76
+ letter-spacing: 1.25px;
77
+ text-transform: uppercase;
67
78
  } .bold {
68
79
  font-weight: bold;
69
80
  } .medium {
@@ -2,15 +2,41 @@
2
2
  margin: 0;
3
3
  padding: 0
4
4
  }
5
+
5
6
  .component.bold {
6
7
  font-weight: bold;
7
8
  }
9
+
8
10
  .component.semibold {
9
11
  font-weight: 600;
10
12
  }
13
+
11
14
  .component.medium {
12
15
  font-weight: 500;
13
16
  }
17
+
14
18
  .component.regular {
15
19
  font-weight: normal;
16
20
  }
21
+
22
+ .rowLimit1 {
23
+ -webkit-line-clamp: 1;
24
+ display: -webkit-box;
25
+ -webkit-box-orient: vertical;
26
+ overflow: hidden;
27
+ word-break: break-all;
28
+ }
29
+
30
+ .rowLimit2 {
31
+ -webkit-line-clamp: 2;
32
+ display: -webkit-box;
33
+ -webkit-box-orient: vertical;
34
+ overflow: hidden;
35
+ }
36
+
37
+ .rowLimit3 {
38
+ -webkit-line-clamp: 3;
39
+ display: -webkit-box;
40
+ -webkit-box-orient: vertical;
41
+ overflow: hidden;
42
+ }
@@ -9,12 +9,20 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
13
- } :root {
14
- --gap-m: 16px;
15
- --gap-xl: 24px;
16
- --gap-3xl: 40px;
17
- --gap-4xl: 48px;
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 */
19
+ --gap-4xl: 48px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
20
+
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);
18
26
  } :root {
19
27
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
20
28
  'Helvetica Neue', Helvetica, sans-serif;
@@ -70,29 +78,13 @@
70
78
  line-height: 22px;
71
79
  font-weight: 700;
72
80
  } .margins-xlarge {
73
- margin: 0 0 var(--gap-xl);
81
+ margin: 0 0 var(--gap-24);
74
82
  } .margins-large {
75
- margin: var(--gap-4xl) 0 var(--gap-xl);
83
+ margin: var(--gap-48) 0 var(--gap-24);
76
84
  } .margins-medium {
77
- margin: var(--gap-4xl) 0 var(--gap-xl);
85
+ margin: var(--gap-48) 0 var(--gap-24);
78
86
  } .margins-small {
79
- margin: var(--gap-3xl) 0 var(--gap-m);
87
+ margin: var(--gap-40) 0 var(--gap-16);
80
88
  } .margins-xsmall {
81
- margin: var(--gap-3xl) 0 var(--gap-m);
82
- } .rowLimit1 {
83
- -webkit-line-clamp: 1;
84
- display: -webkit-box;
85
- -webkit-box-orient: vertical;
86
- overflow: hidden;
87
- word-break: break-all;
88
- } .rowLimit2 {
89
- -webkit-line-clamp: 2;
90
- display: -webkit-box;
91
- -webkit-box-orient: vertical;
92
- overflow: hidden;
93
- } .rowLimit3 {
94
- -webkit-line-clamp: 3;
95
- display: -webkit-box;
96
- -webkit-box-orient: vertical;
97
- overflow: hidden;
89
+ margin: var(--gap-40) 0 var(--gap-16);
98
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,8 +9,18 @@
9
9
  /* Up */
10
10
 
11
11
  /* Hard up */
12
- } :root {
13
- } :root {
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 */
19
+
20
+ /* новые значения, используйте их */
21
+ --gap-16: var(--gap-m);
22
+ --gap-24: var(--gap-xl);
23
+ --gap-40: var(--gap-3xl);
14
24
  } :root {
15
25
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
16
26
  'Helvetica Neue', Helvetica, sans-serif;
@@ -65,4 +75,14 @@
65
75
  font-size: 16px;
66
76
  line-height: 20px;
67
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);
68
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: 1x64h */
1
+ /* hash: 8w3y6 */
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,46 +29,50 @@
29
29
  /* Up */
30
30
 
31
31
  /* Hard up */
32
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
33
+
34
+ /* новые значения, используйте их */
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 */
36
+
37
+ /* новые значения, используйте их */
32
38
  } :root {
33
39
  } :root {
34
- } :root {
35
- } :root {
36
- } /* colors */ .typography__tertiary_1xd5u {
40
+ } /* colors */ .typography__tertiary_q8fem {
37
41
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1xd5u {
42
+ } .typography__disabled_q8fem {
39
43
  color: var(--color-light-text-quaternary);
40
- } .typography__accent_1xd5u {
44
+ } .typography__accent_q8fem {
41
45
  color: var(--color-light-accent-primary);
42
- } .typography__primary_1xd5u {
46
+ } .typography__primary_q8fem {
43
47
  color: var(--color-light-text-primary);
44
- } .typography__attention_1xd5u {
48
+ } .typography__attention_q8fem {
45
49
  color: var(--color-light-text-attention);
46
- } .typography__positive_1xd5u {
50
+ } .typography__positive_q8fem {
47
51
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1xd5u {
52
+ } .typography__secondary_q8fem {
49
53
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1xd5u {
54
+ } .typography__tertiary-inverted_q8fem {
51
55
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1xd5u {
56
+ } .typography__primary-inverted_q8fem {
53
57
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1xd5u {
58
+ } .typography__secondary-inverted_q8fem {
55
59
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1xd5u {
60
+ } .typography__link_q8fem {
57
61
  color: var(--color-light-text-info);
58
- } .typography__negative_1xd5u {
62
+ } .typography__negative_q8fem {
59
63
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1xd5u {
64
+ } .typography__static-primary-light_q8fem {
61
65
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1xd5u {
66
+ } .typography__static-secondary-light_q8fem {
63
67
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1xd5u {
68
+ } .typography__static-tertiary-light_q8fem {
65
69
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1xd5u {
70
+ } .typography__static-primary-dark_q8fem {
67
71
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1xd5u {
72
+ } .typography__static-secondary-dark_q8fem {
69
73
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1xd5u {
74
+ } .typography__static-tertiary-dark_q8fem {
71
75
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1xd5u {
76
+ } .typography__static-accent_q8fem {
73
77
  color: var(--color-static-accent-primary);
74
78
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_q8fem","disabled":"typography__disabled_q8fem","accent":"typography__accent_q8fem","primary":"typography__primary_q8fem","attention":"typography__attention_q8fem","positive":"typography__positive_q8fem","secondary":"typography__secondary_q8fem","tertiary-inverted":"typography__tertiary-inverted_q8fem","primary-inverted":"typography__primary-inverted_q8fem","secondary-inverted":"typography__secondary-inverted_q8fem","link":"typography__link_q8fem","negative":"typography__negative_q8fem","static-primary-light":"typography__static-primary-light_q8fem","static-secondary-light":"typography__static-secondary-light_q8fem","static-tertiary-light":"typography__static-tertiary-light_q8fem","static-primary-dark":"typography__static-primary-dark_q8fem","static-secondary-dark":"typography__static-secondary-dark_q8fem","static-tertiary-dark":"typography__static-tertiary-dark_q8fem","static-accent":"typography__static-accent_q8fem"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_yzkwo","bold":"typography__bold_yzkwo","semibold":"typography__semibold_yzkwo","medium":"typography__medium_yzkwo","regular":"typography__regular_yzkwo","rowLimit1":"typography__rowLimit1_yzkwo","rowLimit2":"typography__rowLimit2_yzkwo","rowLimit3":"typography__rowLimit3_yzkwo"};
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: 53xo9 */
1
+ /* hash: 1aiu2 */
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,17 +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
+ /* новые значения, используйте их */
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 */
18
+
19
+ /* новые значения, используйте их */
15
20
  } :root {
16
21
  } :root {
17
- } :root {
18
- } .typography__skeletonText_vv96e.typography__skeletonText_vv96e {
22
+ } .typography__skeletonText_18baj.typography__skeletonText_18baj {
19
23
  border-radius: var(--border-radius-pill);
20
- } .typography__left_vv96e > div {
24
+ } .typography__left_18baj > div {
21
25
  margin-right: auto;
22
- } .typography__center_vv96e > div {
26
+ } .typography__center_18baj > div {
23
27
  margin: 0 auto;
24
- } .typography__right_vv96e > div {
28
+ } .typography__right_18baj > div {
25
29
  margin-left: auto;
26
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_vv96e","left":"typography__left_vv96e","center":"typography__center_vv96e","right":"typography__right_vv96e"};
7
+ var styles = {"skeletonText":"typography__skeletonText_18baj","left":"typography__left_18baj","center":"typography__center_18baj","right":"typography__right_18baj"};
8
8
  require('./use-skeleton.css')
9
9
 
10
10
  function useSkeleton(showSkeleton, skeletonProps) {