@alfalab/core-components-typography 4.4.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/colors.css +24 -24
  2. package/colors.module-dd1edd45.js +6 -0
  3. package/common.module-b1646c7c.js +6 -0
  4. package/component.js +0 -10
  5. package/cssm/colors.module.css +4 -4
  6. package/cssm/component.js +0 -15
  7. package/cssm/hooks/index.js +0 -6
  8. package/cssm/hooks/use-skeleton.module.css +1 -1
  9. package/cssm/index.js +0 -19
  10. package/cssm/text/component.js +0 -3
  11. package/cssm/text/index.js +0 -10
  12. package/cssm/text/index.module.css +1 -1
  13. package/cssm/title/common.module.css +3 -0
  14. package/cssm/title/component.d.ts +7 -6
  15. package/cssm/title/component.js +4 -6
  16. package/cssm/title/index.d.ts +1 -1
  17. package/cssm/title/index.js +1 -8
  18. package/cssm/title/index.module.css +1 -1
  19. package/cssm/title/utils.d.ts +2 -0
  20. package/cssm/title/utils.js +15 -0
  21. package/cssm/title-mobile/component.d.ts +1 -1
  22. package/cssm/title-mobile/component.js +1 -8
  23. package/cssm/title-mobile/index.js +0 -12
  24. package/cssm/title-mobile/index.module.css +1 -1
  25. package/cssm/title-responsive/component.d.ts +1 -1
  26. package/cssm/title-responsive/component.js +5 -8
  27. package/cssm/title-responsive/index.js +0 -12
  28. package/cssm/title-responsive/index.module.css +1 -1
  29. package/esm/colors.css +24 -24
  30. package/esm/colors.module-2cceacab.js +4 -0
  31. package/esm/common.module-f10bcd74.js +4 -0
  32. package/esm/component.js +0 -10
  33. package/esm/hooks/index.js +0 -5
  34. package/esm/hooks/use-skeleton.css +6 -6
  35. package/esm/hooks/use-skeleton.js +1 -1
  36. package/esm/index.js +0 -14
  37. package/esm/text/component.js +2 -4
  38. package/esm/text/index.css +21 -21
  39. package/esm/text/index.js +0 -8
  40. package/esm/title/common.css +8 -5
  41. package/esm/title/component.d.ts +7 -6
  42. package/esm/title/component.js +5 -6
  43. package/esm/title/index.css +20 -20
  44. package/esm/title/index.d.ts +1 -1
  45. package/esm/title/index.js +4 -10
  46. package/esm/title/utils.d.ts +2 -0
  47. package/esm/title/utils.js +11 -0
  48. package/esm/title-mobile/component.d.ts +1 -1
  49. package/esm/title-mobile/component.js +4 -10
  50. package/esm/title-mobile/index.css +12 -12
  51. package/esm/title-mobile/index.js +0 -10
  52. package/esm/title-responsive/component.d.ts +1 -1
  53. package/esm/title-responsive/component.js +8 -10
  54. package/esm/title-responsive/index.css +32 -32
  55. package/esm/title-responsive/index.js +0 -10
  56. package/hooks/index.js +0 -5
  57. package/hooks/use-skeleton.css +6 -6
  58. package/hooks/use-skeleton.js +1 -1
  59. package/index.js +0 -14
  60. package/modern/colors.css +24 -24
  61. package/modern/colors.module-536c28e6.js +4 -0
  62. package/modern/common.module-ed1b5fb7.js +4 -0
  63. package/modern/component.js +0 -9
  64. package/modern/hooks/index.js +0 -4
  65. package/modern/hooks/use-skeleton.css +6 -6
  66. package/modern/hooks/use-skeleton.js +1 -1
  67. package/modern/index.js +0 -13
  68. package/modern/text/component.js +2 -4
  69. package/modern/text/index.css +21 -21
  70. package/modern/text/index.js +0 -7
  71. package/modern/title/common.css +8 -5
  72. package/modern/title/component.d.ts +7 -6
  73. package/modern/title/component.js +4 -5
  74. package/modern/title/index.css +20 -20
  75. package/modern/title/index.d.ts +1 -1
  76. package/modern/title/index.js +4 -10
  77. package/modern/title/utils.d.ts +2 -0
  78. package/modern/title/utils.js +11 -0
  79. package/modern/title-mobile/component.d.ts +1 -1
  80. package/modern/title-mobile/component.js +4 -10
  81. package/modern/title-mobile/index.css +12 -12
  82. package/modern/title-mobile/index.js +0 -9
  83. package/modern/title-responsive/component.d.ts +1 -1
  84. package/modern/title-responsive/component.js +8 -10
  85. package/modern/title-responsive/index.css +32 -32
  86. package/modern/title-responsive/index.js +0 -9
  87. package/package.json +3 -2
  88. package/src/title/common.module.css +4 -0
  89. package/src/title/component.tsx +8 -4
  90. package/src/title/index.tsx +7 -2
  91. package/src/title/utils.ts +11 -0
  92. package/src/title-mobile/component.tsx +9 -2
  93. package/src/title-responsive/component.tsx +15 -2
  94. package/text/component.js +2 -4
  95. package/text/index.css +21 -21
  96. package/text/index.js +0 -8
  97. package/title/common.css +8 -5
  98. package/title/component.d.ts +7 -6
  99. package/title/component.js +5 -6
  100. package/title/index.css +20 -20
  101. package/title/index.d.ts +1 -1
  102. package/title/index.js +3 -9
  103. package/title/utils.d.ts +2 -0
  104. package/title/utils.js +15 -0
  105. package/title-mobile/component.d.ts +1 -1
  106. package/title-mobile/component.js +3 -9
  107. package/title-mobile/index.css +12 -12
  108. package/title-mobile/index.js +0 -10
  109. package/title-responsive/component.d.ts +1 -1
  110. package/title-responsive/component.js +7 -9
  111. package/title-responsive/index.css +32 -32
  112. package/title-responsive/index.js +0 -10
  113. package/colors.module-120e4dd7.js +0 -6
  114. package/common.module-4389487a.js +0 -6
  115. package/esm/colors.module-3119b191.js +0 -4
  116. package/esm/common.module-ec992380.js +0 -4
  117. package/modern/colors.module-93e1488b.js +0 -4
  118. package/modern/common.module-0bb3a173.js +0 -4
