@alfalab/core-components-typography 2.5.2 → 2.6.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 (152) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/{dist/colors.css → colors.css} +13 -13
  3. package/{dist/colors.d.ts → colors.d.ts} +0 -0
  4. package/{dist/colors.js → colors.js} +0 -0
  5. package/{dist/colors.module-5e5e1b11.d.ts → colors.module-c383b476.d.ts} +0 -0
  6. package/{dist/colors.module-5e5e1b11.js → colors.module-c383b476.js} +1 -1
  7. package/common.module-568d24cc.js +6 -0
  8. package/{dist/component.d.ts → component.d.ts} +0 -0
  9. package/{dist/component.js → component.js} +2 -2
  10. package/{dist/cssm → cssm}/colors.d.ts +0 -0
  11. package/{dist/cssm → cssm}/colors.js +0 -0
  12. package/{dist/cssm → cssm}/colors.module.css +0 -0
  13. package/{dist/cssm → cssm}/component.d.ts +0 -0
  14. package/{dist/cssm → cssm}/component.js +0 -0
  15. package/{dist/cssm → cssm}/index.d.ts +1 -0
  16. package/{dist/cssm → cssm}/index.js +0 -0
  17. package/{dist/cssm → cssm}/margins.module.css +0 -0
  18. package/{dist/cssm → cssm}/presets.d.ts +0 -0
  19. package/{dist/cssm → cssm}/presets.js +0 -0
  20. package/{dist/cssm → cssm}/text/component.d.ts +0 -0
  21. package/{dist/cssm → cssm}/text/component.js +2 -2
  22. package/{dist/cssm → cssm}/text/index.d.ts +0 -0
  23. package/{dist/cssm → cssm}/text/index.js +0 -0
  24. package/{dist/cssm → cssm}/text/index.module.css +0 -0
  25. package/{dist/cssm → cssm}/title/common.module.css +0 -0
  26. package/{dist/cssm → cssm}/title/component.d.ts +0 -0
  27. package/{dist/cssm → cssm}/title/component.js +0 -0
  28. package/{dist/cssm → cssm}/title/index.d.ts +0 -0
  29. package/{dist/cssm → cssm}/title/index.js +0 -0
  30. package/{dist/cssm → cssm}/title/index.module.css +0 -0
  31. package/{dist/cssm → cssm}/title-mobile/component.d.ts +0 -0
  32. package/{dist/cssm → cssm}/title-mobile/component.js +0 -0
  33. package/{dist/cssm → cssm}/title-mobile/index.d.ts +0 -0
  34. package/{dist/cssm → cssm}/title-mobile/index.js +0 -0
  35. package/{dist/cssm → cssm}/title-mobile/index.module.css +0 -0
  36. package/{dist/cssm → cssm}/title-responsive/component.d.ts +0 -0
  37. package/{dist/cssm → cssm}/title-responsive/component.js +0 -0
  38. package/{dist/cssm → cssm}/title-responsive/index.d.ts +0 -0
  39. package/{dist/cssm → cssm}/title-responsive/index.js +0 -0
  40. package/{dist/cssm → cssm}/title-responsive/index.module.css +0 -0
  41. package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
  42. package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
  43. package/{dist/esm → esm}/colors.css +13 -13
  44. package/{dist/esm → esm}/colors.d.ts +0 -0
  45. package/{dist/esm → esm}/colors.js +0 -0
  46. package/{dist/esm/colors.module-9d998e27.d.ts → esm/colors.module-10a22074.d.ts} +0 -0
  47. package/{dist/esm/colors.module-9d998e27.js → esm/colors.module-10a22074.js} +1 -1
  48. package/esm/common.module-4a655e1e.js +4 -0
  49. package/{dist/esm → esm}/component.d.ts +0 -0
  50. package/{dist/esm → esm}/component.js +2 -2
  51. package/{dist/esm → esm}/index.d.ts +1 -0
  52. package/{dist/esm → esm}/index.js +2 -2
  53. package/{dist/esm → esm}/presets.d.ts +0 -0
  54. package/{dist/esm → esm}/presets.js +0 -0
  55. package/{dist/esm → esm}/text/component.d.ts +0 -0
  56. package/esm/text/component.js +14 -0
  57. package/{dist/modern → esm}/text/index.css +14 -14
  58. package/{dist/esm → esm}/text/index.d.ts +0 -0
  59. package/{dist/esm → esm}/text/index.js +1 -1
  60. package/esm/title/common.css +17 -0
  61. package/{dist/esm → esm}/title/component.d.ts +0 -0
  62. package/{dist/esm → esm}/title/component.js +1 -1
  63. package/{dist/modern → esm}/title/index.css +19 -19
  64. package/{dist/esm → esm}/title/index.d.ts +0 -0
  65. package/esm/title/index.js +18 -0
  66. package/{dist/esm → esm}/title-mobile/component.d.ts +0 -0
  67. package/esm/title-mobile/component.js +18 -0
  68. package/{dist → esm}/title-mobile/index.css +14 -14
  69. package/{dist/esm → esm}/title-mobile/index.d.ts +0 -0
  70. package/{dist/modern → esm}/title-mobile/index.js +2 -2
  71. package/{dist/esm → esm}/title-responsive/component.d.ts +0 -0
  72. package/esm/title-responsive/component.js +18 -0
  73. package/{dist/modern → esm}/title-responsive/index.css +41 -41
  74. package/{dist/esm → esm}/title-responsive/index.d.ts +0 -0
  75. package/{dist/modern → esm}/title-responsive/index.js +2 -2
  76. package/{dist/index.d.ts → index.d.ts} +1 -0
  77. package/{dist/index.js → index.js} +2 -2
  78. package/{dist/modern → modern}/colors.css +13 -13
  79. package/{dist/modern → modern}/colors.d.ts +0 -0
  80. package/{dist/modern → modern}/colors.js +0 -0
  81. package/modern/colors.module-3c753209.js +4 -0
  82. package/modern/common.module-4a655e1e.js +4 -0
  83. package/{dist/modern → modern}/component.d.ts +0 -0
  84. package/{dist/modern → modern}/component.js +2 -2
  85. package/{dist/modern → modern}/index.d.ts +1 -0
  86. package/{dist/modern → modern}/index.js +2 -2
  87. package/{dist/modern → modern}/presets.d.ts +0 -0
  88. package/{dist/modern → modern}/presets.js +0 -0
  89. package/{dist/modern → modern}/text/component.d.ts +0 -0
  90. package/modern/text/component.js +10 -0
  91. package/{dist → modern}/text/index.css +14 -14
  92. package/{dist/modern → modern}/text/index.d.ts +0 -0
  93. package/{dist/modern → modern}/text/index.js +1 -1
  94. package/modern/title/common.css +17 -0
  95. package/{dist/modern → modern}/title/component.d.ts +0 -0
  96. package/{dist/modern → modern}/title/component.js +1 -1
  97. package/{dist/esm → modern}/title/index.css +19 -19
  98. package/{dist/modern → modern}/title/index.d.ts +0 -0
  99. package/modern/title/index.js +18 -0
  100. package/{dist/modern → modern}/title-mobile/component.d.ts +0 -0
  101. package/modern/title-mobile/component.js +18 -0
  102. package/{dist/modern → modern}/title-mobile/index.css +14 -14
  103. package/{dist/modern → modern}/title-mobile/index.d.ts +0 -0
  104. package/{dist/esm → modern}/title-mobile/index.js +2 -2
  105. package/{dist/modern → modern}/title-responsive/component.d.ts +0 -0
  106. package/modern/title-responsive/component.js +18 -0
  107. package/{dist/esm → modern}/title-responsive/index.css +41 -41
  108. package/{dist/modern → modern}/title-responsive/index.d.ts +0 -0
  109. package/{dist/esm → modern}/title-responsive/index.js +2 -2
  110. package/package.json +8 -11
  111. package/{dist/presets.d.ts → presets.d.ts} +0 -0
  112. package/{dist/presets.js → presets.js} +0 -0
  113. package/{dist/send-stats.js → send-stats.js} +0 -0
  114. package/{dist/text → text}/component.d.ts +0 -0
  115. package/text/component.js +23 -0
  116. package/{dist/esm/text → text}/index.css +14 -14
  117. package/{dist/text → text}/index.d.ts +0 -0
  118. package/{dist/text → text}/index.js +1 -1
  119. package/title/common.css +17 -0
  120. package/{dist/title → title}/component.d.ts +0 -0
  121. package/{dist/title → title}/component.js +1 -1
  122. package/{dist/title → title}/index.css +19 -19
  123. package/{dist/title → title}/index.d.ts +0 -0
  124. package/title/index.js +26 -0
  125. package/{dist/title-mobile → title-mobile}/component.d.ts +0 -0
  126. package/{dist/title-mobile → title-mobile}/component.js +3 -3
  127. package/{dist/esm/title-mobile → title-mobile}/index.css +14 -14
  128. package/{dist/title-mobile → title-mobile}/index.d.ts +0 -0
  129. package/{dist/title-mobile → title-mobile}/index.js +2 -2
  130. package/{dist/title-responsive → title-responsive}/component.d.ts +0 -0
  131. package/title-responsive/component.js +26 -0
  132. package/{dist/title-responsive → title-responsive}/index.css +41 -41
  133. package/{dist/title-responsive → title-responsive}/index.d.ts +0 -0
  134. package/{dist/title-responsive → title-responsive}/index.js +2 -2
  135. package/dist/common.module-609d3ad6.js +0 -6
  136. package/dist/esm/common.module-bfd18bf8.js +0 -4
  137. package/dist/esm/text/component.js +0 -14
  138. package/dist/esm/title/common.css +0 -17
  139. package/dist/esm/title/index.js +0 -18
  140. package/dist/esm/title-mobile/component.js +0 -18
  141. package/dist/esm/title-responsive/component.js +0 -18
  142. package/dist/modern/colors.module-df20eed9.js +0 -4
  143. package/dist/modern/common.module-bfd18bf8.js +0 -4
  144. package/dist/modern/text/component.js +0 -10
  145. package/dist/modern/title/common.css +0 -17
  146. package/dist/modern/title/index.js +0 -18
  147. package/dist/modern/title-mobile/component.js +0 -18
  148. package/dist/modern/title-responsive/component.js +0 -18
  149. package/dist/text/component.js +0 -23
  150. package/dist/title/common.css +0 -17
  151. package/dist/title/index.js +0 -26
  152. package/dist/title-responsive/component.js +0 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.6.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.6.0...@alfalab/core-components-typography@2.6.1) (2022-07-14)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-typography
