@alfalab/core-components-typography 3.1.1 → 3.2.0
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/colors.css +34 -13
- package/colors.d.ts +1 -1
- package/colors.js +7 -0
- package/colors.module-15de3c41.js +6 -0
- package/common.module-f948e7d5.js +6 -0
- package/component.js +2 -2
- package/cssm/colors.d.ts +1 -1
- package/cssm/colors.js +7 -0
- package/cssm/colors.module.css +21 -0
- package/cssm/title/component.d.ts +1 -1
- package/esm/colors.css +34 -13
- package/esm/colors.d.ts +1 -1
- package/esm/colors.js +7 -0
- package/esm/colors.module-308e84a9.js +4 -0
- package/esm/common.module-a19344da.js +4 -0
- package/esm/component.js +2 -2
- package/esm/index.js +2 -2
- package/esm/text/component.js +2 -2
- package/esm/text/index.css +18 -18
- package/esm/text/index.js +1 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.d.ts +1 -1
- package/esm/title/component.js +1 -1
- package/esm/title/index.css +19 -19
- package/esm/title/index.js +3 -3
- package/esm/title-mobile/component.js +3 -3
- package/esm/title-mobile/index.css +11 -11
- package/esm/title-mobile/index.js +2 -2
- package/esm/title-responsive/component.js +3 -3
- package/esm/title-responsive/index.css +41 -41
- package/esm/title-responsive/index.js +2 -2
- package/index.js +2 -2
- package/modern/colors.css +34 -13
- package/modern/colors.d.ts +1 -1
- package/modern/colors.js +7 -0
- package/modern/colors.module-c327b974.js +4 -0
- package/modern/common.module-41281fe7.js +4 -0
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +18 -18
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.d.ts +1 -1
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +19 -19
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +11 -11
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +41 -41
- package/modern/title-responsive/index.js +2 -2
- package/package.json +1 -1
- package/text/component.js +2 -2
- package/text/index.css +18 -18
- package/text/index.js +1 -1
- package/title/common.css +5 -5
- package/title/component.d.ts +1 -1
- package/title/component.js +1 -1
- package/title/index.css +19 -19
- package/title/index.js +3 -3
- package/title-mobile/component.js +3 -3
- package/title-mobile/index.css +11 -11
- package/title-mobile/index.js +2 -2
- package/title-responsive/component.js +3 -3
- package/title-responsive/index.css +41 -41
- package/title-responsive/index.js +2 -2
- package/colors.module-fcf8e5d3.js +0 -6
- package/common.module-cf8a6de7.js +0 -6
- package/esm/colors.module-6c8a001e.js +0 -4
- package/esm/common.module-e5f2dd08.js +0 -4
- package/modern/colors.module-cd27c99e.js +0 -4
- package/modern/common.module-83440d45.js +0 -4
package/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bc7p */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
14
14
|
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
15
15
|
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
16
|
+
--color-static-text-accent: #ef3124;
|
|
17
|
+
--color-static-text-primary-dark: #0b1f35;
|
|
18
|
+
--color-static-text-primary-light: #fff;
|
|
19
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
20
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
16
23
|
} :root {
|
|
17
24
|
} :root {
|
|
18
25
|
} :root {
|
|
@@ -26,28 +33,42 @@
|
|
|
26
33
|
} :root {
|
|
27
34
|
} :root {
|
|
28
35
|
} :root {
|
|
29
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_1m791 {
|
|
30
37
|
color: var(--color-light-text-tertiary);
|
|
31
|
-
} .
|
|
38
|
+
} .typography__disabled_1m791 {
|
|
32
39
|
color: var(--color-light-text-disabled);
|
|
33
|
-
} .
|
|
40
|
+
} .typography__accent_1m791 {
|
|
34
41
|
color: var(--color-light-text-accent);
|
|
35
|
-
} .
|
|
42
|
+
} .typography__primary_1m791 {
|
|
36
43
|
color: var(--color-light-text-primary);
|
|
37
|
-
} .
|
|
44
|
+
} .typography__attention_1m791 {
|
|
38
45
|
color: var(--color-light-text-attention);
|
|
39
|
-
} .
|
|
46
|
+
} .typography__positive_1m791 {
|
|
40
47
|
color: var(--color-light-text-positive);
|
|
41
|
-
} .
|
|
48
|
+
} .typography__secondary_1m791 {
|
|
42
49
|
color: var(--color-light-text-secondary);
|
|
43
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_1m791 {
|
|
44
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
45
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_1m791 {
|
|
46
53
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_1m791 {
|
|
48
55
|
color: var(--color-light-text-secondary-inverted);
|
|
49
|
-
} .
|
|
56
|
+
} .typography__link_1m791 {
|
|
50
57
|
color: var(--color-light-text-link);
|
|
51
|
-
} .
|
|
58
|
+
} .typography__negative_1m791 {
|
|
52
59
|
color: var(--color-light-text-negative);
|
|
60
|
+
} .typography__static-primary-light_1m791 {
|
|
61
|
+
color: var(--color-static-text-primary-light);
|
|
62
|
+
} .typography__static-secondary-light_1m791 {
|
|
63
|
+
color: var(--color-static-text-secondary-light);
|
|
64
|
+
} .typography__static-tertiary-light_1m791 {
|
|
65
|
+
color: var(--color-static-text-tertiary-light);
|
|
66
|
+
} .typography__static-primary-dark_1m791 {
|
|
67
|
+
color: var(--color-static-text-primary-dark);
|
|
68
|
+
} .typography__static-secondary-dark_1m791 {
|
|
69
|
+
color: var(--color-static-text-secondary-dark);
|
|
70
|
+
} .typography__static-tertiary-dark_1m791 {
|
|
71
|
+
color: var(--color-static-text-tertiary-dark);
|
|
72
|
+
} .typography__static-accent_1m791 {
|
|
73
|
+
color: var(--color-static-text-accent);
|
|
53
74
|
}
|
package/colors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative"];
|
|
1
|
+
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
2
|
type Color = typeof colors[number];
|
|
3
3
|
export { colors, Color };
|
package/colors.js
CHANGED
|
@@ -13,6 +13,13 @@ var colors = [
|
|
|
13
13
|
'secondary-inverted',
|
|
14
14
|
'link',
|
|
15
15
|
'negative',
|
|
16
|
+
'static-primary-light',
|
|
17
|
+
'static-secondary-light',
|
|
18
|
+
'static-tertiary-light',
|
|
19
|
+
'static-primary-dark',
|
|
20
|
+
'static-secondary-dark',
|
|
21
|
+
'static-tertiary-dark',
|
|
22
|
+
'static-accent',
|
|
16
23
|
];
|
|
17
24
|
|
|
18
25
|
exports.colors = colors;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var colors = {"tertiary":"typography__tertiary_1m791","disabled":"typography__disabled_1m791","accent":"typography__accent_1m791","primary":"typography__primary_1m791","attention":"typography__attention_1m791","positive":"typography__positive_1m791","secondary":"typography__secondary_1m791","tertiary-inverted":"typography__tertiary-inverted_1m791","primary-inverted":"typography__primary-inverted_1m791","secondary-inverted":"typography__secondary-inverted_1m791","link":"typography__link_1m791","negative":"typography__negative_1m791","static-primary-light":"typography__static-primary-light_1m791","static-secondary-light":"typography__static-secondary-light_1m791","static-tertiary-light":"typography__static-tertiary-light_1m791","static-primary-dark":"typography__static-primary-dark_1m791","static-secondary-dark":"typography__static-secondary-dark_1m791","static-tertiary-dark":"typography__static-tertiary-dark_1m791","static-accent":"typography__static-accent_1m791"};
|
|
4
|
+
require('./colors.css')
|
|
5
|
+
|
|
6
|
+
exports.colors = colors;
|
package/component.js
CHANGED
|
@@ -7,9 +7,9 @@ var titleResponsive_component = require('./title-responsive/component.js');
|
|
|
7
7
|
require('tslib');
|
|
8
8
|
require('react');
|
|
9
9
|
require('classnames');
|
|
10
|
-
require('./colors.module-
|
|
10
|
+
require('./colors.module-15de3c41.js');
|
|
11
11
|
require('./title/component.js');
|
|
12
|
-
require('./common.module-
|
|
12
|
+
require('./common.module-f948e7d5.js');
|
|
13
13
|
|
|
14
14
|
var Typography = {
|
|
15
15
|
Title: title_index.Title,
|
package/cssm/colors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative"];
|
|
1
|
+
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
2
|
type Color = typeof colors[number];
|
|
3
3
|
export { colors, Color };
|
package/cssm/colors.js
CHANGED
|
@@ -13,6 +13,13 @@ var colors = [
|
|
|
13
13
|
'secondary-inverted',
|
|
14
14
|
'link',
|
|
15
15
|
'negative',
|
|
16
|
+
'static-primary-light',
|
|
17
|
+
'static-secondary-light',
|
|
18
|
+
'static-tertiary-light',
|
|
19
|
+
'static-primary-dark',
|
|
20
|
+
'static-secondary-dark',
|
|
21
|
+
'static-tertiary-dark',
|
|
22
|
+
'static-accent',
|
|
16
23
|
];
|
|
17
24
|
|
|
18
25
|
exports.colors = colors;
|
package/cssm/colors.module.css
CHANGED
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
13
13
|
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
14
14
|
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
15
|
+
--color-static-text-accent: #ef3124;
|
|
16
|
+
--color-static-text-primary-dark: #0b1f35;
|
|
17
|
+
--color-static-text-primary-light: #fff;
|
|
18
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
19
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
20
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
21
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
15
22
|
} :root {
|
|
16
23
|
} :root {
|
|
17
24
|
} :root {
|
|
@@ -49,4 +56,18 @@
|
|
|
49
56
|
color: var(--color-light-text-link);
|
|
50
57
|
} .negative {
|
|
51
58
|
color: var(--color-light-text-negative);
|
|
59
|
+
} .static-primary-light {
|
|
60
|
+
color: var(--color-static-text-primary-light);
|
|
61
|
+
} .static-secondary-light {
|
|
62
|
+
color: var(--color-static-text-secondary-light);
|
|
63
|
+
} .static-tertiary-light {
|
|
64
|
+
color: var(--color-static-text-tertiary-light);
|
|
65
|
+
} .static-primary-dark {
|
|
66
|
+
color: var(--color-static-text-primary-dark);
|
|
67
|
+
} .static-secondary-dark {
|
|
68
|
+
color: var(--color-static-text-secondary-dark);
|
|
69
|
+
} .static-tertiary-dark {
|
|
70
|
+
color: var(--color-static-text-tertiary-dark);
|
|
71
|
+
} .static-accent {
|
|
72
|
+
color: var(--color-static-text-accent);
|
|
52
73
|
}
|
|
@@ -63,7 +63,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
|
|
|
63
63
|
/**
|
|
64
64
|
* Цвет текста
|
|
65
65
|
*/
|
|
66
|
-
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | undefined;
|
|
66
|
+
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Толщина шрифта
|
|
69
69
|
*/
|
package/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bc7p */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
14
14
|
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
15
15
|
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
16
|
+
--color-static-text-accent: #ef3124;
|
|
17
|
+
--color-static-text-primary-dark: #0b1f35;
|
|
18
|
+
--color-static-text-primary-light: #fff;
|
|
19
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
20
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
16
23
|
} :root {
|
|
17
24
|
} :root {
|
|
18
25
|
} :root {
|
|
@@ -26,28 +33,42 @@
|
|
|
26
33
|
} :root {
|
|
27
34
|
} :root {
|
|
28
35
|
} :root {
|
|
29
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_1m791 {
|
|
30
37
|
color: var(--color-light-text-tertiary);
|
|
31
|
-
} .
|
|
38
|
+
} .typography__disabled_1m791 {
|
|
32
39
|
color: var(--color-light-text-disabled);
|
|
33
|
-
} .
|
|
40
|
+
} .typography__accent_1m791 {
|
|
34
41
|
color: var(--color-light-text-accent);
|
|
35
|
-
} .
|
|
42
|
+
} .typography__primary_1m791 {
|
|
36
43
|
color: var(--color-light-text-primary);
|
|
37
|
-
} .
|
|
44
|
+
} .typography__attention_1m791 {
|
|
38
45
|
color: var(--color-light-text-attention);
|
|
39
|
-
} .
|
|
46
|
+
} .typography__positive_1m791 {
|
|
40
47
|
color: var(--color-light-text-positive);
|
|
41
|
-
} .
|
|
48
|
+
} .typography__secondary_1m791 {
|
|
42
49
|
color: var(--color-light-text-secondary);
|
|
43
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_1m791 {
|
|
44
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
45
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_1m791 {
|
|
46
53
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_1m791 {
|
|
48
55
|
color: var(--color-light-text-secondary-inverted);
|
|
49
|
-
} .
|
|
56
|
+
} .typography__link_1m791 {
|
|
50
57
|
color: var(--color-light-text-link);
|
|
51
|
-
} .
|
|
58
|
+
} .typography__negative_1m791 {
|
|
52
59
|
color: var(--color-light-text-negative);
|
|
60
|
+
} .typography__static-primary-light_1m791 {
|
|
61
|
+
color: var(--color-static-text-primary-light);
|
|
62
|
+
} .typography__static-secondary-light_1m791 {
|
|
63
|
+
color: var(--color-static-text-secondary-light);
|
|
64
|
+
} .typography__static-tertiary-light_1m791 {
|
|
65
|
+
color: var(--color-static-text-tertiary-light);
|
|
66
|
+
} .typography__static-primary-dark_1m791 {
|
|
67
|
+
color: var(--color-static-text-primary-dark);
|
|
68
|
+
} .typography__static-secondary-dark_1m791 {
|
|
69
|
+
color: var(--color-static-text-secondary-dark);
|
|
70
|
+
} .typography__static-tertiary-dark_1m791 {
|
|
71
|
+
color: var(--color-static-text-tertiary-dark);
|
|
72
|
+
} .typography__static-accent_1m791 {
|
|
73
|
+
color: var(--color-static-text-accent);
|
|
53
74
|
}
|
package/esm/colors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative"];
|
|
1
|
+
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
2
|
type Color = typeof colors[number];
|
|
3
3
|
export { colors, Color };
|
package/esm/colors.js
CHANGED
|
@@ -11,6 +11,13 @@ var colors = [
|
|
|
11
11
|
'secondary-inverted',
|
|
12
12
|
'link',
|
|
13
13
|
'negative',
|
|
14
|
+
'static-primary-light',
|
|
15
|
+
'static-secondary-light',
|
|
16
|
+
'static-tertiary-light',
|
|
17
|
+
'static-primary-dark',
|
|
18
|
+
'static-secondary-dark',
|
|
19
|
+
'static-tertiary-dark',
|
|
20
|
+
'static-accent',
|
|
14
21
|
];
|
|
15
22
|
|
|
16
23
|
export { colors };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var colors = {"tertiary":"typography__tertiary_1m791","disabled":"typography__disabled_1m791","accent":"typography__accent_1m791","primary":"typography__primary_1m791","attention":"typography__attention_1m791","positive":"typography__positive_1m791","secondary":"typography__secondary_1m791","tertiary-inverted":"typography__tertiary-inverted_1m791","primary-inverted":"typography__primary-inverted_1m791","secondary-inverted":"typography__secondary-inverted_1m791","link":"typography__link_1m791","negative":"typography__negative_1m791","static-primary-light":"typography__static-primary-light_1m791","static-secondary-light":"typography__static-secondary-light_1m791","static-tertiary-light":"typography__static-tertiary-light_1m791","static-primary-dark":"typography__static-primary-dark_1m791","static-secondary-dark":"typography__static-secondary-dark_1m791","static-tertiary-dark":"typography__static-tertiary-dark_1m791","static-accent":"typography__static-accent_1m791"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
package/esm/component.js
CHANGED
|
@@ -5,9 +5,9 @@ import { TitleResponsive } from './title-responsive/component.js';
|
|
|
5
5
|
import 'tslib';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import './colors.module-
|
|
8
|
+
import './colors.module-308e84a9.js';
|
|
9
9
|
import './title/component.js';
|
|
10
|
-
import './common.module-
|
|
10
|
+
import './common.module-a19344da.js';
|
|
11
11
|
|
|
12
12
|
var Typography = {
|
|
13
13
|
Title: Title,
|
package/esm/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import './text/component.js';
|
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import './colors.module-
|
|
7
|
+
import './colors.module-308e84a9.js';
|
|
8
8
|
import './title/index.js';
|
|
9
9
|
import './title/component.js';
|
|
10
|
-
import './common.module-
|
|
10
|
+
import './common.module-a19344da.js';
|
|
11
11
|
import './title-mobile/component.js';
|
|
12
12
|
import './title-responsive/component.js';
|
package/esm/text/component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { c as colors } from '../colors.module-
|
|
4
|
+
import { c as colors } from '../colors.module-308e84a9.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"paragraph":"
|
|
6
|
+
var styles = {"paragraph":"typography__paragraph_vffdo","paragraphWithMargins":"typography__paragraphWithMargins_vffdo","primary-large":"typography__primary-large_vffdo","primary-medium":"typography__primary-medium_vffdo","primary-small":"typography__primary-small_vffdo","secondary-large":"typography__secondary-large_vffdo","secondary-medium":"typography__secondary-medium_vffdo","secondary-small":"typography__secondary-small_vffdo","component":"typography__component_vffdo","caps":"typography__caps_vffdo","bold":"typography__bold_vffdo","medium":"typography__medium_vffdo","regular":"typography__regular_vffdo","monospace":"typography__monospace_vffdo","rowLimit1":"typography__rowLimit1_vffdo","rowLimit2":"typography__rowLimit2_vffdo","rowLimit3":"typography__rowLimit3_vffdo"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var Text = forwardRef(function (_a, ref) {
|
package/esm/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1889g */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -17,67 +17,67 @@
|
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
19
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
20
|
-
} .
|
|
20
|
+
} .typography__paragraph_vffdo {
|
|
21
21
|
margin: 0;
|
|
22
22
|
padding: 0;
|
|
23
|
-
} .
|
|
23
|
+
} .typography__paragraphWithMargins_vffdo {
|
|
24
24
|
padding: 0;
|
|
25
25
|
margin: var(--text-paragraph-margin-bottom);
|
|
26
|
-
} .typography__primary-
|
|
26
|
+
} .typography__primary-large_vffdo {
|
|
27
27
|
font-size: 18px;
|
|
28
28
|
line-height: 24px;
|
|
29
29
|
font-weight: 400;
|
|
30
|
-
} .typography__primary-
|
|
30
|
+
} .typography__primary-medium_vffdo {
|
|
31
31
|
font-size: 16px;
|
|
32
32
|
line-height: 24px;
|
|
33
33
|
font-weight: 400;
|
|
34
|
-
} .typography__primary-
|
|
34
|
+
} .typography__primary-small_vffdo {
|
|
35
35
|
font-size: 14px;
|
|
36
36
|
line-height: 20px;
|
|
37
37
|
font-weight: 400;
|
|
38
|
-
} .typography__secondary-
|
|
38
|
+
} .typography__secondary-large_vffdo {
|
|
39
39
|
font-size: 13px;
|
|
40
40
|
line-height: 16px;
|
|
41
41
|
font-weight: 400;
|
|
42
|
-
} .typography__secondary-
|
|
42
|
+
} .typography__secondary-medium_vffdo {
|
|
43
43
|
font-size: 12px;
|
|
44
44
|
line-height: 16px;
|
|
45
45
|
font-weight: 400;
|
|
46
|
-
} .typography__secondary-
|
|
46
|
+
} .typography__secondary-small_vffdo {
|
|
47
47
|
font-size: 11px;
|
|
48
48
|
line-height: 16px;
|
|
49
49
|
font-weight: 400;
|
|
50
|
-
} .
|
|
50
|
+
} .typography__component_vffdo {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
|
-
} .
|
|
54
|
+
} .typography__caps_vffdo {
|
|
55
55
|
font-size: 12px;
|
|
56
56
|
line-height: 16px;
|
|
57
57
|
font-weight: 500;
|
|
58
58
|
letter-spacing: 1.25px;
|
|
59
59
|
text-transform: uppercase;
|
|
60
|
-
} .
|
|
60
|
+
} .typography__bold_vffdo {
|
|
61
61
|
font-weight: bold;
|
|
62
|
-
} .
|
|
62
|
+
} .typography__medium_vffdo {
|
|
63
63
|
font-weight: 500;
|
|
64
|
-
} .
|
|
64
|
+
} .typography__regular_vffdo {
|
|
65
65
|
font-weight: normal;
|
|
66
|
-
} .
|
|
66
|
+
} .typography__monospace_vffdo {
|
|
67
67
|
font-feature-settings: "tnum";
|
|
68
68
|
font-variant-numeric: tabular-nums;
|
|
69
|
-
} .
|
|
69
|
+
} .typography__rowLimit1_vffdo {
|
|
70
70
|
-webkit-line-clamp: 1;
|
|
71
71
|
display: -webkit-box;
|
|
72
72
|
-webkit-box-orient: vertical;
|
|
73
73
|
overflow: hidden;
|
|
74
74
|
word-break: break-all;
|
|
75
|
-
} .
|
|
75
|
+
} .typography__rowLimit2_vffdo {
|
|
76
76
|
-webkit-line-clamp: 2;
|
|
77
77
|
display: -webkit-box;
|
|
78
78
|
-webkit-box-orient: vertical;
|
|
79
79
|
overflow: hidden;
|
|
80
|
-
} .
|
|
80
|
+
} .typography__rowLimit3_vffdo {
|
|
81
81
|
-webkit-line-clamp: 3;
|
|
82
82
|
display: -webkit-box;
|
|
83
83
|
-webkit-box-orient: vertical;
|
package/esm/text/index.js
CHANGED
package/esm/title/common.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: 15rx7 */
|
|
2
|
+
.typography__component_a3ydv {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.typography__component_a3ydv.typography__bold_a3ydv {
|
|
7
7
|
font-weight: bold;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.typography__component_a3ydv.typography__medium_a3ydv {
|
|
10
10
|
font-weight: 500;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.typography__component_a3ydv.typography__regular_a3ydv {
|
|
13
13
|
font-weight: normal;
|
|
14
14
|
}
|
package/esm/title/component.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
|
|
|
63
63
|
/**
|
|
64
64
|
* Цвет текста
|
|
65
65
|
*/
|
|
66
|
-
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | undefined;
|
|
66
|
+
color?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Толщина шрифта
|
|
69
69
|
*/
|
package/esm/title/component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { c as colors } from '../colors.module-
|
|
4
|
+
import { c as colors } from '../colors.module-308e84a9.js';
|
|
5
5
|
|
|
6
6
|
var Title = forwardRef(function (_a, ref) {
|
|
7
7
|
var _b;
|
package/esm/title/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1261a */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -20,78 +20,78 @@
|
|
|
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
|
-
} .typography__styrene-
|
|
23
|
+
} .typography__styrene-xlarge_1ixkt {
|
|
24
24
|
font-size: 48px;
|
|
25
25
|
line-height: 64px;
|
|
26
26
|
font-weight: 500;
|
|
27
27
|
font-feature-settings: 'ss01';
|
|
28
28
|
font-family: var(--font-family-styrene);
|
|
29
|
-
} .typography__styrene-
|
|
29
|
+
} .typography__styrene-large_1ixkt {
|
|
30
30
|
font-size: 40px;
|
|
31
31
|
line-height: 48px;
|
|
32
32
|
font-weight: 500;
|
|
33
33
|
font-feature-settings: 'ss01';
|
|
34
34
|
font-family: var(--font-family-styrene);
|
|
35
|
-
} .typography__styrene-
|
|
35
|
+
} .typography__styrene-medium_1ixkt {
|
|
36
36
|
font-size: 32px;
|
|
37
37
|
line-height: 40px;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
font-feature-settings: 'ss01';
|
|
40
40
|
font-family: var(--font-family-styrene);
|
|
41
|
-
} .typography__styrene-
|
|
41
|
+
} .typography__styrene-small_1ixkt {
|
|
42
42
|
font-size: 24px;
|
|
43
43
|
line-height: 32px;
|
|
44
44
|
font-weight: 500;
|
|
45
45
|
font-feature-settings: 'ss01';
|
|
46
46
|
font-family: var(--font-family-styrene);
|
|
47
|
-
} .typography__styrene-
|
|
47
|
+
} .typography__styrene-xsmall_1ixkt {
|
|
48
48
|
font-size: 20px;
|
|
49
49
|
line-height: 24px;
|
|
50
50
|
font-weight: 500;
|
|
51
51
|
font-feature-settings: 'ss01';
|
|
52
52
|
font-family: var(--font-family-styrene);
|
|
53
|
-
} .typography__system-
|
|
53
|
+
} .typography__system-xlarge_1ixkt {
|
|
54
54
|
font-size: 48px;
|
|
55
55
|
line-height: 52px;
|
|
56
56
|
font-weight: 700;
|
|
57
|
-
} .typography__system-
|
|
57
|
+
} .typography__system-large_1ixkt {
|
|
58
58
|
font-size: 40px;
|
|
59
59
|
line-height: 48px;
|
|
60
60
|
font-weight: 700;
|
|
61
|
-
} .typography__system-
|
|
61
|
+
} .typography__system-medium_1ixkt {
|
|
62
62
|
font-size: 30px;
|
|
63
63
|
line-height: 36px;
|
|
64
64
|
font-weight: 700;
|
|
65
|
-
} .typography__system-
|
|
65
|
+
} .typography__system-small_1ixkt {
|
|
66
66
|
font-size: 22px;
|
|
67
67
|
line-height: 26px;
|
|
68
68
|
font-weight: 700;
|
|
69
|
-
} .typography__system-
|
|
69
|
+
} .typography__system-xsmall_1ixkt {
|
|
70
70
|
font-size: 18px;
|
|
71
71
|
line-height: 22px;
|
|
72
72
|
font-weight: 700;
|
|
73
|
-
} .typography__margins-
|
|
73
|
+
} .typography__margins-xlarge_1ixkt {
|
|
74
74
|
margin: 0 0 var(--gap-xl);
|
|
75
|
-
} .typography__margins-
|
|
75
|
+
} .typography__margins-large_1ixkt {
|
|
76
76
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
77
|
-
} .typography__margins-
|
|
77
|
+
} .typography__margins-medium_1ixkt {
|
|
78
78
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
79
|
-
} .typography__margins-
|
|
79
|
+
} .typography__margins-small_1ixkt {
|
|
80
80
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
81
|
-
} .typography__margins-
|
|
81
|
+
} .typography__margins-xsmall_1ixkt {
|
|
82
82
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
83
|
-
} .
|
|
83
|
+
} .typography__rowLimit1_1ixkt {
|
|
84
84
|
-webkit-line-clamp: 1;
|
|
85
85
|
display: -webkit-box;
|
|
86
86
|
-webkit-box-orient: vertical;
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
word-break: break-all;
|
|
89
|
-
} .
|
|
89
|
+
} .typography__rowLimit2_1ixkt {
|
|
90
90
|
-webkit-line-clamp: 2;
|
|
91
91
|
display: -webkit-box;
|
|
92
92
|
-webkit-box-orient: vertical;
|
|
93
93
|
overflow: hidden;
|
|
94
|
-
} .
|
|
94
|
+
} .typography__rowLimit3_1ixkt {
|
|
95
95
|
-webkit-line-clamp: 3;
|
|
96
96
|
display: -webkit-box;
|
|
97
97
|
-webkit-box-orient: vertical;
|
package/esm/title/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Title as Title$1 } from './component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-a19344da.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../colors.module-
|
|
6
|
+
import '../colors.module-308e84a9.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
8
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1ixkt","styrene-large":"typography__styrene-large_1ixkt","styrene-medium":"typography__styrene-medium_1ixkt","styrene-small":"typography__styrene-small_1ixkt","styrene-xsmall":"typography__styrene-xsmall_1ixkt","system-xlarge":"typography__system-xlarge_1ixkt","system-large":"typography__system-large_1ixkt","system-medium":"typography__system-medium_1ixkt","system-small":"typography__system-small_1ixkt","system-xsmall":"typography__system-xsmall_1ixkt","margins-xlarge":"typography__margins-xlarge_1ixkt","margins-large":"typography__margins-large_1ixkt","margins-medium":"typography__margins-medium_1ixkt","margins-small":"typography__margins-small_1ixkt","margins-xsmall":"typography__margins-xsmall_1ixkt","rowLimit1":"typography__rowLimit1_1ixkt","rowLimit2":"typography__rowLimit2_1ixkt","rowLimit3":"typography__rowLimit3_1ixkt"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Title = function (props) { return (
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
4
|
+
import { c as commonStyles } from '../common.module-a19344da.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../colors.module-
|
|
6
|
+
import '../colors.module-308e84a9.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
8
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_brqjo","styrene-large":"typography__styrene-large_brqjo","styrene-medium":"typography__styrene-medium_brqjo","styrene-small":"typography__styrene-small_brqjo","styrene-xsmall":"typography__styrene-xsmall_brqjo","system-xlarge":"typography__system-xlarge_brqjo","system-large":"typography__system-large_brqjo","system-medium":"typography__system-medium_brqjo","system-small":"typography__system-small_brqjo","system-xsmall":"typography__system-xsmall_brqjo"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var TitleMobile = function (props) { return (
|