@alfalab/core-components-typography 3.2.0 → 3.2.2

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 (85) hide show
  1. package/colors.css +34 -34
  2. package/colors.js +2 -0
  3. package/colors.module-a848b027.js +6 -0
  4. package/common.module-7493433e.js +6 -0
  5. package/component.js +4 -2
  6. package/cssm/colors.js +2 -0
  7. package/cssm/colors.module.css +14 -14
  8. package/cssm/component.js +2 -0
  9. package/cssm/index.js +2 -0
  10. package/cssm/presets.js +2 -0
  11. package/cssm/text/component.d.ts +1 -1
  12. package/cssm/text/component.js +2 -0
  13. package/cssm/text/index.js +2 -0
  14. package/cssm/text/index.module.css +2 -2
  15. package/cssm/title/component.js +2 -0
  16. package/cssm/title/index.js +2 -0
  17. package/cssm/title/index.module.css +2 -2
  18. package/cssm/title-mobile/component.js +2 -0
  19. package/cssm/title-mobile/index.js +2 -0
  20. package/cssm/title-mobile/index.module.css +2 -2
  21. package/cssm/title-responsive/component.js +2 -0
  22. package/cssm/title-responsive/index.js +2 -0
  23. package/cssm/title-responsive/index.module.css +2 -2
  24. package/esm/colors.css +34 -34
  25. package/esm/colors.module-996156cd.js +4 -0
  26. package/esm/common.module-bbfef03a.js +4 -0
  27. package/esm/component.js +2 -2
  28. package/esm/index.js +2 -2
  29. package/esm/text/component.d.ts +1 -1
  30. package/esm/text/component.js +2 -2
  31. package/esm/text/index.css +20 -20
  32. package/esm/text/index.js +1 -1
  33. package/esm/title/common.css +5 -5
  34. package/esm/title/component.js +1 -1
  35. package/esm/title/index.css +21 -21
  36. package/esm/title/index.js +3 -3
  37. package/esm/title-mobile/component.js +3 -3
  38. package/esm/title-mobile/index.css +13 -13
  39. package/esm/title-mobile/index.js +2 -2
  40. package/esm/title-responsive/component.js +3 -3
  41. package/esm/title-responsive/index.css +43 -43
  42. package/esm/title-responsive/index.js +2 -2
  43. package/index.js +4 -2
  44. package/modern/colors.css +34 -34
  45. package/modern/colors.module-f2c54769.js +4 -0
  46. package/modern/common.module-888addc3.js +4 -0
  47. package/modern/component.js +2 -2
  48. package/modern/index.js +2 -2
  49. package/modern/text/component.d.ts +1 -1
  50. package/modern/text/component.js +2 -2
  51. package/modern/text/index.css +20 -20
  52. package/modern/text/index.js +1 -1
  53. package/modern/title/common.css +5 -5
  54. package/modern/title/component.js +1 -1
  55. package/modern/title/index.css +21 -21
  56. package/modern/title/index.js +3 -3
  57. package/modern/title-mobile/component.js +3 -3
  58. package/modern/title-mobile/index.css +13 -13
  59. package/modern/title-mobile/index.js +2 -2
  60. package/modern/title-responsive/component.js +3 -3
  61. package/modern/title-responsive/index.css +43 -43
  62. package/modern/title-responsive/index.js +2 -2
  63. package/package.json +1 -4
  64. package/presets.js +2 -0
  65. package/text/component.d.ts +1 -1
  66. package/text/component.js +4 -2
  67. package/text/index.css +20 -20
  68. package/text/index.js +3 -1
  69. package/title/common.css +5 -5
  70. package/title/component.js +3 -1
  71. package/title/index.css +21 -21
  72. package/title/index.js +5 -3
  73. package/title-mobile/component.js +5 -3
  74. package/title-mobile/index.css +13 -13
  75. package/title-mobile/index.js +4 -2
  76. package/title-responsive/component.js +5 -3
  77. package/title-responsive/index.css +43 -43
  78. package/title-responsive/index.js +4 -2
  79. package/colors.module-15de3c41.js +0 -6
  80. package/common.module-f948e7d5.js +0 -6
  81. package/esm/colors.module-308e84a9.js +0 -4
  82. package/esm/common.module-a19344da.js +0 -4
  83. package/modern/colors.module-c327b974.js +0 -4
  84. package/modern/common.module-41281fe7.js +0 -4
  85. package/send-stats.js +0 -82
