@alfalab/core-components-typography 2.5.0 → 2.5.3

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 (65) hide show
  1. package/CHANGELOG.md +27 -27
  2. package/dist/colors.css +13 -13
  3. package/dist/{colors.module-14ced997.d.ts → colors.module-b38fb1e2.d.ts} +0 -0
  4. package/dist/{colors.module-14ced997.js → colors.module-b38fb1e2.js} +1 -1
  5. package/dist/common.module-349e8d6d.js +6 -0
  6. package/dist/component.js +2 -2
  7. package/dist/cssm/text/component.js +2 -2
  8. package/dist/esm/colors.css +13 -13
  9. package/dist/esm/{colors.module-fef377ec.d.ts → colors.module-9ba992f7.d.ts} +0 -0
  10. package/dist/esm/{colors.module-fef377ec.js → colors.module-9ba992f7.js} +1 -1
  11. package/dist/esm/common.module-95653ede.js +4 -0
  12. package/dist/esm/component.js +2 -2
  13. package/dist/esm/index.js +2 -2
  14. package/dist/esm/text/component.d.ts +1 -1
  15. package/dist/esm/text/component.js +4 -4
  16. package/dist/esm/text/index.css +14 -14
  17. package/dist/esm/text/index.js +1 -1
  18. package/dist/esm/title/common.css +5 -5
  19. package/dist/esm/title/component.d.ts +1 -1
  20. package/dist/esm/title/component.js +1 -1
  21. package/dist/esm/title/index.css +19 -19
  22. package/dist/esm/title/index.js +3 -3
  23. package/dist/esm/title-mobile/component.js +3 -3
  24. package/dist/esm/title-mobile/index.css +14 -14
  25. package/dist/esm/title-mobile/index.js +2 -2
  26. package/dist/esm/title-responsive/component.js +3 -3
  27. package/dist/esm/title-responsive/index.css +41 -41
  28. package/dist/esm/title-responsive/index.js +2 -2
  29. package/dist/index.js +2 -2
  30. package/dist/modern/colors.css +13 -13
  31. package/dist/modern/colors.module-daa94b23.js +4 -0
  32. package/dist/modern/common.module-95653ede.js +4 -0
  33. package/dist/modern/component.js +2 -2
  34. package/dist/modern/index.js +2 -2
  35. package/dist/modern/text/component.js +3 -3
  36. package/dist/modern/text/index.css +14 -14
  37. package/dist/modern/text/index.js +1 -1
  38. package/dist/modern/title/common.css +5 -5
  39. package/dist/modern/title/component.js +1 -1
  40. package/dist/modern/title/index.css +19 -19
  41. package/dist/modern/title/index.js +3 -3
  42. package/dist/modern/title-mobile/component.js +3 -3
  43. package/dist/modern/title-mobile/index.css +14 -14
  44. package/dist/modern/title-mobile/index.js +2 -2
  45. package/dist/modern/title-responsive/component.js +3 -3
  46. package/dist/modern/title-responsive/index.css +41 -41
  47. package/dist/modern/title-responsive/index.js +2 -2
  48. package/dist/text/component.js +4 -4
  49. package/dist/text/index.css +14 -14
  50. package/dist/text/index.js +1 -1
  51. package/dist/title/common.css +5 -5
  52. package/dist/title/component.js +1 -1
  53. package/dist/title/index.css +19 -19
  54. package/dist/title/index.js +3 -3
  55. package/dist/title-mobile/component.js +3 -3
  56. package/dist/title-mobile/index.css +14 -14
  57. package/dist/title-mobile/index.js +2 -2
  58. package/dist/title-responsive/component.js +3 -3
  59. package/dist/title-responsive/index.css +41 -41
  60. package/dist/title-responsive/index.js +2 -2
  61. package/package.json +3 -3
  62. package/dist/common.module-01d90d2d.js +0 -6
  63. package/dist/esm/common.module-f9c1ed2c.js +0 -4
  64. package/dist/modern/colors.module-b724016d.js +0 -4
  65. package/dist/modern/common.module-f9c1ed2c.js +0 -4
package/CHANGELOG.md CHANGED
@@ -3,74 +3,74 @@
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.5.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.4.1...@alfalab/core-components-typography@2.5.0) (2022-03-30)
6
+ # [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
7
 
8
8
 
9
9
  ### Features
10
10
 
