@alfalab/core-components-typography 4.2.0 → 4.2.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 (77) hide show
  1. package/colors.css +20 -20
  2. package/colors.module-4e4b7d12.js +6 -0
  3. package/common.module-b3f0cfca.js +6 -0
  4. package/component.js +2 -2
  5. package/cssm/text/component.d.ts +1 -1
  6. package/cssm/title/component.d.ts +2 -2
  7. package/esm/colors.css +20 -20
  8. package/esm/colors.module-ca4c7711.js +4 -0
  9. package/esm/common.module-936e59c9.js +4 -0
  10. package/esm/component.js +2 -2
  11. package/esm/hooks/use-skeleton.css +2 -2
  12. package/esm/hooks/useSkeleton.js +1 -1
  13. package/esm/index.js +2 -2
  14. package/esm/text/component.d.ts +1 -1
  15. package/esm/text/component.js +2 -2
  16. package/esm/text/index.css +20 -20
  17. package/esm/text/index.js +1 -1
  18. package/esm/title/common.css +5 -5
  19. package/esm/title/component.d.ts +2 -2
  20. package/esm/title/component.js +1 -1
  21. package/esm/title/index.css +19 -19
  22. package/esm/title/index.js +3 -3
  23. package/esm/title-mobile/component.js +3 -3
  24. package/esm/title-mobile/index.css +11 -11
  25. package/esm/title-mobile/index.js +2 -2
  26. package/esm/title-responsive/component.js +3 -3
  27. package/esm/title-responsive/index.css +31 -31
  28. package/esm/title-responsive/index.js +2 -2
  29. package/hooks/use-skeleton.css +2 -2
  30. package/hooks/useSkeleton.js +1 -1
  31. package/index.js +2 -2
  32. package/modern/colors.css +20 -20
  33. package/modern/colors.module-62b0790b.js +4 -0
  34. package/modern/common.module-d91f4ff7.js +4 -0
  35. package/modern/component.js +2 -2
  36. package/modern/hooks/use-skeleton.css +2 -2
  37. package/modern/hooks/useSkeleton.js +1 -1
  38. package/modern/index.js +2 -2
  39. package/modern/text/component.d.ts +1 -1
  40. package/modern/text/component.js +2 -2
  41. package/modern/text/index.css +20 -20
  42. package/modern/text/index.js +1 -1
  43. package/modern/title/common.css +5 -5
  44. package/modern/title/component.d.ts +2 -2
  45. package/modern/title/component.js +1 -1
  46. package/modern/title/index.css +19 -19
  47. package/modern/title/index.js +3 -3
  48. package/modern/title-mobile/component.js +3 -3
  49. package/modern/title-mobile/index.css +11 -11
  50. package/modern/title-mobile/index.js +2 -2
  51. package/modern/title-responsive/component.js +3 -3
  52. package/modern/title-responsive/index.css +31 -31
  53. package/modern/title-responsive/index.js +2 -2
  54. package/package.json +2 -2
  55. package/src/text/component.tsx +1 -1
  56. package/src/title/component.tsx +1 -1
  57. package/text/component.d.ts +1 -1
  58. package/text/component.js +2 -2
  59. package/text/index.css +20 -20
  60. package/text/index.js +1 -1
  61. package/title/common.css +5 -5
  62. package/title/component.d.ts +2 -2
  63. package/title/component.js +1 -1
  64. package/title/index.css +19 -19
  65. package/title/index.js +3 -3
  66. package/title-mobile/component.js +3 -3
  67. package/title-mobile/index.css +11 -11
  68. package/title-mobile/index.js +2 -2
  69. package/title-responsive/component.js +3 -3
  70. package/title-responsive/index.css +31 -31
  71. package/title-responsive/index.js +2 -2
  72. package/colors.module-70706104.js +0 -6
  73. package/common.module-78c2a0fa.js +0 -6
  74. package/esm/colors.module-ac92fbac.js +0 -4
  75. package/esm/common.module-95067533.js +0 -4
  76. package/modern/colors.module-1a9450b1.js +0 -4
  77. package/modern/common.module-151b3759.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1a7b3 */
