@alfalab/core-components-typography 4.11.3 → 4.12.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 +26 -20
- package/colors.d.ts +2 -2
- package/colors.js +1 -0
- package/colors.module-6189535f.js +6 -0
- package/common.module-20520650.js +6 -0
- package/cssm/colors.d.ts +2 -2
- package/cssm/colors.js +1 -0
- package/cssm/colors.module.css +6 -0
- package/cssm/hooks/use-skeleton.module.css +4 -1
- package/cssm/text/index.module.css +4 -1
- package/cssm/title/common.module.css +4 -1
- package/cssm/title/component.d.ts +2 -2
- package/cssm/title/index.d.ts +2 -2
- package/cssm/title/index.module.css +4 -1
- package/cssm/title-mobile/component.d.ts +2 -2
- package/cssm/title-mobile/index.module.css +4 -1
- package/cssm/title-responsive/component.d.ts +2 -2
- package/esm/colors.css +26 -20
- package/esm/colors.d.ts +2 -2
- package/esm/colors.js +1 -0
- package/esm/colors.module-113b9747.js +4 -0
- package/esm/common.module-aa1a707c.js +4 -0
- package/esm/hooks/use-skeleton.css +9 -6
- package/esm/hooks/use-skeleton.js +1 -1
- package/esm/text/component.js +2 -2
- package/esm/text/index.css +26 -23
- package/esm/title/common.css +13 -10
- package/esm/title/component.d.ts +2 -2
- package/esm/title/component.js +1 -1
- package/esm/title/index.css +21 -18
- package/esm/title/index.d.ts +2 -2
- package/esm/title/index.js +2 -2
- package/esm/title-mobile/component.d.ts +2 -2
- package/esm/title-mobile/component.js +2 -2
- package/esm/title-mobile/index.css +20 -17
- package/esm/title-responsive/component.d.ts +2 -2
- package/hooks/use-skeleton.css +9 -6
- package/hooks/use-skeleton.js +1 -1
- package/modern/colors.css +26 -20
- package/modern/colors.d.ts +2 -2
- package/modern/colors.js +1 -0
- package/modern/colors.module-3d083211.js +4 -0
- package/modern/common.module-7f5f9b66.js +4 -0
- package/modern/hooks/use-skeleton.css +9 -6
- package/modern/hooks/use-skeleton.js +1 -1
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +26 -23
- package/modern/title/common.css +13 -10
- package/modern/title/component.d.ts +2 -2
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +21 -18
- package/modern/title/index.d.ts +2 -2
- package/modern/title/index.js +2 -2
- package/modern/title-mobile/component.d.ts +2 -2
- package/modern/title-mobile/component.js +2 -2
- package/modern/title-mobile/index.css +20 -17
- package/modern/title-responsive/component.d.ts +2 -2
- package/moderncssm/colors.d.ts +2 -2
- package/moderncssm/colors.js +1 -0
- package/moderncssm/colors.module.css +4 -0
- package/moderncssm/title/component.d.ts +2 -2
- package/moderncssm/title/index.d.ts +2 -2
- package/moderncssm/title-mobile/component.d.ts +2 -2
- package/moderncssm/title-responsive/component.d.ts +2 -2
- package/package.json +4 -4
- package/src/colors.module.css +4 -0
- package/src/colors.ts +2 -1
- package/text/component.js +2 -2
- package/text/index.css +26 -23
- package/title/common.css +13 -10
- package/title/component.d.ts +2 -2
- package/title/component.js +1 -1
- package/title/index.css +21 -18
- package/title/index.d.ts +2 -2
- package/title/index.js +2 -2
- package/title-mobile/component.d.ts +2 -2
- package/title-mobile/component.js +2 -2
- package/title-mobile/index.css +20 -17
- package/title-responsive/component.d.ts +2 -2
- package/colors.module-3df2d54c.js +0 -6
- package/common.module-4ea0799e.js +0 -6
- package/esm/colors.module-b0c10a10.js +0 -4
- package/esm/common.module-39525dd6.js +0 -4
- package/modern/colors.module-3bd9fc46.js +0 -4
- package/modern/common.module-4f82a2ea.js +0 -4
package/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nh38z */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-accent-primary: #ef3124;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--color-light-text-tertiary: rgba(5, 8, 29, 0.38);
|
|
15
15
|
--color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
|
|
16
16
|
--color-static-accent-primary: #ef3124;
|
|
17
|
+
--color-static-text-positive: #0d9336;
|
|
17
18
|
--color-static-text-primary-dark: #0e0e0e;
|
|
18
19
|
--color-static-text-primary-light: #fff;
|
|
19
20
|
--color-static-text-secondary-dark: rgba(4, 4, 19, 0.55);
|
|
@@ -35,44 +36,49 @@
|
|
|
35
36
|
} :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 */
|
|
36
37
|
|
|
37
38
|
/* новые значения, используйте их */
|
|
39
|
+
|
|
40
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
41
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
38
42
|
} :root {
|
|
39
43
|
} :root {
|
|
40
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .
|
|
44
|
+
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .typography__tertiary_1t7rv {
|
|
41
45
|
color: var(--color-light-text-tertiary);
|
|
42
|
-
} .
|
|
46
|
+
} .typography__disabled_1t7rv {
|
|
43
47
|
color: var(--color-light-text-quaternary);
|
|
44
|
-
} .
|
|
48
|
+
} .typography__accent_1t7rv {
|
|
45
49
|
color: var(--color-light-accent-primary);
|
|
46
|
-
} .
|
|
50
|
+
} .typography__primary_1t7rv {
|
|
47
51
|
color: var(--color-light-text-primary);
|
|
48
|
-
} .
|
|
52
|
+
} .typography__attention_1t7rv {
|
|
49
53
|
color: var(--color-light-text-attention);
|
|
50
|
-
} .
|
|
54
|
+
} .typography__positive_1t7rv {
|
|
51
55
|
color: var(--color-light-text-positive);
|
|
52
|
-
} .
|
|
56
|
+
} .typography__secondary_1t7rv {
|
|
53
57
|
color: var(--color-light-text-secondary);
|
|
54
|
-
} .typography__tertiary-
|
|
58
|
+
} .typography__tertiary-inverted_1t7rv {
|
|
55
59
|
color: var(--color-light-text-tertiary-inverted);
|
|
56
|
-
} .typography__primary-
|
|
60
|
+
} .typography__primary-inverted_1t7rv {
|
|
57
61
|
color: var(--color-light-text-primary-inverted);
|
|
58
|
-
} .typography__secondary-
|
|
62
|
+
} .typography__secondary-inverted_1t7rv {
|
|
59
63
|
color: var(--color-light-text-secondary-inverted);
|
|
60
|
-
} .
|
|
64
|
+
} .typography__link_1t7rv {
|
|
61
65
|
color: var(--color-light-text-info);
|
|
62
|
-
} .
|
|
66
|
+
} .typography__negative_1t7rv {
|
|
63
67
|
color: var(--color-light-text-negative);
|
|
64
|
-
} .typography__static-primary-
|
|
68
|
+
} .typography__static-primary-light_1t7rv {
|
|
65
69
|
color: var(--color-static-text-primary-light);
|
|
66
|
-
} .typography__static-secondary-
|
|
70
|
+
} .typography__static-secondary-light_1t7rv {
|
|
67
71
|
color: var(--color-static-text-secondary-light);
|
|
68
|
-
} .typography__static-tertiary-
|
|
72
|
+
} .typography__static-tertiary-light_1t7rv {
|
|
69
73
|
color: var(--color-static-text-tertiary-light);
|
|
70
|
-
} .typography__static-primary-
|
|
74
|
+
} .typography__static-primary-dark_1t7rv {
|
|
71
75
|
color: var(--color-static-text-primary-dark);
|
|
72
|
-
} .typography__static-secondary-
|
|
76
|
+
} .typography__static-secondary-dark_1t7rv {
|
|
73
77
|
color: var(--color-static-text-secondary-dark);
|
|
74
|
-
} .typography__static-tertiary-
|
|
78
|
+
} .typography__static-tertiary-dark_1t7rv {
|
|
75
79
|
color: var(--color-static-text-tertiary-dark);
|
|
76
|
-
} .typography__static-
|
|
80
|
+
} .typography__static-accent_1t7rv {
|
|
77
81
|
color: var(--color-static-accent-primary);
|
|
82
|
+
} .typography__static-positive_1t7rv {
|
|
83
|
+
color: var(--color-static-text-positive);
|
|
78
84
|
}
|
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", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
|
-
type Color = typeof colors[number];
|
|
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", "static-positive"];
|
|
2
|
+
type Color = (typeof colors)[number];
|
|
3
3
|
export { colors, Color };
|
package/colors.js
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var colors = {"tertiary":"typography__tertiary_1t7rv","disabled":"typography__disabled_1t7rv","accent":"typography__accent_1t7rv","primary":"typography__primary_1t7rv","attention":"typography__attention_1t7rv","positive":"typography__positive_1t7rv","secondary":"typography__secondary_1t7rv","tertiary-inverted":"typography__tertiary-inverted_1t7rv","primary-inverted":"typography__primary-inverted_1t7rv","secondary-inverted":"typography__secondary-inverted_1t7rv","link":"typography__link_1t7rv","negative":"typography__negative_1t7rv","static-primary-light":"typography__static-primary-light_1t7rv","static-secondary-light":"typography__static-secondary-light_1t7rv","static-tertiary-light":"typography__static-tertiary-light_1t7rv","static-primary-dark":"typography__static-primary-dark_1t7rv","static-secondary-dark":"typography__static-secondary-dark_1t7rv","static-tertiary-dark":"typography__static-tertiary-dark_1t7rv","static-accent":"typography__static-accent_1t7rv","static-positive":"typography__static-positive_1t7rv"};
|
|
4
|
+
require('./colors.css')
|
|
5
|
+
|
|
6
|
+
exports.colors = colors;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"typography__component_lxn9e","bold":"typography__bold_lxn9e","semibold":"typography__semibold_lxn9e","medium":"typography__medium_lxn9e","regular":"typography__regular_lxn9e","rowLimit1":"typography__rowLimit1_lxn9e","rowLimit2":"typography__rowLimit2_lxn9e","rowLimit3":"typography__rowLimit3_lxn9e"};
|
|
4
|
+
require('./title/common.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
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", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
|
-
type Color = typeof colors[number];
|
|
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", "static-positive"];
|
|
2
|
+
type Color = (typeof colors)[number];
|
|
3
3
|
export { colors, Color };
|
package/cssm/colors.js
CHANGED
package/cssm/colors.module.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--color-light-text-tertiary: rgba(5, 8, 29, 0.38);
|
|
14
14
|
--color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
|
|
15
15
|
--color-static-accent-primary: #ef3124;
|
|
16
|
+
--color-static-text-positive: #0d9336;
|
|
16
17
|
--color-static-text-primary-dark: #0e0e0e;
|
|
17
18
|
--color-static-text-primary-light: #fff;
|
|
18
19
|
--color-static-text-secondary-dark: rgba(4, 4, 19, 0.55);
|
|
@@ -34,6 +35,9 @@
|
|
|
34
35
|
} :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 */
|
|
35
36
|
|
|
36
37
|
/* новые значения, используйте их */
|
|
38
|
+
|
|
39
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
40
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
37
41
|
} :root {
|
|
38
42
|
} :root {
|
|
39
43
|
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .tertiary {
|
|
@@ -74,4 +78,6 @@
|
|
|
74
78
|
color: var(--color-static-text-tertiary-dark);
|
|
75
79
|
} .static-accent {
|
|
76
80
|
color: var(--color-static-accent-primary);
|
|
81
|
+
} .static-positive {
|
|
82
|
+
color: var(--color-static-text-positive);
|
|
77
83
|
}
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
} :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
17
|
|
|
18
18
|
/* новые значения, используйте их */
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
21
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
22
|
+
--gap-0: 0px;
|
|
20
23
|
} :root {
|
|
21
24
|
} :root {
|
|
22
25
|
} /* сбрасывает синюю подсветку при нажатии */ .skeletonText.skeletonText {
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
--gap-s: 12px; /* 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
17
|
|
|
18
18
|
/* новые значения, используйте их */
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
21
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
22
|
+
--gap-0: 0px;
|
|
20
23
|
--gap-12: var(--gap-s);
|
|
21
24
|
} :root {
|
|
22
25
|
} :root {
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
} :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
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
|
+
--gap-0: 0px;
|
|
19
22
|
} :root {
|
|
20
23
|
} :root {
|
|
21
24
|
} /* сбрасывает синюю подсветку при нажатии */ .component {
|
|
@@ -77,7 +77,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
77
77
|
/**
|
|
78
78
|
* Цвет текста
|
|
79
79
|
*/
|
|
80
|
-
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;
|
|
80
|
+
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" | "static-positive" | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Толщина шрифта
|
|
83
83
|
*/
|
|
@@ -105,7 +105,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
105
105
|
/**
|
|
106
106
|
* Количество строк
|
|
107
107
|
*/
|
|
108
|
-
rowLimit?:
|
|
108
|
+
rowLimit?: 2 | 1 | 3 | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* Показать скелетон
|
|
111
111
|
*/
|
package/cssm/title/index.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ import { TitleProps } from "./component";
|
|
|
4
4
|
declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
5
5
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
|
|
7
|
-
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;
|
|
7
|
+
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" | "static-positive" | undefined;
|
|
8
8
|
weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
|
|
9
9
|
font?: "styrene" | "system" | undefined;
|
|
10
10
|
defaultMargins?: boolean | undefined;
|
|
11
11
|
className?: string | undefined;
|
|
12
12
|
dataTestId?: string | undefined;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
|
-
rowLimit?:
|
|
14
|
+
rowLimit?: 2 | 1 | 3 | undefined;
|
|
15
15
|
showSkeleton?: boolean | undefined;
|
|
16
16
|
skeletonProps?: import("../types").TextSkeletonProps | undefined;
|
|
17
17
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
--gap-4xl: 48px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
20
|
|
|
21
21
|
/* новые значения, используйте их */
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
|
+
--gap-0: 0px;
|
|
23
26
|
--gap-16: var(--gap-m);
|
|
24
27
|
--gap-24: var(--gap-xl);
|
|
25
28
|
--gap-40: var(--gap-3xl);
|
|
@@ -3,14 +3,14 @@ import React from 'react';
|
|
|
3
3
|
declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
4
4
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5
5
|
view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
|
|
6
|
-
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;
|
|
6
|
+
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" | "static-positive" | undefined;
|
|
7
7
|
weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
|
|
8
8
|
font?: "styrene" | "system" | undefined;
|
|
9
9
|
defaultMargins?: boolean | undefined;
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
dataTestId?: string | undefined;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
|
-
rowLimit?:
|
|
13
|
+
rowLimit?: 2 | 1 | 3 | undefined;
|
|
14
14
|
showSkeleton?: boolean | undefined;
|
|
15
15
|
skeletonProps?: import("../types").TextSkeletonProps | undefined;
|
|
16
16
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
--gap-3xl: 40px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
19
19
|
|
|
20
20
|
/* новые значения, используйте их */
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
23
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
24
|
+
--gap-0: 0px;
|
|
22
25
|
--gap-16: var(--gap-m);
|
|
23
26
|
--gap-24: var(--gap-xl);
|
|
24
27
|
--gap-40: var(--gap-3xl);
|
|
@@ -15,14 +15,14 @@ type TitleResponsiveProps = TitleProps & {
|
|
|
15
15
|
declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
16
16
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
17
17
|
view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
|
|
18
|
-
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;
|
|
18
|
+
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" | "static-positive" | undefined;
|
|
19
19
|
weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
|
|
20
20
|
font?: "styrene" | "system" | undefined;
|
|
21
21
|
defaultMargins?: boolean | undefined;
|
|
22
22
|
className?: string | undefined;
|
|
23
23
|
dataTestId?: string | undefined;
|
|
24
24
|
children?: React.ReactNode;
|
|
25
|
-
rowLimit?:
|
|
25
|
+
rowLimit?: 2 | 1 | 3 | undefined;
|
|
26
26
|
showSkeleton?: boolean | undefined;
|
|
27
27
|
skeletonProps?: import("../types").TextSkeletonProps | undefined;
|
|
28
28
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
package/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nh38z */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-accent-primary: #ef3124;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--color-light-text-tertiary: rgba(5, 8, 29, 0.38);
|
|
15
15
|
--color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
|
|
16
16
|
--color-static-accent-primary: #ef3124;
|
|
17
|
+
--color-static-text-positive: #0d9336;
|
|
17
18
|
--color-static-text-primary-dark: #0e0e0e;
|
|
18
19
|
--color-static-text-primary-light: #fff;
|
|
19
20
|
--color-static-text-secondary-dark: rgba(4, 4, 19, 0.55);
|
|
@@ -35,44 +36,49 @@
|
|
|
35
36
|
} :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 */
|
|
36
37
|
|
|
37
38
|
/* новые значения, используйте их */
|
|
39
|
+
|
|
40
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
41
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
38
42
|
} :root {
|
|
39
43
|
} :root {
|
|
40
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .
|
|
44
|
+
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .typography__tertiary_1t7rv {
|
|
41
45
|
color: var(--color-light-text-tertiary);
|
|
42
|
-
} .
|
|
46
|
+
} .typography__disabled_1t7rv {
|
|
43
47
|
color: var(--color-light-text-quaternary);
|
|
44
|
-
} .
|
|
48
|
+
} .typography__accent_1t7rv {
|
|
45
49
|
color: var(--color-light-accent-primary);
|
|
46
|
-
} .
|
|
50
|
+
} .typography__primary_1t7rv {
|
|
47
51
|
color: var(--color-light-text-primary);
|
|
48
|
-
} .
|
|
52
|
+
} .typography__attention_1t7rv {
|
|
49
53
|
color: var(--color-light-text-attention);
|
|
50
|
-
} .
|
|
54
|
+
} .typography__positive_1t7rv {
|
|
51
55
|
color: var(--color-light-text-positive);
|
|
52
|
-
} .
|
|
56
|
+
} .typography__secondary_1t7rv {
|
|
53
57
|
color: var(--color-light-text-secondary);
|
|
54
|
-
} .typography__tertiary-
|
|
58
|
+
} .typography__tertiary-inverted_1t7rv {
|
|
55
59
|
color: var(--color-light-text-tertiary-inverted);
|
|
56
|
-
} .typography__primary-
|
|
60
|
+
} .typography__primary-inverted_1t7rv {
|
|
57
61
|
color: var(--color-light-text-primary-inverted);
|
|
58
|
-
} .typography__secondary-
|
|
62
|
+
} .typography__secondary-inverted_1t7rv {
|
|
59
63
|
color: var(--color-light-text-secondary-inverted);
|
|
60
|
-
} .
|
|
64
|
+
} .typography__link_1t7rv {
|
|
61
65
|
color: var(--color-light-text-info);
|
|
62
|
-
} .
|
|
66
|
+
} .typography__negative_1t7rv {
|
|
63
67
|
color: var(--color-light-text-negative);
|
|
64
|
-
} .typography__static-primary-
|
|
68
|
+
} .typography__static-primary-light_1t7rv {
|
|
65
69
|
color: var(--color-static-text-primary-light);
|
|
66
|
-
} .typography__static-secondary-
|
|
70
|
+
} .typography__static-secondary-light_1t7rv {
|
|
67
71
|
color: var(--color-static-text-secondary-light);
|
|
68
|
-
} .typography__static-tertiary-
|
|
72
|
+
} .typography__static-tertiary-light_1t7rv {
|
|
69
73
|
color: var(--color-static-text-tertiary-light);
|
|
70
|
-
} .typography__static-primary-
|
|
74
|
+
} .typography__static-primary-dark_1t7rv {
|
|
71
75
|
color: var(--color-static-text-primary-dark);
|
|
72
|
-
} .typography__static-secondary-
|
|
76
|
+
} .typography__static-secondary-dark_1t7rv {
|
|
73
77
|
color: var(--color-static-text-secondary-dark);
|
|
74
|
-
} .typography__static-tertiary-
|
|
78
|
+
} .typography__static-tertiary-dark_1t7rv {
|
|
75
79
|
color: var(--color-static-text-tertiary-dark);
|
|
76
|
-
} .typography__static-
|
|
80
|
+
} .typography__static-accent_1t7rv {
|
|
77
81
|
color: var(--color-static-accent-primary);
|
|
82
|
+
} .typography__static-positive_1t7rv {
|
|
83
|
+
color: var(--color-static-text-positive);
|
|
78
84
|
}
|
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", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent"];
|
|
2
|
-
type Color = typeof colors[number];
|
|
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", "static-positive"];
|
|
2
|
+
type Color = (typeof colors)[number];
|
|
3
3
|
export { colors, Color };
|
package/esm/colors.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var colors = {"tertiary":"typography__tertiary_1t7rv","disabled":"typography__disabled_1t7rv","accent":"typography__accent_1t7rv","primary":"typography__primary_1t7rv","attention":"typography__attention_1t7rv","positive":"typography__positive_1t7rv","secondary":"typography__secondary_1t7rv","tertiary-inverted":"typography__tertiary-inverted_1t7rv","primary-inverted":"typography__primary-inverted_1t7rv","secondary-inverted":"typography__secondary-inverted_1t7rv","link":"typography__link_1t7rv","negative":"typography__negative_1t7rv","static-primary-light":"typography__static-primary-light_1t7rv","static-secondary-light":"typography__static-secondary-light_1t7rv","static-tertiary-light":"typography__static-tertiary-light_1t7rv","static-primary-dark":"typography__static-primary-dark_1t7rv","static-secondary-dark":"typography__static-secondary-dark_1t7rv","static-tertiary-dark":"typography__static-tertiary-dark_1t7rv","static-accent":"typography__static-accent_1t7rv","static-positive":"typography__static-positive_1t7rv"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"typography__component_lxn9e","bold":"typography__bold_lxn9e","semibold":"typography__semibold_lxn9e","medium":"typography__medium_lxn9e","regular":"typography__regular_lxn9e","rowLimit1":"typography__rowLimit1_lxn9e","rowLimit2":"typography__rowLimit2_lxn9e","rowLimit3":"typography__rowLimit3_lxn9e"};
|
|
2
|
+
require('./title/common.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 570a2 */
|
|
2
2
|
: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 */ /* 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 */
|
|
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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -17,15 +17,18 @@
|
|
|
17
17
|
} :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 */
|
|
18
18
|
|
|
19
19
|
/* новые значения, используйте их */
|
|
20
|
-
|
|
20
|
+
|
|
21
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
22
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
23
|
+
--gap-0: 0px;
|
|
21
24
|
} :root {
|
|
22
25
|
} :root {
|
|
23
|
-
} /* сбрасывает синюю подсветку при нажатии */ .
|
|
26
|
+
} /* сбрасывает синюю подсветку при нажатии */ .typography__skeletonText_1mdvr.typography__skeletonText_1mdvr {
|
|
24
27
|
border-radius: var(--border-radius-pill);
|
|
25
|
-
} .
|
|
28
|
+
} .typography__left_1mdvr > div {
|
|
26
29
|
margin-right: auto;
|
|
27
|
-
} .
|
|
30
|
+
} .typography__center_1mdvr > div {
|
|
28
31
|
margin: var(--gap-0) auto;
|
|
29
|
-
} .
|
|
32
|
+
} .typography__right_1mdvr > div {
|
|
30
33
|
margin-left: auto;
|
|
31
34
|
}
|
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { Skeleton } from '@alfalab/core-components-skeleton/esm';
|
|
5
5
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
6
6
|
|
|
7
|
-
var styles = {"skeletonText":"
|
|
7
|
+
var styles = {"skeletonText":"typography__skeletonText_1mdvr","left":"typography__left_1mdvr","center":"typography__center_1mdvr","right":"typography__right_1mdvr"};
|
|
8
8
|
require('./use-skeleton.css')
|
|
9
9
|
|
|
10
10
|
function useSkeleton(showSkeleton, skeletonProps) {
|
package/esm/text/component.js
CHANGED
|
@@ -3,9 +3,9 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-113b9747.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"transparent":"
|
|
8
|
+
var styles = {"transparent":"typography__transparent_pggce","paragraph":"typography__paragraph_pggce","paragraphWithMargins":"typography__paragraphWithMargins_pggce","primary-large":"typography__primary-large_pggce","primary-medium":"typography__primary-medium_pggce","primary-small":"typography__primary-small_pggce","secondary-large":"typography__secondary-large_pggce","secondary-medium":"typography__secondary-medium_pggce","secondary-small":"typography__secondary-small_pggce","component":"typography__component_pggce","component-primary":"typography__component-primary_pggce","component-secondary":"typography__component-secondary_pggce","caps":"typography__caps_pggce","tagline":"typography__tagline_pggce","bold":"typography__bold_pggce","medium":"typography__medium_pggce","regular":"typography__regular_pggce","monospace":"typography__monospace_pggce","rowLimit1":"typography__rowLimit1_pggce","rowLimit2":"typography__rowLimit2_pggce","rowLimit3":"typography__rowLimit3_pggce"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var logWarning = function (view) {
|