11
- * **list:** added list & typography presets ([#1047](https://github.com/alfa-laboratory/core-components/issues/1047)) ([67b6a77](https://github.com/alfa-laboratory/core-components/commit/67b6a77d1327b090b010eb061f83a2e6a0cb67b9))
11
+ * **list:** added list & typography presets ([#1047](https://github.com/core-ds/core-components/issues/1047)) ([67b6a77](https://github.com/core-ds/core-components/commit/67b6a77d1327b090b010eb061f83a2e6a0cb67b9))
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- ## [2.4.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.4.0...@alfalab/core-components-typography@2.4.1) (2022-03-03)
17
+ ## [2.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.4.0...@alfalab/core-components-typography@2.4.1) (2022-03-03)
18
18
 
19
19
 
20
20
  ### Bug Fixes
21
21
 
22
- * **typography:** changed styrene font styles for title responsive ([#1017](https://github.com/alfa-laboratory/core-components/issues/1017)) ([540b0b5](https://github.com/alfa-laboratory/core-components/commit/540b0b59cf99a4cee0798f50b94e6449be4aa3c6))
22
+ * **typography:** changed styrene font styles for title responsive ([#1017](https://github.com/core-ds/core-components/issues/1017)) ([540b0b5](https://github.com/core-ds/core-components/commit/540b0b59cf99a4cee0798f50b94e6449be4aa3c6))
23
23
 
24
24
 
25
25
 
26
26
 
27
27
 
28
- # [2.4.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.3.0...@alfalab/core-components-typography@2.4.0) (2022-03-01)
28
+ # [2.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.3.0...@alfalab/core-components-typography@2.4.0) (2022-03-01)
29
29
 
30
30
 
31
31
  ### Features
32
32
 
33
- * **typography:** новый компонент Typography.TitleMobile ([#1003](https://github.com/alfa-laboratory/core-components/issues/1003)) ([9b03cf9](https://github.com/alfa-laboratory/core-components/commit/9b03cf90422b05cc927ed98959708430812d1a50))
34
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
33
+ * **typography:** новый компонент Typography.TitleMobile ([#1003](https://github.com/core-ds/core-components/issues/1003)) ([9b03cf9](https://github.com/core-ds/core-components/commit/9b03cf90422b05cc927ed98959708430812d1a50))
34
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
35
35
 
36
36
 
37
37
 
38
38
 
39
39
 
40
- # [2.3.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.2.0...@alfalab/core-components-typography@2.3.0) (2022-01-17)
40
+ # [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.2.0...@alfalab/core-components-typography@2.3.0) (2022-01-17)
41
41
 
42
42
 
43
43
  ### Features
44
44
 
45
- * **typography:** export types ([#940](https://github.com/alfa-laboratory/core-components/issues/940)) ([498227c](https://github.com/alfa-laboratory/core-components/commit/498227c272659a1ebf890eee61c6fecdd110faee))
45
+ * **typography:** export types ([#940](https://github.com/core-ds/core-components/issues/940)) ([498227c](https://github.com/core-ds/core-components/commit/498227c272659a1ebf890eee61c6fecdd110faee))
46
46
 
47
47
 
48
48
 
49
49
 
50
50
 
51
- # [2.2.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.1.0...@alfalab/core-components-typography@2.2.0) (2021-09-14)
51
+ # [2.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.1.0...@alfalab/core-components-typography@2.2.0) (2021-09-14)
52
52
 
53
53
 
54
54
  ### Features
55
55
 
56
- * **typography:** add ref ([#834](https://github.com/alfa-laboratory/core-components/issues/834)) ([976b16d](https://github.com/alfa-laboratory/core-components/commit/976b16dd9ae68c31999bffb3506623db05033ad4))
56
+ * **typography:** add ref ([#834](https://github.com/core-ds/core-components/issues/834)) ([976b16d](https://github.com/core-ds/core-components/commit/976b16dd9ae68c31999bffb3506623db05033ad4))
57
57
 
58
58
 
59
59
 
60
60
 
61
61
 
62
- # [2.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.0.1...@alfalab/core-components-typography@2.1.0) (2021-07-19)
62
+ # [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.0.1...@alfalab/core-components-typography@2.1.0) (2021-07-19)
63
63
 
64
64
 
65
65
  ### Features
66
66
 
67
- * **typography:** monospaceNumbers prop (PDS-255) ([#697](https://github.com/alfa-laboratory/core-components/issues/697)) ([42d16a6](https://github.com/alfa-laboratory/core-components/commit/42d16a62f6d0781eba44dc1e0b76b28cae37d89a))
67
+ * **typography:** monospaceNumbers prop (PDS-255) ([#697](https://github.com/core-ds/core-components/issues/697)) ([42d16a6](https://github.com/core-ds/core-components/commit/42d16a62f6d0781eba44dc1e0b76b28cae37d89a))
68
68
 
69
69
 
70
70
 
71
71
 
72
72
 
73
- ## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.0.0...@alfalab/core-components-typography@2.0.1) (2021-07-09)
73
+ ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.0.0...@alfalab/core-components-typography@2.0.1) (2021-07-09)
74
74
 
75
75
  **Note:** Version bump only for package @alfalab/core-components-typography
76
76
 
@@ -78,36 +78,36 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
78
78
 
79
79
 
80
80
 
81
- # [2.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.5.1...@alfalab/core-components-typography@2.0.0) (2021-07-08)
81
+ # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.5.1...@alfalab/core-components-typography@2.0.0) (2021-07-08)
82
82
 
83
83
 
84
84
  ### Features
85
85
 
86
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
86
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
87
87
 
88
- ## [1.5.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.5.0...@alfalab/core-components-typography@1.5.1) (2021-06-28)
88
+ ## [1.5.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.5.0...@alfalab/core-components-typography@1.5.1) (2021-06-28)
89
89
 
90
90
 
91
91
  ### Bug Fixes
92
92
 
93
- * **typography:** add missing weight styles ([#719](https://github.com/alfa-laboratory/core-components/issues/719)) ([6b855aa](https://github.com/alfa-laboratory/core-components/commit/6b855aa97eff918e0e16f957c4c05bb7f2d8f4fe))
93
+ * **typography:** add missing weight styles ([#719](https://github.com/core-ds/core-components/issues/719)) ([6b855aa](https://github.com/core-ds/core-components/commit/6b855aa97eff918e0e16f957c4c05bb7f2d8f4fe))
94
94
 
95
95
 
96
96
 
97
97
 
98
98
 
99
- # [1.5.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.7...@alfalab/core-components-typography@1.5.0) (2021-06-04)
99
+ # [1.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.7...@alfalab/core-components-typography@1.5.0) (2021-06-04)
100
100
 
101
101
 
102
102
  ### Features
103
103
 
104
- * **typography:** add rest props ([#682](https://github.com/alfa-laboratory/core-components/issues/682)) ([51e1cf8](https://github.com/alfa-laboratory/core-components/commit/51e1cf89028c788bfcdbc21ea16acbbe190b5db9))
104
+ * **typography:** add rest props ([#682](https://github.com/core-ds/core-components/issues/682)) ([51e1cf8](https://github.com/core-ds/core-components/commit/51e1cf89028c788bfcdbc21ea16acbbe190b5db9))
105
105
 
106
106
 
107
107
 
108
108
 
109
109
 
110
- ## [1.4.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.6...@alfalab/core-components-typography@1.4.7) (2021-04-26)
110
+ ## [1.4.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.6...@alfalab/core-components-typography@1.4.7) (2021-04-26)
111
111
 
112
112
  **Note:** Version bump only for package @alfalab/core-components-typography
113
113
 
@@ -115,7 +115,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
115
115
 
116
116
 
117
117
 
118
- ## [1.4.6](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.5...@alfalab/core-components-typography@1.4.6) (2021-04-01)
118
+ ## [1.4.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.5...@alfalab/core-components-typography@1.4.6) (2021-04-01)
119
119
 
120
120
  **Note:** Version bump only for package @alfalab/core-components-typography
121
121
 
@@ -123,18 +123,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
123
123
 
124
124
 
125
125
 
126
- ## [1.4.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.3...@alfalab/core-components-typography@1.4.5) (2021-03-18)
126
+ ## [1.4.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.3...@alfalab/core-components-typography@1.4.5) (2021-03-18)
127
127
 
128
128
 
129
129
  ### Bug Fixes
130
130
 
131
- * one more sborka bug ([#579](https://github.com/alfa-laboratory/core-components/issues/579)) ([9fbe0be](https://github.com/alfa-laboratory/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
131
+ * one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
132
132
 
133
133
 
134
134
 
135
135
 
136
136
 
137
- ## [1.4.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.2...@alfalab/core-components-typography@1.4.3) (2021-03-14)
137
+ ## [1.4.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.2...@alfalab/core-components-typography@1.4.3) (2021-03-14)
138
138
 
139
139
  **Note:** Version bump only for package @alfalab/core-components-typography
140
140
 
@@ -142,7 +142,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
142
142
 
143
143
 
144
144
 
145
- ## [1.4.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.1...@alfalab/core-components-typography@1.4.2) (2021-03-04)
145
+ ## [1.4.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.1...@alfalab/core-components-typography@1.4.2) (2021-03-04)
146
146
 
147
147
  **Note:** Version bump only for package @alfalab/core-components-typography
148
148
 
@@ -150,6 +150,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
150
150
 
151
151
 
152
152
 
153
- ## [1.4.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@1.4.0...@alfalab/core-components-typography@1.4.1) (2021-03-03)
153
+ ## [1.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.0...@alfalab/core-components-typography@1.4.1) (2021-03-03)
154
154
 
155
155
  **Note:** Version bump only for package @alfalab/core-components-typography
package/dist/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1eoer */
1
+ /* hash: q0afy */
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_16enl {
25
+ .typography__tertiary_11nyf {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_16enl {
28
+ .typography__disabled_11nyf {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_16enl {
31
+ .typography__accent_11nyf {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_16enl {
34
+ .typography__primary_11nyf {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_16enl {
37
+ .typography__attention_11nyf {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_16enl {
40
+ .typography__positive_11nyf {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_16enl {
43
+ .typography__secondary_11nyf {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_16enl {
46
+ .typography__tertiary-inverted_11nyf {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_16enl {
49
+ .typography__primary-inverted_11nyf {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_16enl {
52
+ .typography__secondary-inverted_11nyf {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_16enl {
55
+ .typography__link_11nyf {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_16enl {
58
+ .typography__negative_11nyf {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -39,7 +39,7 @@ function __rest(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- var colors = {"tertiary":"typography__tertiary_16enl","disabled":"typography__disabled_16enl","accent":"typography__accent_16enl","primary":"typography__primary_16enl","attention":"typography__attention_16enl","positive":"typography__positive_16enl","secondary":"typography__secondary_16enl","tertiary-inverted":"typography__tertiary-inverted_16enl","primary-inverted":"typography__primary-inverted_16enl","secondary-inverted":"typography__secondary-inverted_16enl","link":"typography__link_16enl","negative":"typography__negative_16enl"};
42
+ var colors = {"tertiary":"typography__tertiary_11nyf","disabled":"typography__disabled_11nyf","accent":"typography__accent_11nyf","primary":"typography__primary_11nyf","attention":"typography__attention_11nyf","positive":"typography__positive_11nyf","secondary":"typography__secondary_11nyf","tertiary-inverted":"typography__tertiary-inverted_11nyf","primary-inverted":"typography__primary-inverted_11nyf","secondary-inverted":"typography__secondary-inverted_11nyf","link":"typography__link_11nyf","negative":"typography__negative_11nyf"};
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_1m4fm","bold":"typography__bold_1m4fm","medium":"typography__medium_1m4fm","regular":"typography__regular_1m4fm"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/dist/component.js CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-14ced997.js');
5
+ require('./colors.module-b38fb1e2.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./title/component.js');
9
- require('./common.module-01d90d2d.js');
9
+ require('./common.module-349e8d6d.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');
@@ -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;
@@ -1,4 +1,4 @@
1
- /* hash: 1eoer */
1
+ /* hash: q0afy */
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_16enl {
25
+ .typography__tertiary_11nyf {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_16enl {
28
+ .typography__disabled_11nyf {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_16enl {
31
+ .typography__accent_11nyf {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_16enl {
34
+ .typography__primary_11nyf {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_16enl {
37
+ .typography__attention_11nyf {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_16enl {
40
+ .typography__positive_11nyf {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_16enl {
43
+ .typography__secondary_11nyf {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_16enl {
46
+ .typography__tertiary-inverted_11nyf {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_16enl {
49
+ .typography__primary-inverted_11nyf {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_16enl {
52
+ .typography__secondary-inverted_11nyf {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_16enl {
55
+ .typography__link_11nyf {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_16enl {
58
+ .typography__negative_11nyf {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var colors = {"tertiary":"typography__tertiary_16enl","disabled":"typography__disabled_16enl","accent":"typography__accent_16enl","primary":"typography__primary_16enl","attention":"typography__attention_16enl","positive":"typography__positive_16enl","secondary":"typography__secondary_16enl","tertiary-inverted":"typography__tertiary-inverted_16enl","primary-inverted":"typography__primary-inverted_16enl","secondary-inverted":"typography__secondary-inverted_16enl","link":"typography__link_16enl","negative":"typography__negative_16enl"};
40
+ var colors = {"tertiary":"typography__tertiary_11nyf","disabled":"typography__disabled_11nyf","accent":"typography__accent_11nyf","primary":"typography__primary_11nyf","attention":"typography__attention_11nyf","positive":"typography__positive_11nyf","secondary":"typography__secondary_11nyf","tertiary-inverted":"typography__tertiary-inverted_11nyf","primary-inverted":"typography__primary-inverted_11nyf","secondary-inverted":"typography__secondary-inverted_11nyf","link":"typography__link_11nyf","negative":"typography__negative_11nyf"};
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_1m4fm","bold":"typography__bold_1m4fm","medium":"typography__medium_1m4fm","regular":"typography__regular_1m4fm"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,8 +1,8 @@
1
- import './colors.module-fef377ec.js';
1
+ import './colors.module-9ba992f7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './title/component.js';
5
- import './common.module-f9c1ed2c.js';
5
+ import './common.module-95653ede.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';
package/dist/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import './colors.module-fef377ec.js';
1
+ import './colors.module-9ba992f7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './title/component.js';
5
- import './common.module-f9c1ed2c.js';
5
+ import './common.module-95653ede.js';
6
6
  import './title/index.js';
7
7
  import './text/component.js';
8
8
  import './title-responsive/component.js';
@@ -42,7 +42,7 @@ declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultCh
42
42
  /**
43
43
  * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
44
44
  */
45
- view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps" | undefined;
45
+ view?: "primary-medium" | "primary-small" | "primary-large" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps" | undefined;
46
46
  /**
47
47
  * Цвет текста
48
48
  */
@@ -1,14 +1,14 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-fef377ec.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-9ba992f7.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"paragraph":"typography__paragraph_1c52j","primary-large":"typography__primary-large_1c52j","primary-medium":"typography__primary-medium_1c52j","primary-small":"typography__primary-small_1c52j","secondary-large":"typography__secondary-large_1c52j","secondary-medium":"typography__secondary-medium_1c52j","secondary-small":"typography__secondary-small_1c52j","component":"typography__component_1c52j","caps":"typography__caps_1c52j","bold":"typography__bold_1c52j","medium":"typography__medium_1c52j","regular":"typography__regular_1c52j","monospace":"typography__monospace_1c52j"};
5
+ var styles = {"paragraph":"typography__paragraph_dp0cp","primary-large":"typography__primary-large_dp0cp","primary-medium":"typography__primary-medium_dp0cp","primary-small":"typography__primary-small_dp0cp","secondary-large":"typography__secondary-large_dp0cp","secondary-medium":"typography__secondary-medium_dp0cp","secondary-small":"typography__secondary-small_dp0cp","component":"typography__component_dp0cp","caps":"typography__caps_dp0cp","bold":"typography__bold_dp0cp","medium":"typography__medium_dp0cp","regular":"typography__regular_dp0cp","monospace":"typography__monospace_dp0cp"};
6
6
  require('./index.css')
7
7
 
8
8
  var Text = forwardRef(function (_a, ref) {
9
9
  var _b;
10
- 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 = __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], styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
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
12
  });
13
13
 
14
14
  export { Text };
@@ -1,4 +1,4 @@
1
- /* hash: 15428 */
1
+ /* hash: 1e7kh */
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_1c52j {
16
+ .typography__paragraph_dp0cp {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_1c52j {
20
+ .typography__primary-large_dp0cp {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_1c52j {
25
+ .typography__primary-medium_dp0cp {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_1c52j {
30
+ .typography__primary-small_dp0cp {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_1c52j {
35
+ .typography__secondary-large_dp0cp {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_1c52j {
40
+ .typography__secondary-medium_dp0cp {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_1c52j {
45
+ .typography__secondary-small_dp0cp {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_1c52j {
50
+ .typography__component_dp0cp {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_1c52j {
55
+ .typography__caps_dp0cp {
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_1c52j {
62
+ .typography__bold_dp0cp {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_1c52j {
65
+ .typography__medium_dp0cp {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_1c52j {
68
+ .typography__regular_dp0cp {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_1c52j {
71
+ .typography__monospace_dp0cp {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
@@ -1,4 +1,4 @@
1
- import '../colors.module-fef377ec.js';
1
+ import '../colors.module-9ba992f7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
- /* hash: s7xe2 */
2
- .typography__component_1ns6m {
1
+ /* hash: eo0lm */
2
+ .typography__component_1m4fm {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_1ns6m {
7
+ .typography__bold_1m4fm {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_1ns6m {
11
+ .typography__medium_1m4fm {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_1ns6m {
15
+ .typography__regular_1m4fm {
16
16
  font-weight: normal;
17
17
  }
@@ -51,7 +51,7 @@ declare const Title: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultC
51
51
  /**
52
52
  * HTML тег
53
53
  */
54
- tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
54
+ tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
55
55
  /**
56
56
  * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
57
57
  */
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-fef377ec.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-9ba992f7.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4