1
+ /* hash: vsmj3 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,53 +16,53 @@
16
16
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
17
17
  'Helvetica Neue', Helvetica, sans-serif;
18
18
  } :root {
19
- } .typography__styrene-xlarge_wg0v8 {
19
+ } .typography__styrene-xlarge_1oc5t {
20
20
  font-size: 34px;
21
21
  line-height: 40px;
22
22
  font-weight: 500;
23
23
  font-feature-settings: 'ss01';
24
24
  font-family: var(--font-family-styrene);
25
- } .typography__styrene-large_wg0v8 {
25
+ } .typography__styrene-large_1oc5t {
26
26
  font-size: 30px;
27
27
  line-height: 36px;
28
28
  font-weight: 500;
29
29
  font-feature-settings: 'ss01';
30
30
  font-family: var(--font-family-styrene);
31
- } .typography__styrene-medium_wg0v8 {
31
+ } .typography__styrene-medium_1oc5t {
32
32
  font-size: 26px;
33
33
  line-height: 32px;
34
34
  font-weight: 500;
35
35
  font-feature-settings: 'ss01';
36
36
  font-family: var(--font-family-styrene);
37
- } .typography__styrene-small_wg0v8 {
37
+ } .typography__styrene-small_1oc5t {
38
38
  font-size: 20px;
39
39
  line-height: 28px;
40
40
  font-weight: 500;
41
41
  font-feature-settings: 'ss01';
42
42
  font-family: var(--font-family-styrene);
43
- } .typography__styrene-xsmall_wg0v8 {
43
+ } .typography__styrene-xsmall_1oc5t {
44
44
  font-size: 16px;
45
45
  line-height: 20px;
46
46
  font-weight: 500;
47
47
  font-feature-settings: 'ss01';
48
48
  font-family: var(--font-family-styrene);
49
- } .typography__system-xlarge_wg0v8 {
49
+ } .typography__system-xlarge_1oc5t {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
- } .typography__system-large_wg0v8 {
53
+ } .typography__system-large_1oc5t {
54
54
  font-size: 30px;
55
55
  line-height: 36px;
56
56
  font-weight: 600;
57
- } .typography__system-medium_wg0v8 {
57
+ } .typography__system-medium_1oc5t {
58
58
  font-size: 26px;
59
59
  line-height: 32px;
60
60
  font-weight: 600;
61
- } .typography__system-small_wg0v8 {
61
+ } .typography__system-small_1oc5t {
62
62
  font-size: 20px;
63
63
  line-height: 28px;
64
64
  font-weight: 600;
65
- } .typography__system-xsmall_wg0v8 {
65
+ } .typography__system-xsmall_1oc5t {
66
66
  font-size: 16px;
67
67
  line-height: 20px;
68
68
  font-weight: 600;
@@ -7,5 +7,5 @@ import 'classnames';
7
7
  import '../hooks/useSkeleton.js';
8
8
  import '@alfalab/core-components-skeleton/esm';
9
9
  import '@alfalab/hooks';
10
- import '../colors.module-ac92fbac.js';
11
- import '../common.module-95067533.js';
10
+ import '../colors.module-ca4c7711.js';
11
+ import '../common.module-936e59c9.js';
@@ -1,15 +1,15 @@
1
1
  import { __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { Title } from '../title/component.js';
4
- import { c as commonStyles } from '../common.module-95067533.js';
4
+ import { c as commonStyles } from '../common.module-936e59c9.js';
5
5
  import 'react-merge-refs';
6
6
  import 'classnames';
7
7
  import '../hooks/useSkeleton.js';
8
8
  import '@alfalab/core-components-skeleton/esm';
9
9
  import '@alfalab/hooks';
10
- import '../colors.module-ac92fbac.js';
10
+ import '../colors.module-ca4c7711.js';
11
11
 
12
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1j7fm","styrene-large":"typography__styrene-large_1j7fm","styrene-medium":"typography__styrene-medium_1j7fm","styrene-small":"typography__styrene-small_1j7fm","styrene-xsmall":"typography__styrene-xsmall_1j7fm","system-xlarge":"typography__system-xlarge_1j7fm","system-large":"typography__system-large_1j7fm","system-medium":"typography__system-medium_1j7fm","system-small":"typography__system-small_1j7fm","system-xsmall":"typography__system-xsmall_1j7fm","margins-xlarge":"typography__margins-xlarge_1j7fm","margins-large":"typography__margins-large_1j7fm","margins-medium":"typography__margins-medium_1j7fm","margins-small":"typography__margins-small_1j7fm","margins-xsmall":"typography__margins-xsmall_1j7fm"};
12
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_lmdod","styrene-large":"typography__styrene-large_lmdod","styrene-medium":"typography__styrene-medium_lmdod","styrene-small":"typography__styrene-small_lmdod","styrene-xsmall":"typography__styrene-xsmall_lmdod","system-xlarge":"typography__system-xlarge_lmdod","system-large":"typography__system-large_lmdod","system-medium":"typography__system-medium_lmdod","system-small":"typography__system-small_lmdod","system-xsmall":"typography__system-xsmall_lmdod","margins-xlarge":"typography__margins-xlarge_lmdod","margins-large":"typography__margins-large_lmdod","margins-medium":"typography__margins-medium_lmdod","margins-small":"typography__margins-small_lmdod","margins-xsmall":"typography__margins-xsmall_lmdod"};
13
13
  require('./index.css')
14
14
 
15
15
  var TitleResponsive = function (props) { return (
@@ -1,4 +1,4 @@
1
- /* hash: 1tw64 */
1
+ /* hash: 1aaxb */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,68 +20,68 @@
20
20
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
21
21
  'Helvetica Neue', Helvetica, sans-serif;