package/colors.css CHANGED
@@ -1,14 +1,14 @@
1
- /* hash: 1l8lq */
2
- :root {
1
+ /* hash: ptm72 */
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-text-accent: #ef3124;
5
5
  --color-light-text-attention: #ea8313;
6
6
  --color-light-text-disabled: rgba(5, 11, 44, 0.18);
7
7
  --color-light-text-link: #2a77ef;
8
- --color-light-text-negative: #ec2e14;
8
+ --color-light-text-negative: #ec2d20;
9
9
  --color-light-text-positive: #0d9336;
10
- --color-light-text-primary: #0e0e0e;
11
- --color-light-text-primary-inverted: #fff;
10
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
11
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
12
12
  --color-light-text-secondary: rgba(4, 4, 19, 0.55);
13
13
  --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
14
14
  --color-light-text-tertiary: rgba(5, 8, 29, 0.38);
@@ -33,42 +33,42 @@
33
33
  } :root {
34
34
  } :root {
35
35
  } :root {
36
- } /* colors */ .typography__tertiary_y12u3 {
36
+ } /* colors */ .typography__tertiary_kyxz0 {
37
37
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_y12u3 {
38
+ } .typography__disabled_kyxz0 {
39
39
  color: var(--color-light-text-disabled);
40
- } .typography__accent_y12u3 {
40
+ } .typography__accent_kyxz0 {
41
41
  color: var(--color-light-text-accent);
42
- } .typography__primary_y12u3 {
42
+ } .typography__primary_kyxz0 {
43
43
  color: var(--color-light-text-primary);
44
- } .typography__attention_y12u3 {
44
+ } .typography__attention_kyxz0 {
45
45
  color: var(--color-light-text-attention);
46
- } .typography__positive_y12u3 {
46
+ } .typography__positive_kyxz0 {
47
47
  color: var(--color-light-text-positive);
48
- } .typography__secondary_y12u3 {
48
+ } .typography__secondary_kyxz0 {
49
49
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_y12u3 {
50
+ } .typography__tertiary-inverted_kyxz0 {
51
51
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_y12u3 {
52
+ } .typography__primary-inverted_kyxz0 {
53
53
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_y12u3 {
54
+ } .typography__secondary-inverted_kyxz0 {
55
55
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_y12u3 {
56
+ } .typography__link_kyxz0 {
57
57
  color: var(--color-light-text-link);
58
- } .typography__negative_y12u3 {
58
+ } .typography__negative_kyxz0 {
59
59
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_y12u3 {
60
+ } .typography__static-primary-light_kyxz0 {
61
61
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_y12u3 {
62
+ } .typography__static-secondary-light_kyxz0 {
63
63
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_y12u3 {
64
+ } .typography__static-tertiary-light_kyxz0 {
65
65
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_y12u3 {
66
+ } .typography__static-primary-dark_kyxz0 {
67
67
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_y12u3 {
68
+ } .typography__static-secondary-dark_kyxz0 {
69
69
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_y12u3 {
70
+ } .typography__static-tertiary-dark_kyxz0 {
71
71
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_y12u3 {
72
+ } .typography__static-accent_kyxz0 {
73
73
  color: var(--color-static-text-accent);
74
74
  }
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var colors = {"tertiary":"typography__tertiary_kyxz0","disabled":"typography__disabled_kyxz0","accent":"typography__accent_kyxz0","primary":"typography__primary_kyxz0","attention":"typography__attention_kyxz0","positive":"typography__positive_kyxz0","secondary":"typography__secondary_kyxz0","tertiary-inverted":"typography__tertiary-inverted_kyxz0","primary-inverted":"typography__primary-inverted_kyxz0","secondary-inverted":"typography__secondary-inverted_kyxz0","link":"typography__link_kyxz0","negative":"typography__negative_kyxz0","static-primary-light":"typography__static-primary-light_kyxz0","static-secondary-light":"typography__static-secondary-light_kyxz0","static-tertiary-light":"typography__static-tertiary-light_kyxz0","static-primary-dark":"typography__static-primary-dark_kyxz0","static-secondary-dark":"typography__static-secondary-dark_kyxz0","static-tertiary-dark":"typography__static-tertiary-dark_kyxz0","static-accent":"typography__static-accent_kyxz0"};
4
+ require('./colors.css')
5
+
6
+ exports.colors = colors;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_pc80t","bold":"typography__bold_pc80t","semibold":"typography__semibold_pc80t","medium":"typography__medium_pc80t","regular":"typography__regular_pc80t"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/component.js CHANGED
@@ -6,16 +6,6 @@ var text_component = require('./text/component.js');
6
6
  var title_index = require('./title/index.js');
7
7
  var titleMobile_component = require('./title-mobile/component.js');
8
8
  var titleResponsive_component = require('./title-responsive/component.js');
9
- require('tslib');
10
- require('react');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('./hooks/use-skeleton.js');
14
- require('@alfalab/core-components-skeleton');
15
- require('@alfalab/hooks');
16
- require('./colors.module-120e4dd7.js');
17
- require('./title/component.js');
18
- require('./common.module-4389487a.js');
19
9
 
20
10
  var Typography = {
21
11
  Title: title_index.Title,
@@ -1,13 +1,13 @@
1
- :root {
1
+ :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 */
2
2
  } /* deprecated */ :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #ea8313;
5
5
  --color-light-text-disabled: rgba(5, 11, 44, 0.18);
6
6
  --color-light-text-link: #2a77ef;
7
- --color-light-text-negative: #ec2e14;
7
+ --color-light-text-negative: #ec2d20;
8
8
  --color-light-text-positive: #0d9336;
9
- --color-light-text-primary: #0e0e0e;
10
- --color-light-text-primary-inverted: #fff;
9
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
10
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
11
11
  --color-light-text-secondary: rgba(4, 4, 19, 0.55);
12
12
  --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
13
13
  --color-light-text-tertiary: rgba(5, 8, 29, 0.38);
package/cssm/component.js CHANGED
@@ -6,21 +6,6 @@ var text_component = require('./text/component.js');
6
6
  var title_index = require('./title/index.js');
7
7
  var titleMobile_component = require('./title-mobile/component.js');
8
8
  var titleResponsive_component = require('./title-responsive/component.js');
9
- require('tslib');
10
- require('react');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('./hooks/use-skeleton.js');
14
- require('@alfalab/core-components-skeleton/cssm');
15
- require('@alfalab/hooks');
16
- require('./hooks/use-skeleton.module.css');
17
- require('./colors.module.css');
18
- require('./text/index.module.css');
19
- require('./title/component.js');
20
- require('./title/common.module.css');
21
- require('./title/index.module.css');
22
- require('./title-mobile/index.module.css');
23
- require('./title-responsive/index.module.css');
24
9
 
25
10
  var Typography = {
26
11
  Title: title_index.Title,
@@ -3,12 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var hooks_useSkeleton = require('./use-skeleton.js');
6
- require('tslib');
7
- require('react');
8
- require('classnames');
9
- require('@alfalab/core-components-skeleton/cssm');
10
- require('@alfalab/hooks');
11
- require('./use-skeleton.module.css');
12
6
 
13
7
 
14
8
 
@@ -1,4 +1,4 @@
1
- :root {
1
+ :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 */
2
2
  } /* 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 */
3
3
  } :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 */
4
4
  } :root {
package/cssm/index.js CHANGED
@@ -4,25 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var component = require('./component.js');
6
6
  var presets = require('./presets.js');
7
- require('./text/component.js');
8
- require('tslib');
9
- require('react');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('./hooks/use-skeleton.js');
13
- require('@alfalab/core-components-skeleton/cssm');
14
- require('@alfalab/hooks');
15
- require('./hooks/use-skeleton.module.css');
16
- require('./colors.module.css');
17
- require('./text/index.module.css');
18
- require('./title/index.js');
19
- require('./title/component.js');
20
- require('./title/common.module.css');
21
- require('./title/index.module.css');
22
- require('./title-mobile/component.js');
23
- require('./title-mobile/index.module.css');
24
- require('./title-responsive/component.js');
25
- require('./title-responsive/index.module.css');
26
7
 
27
8
 
28
9
 
@@ -9,9 +9,6 @@ var cn = require('classnames');
9
9
  var hooks_useSkeleton = require('../hooks/use-skeleton.js');
10
10
  var colors = require('../colors.module.css');
11
11
  var styles = require('./index.module.css');
12
- require('@alfalab/core-components-skeleton/cssm');
13
- require('@alfalab/hooks');
14
- require('../hooks/use-skeleton.module.css');
15
12
 
16
13
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
17
14
 
@@ -3,16 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var text_component = require('./component.js');
6
- require('tslib');
7
- require('react');
8
- require('react-merge-refs');
9
- require('classnames');
10
- require('../hooks/use-skeleton.js');
11
- require('@alfalab/core-components-skeleton/cssm');
12
- require('@alfalab/hooks');
13
- require('../hooks/use-skeleton.module.css');
14
- require('../colors.module.css');
15
- require('./index.module.css');
16
6
 
17
7
 
18
8
 
@@ -1,4 +1,4 @@
1
- :root {
1
+ :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 */
2
2
  } /* 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 */
3
3
  } :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 */
4
4
  } :root {
@@ -5,6 +5,9 @@
5
5
  .component.bold {
6
6
  font-weight: bold;
7
7
  }
8
+ .component.semibold {
9
+ font-weight: 600;
10
+ }
8
11
  .component.medium {
9
12
  font-weight: 500;
10
13
  }
@@ -20,7 +20,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
20
20
  /**
21
21
  * Толщина шрифта
22
22
  */
23
- weight?: 'regular' | 'medium' | 'bold';
23
+ weight?: 'regular' | 'medium' | 'bold' | 'semibold';
24
24
  /**
25
25
  * Шрифт текста
26
26
  */
@@ -54,13 +54,14 @@ type TitleProps = Omit<NativeProps, 'color'> & {
54
54
  */
55
55
  skeletonProps?: TextSkeletonProps;
56
56
  };
57
- type Styles = {
57
+ type PrivateProps = {
58
58
  styles: {
59
59
  [key: string]: string;
60
60
  };
61
+ platform: 'mobile' | 'desktop';
61
62
  };
62
63
  type TitleElementType = HTMLHeadingElement | HTMLDivElement;
63
- declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color"> & {
64
+ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "color"> & {
64
65
  /**
65
66
  * HTML тег
66
67
  */
@@ -76,7 +77,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
76
77
  /**
77
78
  * Толщина шрифта
78
79
  */
79
- weight?: "bold" | "regular" | "medium" | undefined;
80
+ weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
80
81
  /**
81
82
  * Шрифт текста
82
83
  */
@@ -109,5 +110,5 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
109
110
  * Пропы для скелетона
110
111
  */
111
112
  skeletonProps?: TextSkeletonProps | undefined;
112
- } & Styles & React.RefAttributes<TitleElementType>>;
113
- export { TitleProps, Title };
113
+ } & PrivateProps & React.RefAttributes<TitleElementType>>;
114
+ export { TitleProps, TitleBase };
@@ -7,10 +7,8 @@ var React = require('react');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  var cn = require('classnames');
9
9
  var hooks_useSkeleton = require('../hooks/use-skeleton.js');
10
+ var title_utils = require('./utils.js');
10
11
  var colors = require('../colors.module.css');
11
- require('@alfalab/core-components-skeleton/cssm');
12
- require('@alfalab/hooks');
13
- require('../hooks/use-skeleton.module.css');
14
12
 
15
13
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
14
 
@@ -19,9 +17,9 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
19
17
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
20
18
  var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
21
19
 
22
- var Title = React.forwardRef(function (_a, ref) {
20
+ var TitleBase = React.forwardRef(function (_a, ref) {
23
21
  var _b;
24
- var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, font = _e === void 0 ? 'styrene' : _e, _f = _a.weight, weight = _f === void 0 ? font === 'styrene' ? 'medium' : 'bold' : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = tslib.__rest(_a, ["tag", "view", "font", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
22
+ var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, font = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? title_utils.getDefaultWeight(font, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = tslib.__rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
25
23
  var _h = hooks_useSkeleton.useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
26
24
  var skeleton = renderSkeleton({
27
25
  wrapperClassName: cn__default.default(defaultMargins && styles["margins-".concat(view)]),
@@ -33,4 +31,4 @@ var Title = React.forwardRef(function (_a, ref) {
33
31
  return (React__default.default.createElement(Component, tslib.__assign({ className: cn__default.default(styles.component, className, styles["".concat(font, "-").concat(view)], defaultMargins && styles["margins-".concat(view)], styles[weight], color && colors__default.default[color], (_b = {}, _b[styles["rowLimit".concat(rowLimit)]] = rowLimit, _b)), "data-test-id": dataTestId, ref: mergeRefs__default.default([ref, textRef]) }, restProps), children));
34
32
  });
35
33
 
36
- exports.Title = Title;
34
+ exports.TitleBase = TitleBase;
@@ -5,7 +5,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
5
5
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
6
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
7
7
  color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
8
- weight?: "bold" | "regular" | "medium" | undefined;
8
+ weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
9
9
  font?: "styrene" | "system" | undefined;
10
10
  defaultMargins?: boolean | undefined;
11
11
  className?: string | undefined;
@@ -7,13 +7,6 @@ var React = require('react');
7
7
  var title_component = require('./component.js');
8
8
  var commonStyles = require('./common.module.css');
9
9
  var styles = require('./index.module.css');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('../hooks/use-skeleton.js');
13
- require('@alfalab/core-components-skeleton/cssm');
14
- require('@alfalab/hooks');
15
- require('../hooks/use-skeleton.module.css');
16
- require('../colors.module.css');
17
10
 
18
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
19
12
 
@@ -21,6 +14,6 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
14
  var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
22
15
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
23
16
 
24
- var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.Title, tslib.__assign({}, props, { styles: Object.assign(commonStyles__default.default, styles__default.default), ref: ref }))); });
17
+ var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: Object.assign(commonStyles__default.default, styles__default.default), ref: ref, platform: 'desktop' }))); });
25
18
 
26
19
  exports.Title = Title;
@@ -1,4 +1,4 @@
1
- :root {
1
+ :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 */
2
2
  } /* 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 */
3
3
  } :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 */
4
4
  } :root {
@@ -0,0 +1,2 @@
1
+ declare function getDefaultWeight(font: 'styrene' | 'system', platform: 'mobile' | 'desktop'): "medium" | "bold" | "semibold";
2
+ export { getDefaultWeight };
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function getDefaultWeight(font, platform) {
6
+ if (font === 'styrene') {
7
+ return 'medium';
8
+ }
9
+ if (platform === 'desktop') {
10
+ return 'bold';
11
+ }
12
+ return 'semibold';
13
+ }
14
+
15
+ exports.getDefaultWeight = getDefaultWeight;
@@ -6,7 +6,7 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
6
6
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
7
7
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
8
8
  color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
9
- weight?: "bold" | "regular" | "medium" | undefined;
9
+ weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
10
10
  font?: "styrene" | "system" | undefined;
11
11
  defaultMargins?: boolean | undefined;
12
12
  className?: string | undefined;
@@ -7,13 +7,6 @@ var React = require('react');
7
7
  var title_component = require('../title/component.js');
8
8
  var commonStyles = require('../title/common.module.css');
9
9
  var styles = require('./index.module.css');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('../hooks/use-skeleton.js');
13
- require('@alfalab/core-components-skeleton/cssm');
14
- require('@alfalab/hooks');
15
- require('../hooks/use-skeleton.module.css');
16
- require('../colors.module.css');
17
10
 
18
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
19
12
 
@@ -21,6 +14,6 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
14
  var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
22
15
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
23
16
 
24
- var TitleMobile = React.forwardRef(function (props, ref) { return React__default.default.createElement(title_component.Title, tslib.__assign({}, props, { styles: Object.assign(commonStyles__default.default, styles__default.default), ref: ref })); });
17
+ var TitleMobile = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: Object.assign(commonStyles__default.default, styles__default.default), ref: ref, platform: 'mobile' }))); });
25
18
 
26
19
  exports.TitleMobile = TitleMobile;
@@ -3,18 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var titleMobile_component = require('./component.js');
6
- require('tslib');
7
- require('react');
8
- require('../title/component.js');
9
- require('react-merge-refs');
10
- require('classnames');
11
- require('../hooks/use-skeleton.js');
12
- require('@alfalab/core-components-skeleton/cssm');
13
- require('@alfalab/hooks');
14
- require('../hooks/use-skeleton.module.css');
15
- require('../colors.module.css');
16
- require('../title/common.module.css');
17
- require('./index.module.css');
18
6
 
19
7
 
20
8
 
@@ -1,4 +1,4 @@
1
- :root {
1
+ :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 */
2
2
  } /* 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 */
3
3
  } :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 */
4
4
  } :root {
@@ -4,7 +4,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
4
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
5
  view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
6
6
  color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
7
- weight?: "bold" | "regular" | "medium" | undefined;
7
+ weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
8
8
  font?: "styrene" | "system" | undefined;
9
9
  defaultMargins?: boolean | undefined;
10
10
  className?: string | undefined;
@@ -4,16 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
+ var coreComponentsMq = require('@alfalab/core-components-mq/cssm');
7
8
  var title_component = require('../title/component.js');
8
9
  var commonStyles = require('../title/common.module.css');
9
10
  var styles = require('./index.module.css');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('../hooks/use-skeleton.js');
13
- require('@alfalab/core-components-skeleton/cssm');
14
- require('@alfalab/hooks');
15
- require('../hooks/use-skeleton.module.css');
16
- require('../colors.module.css');
17
11
 
18
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
19
13
 
@@ -21,6 +15,9 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
15
  var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
22
16
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
23
17
 
24
- var TitleResponsive = React.forwardRef(function (props, ref) { return React__default.default.createElement(title_component.Title, tslib.__assign({}, props, { styles: Object.assign(commonStyles__default.default, styles__default.default), ref: ref })); });
18
+ var TitleResponsive = React.forwardRef(function (props, ref) {
19
+ var isDesktop = coreComponentsMq.useMatchMedia('(min-width: 1024px)')[0];
20
+ 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' })));
21
+ });
25
22
 
26
23
  exports.TitleResponsive = TitleResponsive;
@@ -3,18 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var titleResponsive_component = require('./component.js');
6
- require('tslib');
7
- require('react');
8
- require('../title/component.js');
9
- require('react-merge-refs');
10
- require('classnames');
11
- require('../hooks/use-skeleton.js');
12
- require('@alfalab/core-components-skeleton/cssm');
13
- require('@alfalab/hooks');
14
- require('../hooks/use-skeleton.module.css');
15
- require('../colors.module.css');
16
- require('../title/common.module.css');
17
- require('./index.module.css');
18
6
 
19
7
 
20
8
 
@@ -1,4 +1,4 @@
1
- :root {
1
+ :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 */
2
2
  } /* 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 */
3
3
  } :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 */
4
4
  } :root {