package/colors.css CHANGED
@@ -1,26 +1,26 @@
1
- /* hash: 1bc7p */
1
+ /* hash: mizz5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-accent: #ef3124;
5
- --color-light-text-attention: #de6a00;
6
- --color-light-text-disabled: rgba(11, 31, 53, 0.15);
7
- --color-light-text-link: #007aff;
5
+ --color-light-text-attention: #cb830f;
6
+ --color-light-text-disabled: rgba(60, 60, 67, 0.22);
7
+ --color-light-text-link: #0072ef;
8
8
  --color-light-text-negative: #d91d0b;
9
9
  --color-light-text-positive: #13a463;
10
- --color-light-text-primary: #0b1f35;
10
+ --color-light-text-primary: #0e0e0e;
11
11
  --color-light-text-primary-inverted: #fff;
12
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
13
- --color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
14
- --color-light-text-tertiary: rgba(11, 31, 53, 0.3);
15
- --color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
12
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66);
13
+ --color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
14
+ --color-light-text-tertiary: rgba(60, 60, 67, 0.4);
15
+ --color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
16
16
  --color-static-text-accent: #ef3124;
17
- --color-static-text-primary-dark: #0b1f35;
17
+ --color-static-text-primary-dark: #0e0e0e;
18
18
  --color-static-text-primary-light: #fff;
19
- --color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
20
- --color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
21
- --color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
22
- --color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
23
- } :root {
19
+ --color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
20
+ --color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
21
+ --color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
22
+ --color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
+ } :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 */
24
24
  } :root {
25
25
  } :root {
26
26
 
@@ -33,42 +33,42 @@
33
33
  } :root {
34
34
  } :root {
35
35
  } :root {
36
- } /* colors */ .typography__tertiary_1m791 {
36
+ } /* colors */ .typography__tertiary_1uica {
37
37
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1m791 {
38
+ } .typography__disabled_1uica {
39
39
  color: var(--color-light-text-disabled);
40
- } .typography__accent_1m791 {
40
+ } .typography__accent_1uica {
41
41
  color: var(--color-light-text-accent);
42
- } .typography__primary_1m791 {
42
+ } .typography__primary_1uica {
43
43
  color: var(--color-light-text-primary);
44
- } .typography__attention_1m791 {
44
+ } .typography__attention_1uica {
45
45
  color: var(--color-light-text-attention);
46
- } .typography__positive_1m791 {
46
+ } .typography__positive_1uica {
47
47
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1m791 {
48
+ } .typography__secondary_1uica {
49
49
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1m791 {
50
+ } .typography__tertiary-inverted_1uica {
51
51
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1m791 {
52
+ } .typography__primary-inverted_1uica {
53
53
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1m791 {
54
+ } .typography__secondary-inverted_1uica {
55
55
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1m791 {
56
+ } .typography__link_1uica {
57
57
  color: var(--color-light-text-link);
58
- } .typography__negative_1m791 {
58
+ } .typography__negative_1uica {
59
59
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1m791 {
60
+ } .typography__static-primary-light_1uica {
61
61
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1m791 {
62
+ } .typography__static-secondary-light_1uica {
63
63
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1m791 {
64
+ } .typography__static-tertiary-light_1uica {
65
65
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1m791 {
66
+ } .typography__static-primary-dark_1uica {
67
67
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1m791 {
68
+ } .typography__static-secondary-dark_1uica {
69
69
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1m791 {
70
+ } .typography__static-tertiary-dark_1uica {
71
71
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1m791 {
72
+ } .typography__static-accent_1uica {
73
73
  color: var(--color-static-text-accent);
74
74
  }
package/colors.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var colors = [
4
6
  'tertiary',
5
7
  'disabled',
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var colors = {"tertiary":"typography__tertiary_1uica","disabled":"typography__disabled_1uica","accent":"typography__accent_1uica","primary":"typography__primary_1uica","attention":"typography__attention_1uica","positive":"typography__positive_1uica","secondary":"typography__secondary_1uica","tertiary-inverted":"typography__tertiary-inverted_1uica","primary-inverted":"typography__primary-inverted_1uica","secondary-inverted":"typography__secondary-inverted_1uica","link":"typography__link_1uica","negative":"typography__negative_1uica","static-primary-light":"typography__static-primary-light_1uica","static-secondary-light":"typography__static-secondary-light_1uica","static-tertiary-light":"typography__static-tertiary-light_1uica","static-primary-dark":"typography__static-primary-dark_1uica","static-secondary-dark":"typography__static-secondary-dark_1uica","static-tertiary-dark":"typography__static-tertiary-dark_1uica","static-accent":"typography__static-accent_1uica"};
4
+ require('./colors.css')
5
+
6
+ exports.colors = colors;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_1etxr","bold":"typography__bold_1etxr","medium":"typography__medium_1etxr","regular":"typography__regular_1etxr"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/component.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var text_component = require('./text/component.js');
4
6
  var title_index = require('./title/index.js');
5
7
  var titleMobile_component = require('./title-mobile/component.js');
@@ -7,9 +9,9 @@ var titleResponsive_component = require('./title-responsive/component.js');
7
9
  require('tslib');
8
10
  require('react');
9
11
  require('classnames');
10
- require('./colors.module-15de3c41.js');
12
+ require('./colors.module-a848b027.js');
11
13
  require('./title/component.js');
12
- require('./common.module-f948e7d5.js');
14
+ require('./common.module-7493433e.js');
13
15
 
14
16
  var Typography = {
15
17
  Title: title_index.Title,
package/cssm/colors.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var colors = [
4
6
  'tertiary',
5
7
  'disabled',
@@ -1,25 +1,25 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-text-accent: #ef3124;
4
- --color-light-text-attention: #de6a00;
5
- --color-light-text-disabled: rgba(11, 31, 53, 0.15);
6
- --color-light-text-link: #007aff;
4
+ --color-light-text-attention: #cb830f;
5
+ --color-light-text-disabled: rgba(60, 60, 67, 0.22);
6
+ --color-light-text-link: #0072ef;
7
7
  --color-light-text-negative: #d91d0b;
8
8
  --color-light-text-positive: #13a463;
9
- --color-light-text-primary: #0b1f35;
9
+ --color-light-text-primary: #0e0e0e;
10
10
  --color-light-text-primary-inverted: #fff;
11
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
12
- --color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
13
- --color-light-text-tertiary: rgba(11, 31, 53, 0.3);
14
- --color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
11
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66);
12
+ --color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
13
+ --color-light-text-tertiary: rgba(60, 60, 67, 0.4);
14
+ --color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
15
15
  --color-static-text-accent: #ef3124;
16
- --color-static-text-primary-dark: #0b1f35;
16
+ --color-static-text-primary-dark: #0e0e0e;
17
17
  --color-static-text-primary-light: #fff;
18
- --color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
19
- --color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
20
- --color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
21
- --color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
22
- } :root {
18
+ --color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
19
+ --color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
20
+ --color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
21
+ --color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
22
+ } :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 */
23
23
  } :root {
24
24
  } :root {
25
25
 
package/cssm/component.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var text_component = require('./text/component.js');
4
6
  var title_index = require('./title/index.js');
5
7
  var titleMobile_component = require('./title-mobile/component.js');
package/cssm/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var component = require('./component.js');
4
6
  var presets = require('./presets.js');
5
7
  require('./text/component.js');
package/cssm/presets.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var typographyPresets = {
4
6
  mobile: {
5
7
  list: {
@@ -6,7 +6,7 @@ import { TextElementType } from "../types";
6
6
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
7
7
  type TextBaseProps = {
8
8
  /**
9
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
9
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
10
10
  */
11
11
  view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
12
12
  /**
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var cn = require('classnames');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var text_component = require('./component.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
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
+ } :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
5
  } :root {
6
6
 
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var cn = require('classnames');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var title_component = require('./component.js');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
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
+ } :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
5
  } :root {
6
6
 
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var title_component = require('../title/component.js');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var titleMobile_component = require('./component.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
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
+ } :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
5
  } :root {
6
6
 
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var title_component = require('../title/component.js');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var titleResponsive_component = require('./component.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
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
+ } :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
5
  } :root {
6
6
 
package/esm/colors.css CHANGED
@@ -1,26 +1,26 @@
1
- /* hash: 1bc7p */
1
+ /* hash: mizz5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-accent: #ef3124;
5
- --color-light-text-attention: #de6a00;
6
- --color-light-text-disabled: rgba(11, 31, 53, 0.15);
7
- --color-light-text-link: #007aff;
5
+ --color-light-text-attention: #cb830f;
6
+ --color-light-text-disabled: rgba(60, 60, 67, 0.22);
7
+ --color-light-text-link: #0072ef;
8
8
  --color-light-text-negative: #d91d0b;
9
9
  --color-light-text-positive: #13a463;
10
- --color-light-text-primary: #0b1f35;
10
+ --color-light-text-primary: #0e0e0e;
11
11
  --color-light-text-primary-inverted: #fff;
12
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
13
- --color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
14
- --color-light-text-tertiary: rgba(11, 31, 53, 0.3);
15
- --color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
12
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66);
13
+ --color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
14
+ --color-light-text-tertiary: rgba(60, 60, 67, 0.4);
15
+ --color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
16
16
  --color-static-text-accent: #ef3124;
17
- --color-static-text-primary-dark: #0b1f35;
17
+ --color-static-text-primary-dark: #0e0e0e;
18
18
  --color-static-text-primary-light: #fff;
19
- --color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
20
- --color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
21
- --color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
22
- --color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
23
- } :root {
19
+ --color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
20
+ --color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
21
+ --color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
22
+ --color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
+ } :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 */
24
24
  } :root {
25
25
  } :root {
26
26
 
@@ -33,42 +33,42 @@
33
33
  } :root {
34
34
  } :root {
35
35
  } :root {
36
- } /* colors */ .typography__tertiary_1m791 {
36
+ } /* colors */ .typography__tertiary_1uica {
37
37
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1m791 {
38
+ } .typography__disabled_1uica {
39
39
  color: var(--color-light-text-disabled);
40
- } .typography__accent_1m791 {
40
+ } .typography__accent_1uica {
41
41
  color: var(--color-light-text-accent);
42
- } .typography__primary_1m791 {
42
+ } .typography__primary_1uica {
43
43
  color: var(--color-light-text-primary);
44
- } .typography__attention_1m791 {
44
+ } .typography__attention_1uica {
45
45
  color: var(--color-light-text-attention);
46
- } .typography__positive_1m791 {
46
+ } .typography__positive_1uica {
47
47
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1m791 {
48
+ } .typography__secondary_1uica {
49
49
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1m791 {
50
+ } .typography__tertiary-inverted_1uica {
51
51
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1m791 {
52
+ } .typography__primary-inverted_1uica {
53
53
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1m791 {
54
+ } .typography__secondary-inverted_1uica {
55
55
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1m791 {
56
+ } .typography__link_1uica {
57
57
  color: var(--color-light-text-link);
58
- } .typography__negative_1m791 {
58
+ } .typography__negative_1uica {
59
59
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1m791 {
60
+ } .typography__static-primary-light_1uica {
61
61
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1m791 {
62
+ } .typography__static-secondary-light_1uica {
63
63
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1m791 {
64
+ } .typography__static-tertiary-light_1uica {
65
65
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1m791 {
66
+ } .typography__static-primary-dark_1uica {
67
67
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1m791 {
68
+ } .typography__static-secondary-dark_1uica {
69
69
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1m791 {
70
+ } .typography__static-tertiary-dark_1uica {
71
71
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1m791 {
72
+ } .typography__static-accent_1uica {
73
73
  color: var(--color-static-text-accent);
74
74
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_1uica","disabled":"typography__disabled_1uica","accent":"typography__accent_1uica","primary":"typography__primary_1uica","attention":"typography__attention_1uica","positive":"typography__positive_1uica","secondary":"typography__secondary_1uica","tertiary-inverted":"typography__tertiary-inverted_1uica","primary-inverted":"typography__primary-inverted_1uica","secondary-inverted":"typography__secondary-inverted_1uica","link":"typography__link_1uica","negative":"typography__negative_1uica","static-primary-light":"typography__static-primary-light_1uica","static-secondary-light":"typography__static-secondary-light_1uica","static-tertiary-light":"typography__static-tertiary-light_1uica","static-primary-dark":"typography__static-primary-dark_1uica","static-secondary-dark":"typography__static-secondary-dark_1uica","static-tertiary-dark":"typography__static-tertiary-dark_1uica","static-accent":"typography__static-accent_1uica"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_1etxr","bold":"typography__bold_1etxr","medium":"typography__medium_1etxr","regular":"typography__regular_1etxr"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
package/esm/component.js CHANGED
@@ -5,9 +5,9 @@ import { TitleResponsive } from './title-responsive/component.js';
5
5
  import 'tslib';
6
6
  import 'react';
7
7
  import 'classnames';
8
- import './colors.module-308e84a9.js';
8
+ import './colors.module-996156cd.js';
9
9
  import './title/component.js';
10
- import './common.module-a19344da.js';
10
+ import './common.module-bbfef03a.js';
11
11
 
12
12
  var Typography = {
13
13
  Title: Title,
package/esm/index.js CHANGED
@@ -4,9 +4,9 @@ import './text/component.js';
4
4
  import 'tslib';
5
5
  import 'react';
6
6
  import 'classnames';
7
- import './colors.module-308e84a9.js';
7
+ import './colors.module-996156cd.js';
8
8
  import './title/index.js';
9
9
  import './title/component.js';
10
- import './common.module-a19344da.js';
10
+ import './common.module-bbfef03a.js';
11
11
  import './title-mobile/component.js';
12
12
  import './title-responsive/component.js';
@@ -6,7 +6,7 @@ import { TextElementType } from "../types";
6
6
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
7
7
  type TextBaseProps = {
8
8
  /**
9
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
9
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
10
10
  */
11
11
  view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
12
12
  /**
@@ -1,9 +1,9 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
- import { c as colors } from '../colors.module-308e84a9.js';
4
+ import { c as colors } from '../colors.module-996156cd.js';
5
5
 
6
- var styles = {"paragraph":"typography__paragraph_vffdo","paragraphWithMargins":"typography__paragraphWithMargins_vffdo","primary-large":"typography__primary-large_vffdo","primary-medium":"typography__primary-medium_vffdo","primary-small":"typography__primary-small_vffdo","secondary-large":"typography__secondary-large_vffdo","secondary-medium":"typography__secondary-medium_vffdo","secondary-small":"typography__secondary-small_vffdo","component":"typography__component_vffdo","caps":"typography__caps_vffdo","bold":"typography__bold_vffdo","medium":"typography__medium_vffdo","regular":"typography__regular_vffdo","monospace":"typography__monospace_vffdo","rowLimit1":"typography__rowLimit1_vffdo","rowLimit2":"typography__rowLimit2_vffdo","rowLimit3":"typography__rowLimit3_vffdo"};
6
+ var styles = {"paragraph":"typography__paragraph_1w6ie","paragraphWithMargins":"typography__paragraphWithMargins_1w6ie","primary-large":"typography__primary-large_1w6ie","primary-medium":"typography__primary-medium_1w6ie","primary-small":"typography__primary-small_1w6ie","secondary-large":"typography__secondary-large_1w6ie","secondary-medium":"typography__secondary-medium_1w6ie","secondary-small":"typography__secondary-small_1w6ie","component":"typography__component_1w6ie","caps":"typography__caps_1w6ie","bold":"typography__bold_1w6ie","medium":"typography__medium_1w6ie","regular":"typography__regular_1w6ie","monospace":"typography__monospace_1w6ie","rowLimit1":"typography__rowLimit1_1w6ie","rowLimit2":"typography__rowLimit2_1w6ie","rowLimit3":"typography__rowLimit3_1w6ie"};
7
7
  require('./index.css')
8
8
 
9
9
  var Text = forwardRef(function (_a, ref) {