9
+
10
+
11
+
12
+
13
+
14
+ # [2.6.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.5.3...@alfalab/core-components-typography@2.6.0) (2022-06-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
20
+ * **pure cell:** new component ([#10](https://github.com/core-ds/core-components/issues/10)) ([4e95c57](https://github.com/core-ds/core-components/commit/4e95c573aaa6f99197292ea4bae12cbbcc3207c9))
21
+
22
+
23
+
24
+
25
+
6
26
  # [2.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.4.1...@alfalab/core-components-typography@2.5.0) (2022-03-30)
7
27
 
8
28
 
@@ -1,4 +1,4 @@
1
- /* hash: 1emgq */
1
+ /* hash: 1scrv */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_uevwu {
25
+ .typography__tertiary_1trq2 {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_uevwu {
28
+ .typography__disabled_1trq2 {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_uevwu {
31
+ .typography__accent_1trq2 {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_uevwu {
34
+ .typography__primary_1trq2 {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_uevwu {
37
+ .typography__attention_1trq2 {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_uevwu {
40
+ .typography__positive_1trq2 {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_uevwu {
43
+ .typography__secondary_1trq2 {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_uevwu {
46
+ .typography__tertiary-inverted_1trq2 {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_uevwu {
49
+ .typography__primary-inverted_1trq2 {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_uevwu {
52
+ .typography__secondary-inverted_1trq2 {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_uevwu {
55
+ .typography__link_1trq2 {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_uevwu {
58
+ .typography__negative_1trq2 {
59
59
  color: var(--color-light-text-negative);
60
60
  }
File without changes
File without changes
@@ -39,7 +39,7 @@ function __rest(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- var colors = {"tertiary":"typography__tertiary_uevwu","disabled":"typography__disabled_uevwu","accent":"typography__accent_uevwu","primary":"typography__primary_uevwu","attention":"typography__attention_uevwu","positive":"typography__positive_uevwu","secondary":"typography__secondary_uevwu","tertiary-inverted":"typography__tertiary-inverted_uevwu","primary-inverted":"typography__primary-inverted_uevwu","secondary-inverted":"typography__secondary-inverted_uevwu","link":"typography__link_uevwu","negative":"typography__negative_uevwu"};
42
+ var colors = {"tertiary":"typography__tertiary_1trq2","disabled":"typography__disabled_1trq2","accent":"typography__accent_1trq2","primary":"typography__primary_1trq2","attention":"typography__attention_1trq2","positive":"typography__positive_1trq2","secondary":"typography__secondary_1trq2","tertiary-inverted":"typography__tertiary-inverted_1trq2","primary-inverted":"typography__primary-inverted_1trq2","secondary-inverted":"typography__secondary-inverted_1trq2","link":"typography__link_1trq2","negative":"typography__negative_1trq2"};
43
43
  require('./colors.css')
44
44
 
45
45
  exports.__rest = __rest;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_1lnjg","bold":"typography__bold_1lnjg","medium":"typography__medium_1lnjg","regular":"typography__regular_1lnjg"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
File without changes
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-5e5e1b11.js');
5
+ require('./colors.module-c383b476.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./title/component.js');
9
- require('./common.module-609d3ad6.js');
9
+ require('./common.module-568d24cc.js');
10
10
  var title_index = require('./title/index.js');
11
11
  var text_component = require('./text/component.js');
12
12
  var titleResponsive_component = require('./title-responsive/component.js');
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,3 +2,4 @@ export * from "./component";
2
2
  export * from "./presets";
3
3
  export { TitleProps } from "./title/index";
4
4
  export { TextProps } from "./text/index";
5
+ export { Color } from "./colors";
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -17,8 +17,8 @@ var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
17
17
 
18
18
  var Text = React.forwardRef(function (_a, ref) {
19
19
  var _b;
20
- var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d, _e = _a.weight, weight = _e === void 0 ? 'regular' : _e, _f = _a.monospaceNumbers, monospaceNumbers = _f === void 0 ? false : _f, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, restProps = tslib_es6.__rest(_a, ["view", "tag", "weight", "monospaceNumbers", "color", "className", "dataTestId", "children"]);
21
- return (React__default['default'].createElement(Component, tslib_es6.__assign({ className: cn__default['default']((_b = {}, _b[styles__default['default'].paragraph] = Component === 'p', _b[styles__default['default'].monospace] = monospaceNumbers, _b), className, color && colors__default['default'][color], styles__default['default'][view], styles__default['default'][weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
20
+ var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d, weight = _a.weight, _e = _a.monospaceNumbers, monospaceNumbers = _e === void 0 ? false : _e, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, restProps = tslib_es6.__rest(_a, ["view", "tag", "weight", "monospaceNumbers", "color", "className", "dataTestId", "children"]);
21
+ return (React__default['default'].createElement(Component, tslib_es6.__assign({ className: cn__default['default']((_b = {}, _b[styles__default['default'].paragraph] = Component === 'p', _b[styles__default['default'].monospace] = monospaceNumbers, _b), className, color && colors__default['default'][color], styles__default['default'][view], weight && styles__default['default'][weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
22
22
  });
23
23
 
24
24
  exports.Text = Text;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /* hash: 1emgq */
1
+ /* hash: 1scrv */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_uevwu {
25
+ .typography__tertiary_1trq2 {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_uevwu {
28
+ .typography__disabled_1trq2 {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_uevwu {
31
+ .typography__accent_1trq2 {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_uevwu {
34
+ .typography__primary_1trq2 {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_uevwu {
37
+ .typography__attention_1trq2 {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_uevwu {
40
+ .typography__positive_1trq2 {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_uevwu {
43
+ .typography__secondary_1trq2 {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_uevwu {
46
+ .typography__tertiary-inverted_1trq2 {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_uevwu {
49
+ .typography__primary-inverted_1trq2 {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_uevwu {
52
+ .typography__secondary-inverted_1trq2 {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_uevwu {
55
+ .typography__link_1trq2 {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_uevwu {
58
+ .typography__negative_1trq2 {
59
59
  color: var(--color-light-text-negative);
60
60
  }
File without changes
File without changes
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var colors = {"tertiary":"typography__tertiary_uevwu","disabled":"typography__disabled_uevwu","accent":"typography__accent_uevwu","primary":"typography__primary_uevwu","attention":"typography__attention_uevwu","positive":"typography__positive_uevwu","secondary":"typography__secondary_uevwu","tertiary-inverted":"typography__tertiary-inverted_uevwu","primary-inverted":"typography__primary-inverted_uevwu","secondary-inverted":"typography__secondary-inverted_uevwu","link":"typography__link_uevwu","negative":"typography__negative_uevwu"};
40
+ var colors = {"tertiary":"typography__tertiary_1trq2","disabled":"typography__disabled_1trq2","accent":"typography__accent_1trq2","primary":"typography__primary_1trq2","attention":"typography__attention_1trq2","positive":"typography__positive_1trq2","secondary":"typography__secondary_1trq2","tertiary-inverted":"typography__tertiary-inverted_1trq2","primary-inverted":"typography__primary-inverted_1trq2","secondary-inverted":"typography__secondary-inverted_1trq2","link":"typography__link_1trq2","negative":"typography__negative_1trq2"};
41
41
  require('./colors.css')
42
42
 
43
43
  export { __assign as _, __rest as a, colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_1lnjg","bold":"typography__bold_1lnjg","medium":"typography__medium_1lnjg","regular":"typography__regular_1lnjg"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
File without changes
@@ -1,8 +1,8 @@
1
- import './colors.module-9d998e27.js';
1
+ import './colors.module-10a22074.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './title/component.js';
5
- import './common.module-bfd18bf8.js';
5
+ import './common.module-4a655e1e.js';
6
6
  import { Title } from './title/index.js';
7
7
  import { Text } from './text/component.js';
8
8
  import { TitleResponsive } from './title-responsive/component.js';
@@ -2,3 +2,4 @@ export * from "./component";
2
2
  export * from "./presets";
3
3
  export { TitleProps } from "./title/index";
4
4
  export { TextProps } from "./text/index";
5
+ export { Color } from "./colors";
@@ -1,8 +1,8 @@
1
- import './colors.module-9d998e27.js';
1
+ import './colors.module-10a22074.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './title/component.js';
5
- import './common.module-bfd18bf8.js';
5
+ import './common.module-4a655e1e.js';
6
6
  import './title/index.js';
7
7
  import './text/component.js';
8
8
  import './title-responsive/component.js';
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-10a22074.js';
2
+ import React, { forwardRef } from 'react';
3
+ import cn from 'classnames';
4
+
5
+ var styles = {"paragraph":"typography__paragraph_1e9pp","primary-large":"typography__primary-large_1e9pp","primary-medium":"typography__primary-medium_1e9pp","primary-small":"typography__primary-small_1e9pp","secondary-large":"typography__secondary-large_1e9pp","secondary-medium":"typography__secondary-medium_1e9pp","secondary-small":"typography__secondary-small_1e9pp","component":"typography__component_1e9pp","caps":"typography__caps_1e9pp","bold":"typography__bold_1e9pp","medium":"typography__medium_1e9pp","regular":"typography__regular_1e9pp","monospace":"typography__monospace_1e9pp"};
6
+ require('./index.css')
7
+
8
+ var Text = forwardRef(function (_a, ref) {
9
+ var _b;
10
+ var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d, weight = _a.weight, _e = _a.monospaceNumbers, monospaceNumbers = _e === void 0 ? false : _e, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, restProps = __rest(_a, ["view", "tag", "weight", "monospaceNumbers", "color", "className", "dataTestId", "children"]);
11
+ return (React.createElement(Component, __assign({ className: cn((_b = {}, _b[styles.paragraph] = Component === 'p', _b[styles.monospace] = monospaceNumbers, _b), className, color && colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
12
+ });
13
+
14
+ export { Text };
@@ -1,4 +1,4 @@
1
- /* hash: t4lm8 */
1
+ /* hash: 15bzi */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -13,62 +13,62 @@
13
13
  :root {
14
14
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
15
15
  }
16
- .typography__paragraph_1bvfh {
16
+ .typography__paragraph_1e9pp {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_1bvfh {
20
+ .typography__primary-large_1e9pp {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_1bvfh {
25
+ .typography__primary-medium_1e9pp {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_1bvfh {
30
+ .typography__primary-small_1e9pp {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_1bvfh {
35
+ .typography__secondary-large_1e9pp {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_1bvfh {
40
+ .typography__secondary-medium_1e9pp {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_1bvfh {
45
+ .typography__secondary-small_1e9pp {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_1bvfh {
50
+ .typography__component_1e9pp {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_1bvfh {
55
+ .typography__caps_1e9pp {
56
56
  font-size: 12px;
57
57
  line-height: 16px;
58
58
  font-weight: 500;
59
59
  letter-spacing: 1.25px;
60
60
  text-transform: uppercase;
61
61
  }
62
- .typography__bold_1bvfh {
62
+ .typography__bold_1e9pp {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_1bvfh {
65
+ .typography__medium_1e9pp {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_1bvfh {
68
+ .typography__regular_1e9pp {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_1bvfh {
71
+ .typography__monospace_1e9pp {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
File without changes
@@ -1,4 +1,4 @@
1
- import '../colors.module-9d998e27.js';
1
+ import '../colors.module-10a22074.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { Text } from './component.js';
@@ -0,0 +1,17 @@
1
+ /* hash: s003n */
2
+ .typography__component_1lnjg {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ .typography__bold_1lnjg {
8
+ font-weight: bold;
9
+ }
10
+
11
+ .typography__medium_1lnjg {
12
+ font-weight: 500;
13
+ }
14
+
15
+ .typography__regular_1lnjg {
16
+ font-weight: normal;
17
+ }
File without changes
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-9d998e27.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-10a22074.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
@@ -1,4 +1,4 @@
1
- /* hash: 17ugj */
1
+ /* hash: 11u05 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,87 +17,87 @@
17
17
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
- .typography__styrene-xlarge_1g0fr {
20
+ .typography__styrene-xlarge_gnllo {
21
21
  font-size: 48px;
22
22
  line-height: 64px;
23
23
  font-weight: 500;
24
24
  font-feature-settings: 'ss01';
25
25
  font-family: var(--font-family-styrene);
26
26
  }
27
- .typography__styrene-large_1g0fr {
27
+ .typography__styrene-large_gnllo {
28
28
  font-size: 40px;
29
29
  line-height: 48px;
30
30
  font-weight: 500;
31
31
  font-feature-settings: 'ss01';
32
32
  font-family: var(--font-family-styrene);
33
33
  }
34
- .typography__styrene-medium_1g0fr {
34
+ .typography__styrene-medium_gnllo {
35
35
  font-size: 32px;
36
36
  line-height: 40px;
37
37
  font-weight: 500;
38
38
  font-feature-settings: 'ss01';
39
39
  font-family: var(--font-family-styrene);
40
40
  }
41
- .typography__styrene-small_1g0fr {
41
+ .typography__styrene-small_gnllo {
42
42
  font-size: 24px;
43
43
  line-height: 32px;
44
44
  font-weight: 500;
45
45
  font-feature-settings: 'ss01';
46
46
  font-family: var(--font-family-styrene);
47
47
  }
48
- .typography__styrene-xsmall_1g0fr {
48
+ .typography__styrene-xsmall_gnllo {
49
49
  font-size: 20px;
50
50
  line-height: 24px;
51
51
  font-weight: 500;
52
52
  font-feature-settings: 'ss01';
53
53
  font-family: var(--font-family-styrene);
54
54
  }
55
- .typography__system-xlarge_1g0fr {
55
+ .typography__system-xlarge_gnllo {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_1g0fr {
60
+ .typography__system-large_gnllo {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_1g0fr {
65
+ .typography__system-medium_gnllo {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_1g0fr {
70
+ .typography__system-small_gnllo {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_1g0fr {
75
+ .typography__system-xsmall_gnllo {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_1g0fr {
80
+ .typography__margins-xlarge_gnllo {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_1g0fr {
83
+ .typography__margins-large_gnllo {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_1g0fr {
86
+ .typography__margins-medium_gnllo {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_1g0fr {
89
+ .typography__margins-small_gnllo {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_1g0fr {
92
+ .typography__margins-xsmall_gnllo {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_1g0fr {
95
+ .typography__bold_gnllo {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_1g0fr {
98
+ .typography__medium_gnllo {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_1g0fr {
101
+ .typography__regular_gnllo {
102
102
  font-weight: normal;
103
103
  }
File without changes
@@ -0,0 +1,18 @@
1
+ import { _ as __assign } from '../colors.module-10a22074.js';
2
+ import React from 'react';
3
+ import 'classnames';
4
+ import { Title as Title$1 } from './component.js';
5
+ import { c as commonStyles } from '../common.module-4a655e1e.js';
6
+
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_gnllo","styrene-large":"typography__styrene-large_gnllo","styrene-medium":"typography__styrene-medium_gnllo","styrene-small":"typography__styrene-small_gnllo","styrene-xsmall":"typography__styrene-xsmall_gnllo","system-xlarge":"typography__system-xlarge_gnllo","system-large":"typography__system-large_gnllo","system-medium":"typography__system-medium_gnllo","system-small":"typography__system-small_gnllo","system-xsmall":"typography__system-xsmall_gnllo","margins-xlarge":"typography__margins-xlarge_gnllo","margins-large":"typography__margins-large_gnllo","margins-medium":"typography__margins-medium_gnllo","margins-small":"typography__margins-small_gnllo","margins-xsmall":"typography__margins-xsmall_gnllo","bold":"typography__bold_gnllo","medium":"typography__medium_gnllo","regular":"typography__regular_gnllo"};
8
+ require('./index.css')
9
+
10
+ var Title = function (props) {
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ return React.createElement(Title$1, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
+ };
17
+
18
+ export { Title };
File without changes