@alfalab/core-components-typography 2.7.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/esm/colors.css → colors.css} +13 -13
- package/{dist/colors.d.ts → colors.d.ts} +0 -0
- package/{dist/colors.js → colors.js} +0 -0
- package/{dist/colors.module-e8299846.d.ts → colors.module-2cc8e807.d.ts} +0 -0
- package/{dist/colors.module-e8299846.js → colors.module-2cc8e807.js} +1 -1
- package/common.module-0606ddd8.js +6 -0
- package/{dist/component.d.ts → component.d.ts} +0 -0
- package/{dist/component.js → component.js} +2 -2
- package/{dist/cssm → cssm}/colors.d.ts +0 -0
- package/{dist/cssm → cssm}/colors.js +0 -0
- package/{dist/cssm → cssm}/colors.module.css +0 -0
- package/{dist/cssm → cssm}/component.d.ts +0 -0
- package/{dist/cssm → cssm}/component.js +0 -0
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +0 -0
- package/{dist/cssm → cssm}/margins.module.css +0 -0
- package/{dist/cssm → cssm}/presets.d.ts +0 -0
- package/{dist/cssm → cssm}/presets.js +0 -0
- package/{dist/cssm → cssm}/text/component.d.ts +0 -0
- package/{dist/cssm → cssm}/text/component.js +0 -0
- package/{dist/cssm → cssm}/text/index.d.ts +0 -0
- package/{dist/cssm → cssm}/text/index.js +0 -0
- package/{dist/cssm → cssm}/text/index.module.css +0 -0
- package/{dist/cssm → cssm}/title/common.module.css +0 -0
- package/{dist/cssm → cssm}/title/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title/component.js +0 -0
- package/{dist/cssm → cssm}/title/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title/index.js +0 -0
- package/{dist/cssm → cssm}/title/index.module.css +0 -0
- package/{dist/cssm → cssm}/title-mobile/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title-mobile/component.js +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.js +0 -0
- package/{dist/cssm → cssm}/title-mobile/index.module.css +0 -0
- package/{dist/cssm → cssm}/title-responsive/component.d.ts +0 -0
- package/{dist/cssm → cssm}/title-responsive/component.js +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.d.ts +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.js +0 -0
- package/{dist/cssm → cssm}/title-responsive/index.module.css +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
- package/{dist → esm}/colors.css +13 -13
- package/{dist/esm → esm}/colors.d.ts +0 -0
- package/{dist/esm → esm}/colors.js +0 -0
- package/{dist/esm/colors.module-95947b68.d.ts → esm/colors.module-6065797e.d.ts} +0 -0
- package/{dist/esm/colors.module-95947b68.js → esm/colors.module-6065797e.js} +1 -1
- package/esm/common.module-879f9853.js +4 -0
- package/{dist/esm → esm}/component.d.ts +0 -0
- package/{dist/esm → esm}/component.js +2 -2
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +2 -2
- package/{dist/esm → esm}/presets.d.ts +0 -0
- package/{dist/esm → esm}/presets.js +0 -0
- package/{dist/esm → esm}/text/component.d.ts +0 -0
- package/{dist/esm → esm}/text/component.js +2 -2
- package/{dist/esm → esm}/text/index.css +14 -14
- package/{dist/esm → esm}/text/index.d.ts +0 -0
- package/{dist/esm → esm}/text/index.js +1 -1
- package/esm/title/common.css +17 -0
- package/{dist/esm → esm}/title/component.d.ts +0 -0
- package/{dist/esm → esm}/title/component.js +1 -1
- package/{dist/modern → esm}/title/index.css +19 -19
- package/{dist/esm → esm}/title/index.d.ts +0 -0
- package/esm/title/index.js +18 -0
- package/{dist/esm → esm}/title-mobile/component.d.ts +0 -0
- package/esm/title-mobile/component.js +18 -0
- package/{dist/esm → esm}/title-mobile/index.css +14 -14
- package/{dist/esm → esm}/title-mobile/index.d.ts +0 -0
- package/{dist/modern → esm}/title-mobile/index.js +2 -2
- package/{dist/esm → esm}/title-responsive/component.d.ts +0 -0
- package/esm/title-responsive/component.js +18 -0
- package/{dist → esm}/title-responsive/index.css +41 -41
- package/{dist/esm → esm}/title-responsive/index.d.ts +0 -0
- package/{dist/modern → esm}/title-responsive/index.js +2 -2
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +2 -2
- package/{dist/modern → modern}/colors.css +13 -13
- package/{dist/modern → modern}/colors.d.ts +0 -0
- package/{dist/modern → modern}/colors.js +0 -0
- package/modern/colors.module-4a1750d9.js +4 -0
- package/modern/common.module-879f9853.js +4 -0
- package/{dist/modern → modern}/component.d.ts +0 -0
- package/{dist/modern → modern}/component.js +2 -2
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +2 -2
- package/{dist/modern → modern}/presets.d.ts +0 -0
- package/{dist/modern → modern}/presets.js +0 -0
- package/{dist/modern → modern}/text/component.d.ts +0 -0
- package/modern/text/component.js +10 -0
- package/{dist/modern → modern}/text/index.css +14 -14
- package/{dist/modern → modern}/text/index.d.ts +0 -0
- package/{dist/modern → modern}/text/index.js +1 -1
- package/modern/title/common.css +17 -0
- package/{dist/modern → modern}/title/component.d.ts +0 -0
- package/{dist/modern → modern}/title/component.js +1 -1
- package/{dist → modern}/title/index.css +19 -19
- package/{dist/modern → modern}/title/index.d.ts +0 -0
- package/modern/title/index.js +18 -0
- package/{dist/modern → modern}/title-mobile/component.d.ts +0 -0
- package/modern/title-mobile/component.js +18 -0
- package/{dist → modern}/title-mobile/index.css +14 -14
- package/{dist/modern → modern}/title-mobile/index.d.ts +0 -0
- package/{dist/esm → modern}/title-mobile/index.js +2 -2
- package/{dist/modern → modern}/title-responsive/component.d.ts +0 -0
- package/modern/title-responsive/component.js +18 -0
- package/{dist/esm → modern}/title-responsive/index.css +41 -41
- package/{dist/modern → modern}/title-responsive/index.d.ts +0 -0
- package/{dist/esm → modern}/title-responsive/index.js +2 -2
- package/package.json +7 -10
- package/{dist/presets.d.ts → presets.d.ts} +0 -0
- package/{dist/presets.js → presets.js} +0 -0
- package/{dist/send-stats.js → send-stats.js} +0 -0
- package/{dist/text → text}/component.d.ts +0 -0
- package/{dist/text → text}/component.js +2 -2
- package/{dist/text → text}/index.css +14 -14
- package/{dist/text → text}/index.d.ts +0 -0
- package/{dist/text → text}/index.js +1 -1
- package/title/common.css +17 -0
- package/{dist/title → title}/component.d.ts +0 -0
- package/{dist/title → title}/component.js +1 -1
- package/{dist/esm/title → title}/index.css +19 -19
- package/{dist/title → title}/index.d.ts +0 -0
- package/title/index.js +26 -0
- package/{dist/title-mobile → title-mobile}/component.d.ts +0 -0
- package/{dist/title-mobile → title-mobile}/component.js +3 -3
- package/{dist/modern/title-mobile → title-mobile}/index.css +14 -14
- package/{dist/title-mobile → title-mobile}/index.d.ts +0 -0
- package/{dist/title-mobile → title-mobile}/index.js +2 -2
- package/{dist/title-responsive → title-responsive}/component.d.ts +0 -0
- package/title-responsive/component.js +26 -0
- package/{dist/modern/title-responsive → title-responsive}/index.css +41 -41
- package/{dist/title-responsive → title-responsive}/index.d.ts +0 -0
- package/{dist/title-responsive → title-responsive}/index.js +2 -2
- package/CHANGELOG.md +0 -217
- package/dist/common.module-1484d53b.js +0 -6
- package/dist/esm/common.module-aa7e5b60.js +0 -4
- package/dist/esm/title/common.css +0 -17
- package/dist/esm/title/index.js +0 -18
- package/dist/esm/title-mobile/component.js +0 -18
- package/dist/esm/title-responsive/component.js +0 -18
- package/dist/modern/colors.module-049fc863.js +0 -4
- package/dist/modern/common.module-aa7e5b60.js +0 -4
- package/dist/modern/text/component.js +0 -10
- package/dist/modern/title/common.css +0 -17
- package/dist/modern/title/index.js +0 -18
- package/dist/modern/title-mobile/component.js +0 -18
- package/dist/modern/title-responsive/component.js +0 -18
- package/dist/title/common.css +0 -17
- package/dist/title/index.js +0 -26
- package/dist/title-responsive/component.js +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bnj8 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -18,134 +18,134 @@
|
|
|
18
18
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
19
|
}
|
|
20
20
|
/* TODO: поменять медиа-запросы на миксины */
|
|
21
|
-
.typography__styrene-
|
|
21
|
+
.typography__styrene-xlarge_jfz86 {
|
|
22
22
|
font-size: 34px;
|
|
23
23
|
line-height: 40px;
|
|
24
24
|
font-weight: 500;
|
|
25
25
|
font-feature-settings: 'ss01';
|
|
26
26
|
font-family: var(--font-family-styrene);
|
|
27
27
|
}
|
|
28
|
-
.typography__styrene-
|
|
28
|
+
.typography__styrene-large_jfz86 {
|
|
29
29
|
font-size: 30px;
|
|
30
30
|
line-height: 36px;
|
|
31
31
|
font-weight: 500;
|
|
32
32
|
font-feature-settings: 'ss01';
|
|
33
33
|
font-family: var(--font-family-styrene);
|
|
34
34
|
}
|
|
35
|
-
.typography__styrene-
|
|
35
|
+
.typography__styrene-medium_jfz86 {
|
|
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
41
|
}
|
|
42
|
-
.typography__styrene-
|
|
42
|
+
.typography__styrene-small_jfz86 {
|
|
43
43
|
font-size: 20px;
|
|
44
44
|
line-height: 28px;
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
font-feature-settings: 'ss01';
|
|
47
47
|
font-family: var(--font-family-styrene);
|
|
48
48
|
}
|
|
49
|
-
.typography__styrene-
|
|
49
|
+
.typography__styrene-xsmall_jfz86 {
|
|
50
50
|
font-size: 16px;
|
|
51
51
|
line-height: 24px;
|
|
52
52
|
font-weight: 500;
|
|
53
53
|
font-feature-settings: 'ss01';
|
|
54
54
|
font-family: var(--font-family-styrene);
|
|
55
55
|
}
|
|
56
|
-
.typography__system-
|
|
56
|
+
.typography__system-xlarge_jfz86 {
|
|
57
57
|
font-size: 30px;
|
|
58
58
|
line-height: 36px;
|
|
59
59
|
font-weight: 700;
|
|
60
60
|
}
|
|
61
|
-
.typography__system-
|
|
61
|
+
.typography__system-large_jfz86 {
|
|
62
62
|
font-size: 22px;
|
|
63
63
|
line-height: 26px;
|
|
64
64
|
font-weight: 700;
|
|
65
65
|
}
|
|
66
|
-
.typography__system-
|
|
66
|
+
.typography__system-medium_jfz86 {
|
|
67
67
|
font-size: 18px;
|
|
68
68
|
line-height: 22px;
|
|
69
69
|
font-weight: 700;
|
|
70
70
|
}
|
|
71
|
-
.typography__system-
|
|
71
|
+
.typography__system-small_jfz86 {
|
|
72
72
|
font-size: 18px;
|
|
73
73
|
line-height: 22px;
|
|
74
74
|
font-weight: 700;
|
|
75
75
|
}
|
|
76
|
-
.typography__system-
|
|
76
|
+
.typography__system-xsmall_jfz86 {
|
|
77
77
|
font-size: 18px;
|
|
78
78
|
line-height: 22px;
|
|
79
79
|
font-weight: 700;
|
|
80
80
|
}
|
|
81
|
-
.typography__margins-
|
|
81
|
+
.typography__margins-xlarge_jfz86 {
|
|
82
82
|
margin: 0 0 var(--gap-xl);
|
|
83
83
|
}
|
|
84
|
-
.typography__margins-
|
|
84
|
+
.typography__margins-large_jfz86 {
|
|
85
85
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
86
86
|
}
|
|
87
|
-
.typography__margins-
|
|
87
|
+
.typography__margins-medium_jfz86 {
|
|
88
88
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
89
89
|
}
|
|
90
|
-
.typography__margins-
|
|
90
|
+
.typography__margins-small_jfz86 {
|
|
91
91
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
92
92
|
}
|
|
93
|
-
.typography__margins-
|
|
93
|
+
.typography__margins-xsmall_jfz86 {
|
|
94
94
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
95
95
|
}
|
|
96
96
|
@media screen and (min-width: 600px) {
|
|
97
|
-
.typography__system-
|
|
97
|
+
.typography__system-xlarge_jfz86 {
|
|
98
98
|
font-size: 40px;
|
|
99
99
|
line-height: 48px;
|
|
100
100
|
font-weight: 700;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.typography__system-
|
|
103
|
+
.typography__system-large_jfz86 {
|
|
104
104
|
font-size: 30px;
|
|
105
105
|
line-height: 36px;
|
|
106
106
|
font-weight: 700;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.typography__system-
|
|
109
|
+
.typography__system-medium_jfz86 {
|
|
110
110
|
font-size: 22px;
|
|
111
111
|
line-height: 26px;
|
|
112
112
|
font-weight: 700;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.typography__system-
|
|
115
|
+
.typography__system-small_jfz86 {
|
|
116
116
|
font-size: 22px;
|
|
117
117
|
line-height: 26px;
|
|
118
118
|
font-weight: 700;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.typography__system-
|
|
121
|
+
.typography__system-xsmall_jfz86 {
|
|
122
122
|
font-size: 18px;
|
|
123
123
|
line-height: 22px;
|
|
124
124
|
font-weight: 700;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.typography__margins-
|
|
127
|
+
.typography__margins-xlarge_jfz86 {
|
|
128
128
|
margin: 0 0 var(--gap-xl);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.typography__margins-
|
|
131
|
+
.typography__margins-large_jfz86 {
|
|
132
132
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.typography__margins-
|
|
135
|
+
.typography__margins-medium_jfz86 {
|
|
136
136
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.typography__margins-
|
|
139
|
+
.typography__margins-small_jfz86 {
|
|
140
140
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.typography__margins-
|
|
143
|
+
.typography__margins-xsmall_jfz86 {
|
|
144
144
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
@media screen and (min-width: 1024px) {
|
|
148
|
-
.typography__styrene-
|
|
148
|
+
.typography__styrene-xlarge_jfz86 {
|
|
149
149
|
font-size: 48px;
|
|
150
150
|
line-height: 64px;
|
|
151
151
|
font-weight: 500;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
font-family: var(--font-family-styrene);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.typography__styrene-
|
|
156
|
+
.typography__styrene-large_jfz86 {
|
|
157
157
|
font-size: 40px;
|
|
158
158
|
line-height: 48px;
|
|
159
159
|
font-weight: 500;
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
font-family: var(--font-family-styrene);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.typography__styrene-
|
|
164
|
+
.typography__styrene-medium_jfz86 {
|
|
165
165
|
font-size: 32px;
|
|
166
166
|
line-height: 40px;
|
|
167
167
|
font-weight: 500;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
font-family: var(--font-family-styrene);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.typography__styrene-
|
|
172
|
+
.typography__styrene-small_jfz86 {
|
|
173
173
|
font-size: 24px;
|
|
174
174
|
line-height: 32px;
|
|
175
175
|
font-weight: 500;
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
font-family: var(--font-family-styrene);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.typography__styrene-
|
|
180
|
+
.typography__styrene-xsmall_jfz86 {
|
|
181
181
|
font-size: 20px;
|
|
182
182
|
line-height: 24px;
|
|
183
183
|
font-weight: 500;
|
|
@@ -185,53 +185,53 @@
|
|
|
185
185
|
font-family: var(--font-family-styrene);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.typography__system-
|
|
188
|
+
.typography__system-xlarge_jfz86 {
|
|
189
189
|
font-size: 48px;
|
|
190
190
|
line-height: 52px;
|
|
191
191
|
font-weight: 700;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.typography__system-
|
|
194
|
+
.typography__system-large_jfz86 {
|
|
195
195
|
font-size: 40px;
|
|
196
196
|
line-height: 48px;
|
|
197
197
|
font-weight: 700;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.typography__system-
|
|
200
|
+
.typography__system-medium_jfz86 {
|
|
201
201
|
font-size: 30px;
|
|
202
202
|
line-height: 36px;
|
|
203
203
|
font-weight: 700;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.typography__system-
|
|
206
|
+
.typography__system-small_jfz86 {
|
|
207
207
|
font-size: 22px;
|
|
208
208
|
line-height: 26px;
|
|
209
209
|
font-weight: 700;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.typography__system-
|
|
212
|
+
.typography__system-xsmall_jfz86 {
|
|
213
213
|
font-size: 18px;
|
|
214
214
|
line-height: 22px;
|
|
215
215
|
font-weight: 700;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.typography__margins-
|
|
218
|
+
.typography__margins-xlarge_jfz86 {
|
|
219
219
|
margin: 0 0 var(--gap-xl);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.typography__margins-
|
|
222
|
+
.typography__margins-large_jfz86 {
|
|
223
223
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.typography__margins-
|
|
226
|
+
.typography__margins-medium_jfz86 {
|
|
227
227
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.typography__margins-
|
|
230
|
+
.typography__margins-small_jfz86 {
|
|
231
231
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.typography__margins-
|
|
234
|
+
.typography__margins-xsmall_jfz86 {
|
|
235
235
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
File without changes
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('../colors.module-
|
|
5
|
+
require('../colors.module-2cc8e807.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../title/component.js');
|
|
9
|
-
require('../common.module-
|
|
9
|
+
require('../common.module-0606ddd8.js');
|
|
10
10
|
var titleResponsive_component = require('./component.js');
|
|
11
11
|
|
|
12
12
|
|
package/CHANGELOG.md
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [2.7.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.7.0...@alfalab/core-components-typography@2.7.1) (2022-08-17)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* returned dist directory ([#199](https://github.com/core-ds/core-components/issues/199)) ([fabc15e](https://github.com/core-ds/core-components/commit/fabc15effa1457ca65ec7238206f1b1fc2a2a613))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# [2.7.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.6.3...@alfalab/core-components-typography@2.7.0) (2022-08-04)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
* react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## [2.6.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.6.2...@alfalab/core-components-typography@2.6.3) (2022-07-18)
|
|
29
|
-
|
|
30
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
## [2.6.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.6.1...@alfalab/core-components-typography@2.6.2) (2022-07-15)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Bug Fixes
|
|
40
|
-
|
|
41
|
-
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## [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)
|
|
48
|
-
|
|
49
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
# [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)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Features
|
|
59
|
-
|
|
60
|
-
* circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
|
|
61
|
-
* **pure cell:** new component ([#10](https://github.com/core-ds/core-components/issues/10)) ([4e95c57](https://github.com/core-ds/core-components/commit/4e95c573aaa6f99197292ea4bae12cbbcc3207c9))
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
# [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)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### Features
|
|
71
|
-
|
|
72
|
-
* **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))
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## [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)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* **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))
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
# [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)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Features
|
|
93
|
-
|
|
94
|
-
* **typography:** новый компонент Typography.TitleMobile ([#1003](https://github.com/core-ds/core-components/issues/1003)) ([9b03cf9](https://github.com/core-ds/core-components/commit/9b03cf90422b05cc927ed98959708430812d1a50))
|
|
95
|
-
* Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
# [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)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Features
|
|
105
|
-
|
|
106
|
-
* **typography:** export types ([#940](https://github.com/core-ds/core-components/issues/940)) ([498227c](https://github.com/core-ds/core-components/commit/498227c272659a1ebf890eee61c6fecdd110faee))
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
# [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)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
### Features
|
|
116
|
-
|
|
117
|
-
* **typography:** add ref ([#834](https://github.com/core-ds/core-components/issues/834)) ([976b16d](https://github.com/core-ds/core-components/commit/976b16dd9ae68c31999bffb3506623db05033ad4))
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
# [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)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Features
|
|
127
|
-
|
|
128
|
-
* **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))
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
## [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)
|
|
135
|
-
|
|
136
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
# [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)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
### Features
|
|
146
|
-
|
|
147
|
-
* upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
|
|
148
|
-
|
|
149
|
-
## [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)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
### Bug Fixes
|
|
153
|
-
|
|
154
|
-
* **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))
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
# [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)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### Features
|
|
164
|
-
|
|
165
|
-
* **typography:** add rest props ([#682](https://github.com/core-ds/core-components/issues/682)) ([51e1cf8](https://github.com/core-ds/core-components/commit/51e1cf89028c788bfcdbc21ea16acbbe190b5db9))
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
## [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)
|
|
172
|
-
|
|
173
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
## [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)
|
|
180
|
-
|
|
181
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
## [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)
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### Bug Fixes
|
|
191
|
-
|
|
192
|
-
* one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
## [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)
|
|
199
|
-
|
|
200
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
## [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)
|
|
207
|
-
|
|
208
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
## [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)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* hash: 147dz */
|
|
2
|
-
.typography__component_12neq {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.typography__bold_12neq {
|
|
8
|
-
font-weight: bold;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.typography__medium_12neq {
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.typography__regular_12neq {
|
|
16
|
-
font-weight: normal;
|
|
17
|
-
}
|
package/dist/esm/title/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-95947b68.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-aa7e5b60.js';
|
|
6
|
-
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-xlarge_87f2q","styrene-large":"typography__styrene-large_87f2q","styrene-medium":"typography__styrene-medium_87f2q","styrene-small":"typography__styrene-small_87f2q","styrene-xsmall":"typography__styrene-xsmall_87f2q","system-xlarge":"typography__system-xlarge_87f2q","system-large":"typography__system-large_87f2q","system-medium":"typography__system-medium_87f2q","system-small":"typography__system-small_87f2q","system-xsmall":"typography__system-xsmall_87f2q","margins-xlarge":"typography__margins-xlarge_87f2q","margins-large":"typography__margins-large_87f2q","margins-medium":"typography__margins-medium_87f2q","margins-small":"typography__margins-small_87f2q","margins-xsmall":"typography__margins-xsmall_87f2q","bold":"typography__bold_87f2q","medium":"typography__medium_87f2q","regular":"typography__regular_87f2q"};
|
|
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 };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-95947b68.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-aa7e5b60.js';
|
|
6
|
-
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-xlarge_mi8t6","styrene-large":"typography__styrene-large_mi8t6","styrene-medium":"typography__styrene-medium_mi8t6","styrene-small":"typography__styrene-small_mi8t6","styrene-xsmall":"typography__styrene-xsmall_mi8t6","system-xlarge":"typography__system-xlarge_mi8t6","system-large":"typography__system-large_mi8t6","system-medium":"typography__system-medium_mi8t6","system-small":"typography__system-small_mi8t6","system-xsmall":"typography__system-xsmall_mi8t6","bold":"typography__bold_mi8t6","medium":"typography__medium_mi8t6","regular":"typography__regular_mi8t6"};
|
|
8
|
-
require('./index.css')
|
|
9
|
-
|
|
10
|
-
var TitleMobile = function (props) {
|
|
11
|
-
/**
|
|
12
|
-
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
13
|
-
* Видимо, это особенность работы jest и css-modules.
|
|
14
|
-
*/
|
|
15
|
-
return React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { TitleMobile };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-95947b68.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-aa7e5b60.js';
|
|
6
|
-
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1z0k9","styrene-large":"typography__styrene-large_1z0k9","styrene-medium":"typography__styrene-medium_1z0k9","styrene-small":"typography__styrene-small_1z0k9","styrene-xsmall":"typography__styrene-xsmall_1z0k9","system-xlarge":"typography__system-xlarge_1z0k9","system-large":"typography__system-large_1z0k9","system-medium":"typography__system-medium_1z0k9","system-small":"typography__system-small_1z0k9","system-xsmall":"typography__system-xsmall_1z0k9","margins-xlarge":"typography__margins-xlarge_1z0k9","margins-large":"typography__margins-large_1z0k9","margins-medium":"typography__margins-medium_1z0k9","margins-small":"typography__margins-small_1z0k9","margins-xsmall":"typography__margins-xsmall_1z0k9"};
|
|
8
|
-
require('./index.css')
|
|
9
|
-
|
|
10
|
-
var TitleResponsive = function (props) {
|
|
11
|
-
/**
|
|
12
|
-
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
13
|
-
* Видимо, это особенность работы jest и css-modules.
|
|
14
|
-
*/
|
|
15
|
-
return React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { TitleResponsive };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var colors = {"tertiary":"typography__tertiary_i6yqd","disabled":"typography__disabled_i6yqd","accent":"typography__accent_i6yqd","primary":"typography__primary_i6yqd","attention":"typography__attention_i6yqd","positive":"typography__positive_i6yqd","secondary":"typography__secondary_i6yqd","tertiary-inverted":"typography__tertiary-inverted_i6yqd","primary-inverted":"typography__primary-inverted_i6yqd","secondary-inverted":"typography__secondary-inverted_i6yqd","link":"typography__link_i6yqd","negative":"typography__negative_i6yqd"};
|
|
2
|
-
require('./colors.css')
|
|
3
|
-
|
|
4
|
-
export { colors as c };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import cn from 'classnames';
|
|
3
|
-
import { c as colors } from '../colors.module-049fc863.js';
|
|
4
|
-
|
|
5
|
-
var styles = {"paragraph":"typography__paragraph_x617y","primary-large":"typography__primary-large_x617y","primary-medium":"typography__primary-medium_x617y","primary-small":"typography__primary-small_x617y","secondary-large":"typography__secondary-large_x617y","secondary-medium":"typography__secondary-medium_x617y","secondary-small":"typography__secondary-small_x617y","component":"typography__component_x617y","caps":"typography__caps_x617y","bold":"typography__bold_x617y","medium":"typography__medium_x617y","regular":"typography__regular_x617y","monospace":"typography__monospace_x617y"};
|
|
6
|
-
require('./index.css')
|
|
7
|
-
|
|
8
|
-
const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight, monospaceNumbers = false, color, className, dataTestId, children, ...restProps }, ref) => (React.createElement(Component, Object.assign({ className: cn({ [styles.paragraph]: Component === 'p', [styles.monospace]: monospaceNumbers }, className, color && colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children)));
|
|
9
|
-
|
|
10
|
-
export { Text };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* hash: 147dz */
|
|
2
|
-
.typography__component_12neq {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.typography__bold_12neq {
|
|
8
|
-
font-weight: bold;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.typography__medium_12neq {
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.typography__regular_12neq {
|
|
16
|
-
font-weight: normal;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'classnames';
|
|
3
|
-
import '../colors.module-049fc863.js';
|
|
4
|
-
import { Title as Title$1 } from './component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-aa7e5b60.js';
|
|
6
|
-
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-xlarge_87f2q","styrene-large":"typography__styrene-large_87f2q","styrene-medium":"typography__styrene-medium_87f2q","styrene-small":"typography__styrene-small_87f2q","styrene-xsmall":"typography__styrene-xsmall_87f2q","system-xlarge":"typography__system-xlarge_87f2q","system-large":"typography__system-large_87f2q","system-medium":"typography__system-medium_87f2q","system-small":"typography__system-small_87f2q","system-xsmall":"typography__system-xsmall_87f2q","margins-xlarge":"typography__margins-xlarge_87f2q","margins-large":"typography__margins-large_87f2q","margins-medium":"typography__margins-medium_87f2q","margins-small":"typography__margins-small_87f2q","margins-xsmall":"typography__margins-xsmall_87f2q","bold":"typography__bold_87f2q","medium":"typography__medium_87f2q","regular":"typography__regular_87f2q"};
|
|
8
|
-
require('./index.css')
|
|
9
|
-
|
|
10
|
-
const Title = props => {
|
|
11
|
-
/**
|
|
12
|
-
* Если поменять Object.assign на деструктуризацию, то упадут тесты.
|
|
13
|
-
* Видимо, это особенность работы jest и css-modules.
|
|
14
|
-
*/
|
|
15
|
-
return React.createElement(Title$1, Object.assign({}, props, { styles: Object.assign(commonStyles, styles) }));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { Title };
|