22
22
  } :root {
23
- } /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-xlarge_1j7fm {
23
+ } /* TODO: поменять медиа-запросы на миксины */ .typography__styrene-xlarge_lmdod {
24
24
  font-size: 34px;
25
25
  line-height: 40px;
26
26
  font-weight: 500;
27
27
  font-feature-settings: 'ss01';
28
28
  font-family: var(--font-family-styrene);
29
- } .typography__styrene-large_1j7fm {
29
+ } .typography__styrene-large_lmdod {
30
30
  font-size: 30px;
31
31
  line-height: 36px;
32
32
  font-weight: 500;
33
33
  font-feature-settings: 'ss01';
34
34
  font-family: var(--font-family-styrene);
35
- } .typography__styrene-medium_1j7fm {
35
+ } .typography__styrene-medium_lmdod {
36
36
  font-size: 26px;
37
37
  line-height: 32px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
- } .typography__styrene-small_1j7fm {
41
+ } .typography__styrene-small_lmdod {
42
42
  font-size: 20px;
43
43
  line-height: 28px;
44
44
  font-weight: 500;
45
45
  font-feature-settings: 'ss01';
46
46
  font-family: var(--font-family-styrene);
47
- } .typography__styrene-xsmall_1j7fm {
47
+ } .typography__styrene-xsmall_lmdod {
48
48
  font-size: 16px;
49
49
  line-height: 20px;
50
50
  font-weight: 500;
51
51
  font-feature-settings: 'ss01';
52
52
  font-family: var(--font-family-styrene);
53
- } .typography__system-xlarge_1j7fm {
53
+ } .typography__system-xlarge_lmdod {
54
54
  font-size: 34px;
55
55
  line-height: 40px;
56
56
  font-weight: 600;
57
- } .typography__system-large_1j7fm {
57
+ } .typography__system-large_lmdod {
58
58
  font-size: 30px;
59
59
  line-height: 36px;
60
60
  font-weight: 600;
61
- } .typography__system-medium_1j7fm {
61
+ } .typography__system-medium_lmdod {
62
62
  font-size: 26px;
63
63
  line-height: 32px;
64
64
  font-weight: 600;
65
- } .typography__system-small_1j7fm {
65
+ } .typography__system-small_lmdod {
66
66
  font-size: 20px;
67
67
  line-height: 28px;
68
68
  font-weight: 600;
69
- } .typography__system-xsmall_1j7fm {
69
+ } .typography__system-xsmall_lmdod {
70
70
  font-size: 16px;
71
71
  line-height: 20px;
72
72
  font-weight: 600;
73
- } .typography__margins-xlarge_1j7fm {
73
+ } .typography__margins-xlarge_lmdod {
74
74
  margin: 0 0 var(--gap-xl);
75
- } .typography__margins-large_1j7fm {
75
+ } .typography__margins-large_lmdod {
76
76
  margin: var(--gap-3xl) 0 var(--gap-m);
77
- } .typography__margins-medium_1j7fm {
77
+ } .typography__margins-medium_lmdod {
78
78
  margin: var(--gap-3xl) 0 var(--gap-m);
79
- } .typography__margins-small_1j7fm {
79
+ } .typography__margins-small_lmdod {
80
80
  margin: var(--gap-3xl) 0 var(--gap-m);
81
- } .typography__margins-xsmall_1j7fm {
81
+ } .typography__margins-xsmall_lmdod {
82
82
  margin: var(--gap-3xl) 0 var(--gap-m);
83
83
  } @media screen and (min-width: 1024px) {
84
- .typography__styrene-xlarge_1j7fm {
84
+ .typography__styrene-xlarge_lmdod {
85
85
  font-size: 48px;
86
86
  line-height: 64px;
87
87
  font-weight: 500;
@@ -89,7 +89,7 @@
89
89
  font-family: var(--font-family-styrene);
90
90
  }
91
91
 
92
- .typography__styrene-large_1j7fm {
92
+ .typography__styrene-large_lmdod {
93
93
  font-size: 40px;
94
94
  line-height: 48px;
95
95
  font-weight: 500;
@@ -97,7 +97,7 @@
97
97
  font-family: var(--font-family-styrene);
98
98
  }
99
99
 
100
- .typography__styrene-medium_1j7fm {
100
+ .typography__styrene-medium_lmdod {
101
101
  font-size: 32px;
102
102
  line-height: 40px;
103
103
  font-weight: 500;
@@ -105,7 +105,7 @@
105
105
  font-family: var(--font-family-styrene);
106
106
  }
107
107
 
108
- .typography__styrene-small_1j7fm {
108
+ .typography__styrene-small_lmdod {
109
109
  font-size: 24px;
110
110
  line-height: 32px;
111
111
  font-weight: 500;
@@ -113,7 +113,7 @@
113
113
  font-family: var(--font-family-styrene);
114
114
  }
115
115
 
116
- .typography__styrene-xsmall_1j7fm {
116
+ .typography__styrene-xsmall_lmdod {
117
117
  font-size: 20px;
118
118
  line-height: 24px;
119
119
  font-weight: 500;
@@ -121,53 +121,53 @@
121
121
  font-family: var(--font-family-styrene);
122
122
  }
123
123
 
124
- .typography__system-xlarge_1j7fm {
124
+ .typography__system-xlarge_lmdod {
125
125
  font-size: 48px;
126
126
  line-height: 52px;
127
127
  font-weight: 700;
128
128
  }
129
129
 
130
- .typography__system-large_1j7fm {
130
+ .typography__system-large_lmdod {
131
131
  font-size: 40px;
132
132
  line-height: 48px;
133
133
  font-weight: 700;
134
134
  }
135
135
 
136
- .typography__system-medium_1j7fm {
136
+ .typography__system-medium_lmdod {
137
137
  font-size: 30px;
138
138
  line-height: 36px;
139
139
  font-weight: 700;
140
140
  }
141
141
 
142
- .typography__system-small_1j7fm {
142
+ .typography__system-small_lmdod {
143
143
  font-size: 22px;
144
144
  line-height: 26px;
145
145
  font-weight: 700;
146
146
  }
147
147
 
148
- .typography__system-xsmall_1j7fm {
148
+ .typography__system-xsmall_lmdod {
149
149
  font-size: 18px;
150
150
  line-height: 22px;
151
151
  font-weight: 700;
152
152
  }
153
153
 
154
- .typography__margins-xlarge_1j7fm {
154
+ .typography__margins-xlarge_lmdod {
155
155
  margin: 0 0 var(--gap-xl);
156
156
  }
157
157
 
158
- .typography__margins-large_1j7fm {
158
+ .typography__margins-large_lmdod {
159
159
  margin: var(--gap-4xl) 0 var(--gap-xl);
160
160
  }
161
161
 
162
- .typography__margins-medium_1j7fm {
162
+ .typography__margins-medium_lmdod {
163
163
  margin: var(--gap-4xl) 0 var(--gap-xl);
164
164
  }
165
165
 
166
- .typography__margins-small_1j7fm {
166
+ .typography__margins-small_lmdod {
167
167
  margin: var(--gap-3xl) 0 var(--gap-m);
168
168
  }
169
169
 
170
- .typography__margins-xsmall_1j7fm {
170
+ .typography__margins-xsmall_lmdod {
171
171
  margin: var(--gap-3xl) 0 var(--gap-m);
172
172
  }
173
173
  }
@@ -7,5 +7,5 @@ import 'classnames';
7
7
  import '../hooks/useSkeleton.js';
8
8
  import '@alfalab/core-components-skeleton/esm';
9
9
  import '@alfalab/hooks';
10
- import '../colors.module-ac92fbac.js';
11
- import '../common.module-95067533.js';
10
+ import '../colors.module-ca4c7711.js';
11
+ import '../common.module-936e59c9.js';
@@ -1,4 +1,4 @@
1
- /* hash: m4447 */
1
+ /* hash: 7pfjn */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,6 +15,6 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .typography__skeletonText_zkwz6.typography__skeletonText_zkwz6 {
18
+ } .typography__skeletonText_395pe.typography__skeletonText_395pe {
19
19
  border-radius: var(--border-radius-pill);
20
20
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
 
14
- var styles = {"skeletonText":"typography__skeletonText_zkwz6"};
14
+ var styles = {"skeletonText":"typography__skeletonText_395pe"};
15
15
  require('./use-skeleton.css')
16
16
 
17
17
  function useSkeleton(showSkeleton, skeletonProps) {
package/index.js CHANGED
@@ -12,10 +12,10 @@ require('classnames');
12
12
  require('./hooks/useSkeleton.js');
13
13
  require('@alfalab/core-components-skeleton');
14
14
  require('@alfalab/hooks');
15
- require('./colors.module-70706104.js');
15
+ require('./colors.module-4e4b7d12.js');
16
16
  require('./title/index.js');
17
17
  require('./title/component.js');
18
- require('./common.module-78c2a0fa.js');
18
+ require('./common.module-b3f0cfca.js');
19
19
  require('./title-mobile/component.js');
20
20
  require('./title-responsive/component.js');
21
21
 
package/modern/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: i9al3 */
1
+ /* hash: 1plsv */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-accent: #ef3124;
@@ -33,42 +33,42 @@
33
33
  } :root {
34
34
  } :root {
35
35
  } :root {
36
- } /* colors */ .typography__tertiary_1t5nw {
36
+ } /* colors */ .typography__tertiary_1ds77 {
37
37
  color: var(--color-light-text-tertiary);
38
- } .typography__disabled_1t5nw {
38
+ } .typography__disabled_1ds77 {
39
39
  color: var(--color-light-text-disabled);
40
- } .typography__accent_1t5nw {
40
+ } .typography__accent_1ds77 {
41
41
  color: var(--color-light-text-accent);
42
- } .typography__primary_1t5nw {
42
+ } .typography__primary_1ds77 {
43
43
  color: var(--color-light-text-primary);
44
- } .typography__attention_1t5nw {
44
+ } .typography__attention_1ds77 {
45
45
  color: var(--color-light-text-attention);
46
- } .typography__positive_1t5nw {
46
+ } .typography__positive_1ds77 {
47
47
  color: var(--color-light-text-positive);
48
- } .typography__secondary_1t5nw {
48
+ } .typography__secondary_1ds77 {
49
49
  color: var(--color-light-text-secondary);
50
- } .typography__tertiary-inverted_1t5nw {
50
+ } .typography__tertiary-inverted_1ds77 {
51
51
  color: var(--color-light-text-tertiary-inverted);
52
- } .typography__primary-inverted_1t5nw {
52
+ } .typography__primary-inverted_1ds77 {
53
53
  color: var(--color-light-text-primary-inverted);
54
- } .typography__secondary-inverted_1t5nw {
54
+ } .typography__secondary-inverted_1ds77 {
55
55
  color: var(--color-light-text-secondary-inverted);
56
- } .typography__link_1t5nw {
56
+ } .typography__link_1ds77 {
57
57
  color: var(--color-light-text-link);
58
- } .typography__negative_1t5nw {
58
+ } .typography__negative_1ds77 {
59
59
  color: var(--color-light-text-negative);
60
- } .typography__static-primary-light_1t5nw {
60
+ } .typography__static-primary-light_1ds77 {
61
61
  color: var(--color-static-text-primary-light);
62
- } .typography__static-secondary-light_1t5nw {
62
+ } .typography__static-secondary-light_1ds77 {
63
63
  color: var(--color-static-text-secondary-light);
64
- } .typography__static-tertiary-light_1t5nw {
64
+ } .typography__static-tertiary-light_1ds77 {
65
65
  color: var(--color-static-text-tertiary-light);
66
- } .typography__static-primary-dark_1t5nw {
66
+ } .typography__static-primary-dark_1ds77 {
67
67
  color: var(--color-static-text-primary-dark);
68
- } .typography__static-secondary-dark_1t5nw {
68
+ } .typography__static-secondary-dark_1ds77 {
69
69
  color: var(--color-static-text-secondary-dark);
70
- } .typography__static-tertiary-dark_1t5nw {
70
+ } .typography__static-tertiary-dark_1ds77 {
71
71
  color: var(--color-static-text-tertiary-dark);
72
- } .typography__static-accent_1t5nw {
72
+ } .typography__static-accent_1ds77 {
73
73
  color: var(--color-static-text-accent);
74
74
  }
@@ -0,0 +1,4 @@
1
+ const colors = {"tertiary":"typography__tertiary_1ds77","disabled":"typography__disabled_1ds77","accent":"typography__accent_1ds77","primary":"typography__primary_1ds77","attention":"typography__attention_1ds77","positive":"typography__positive_1ds77","secondary":"typography__secondary_1ds77","tertiary-inverted":"typography__tertiary-inverted_1ds77","primary-inverted":"typography__primary-inverted_1ds77","secondary-inverted":"typography__secondary-inverted_1ds77","link":"typography__link_1ds77","negative":"typography__negative_1ds77","static-primary-light":"typography__static-primary-light_1ds77","static-secondary-light":"typography__static-secondary-light_1ds77","static-tertiary-light":"typography__static-tertiary-light_1ds77","static-primary-dark":"typography__static-primary-dark_1ds77","static-secondary-dark":"typography__static-secondary-dark_1ds77","static-tertiary-dark":"typography__static-tertiary-dark_1ds77","static-accent":"typography__static-accent_1ds77"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"typography__component_thq70","bold":"typography__bold_thq70","medium":"typography__medium_thq70","regular":"typography__regular_thq70"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -8,9 +8,9 @@ import 'classnames';
8
8
  import './hooks/useSkeleton.js';
9
9
  import '@alfalab/core-components-skeleton/modern';
10
10
  import '@alfalab/hooks';
11
- import './colors.module-1a9450b1.js';
11
+ import './colors.module-62b0790b.js';
12
12
  import './title/component.js';
13
- import './common.module-151b3759.js';
13
+ import './common.module-d91f4ff7.js';
14
14
 
15
15
  const Typography = {
16
16
  Title,
@@ -1,4 +1,4 @@
1
- /* hash: m4447 */
1
+ /* hash: 7pfjn */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,6 +15,6 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .typography__skeletonText_zkwz6.typography__skeletonText_zkwz6 {
18
+ } .typography__skeletonText_395pe.typography__skeletonText_395pe {
19
19
  border-radius: var(--border-radius-pill);
20
20
  }
@@ -2,7 +2,7 @@ import React, { useState, useRef } from 'react';
2
2
  import { Skeleton } from '@alfalab/core-components-skeleton/modern';
3
3
  import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
4
4
 
5
- const styles = {"skeletonText":"typography__skeletonText_zkwz6"};
5
+ const styles = {"skeletonText":"typography__skeletonText_395pe"};
6
6
  require('./use-skeleton.css')
7
7
 
8
8
  function useSkeleton(showSkeleton, skeletonProps) {
package/modern/index.js CHANGED
@@ -7,9 +7,9 @@ import 'classnames';
7
7
  import './hooks/useSkeleton.js';
8
8
  import '@alfalab/core-components-skeleton/modern';
9
9
  import '@alfalab/hooks';
10
- import './colors.module-1a9450b1.js';
10
+ import './colors.module-62b0790b.js';
11
11
  import './title/index.js';
12
12
  import './title/component.js';
13
- import './common.module-151b3759.js';
13
+ import './common.module-d91f4ff7.js';
14
14
  import './title-mobile/component.js';
15
15
  import './title-responsive/component.js';
@@ -42,7 +42,7 @@ type TextBaseProps = {
42
42
  */
43
43
  defaultMargins?: never;
44
44
  /**
45
- * Количество строк (не поддерживает IE)
45
+ * Количество строк
46
46
  */
47
47
  rowLimit?: 1 | 2 | 3;
48
48
  /**
@@ -2,11 +2,11 @@ import React, { forwardRef } from 'react';
2
2
  import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { useSkeleton } from '../hooks/useSkeleton.js';
5
- import { c as colors } from '../colors.module-1a9450b1.js';
5
+ import { c as colors } from '../colors.module-62b0790b.js';
6
6
  import '@alfalab/core-components-skeleton/modern';
7
7
  import '@alfalab/hooks';
8
8
 
9
- const styles = {"paragraph":"typography__paragraph_nz4l3","paragraphWithMargins":"typography__paragraphWithMargins_nz4l3","primary-large":"typography__primary-large_nz4l3","primary-medium":"typography__primary-medium_nz4l3","primary-small":"typography__primary-small_nz4l3","secondary-large":"typography__secondary-large_nz4l3","secondary-medium":"typography__secondary-medium_nz4l3","secondary-small":"typography__secondary-small_nz4l3","component":"typography__component_nz4l3","component-primary":"typography__component-primary_nz4l3","component-secondary":"typography__component-secondary_nz4l3","caps":"typography__caps_nz4l3","bold":"typography__bold_nz4l3","medium":"typography__medium_nz4l3","regular":"typography__regular_nz4l3","monospace":"typography__monospace_nz4l3","rowLimit1":"typography__rowLimit1_nz4l3","rowLimit2":"typography__rowLimit2_nz4l3","rowLimit3":"typography__rowLimit3_nz4l3"};
9
+ const styles = {"paragraph":"typography__paragraph_1v3aj","paragraphWithMargins":"typography__paragraphWithMargins_1v3aj","primary-large":"typography__primary-large_1v3aj","primary-medium":"typography__primary-medium_1v3aj","primary-small":"typography__primary-small_1v3aj","secondary-large":"typography__secondary-large_1v3aj","secondary-medium":"typography__secondary-medium_1v3aj","secondary-small":"typography__secondary-small_1v3aj","component":"typography__component_1v3aj","component-primary":"typography__component-primary_1v3aj","component-secondary":"typography__component-secondary_1v3aj","caps":"typography__caps_1v3aj","bold":"typography__bold_1v3aj","medium":"typography__medium_1v3aj","regular":"typography__regular_1v3aj","monospace":"typography__monospace_1v3aj","rowLimit1":"typography__rowLimit1_1v3aj","rowLimit2":"typography__rowLimit2_1v3aj","rowLimit3":"typography__rowLimit3_1v3aj"};
10
10
  require('./index.css')
11
11
 
12
12
  const logWarning = (view) => {
@@ -1,4 +1,4 @@
1
- /* hash: r7j9w */
1
+ /* hash: 7mago */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,74 +17,74 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
20
- } .typography__paragraph_nz4l3 {
20
+ } .typography__paragraph_1v3aj {
21
21
  margin: 0;
22
22
  padding: 0;
23
- } .typography__paragraphWithMargins_nz4l3 {
23
+ } .typography__paragraphWithMargins_1v3aj {
24
24
  padding: 0;
25
25
  margin: var(--text-paragraph-margin-bottom);
26
- } .typography__primary-large_nz4l3 {
26
+ } .typography__primary-large_1v3aj {
27
27
  font-size: 18px;
28
28
  line-height: 24px;
29
29
  font-weight: 400;
30
- } .typography__primary-medium_nz4l3 {
30
+ } .typography__primary-medium_1v3aj {
31
31
  font-size: 16px;
32
32
  line-height: 24px;
33
33
  font-weight: 400;
34
- } .typography__primary-small_nz4l3 {
34
+ } .typography__primary-small_1v3aj {
35
35
  font-size: 14px;
36
36
  line-height: 20px;
37
37
  font-weight: 400;
38
- } .typography__secondary-large_nz4l3 {
38
+ } .typography__secondary-large_1v3aj {
39
39
  font-size: 13px;
40
40
  line-height: 16px;
41
41
  font-weight: 400;
42
- } .typography__secondary-medium_nz4l3 {
42
+ } .typography__secondary-medium_1v3aj {
43
43
  font-size: 12px;
44
44
  line-height: 16px;
45
45
  font-weight: 400;
46
- } .typography__secondary-small_nz4l3 {
46
+ } .typography__secondary-small_1v3aj {
47
47
  font-size: 11px;
48
48
  line-height: 16px;
49
49
  font-weight: 400;
50
- } .typography__component_nz4l3 {
50
+ } .typography__component_1v3aj {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
- } .typography__component-primary_nz4l3 {
54
+ } .typography__component-primary_1v3aj {
55
55
  font-size: 16px;
56
56
  line-height: 20px;
57
57
  font-weight: 400;
58
- } .typography__component-secondary_nz4l3 {
58
+ } .typography__component-secondary_1v3aj {
59
59
  font-size: 14px;
60
60
  line-height: 18px;
61
61
  font-weight: 400;
62
- } .typography__caps_nz4l3 {
62
+ } .typography__caps_1v3aj {
63
63
  font-size: 12px;
64
64
  line-height: 16px;
65
65
  font-weight: 500;
66
66
  letter-spacing: 1.25px;
67
67
  text-transform: uppercase;
68
- } .typography__bold_nz4l3 {
68
+ } .typography__bold_1v3aj {
69
69
  font-weight: bold;
70
- } .typography__medium_nz4l3 {
70
+ } .typography__medium_1v3aj {
71
71
  font-weight: 500;
72
- } .typography__regular_nz4l3 {
72
+ } .typography__regular_1v3aj {
73
73
  font-weight: normal;
74
- } .typography__monospace_nz4l3 {
74
+ } .typography__monospace_1v3aj {
75
75
  font-variant-numeric: tabular-nums;
76
- } .typography__rowLimit1_nz4l3 {
76
+ } .typography__rowLimit1_1v3aj {
77
77
  -webkit-line-clamp: 1;
78
78
  display: -webkit-box;
79
79
  -webkit-box-orient: vertical;
80
80
  overflow: hidden;
81
81
  word-break: break-all;
82
- } .typography__rowLimit2_nz4l3 {
82
+ } .typography__rowLimit2_1v3aj {
83
83
  -webkit-line-clamp: 2;
84
84
  display: -webkit-box;
85
85
  -webkit-box-orient: vertical;
86
86
  overflow: hidden;
87
- } .typography__rowLimit3_nz4l3 {
87
+ } .typography__rowLimit3_1v3aj {
88
88
  -webkit-line-clamp: 3;
89
89
  display: -webkit-box;
90
90
  -webkit-box-orient: vertical;
@@ -5,4 +5,4 @@ import 'classnames';
5
5
  import '../hooks/useSkeleton.js';
6
6
  import '@alfalab/core-components-skeleton/modern';
7
7
  import '@alfalab/hooks';
8
- import '../colors.module-1a9450b1.js';
8
+ import '../colors.module-62b0790b.js';
@@ -1,14 +1,14 @@
1
- /* hash: 1uj85 */
2
- .typography__component_a4bxl {
1
+ /* hash: amyct */
2
+ .typography__component_thq70 {
3
3
  margin: 0;
4
4
  padding: 0
5
5
  }
6
- .typography__component_a4bxl.typography__bold_a4bxl {
6
+ .typography__component_thq70.typography__bold_thq70 {
7
7
  font-weight: bold;
8
8
  }
9
- .typography__component_a4bxl.typography__medium_a4bxl {
9
+ .typography__component_thq70.typography__medium_thq70 {
10
10
  font-weight: 500;
11
11
  }
12
- .typography__component_a4bxl.typography__regular_a4bxl {
12
+ .typography__component_thq70.typography__regular_thq70 {
13
13
  font-weight: normal;
14
14
  }