@alfalab/core-components-typography 4.13.1 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors.css +21 -21
- package/colors.module-92628c1e.js +6 -0
- package/common.module-f23bf51b.js +6 -0
- package/cssm/text/component.d.ts +2 -1
- package/cssm/text/component.js +2 -2
- package/cssm/title/component.d.ts +1 -1
- package/cssm/title/component.js +2 -2
- package/cssm/title/index.d.ts +1 -1
- package/cssm/title/index.js +1 -3
- package/cssm/title-mobile/component.d.ts +1 -1
- package/cssm/title-mobile/component.js +1 -3
- package/cssm/title-responsive/component.d.ts +1 -1
- package/cssm/types.d.ts +1 -20
- package/esm/colors.css +21 -21
- package/esm/colors.module-288097a5.js +4 -0
- package/esm/common.module-9f1226eb.js +4 -0
- package/esm/text/alfasans-index.css +30 -30
- package/esm/text/component.d.ts +2 -1
- package/esm/text/component.js +4 -4
- package/esm/text/index.css +22 -22
- package/esm/title/alfasans-index.css +11 -11
- package/esm/title/common.css +9 -9
- package/esm/title/component.d.ts +1 -1
- package/esm/title/component.js +2 -2
- package/esm/title/index.css +17 -17
- package/esm/title/index.d.ts +1 -1
- package/esm/title/index.js +4 -6
- package/esm/title-mobile/alfasans-index.css +11 -11
- package/esm/title-mobile/component.d.ts +1 -1
- package/esm/title-mobile/component.js +4 -6
- package/esm/title-mobile/index.css +16 -16
- package/esm/title-responsive/component.d.ts +1 -1
- package/esm/types.d.ts +1 -20
- package/modern/colors.css +21 -21
- package/modern/colors.module-cf603b26.js +4 -0
- package/modern/common.module-c95cc29e.js +4 -0
- package/modern/text/alfasans-index.css +30 -30
- package/modern/text/component.d.ts +2 -1
- package/modern/text/component.js +4 -4
- package/modern/text/index.css +22 -22
- package/modern/title/alfasans-index.css +11 -11
- package/modern/title/common.css +9 -9
- package/modern/title/component.d.ts +1 -1
- package/modern/title/component.js +2 -2
- package/modern/title/index.css +17 -17
- package/modern/title/index.d.ts +1 -1
- package/modern/title/index.js +4 -6
- package/modern/title-mobile/alfasans-index.css +11 -11
- package/modern/title-mobile/component.d.ts +1 -1
- package/modern/title-mobile/component.js +4 -6
- package/modern/title-mobile/index.css +16 -16
- package/modern/title-responsive/component.d.ts +1 -1
- package/modern/types.d.ts +1 -20
- package/moderncssm/text/alfasans-index.module.css +16 -0
- package/moderncssm/text/component.d.ts +2 -1
- package/moderncssm/text/component.js +1 -1
- package/moderncssm/title/alfasans-index.module.css +0 -10
- package/moderncssm/title/component.d.ts +1 -1
- package/moderncssm/title/component.js +1 -1
- package/moderncssm/title/index.d.ts +1 -1
- package/moderncssm/title/index.js +1 -3
- package/moderncssm/title-mobile/component.d.ts +1 -1
- package/moderncssm/title-mobile/component.js +1 -3
- package/moderncssm/title-responsive/component.d.ts +1 -1
- package/moderncssm/types.d.ts +1 -20
- package/package.json +2 -2
- package/src/text/component.tsx +3 -2
- package/src/title/component.tsx +1 -2
- package/src/title/index.tsx +1 -1
- package/src/title-mobile/component.tsx +1 -1
- package/src/types.ts +0 -24
- package/text/alfasans-index.css +30 -30
- package/text/component.d.ts +2 -1
- package/text/component.js +5 -5
- package/text/index.css +22 -22
- package/title/alfasans-index.css +11 -11
- package/title/common.css +9 -9
- package/title/component.d.ts +2 -2
- package/title/component.js +3 -3
- package/title/index.css +17 -17
- package/title/index.d.ts +2 -2
- package/title/index.js +4 -6
- package/title-mobile/alfasans-index.css +11 -11
- package/title-mobile/component.d.ts +2 -2
- package/title-mobile/component.js +4 -6
- package/title-mobile/index.css +16 -16
- package/title-responsive/component.d.ts +2 -2
- package/types.d.ts +1 -20
- package/colors.module-94b64d8e.js +0 -6
- package/common.module-38b50dd1.js +0 -6
- package/cssm/hooks/index.d.ts +0 -1
- package/cssm/hooks/index.js +0 -9
- package/cssm/hooks/use-skeleton.d.ts +0 -12
- package/cssm/hooks/use-skeleton.js +0 -61
- package/cssm/hooks/use-skeleton.module.css +0 -33
- package/esm/colors.module-5fa27b46.js +0 -4
- package/esm/common.module-7645bb09.js +0 -4
- package/esm/hooks/index.d.ts +0 -1
- package/esm/hooks/index.js +0 -1
- package/esm/hooks/use-skeleton.css +0 -34
- package/esm/hooks/use-skeleton.d.ts +0 -12
- package/esm/hooks/use-skeleton.js +0 -53
- package/hooks/index.d.ts +0 -1
- package/hooks/index.js +0 -9
- package/hooks/use-skeleton.css +0 -34
- package/hooks/use-skeleton.d.ts +0 -12
- package/hooks/use-skeleton.js +0 -62
- package/modern/colors.module-3cedc3fb.js +0 -4
- package/modern/common.module-d04ff6fc.js +0 -4
- package/modern/hooks/index.d.ts +0 -1
- package/modern/hooks/index.js +0 -1
- package/modern/hooks/use-skeleton.css +0 -34
- package/modern/hooks/use-skeleton.d.ts +0 -12
- package/modern/hooks/use-skeleton.js +0 -52
- package/moderncssm/hooks/index.d.ts +0 -1
- package/moderncssm/hooks/index.js +0 -1
- package/moderncssm/hooks/use-skeleton.d.ts +0 -12
- package/moderncssm/hooks/use-skeleton.js +0 -50
- package/moderncssm/hooks/use-skeleton.module.css +0 -17
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-skeleton.module.css +0 -17
- package/src/hooks/use-skeleton.tsx +0 -86
package/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jodf9 */
|
|
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;
|
|
@@ -41,44 +41,44 @@
|
|
|
41
41
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
42
42
|
} :root {
|
|
43
43
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
44
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .
|
|
44
|
+
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .typography__tertiary_1fxsd {
|
|
45
45
|
color: var(--color-light-text-tertiary);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__disabled_1fxsd {
|
|
47
47
|
color: var(--color-light-text-quaternary);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__accent_1fxsd {
|
|
49
49
|
color: var(--color-light-accent-primary);
|
|
50
|
-
} .
|
|
50
|
+
} .typography__primary_1fxsd {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
|
-
} .
|
|
52
|
+
} .typography__attention_1fxsd {
|
|
53
53
|
color: var(--color-light-text-attention);
|
|
54
|
-
} .
|
|
54
|
+
} .typography__positive_1fxsd {
|
|
55
55
|
color: var(--color-light-text-positive);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__secondary_1fxsd {
|
|
57
57
|
color: var(--color-light-text-secondary);
|
|
58
|
-
} .typography__tertiary-
|
|
58
|
+
} .typography__tertiary-inverted_1fxsd {
|
|
59
59
|
color: var(--color-light-text-tertiary-inverted);
|
|
60
|
-
} .typography__primary-
|
|
60
|
+
} .typography__primary-inverted_1fxsd {
|
|
61
61
|
color: var(--color-light-text-primary-inverted);
|
|
62
|
-
} .typography__secondary-
|
|
62
|
+
} .typography__secondary-inverted_1fxsd {
|
|
63
63
|
color: var(--color-light-text-secondary-inverted);
|
|
64
|
-
} .
|
|
64
|
+
} .typography__link_1fxsd {
|
|
65
65
|
color: var(--color-light-text-info);
|
|
66
|
-
} .
|
|
66
|
+
} .typography__negative_1fxsd {
|
|
67
67
|
color: var(--color-light-text-negative);
|
|
68
|
-
} .typography__static-primary-
|
|
68
|
+
} .typography__static-primary-light_1fxsd {
|
|
69
69
|
color: var(--color-static-text-primary-light);
|
|
70
|
-
} .typography__static-secondary-
|
|
70
|
+
} .typography__static-secondary-light_1fxsd {
|
|
71
71
|
color: var(--color-static-text-secondary-light);
|
|
72
|
-
} .typography__static-tertiary-
|
|
72
|
+
} .typography__static-tertiary-light_1fxsd {
|
|
73
73
|
color: var(--color-static-text-tertiary-light);
|
|
74
|
-
} .typography__static-primary-
|
|
74
|
+
} .typography__static-primary-dark_1fxsd {
|
|
75
75
|
color: var(--color-static-text-primary-dark);
|
|
76
|
-
} .typography__static-secondary-
|
|
76
|
+
} .typography__static-secondary-dark_1fxsd {
|
|
77
77
|
color: var(--color-static-text-secondary-dark);
|
|
78
|
-
} .typography__static-tertiary-
|
|
78
|
+
} .typography__static-tertiary-dark_1fxsd {
|
|
79
79
|
color: var(--color-static-text-tertiary-dark);
|
|
80
|
-
} .typography__static-
|
|
80
|
+
} .typography__static-accent_1fxsd {
|
|
81
81
|
color: var(--color-static-accent-primary);
|
|
82
|
-
} .typography__static-
|
|
82
|
+
} .typography__static-positive_1fxsd {
|
|
83
83
|
color: var(--color-static-text-positive);
|
|
84
84
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var colors = {"tertiary":"typography__tertiary_1fxsd","disabled":"typography__disabled_1fxsd","accent":"typography__accent_1fxsd","primary":"typography__primary_1fxsd","attention":"typography__attention_1fxsd","positive":"typography__positive_1fxsd","secondary":"typography__secondary_1fxsd","tertiary-inverted":"typography__tertiary-inverted_1fxsd","primary-inverted":"typography__primary-inverted_1fxsd","secondary-inverted":"typography__secondary-inverted_1fxsd","link":"typography__link_1fxsd","negative":"typography__negative_1fxsd","static-primary-light":"typography__static-primary-light_1fxsd","static-secondary-light":"typography__static-secondary-light_1fxsd","static-tertiary-light":"typography__static-tertiary-light_1fxsd","static-primary-dark":"typography__static-primary-dark_1fxsd","static-secondary-dark":"typography__static-secondary-dark_1fxsd","static-tertiary-dark":"typography__static-tertiary-dark_1fxsd","static-accent":"typography__static-accent_1fxsd","static-positive":"typography__static-positive_1fxsd"};
|
|
4
|
+
require('./colors.css')
|
|
5
|
+
|
|
6
|
+
exports.colors = colors;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"typography__component_1tcza","bold":"typography__bold_1tcza","semibold":"typography__semibold_1tcza","medium":"typography__medium_1tcza","regular":"typography__regular_1tcza","rowLimit1":"typography__rowLimit1_1tcza","rowLimit2":"typography__rowLimit2_1tcza","rowLimit3":"typography__rowLimit3_1tcza"};
|
|
4
|
+
require('./title/common.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/cssm/text/component.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "@alfalab/core-components-skeleton";
|
|
4
5
|
import { Color } from "../colors";
|
|
5
|
-
import { TextElementType
|
|
6
|
+
import { TextElementType } from "../types";
|
|
6
7
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
7
8
|
type TextBaseProps = {
|
|
8
9
|
/**
|
package/cssm/text/component.js
CHANGED
|
@@ -6,7 +6,7 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var mergeRefs = require('react-merge-refs');
|
|
8
8
|
var cn = require('classnames');
|
|
9
|
-
var
|
|
9
|
+
var coreComponentsSkeleton = require('@alfalab/core-components-skeleton/cssm');
|
|
10
10
|
var colors = require('../colors.module.css');
|
|
11
11
|
var alfasansStyles = require('./alfasans-index.module.css');
|
|
12
12
|
var styles = require('./index.module.css');
|
|
@@ -39,7 +39,7 @@ var Text = React.forwardRef(function (_a, ref) {
|
|
|
39
39
|
if (view === 'component') {
|
|
40
40
|
logWarning(view);
|
|
41
41
|
}
|
|
42
|
-
var _h =
|
|
42
|
+
var _h = coreComponentsSkeleton.useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
|
|
43
43
|
var skeleton = renderSkeleton({
|
|
44
44
|
wrapperClassName: cn__default.default((_b = {},
|
|
45
45
|
_b[styles__default.default.paragraphWithMargins] = Component === 'p' && defaultMargins,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "@alfalab/core-components-skeleton";
|
|
4
5
|
import { Color } from "../colors";
|
|
5
|
-
import { TextSkeletonProps } from "../types";
|
|
6
6
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
7
7
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
8
8
|
/**
|
package/cssm/title/component.js
CHANGED
|
@@ -7,7 +7,7 @@ var React = require('react');
|
|
|
7
7
|
var mergeRefs = require('react-merge-refs');
|
|
8
8
|
var cn = require('classnames');
|
|
9
9
|
var coreComponentsShared = require('@alfalab/core-components-shared/cssm');
|
|
10
|
-
var
|
|
10
|
+
var coreComponentsSkeleton = require('@alfalab/core-components-skeleton/cssm');
|
|
11
11
|
var title_utils = require('./utils.js');
|
|
12
12
|
var colors = require('../colors.module.css');
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
|
|
|
21
21
|
var TitleBase = React.forwardRef(function (_a, ref) {
|
|
22
22
|
var _b;
|
|
23
23
|
var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, fontProp = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? title_utils.getDefaultWeight(coreComponentsShared.isObject(fontProp) ? fontProp.font : fontProp, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = tslib.__rest(_a, ["tag", "view", "font", "platform", "weight", "defaultMargins", "color", "className", "dataTestId", "children", "rowLimit", "styles", "skeletonProps", "showSkeleton"]);
|
|
24
|
-
var _h =
|
|
24
|
+
var _h = coreComponentsSkeleton.useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;
|
|
25
25
|
var skeleton = renderSkeleton({
|
|
26
26
|
wrapperClassName: cn__default.default(defaultMargins && styles["margins-".concat(view)]),
|
|
27
27
|
dataTestId: dataTestId,
|
package/cssm/title/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
|
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
rowLimit?: 2 | 1 | 3 | undefined;
|
|
18
18
|
showSkeleton?: boolean | undefined;
|
|
19
|
-
skeletonProps?: import("
|
|
19
|
+
skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
|
|
20
20
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
22
22
|
export { Title };
|
package/cssm/title/index.js
CHANGED
|
@@ -16,9 +16,7 @@ var alfasansStyles__default = /*#__PURE__*/_interopDefaultCompat(alfasansStyles)
|
|
|
16
16
|
var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
|
|
17
17
|
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
18
18
|
|
|
19
|
-
var allStyles =
|
|
20
|
-
? commonStyles__default.default
|
|
21
|
-
: tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
|
|
19
|
+
var allStyles = tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
|
|
22
20
|
var Title = React.forwardRef(function (props, ref) { return (React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'desktop' }))); });
|
|
23
21
|
|
|
24
22
|
exports.Title = Title;
|
|
@@ -15,7 +15,7 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
rowLimit?: 2 | 1 | 3 | undefined;
|
|
17
17
|
showSkeleton?: boolean | undefined;
|
|
18
|
-
skeletonProps?: import("
|
|
18
|
+
skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
|
|
19
19
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
20
20
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
21
21
|
export { TitleMobile };
|
|
@@ -16,9 +16,7 @@ var commonStyles__default = /*#__PURE__*/_interopDefaultCompat(commonStyles);
|
|
|
16
16
|
var alfasansStyles__default = /*#__PURE__*/_interopDefaultCompat(alfasansStyles);
|
|
17
17
|
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
18
18
|
|
|
19
|
-
var allStyles =
|
|
20
|
-
? commonStyles__default.default
|
|
21
|
-
: tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
|
|
19
|
+
var allStyles = tslib.__assign(tslib.__assign(tslib.__assign({}, commonStyles__default.default), styles__default.default), alfasansStyles__default.default);
|
|
22
20
|
var TitleMobile = React.forwardRef(function (props, ref) { return React__default.default.createElement(title_component.TitleBase, tslib.__assign({}, props, { styles: allStyles, ref: ref, platform: 'mobile' })); });
|
|
23
21
|
|
|
24
22
|
exports.TitleMobile = TitleMobile;
|
|
@@ -27,7 +27,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
rowLimit?: 2 | 1 | 3 | undefined;
|
|
29
29
|
showSkeleton?: boolean | undefined;
|
|
30
|
-
skeletonProps?: import("
|
|
30
|
+
skeletonProps?: import("@alfalab/core-components-skeleton").TextSkeletonProps | undefined;
|
|
31
31
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
/**
|
package/cssm/types.d.ts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
|
-
|
|
3
|
-
type TextSkeletonProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Кол-во строк текста
|
|
6
|
-
*/
|
|
7
|
-
rows?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Ширина строки
|
|
10
|
-
*/
|
|
11
|
-
width?: WidthUnit | WidthUnit[];
|
|
12
|
-
/**
|
|
13
|
-
* Выравнивание элементов по горизонтали
|
|
14
|
-
*/
|
|
15
|
-
align?: 'left' | 'center' | 'right';
|
|
16
|
-
/**
|
|
17
|
-
* Класс для обертки скелетона
|
|
18
|
-
*/
|
|
19
|
-
wrapperClassName?: string;
|
|
20
|
-
};
|
|
21
|
-
export { TextElementType, TextSkeletonProps };
|
|
2
|
+
export { TextElementType };
|
package/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jodf9 */
|
|
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;
|
|
@@ -41,44 +41,44 @@
|
|
|
41
41
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
42
42
|
} :root {
|
|
43
43
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
44
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .
|
|
44
|
+
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .typography__tertiary_1fxsd {
|
|
45
45
|
color: var(--color-light-text-tertiary);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__disabled_1fxsd {
|
|
47
47
|
color: var(--color-light-text-quaternary);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__accent_1fxsd {
|
|
49
49
|
color: var(--color-light-accent-primary);
|
|
50
|
-
} .
|
|
50
|
+
} .typography__primary_1fxsd {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
|
-
} .
|
|
52
|
+
} .typography__attention_1fxsd {
|
|
53
53
|
color: var(--color-light-text-attention);
|
|
54
|
-
} .
|
|
54
|
+
} .typography__positive_1fxsd {
|
|
55
55
|
color: var(--color-light-text-positive);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__secondary_1fxsd {
|
|
57
57
|
color: var(--color-light-text-secondary);
|
|
58
|
-
} .typography__tertiary-
|
|
58
|
+
} .typography__tertiary-inverted_1fxsd {
|
|
59
59
|
color: var(--color-light-text-tertiary-inverted);
|
|
60
|
-
} .typography__primary-
|
|
60
|
+
} .typography__primary-inverted_1fxsd {
|
|
61
61
|
color: var(--color-light-text-primary-inverted);
|
|
62
|
-
} .typography__secondary-
|
|
62
|
+
} .typography__secondary-inverted_1fxsd {
|
|
63
63
|
color: var(--color-light-text-secondary-inverted);
|
|
64
|
-
} .
|
|
64
|
+
} .typography__link_1fxsd {
|
|
65
65
|
color: var(--color-light-text-info);
|
|
66
|
-
} .
|
|
66
|
+
} .typography__negative_1fxsd {
|
|
67
67
|
color: var(--color-light-text-negative);
|
|
68
|
-
} .typography__static-primary-
|
|
68
|
+
} .typography__static-primary-light_1fxsd {
|
|
69
69
|
color: var(--color-static-text-primary-light);
|
|
70
|
-
} .typography__static-secondary-
|
|
70
|
+
} .typography__static-secondary-light_1fxsd {
|
|
71
71
|
color: var(--color-static-text-secondary-light);
|
|
72
|
-
} .typography__static-tertiary-
|
|
72
|
+
} .typography__static-tertiary-light_1fxsd {
|
|
73
73
|
color: var(--color-static-text-tertiary-light);
|
|
74
|
-
} .typography__static-primary-
|
|
74
|
+
} .typography__static-primary-dark_1fxsd {
|
|
75
75
|
color: var(--color-static-text-primary-dark);
|
|
76
|
-
} .typography__static-secondary-
|
|
76
|
+
} .typography__static-secondary-dark_1fxsd {
|
|
77
77
|
color: var(--color-static-text-secondary-dark);
|
|
78
|
-
} .typography__static-tertiary-
|
|
78
|
+
} .typography__static-tertiary-dark_1fxsd {
|
|
79
79
|
color: var(--color-static-text-tertiary-dark);
|
|
80
|
-
} .typography__static-
|
|
80
|
+
} .typography__static-accent_1fxsd {
|
|
81
81
|
color: var(--color-static-accent-primary);
|
|
82
|
-
} .typography__static-
|
|
82
|
+
} .typography__static-positive_1fxsd {
|
|
83
83
|
color: var(--color-static-text-positive);
|
|
84
84
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var colors = {"tertiary":"typography__tertiary_1fxsd","disabled":"typography__disabled_1fxsd","accent":"typography__accent_1fxsd","primary":"typography__primary_1fxsd","attention":"typography__attention_1fxsd","positive":"typography__positive_1fxsd","secondary":"typography__secondary_1fxsd","tertiary-inverted":"typography__tertiary-inverted_1fxsd","primary-inverted":"typography__primary-inverted_1fxsd","secondary-inverted":"typography__secondary-inverted_1fxsd","link":"typography__link_1fxsd","negative":"typography__negative_1fxsd","static-primary-light":"typography__static-primary-light_1fxsd","static-secondary-light":"typography__static-secondary-light_1fxsd","static-tertiary-light":"typography__static-tertiary-light_1fxsd","static-primary-dark":"typography__static-primary-dark_1fxsd","static-secondary-dark":"typography__static-secondary-dark_1fxsd","static-tertiary-dark":"typography__static-tertiary-dark_1fxsd","static-accent":"typography__static-accent_1fxsd","static-positive":"typography__static-positive_1fxsd"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"typography__component_1tcza","bold":"typography__bold_1tcza","semibold":"typography__semibold_1tcza","medium":"typography__medium_1tcza","regular":"typography__regular_1tcza","rowLimit1":"typography__rowLimit1_1tcza","rowLimit2":"typography__rowLimit2_1tcza","rowLimit3":"typography__rowLimit3_1tcza"};
|
|
2
|
+
require('./title/common.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 82niv */
|
|
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 */
|
|
@@ -23,114 +23,114 @@
|
|
|
23
23
|
--font-family-alfasans: 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
24
24
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
25
25
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
26
|
-
} /* сбрасывает синюю подсветку при нажатии */ .
|
|
26
|
+
} /* сбрасывает синюю подсветку при нажатии */ .typography__text_fv48r.typography__component_fv48r {
|
|
27
27
|
font-size: 16px;
|
|
28
28
|
line-height: 20px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: -0.24px;
|
|
31
31
|
font-family: var(--font-family-alfasans);
|
|
32
|
-
} .
|
|
32
|
+
} .typography__text_fv48r.typography__caps_fv48r {
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
line-height: 16px;
|
|
35
35
|
font-weight: 400;
|
|
36
36
|
letter-spacing: 1.25px;
|
|
37
37
|
text-transform: uppercase;
|
|
38
38
|
font-family: var(--font-family-alfasans);
|
|
39
|
-
} .
|
|
39
|
+
} .typography__text_fv48r.typography__tagline_fv48r {
|
|
40
40
|
font-size: 12px;
|
|
41
41
|
line-height: 16px;
|
|
42
42
|
font-weight: 400;
|
|
43
43
|
letter-spacing: 1.25px;
|
|
44
44
|
text-transform: uppercase;
|
|
45
45
|
font-family: var(--font-family-alfasans);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__text_fv48r.typography__primary-large_fv48r {
|
|
47
47
|
/* prettier-ignore */
|
|
48
48
|
font-size: 18px;
|
|
49
49
|
line-height: 24px;
|
|
50
50
|
font-weight: 400;
|
|
51
51
|
letter-spacing: -0.36px;
|
|
52
52
|
font-family: var(--font-family-alfasans)
|
|
53
|
-
} .
|
|
53
|
+
} .typography__text_fv48r.typography__primary-large_fv48r.typography__bold_fv48r {
|
|
54
54
|
letter-spacing: 0.38px;
|
|
55
|
-
} .
|
|
55
|
+
} .typography__text_fv48r.typography__primary-large_fv48r.typography__medium_fv48r {
|
|
56
56
|
letter-spacing: 0.17px;
|
|
57
|
-
} .
|
|
57
|
+
} .typography__text_fv48r.typography__primary-medium_fv48r {
|
|
58
58
|
/* prettier-ignore */
|
|
59
59
|
font-size: 16px;
|
|
60
60
|
line-height: 24px;
|
|
61
61
|
font-weight: 400;
|
|
62
62
|
letter-spacing: -0.24px;
|
|
63
63
|
font-family: var(--font-family-alfasans)
|
|
64
|
-
} .
|
|
64
|
+
} .typography__text_fv48r.typography__primary-medium_fv48r.typography__bold_fv48r {
|
|
65
65
|
letter-spacing: 0.43px;
|
|
66
|
-
} .
|
|
66
|
+
} .typography__text_fv48r.typography__primary-medium_fv48r.typography__medium_fv48r {
|
|
67
67
|
letter-spacing: 0.17px;
|
|
68
|
-
} .
|
|
68
|
+
} .typography__text_fv48r.typography__primary-small_fv48r {
|
|
69
69
|
/* prettier-ignore */
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
line-height: 20px;
|
|
72
72
|
font-weight: 400;
|
|
73
73
|
letter-spacing: -0.08px;
|
|
74
74
|
font-family: var(--font-family-alfasans)
|
|
75
|
-
} .
|
|
75
|
+
} .typography__text_fv48r.typography__primary-small_fv48r.typography__bold_fv48r {
|
|
76
76
|
letter-spacing: 0.47px;
|
|
77
|
-
} .
|
|
77
|
+
} .typography__text_fv48r.typography__primary-small_fv48r.typography__medium_fv48r {
|
|
78
78
|
letter-spacing: 0.27px;
|
|
79
|
-
} .
|
|
79
|
+
} .typography__text_fv48r.typography__component-primary_fv48r {
|
|
80
80
|
font-size: 16px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 400;
|
|
83
83
|
letter-spacing: -0.24px;
|
|
84
84
|
font-family: var(--font-family-alfasans)
|
|
85
|
-
} .
|
|
85
|
+
} .typography__text_fv48r.typography__component-primary_fv48r.typography__bold_fv48r {
|
|
86
86
|
letter-spacing: 0.43px;
|
|
87
|
-
} .
|
|
87
|
+
} .typography__text_fv48r.typography__component-primary_fv48r.typography__medium_fv48r {
|
|
88
88
|
letter-spacing: 0.17px;
|
|
89
|
-
} .
|
|
89
|
+
} .typography__text_fv48r.typography__secondary-large_fv48r {
|
|
90
90
|
/* prettier-ignore */
|
|
91
91
|
font-size: 13px;
|
|
92
92
|
line-height: 16px;
|
|
93
93
|
font-weight: 400;
|
|
94
94
|
letter-spacing: 0;
|
|
95
95
|
font-family: var(--font-family-alfasans)
|
|
96
|
-
} .
|
|
96
|
+
} .typography__text_fv48r.typography__secondary-large_fv48r.typography__bold_fv48r {
|
|
97
97
|
letter-spacing: 0.54px;
|
|
98
|
-
} .
|
|
98
|
+
} .typography__text_fv48r.typography__secondary-large_fv48r.typography__medium_fv48r {
|
|
99
99
|
letter-spacing: 0.33px;
|
|
100
|
-
} .
|
|
100
|
+
} .typography__text_fv48r.typography__secondary-medium_fv48r {
|
|
101
101
|
/* prettier-ignore */
|
|
102
102
|
font-size: 12px;
|
|
103
103
|
line-height: 16px;
|
|
104
104
|
font-weight: 400;
|
|
105
105
|
letter-spacing: 0.06px;
|
|
106
106
|
font-family: var(--font-family-alfasans)
|
|
107
|
-
} .
|
|
107
|
+
} .typography__text_fv48r.typography__secondary-medium_fv48r.typography__bold_fv48r {
|
|
108
108
|
letter-spacing: 0.57px;
|
|
109
|
-
} .
|
|
109
|
+
} .typography__text_fv48r.typography__secondary-medium_fv48r.typography__medium_fv48r {
|
|
110
110
|
letter-spacing: 0.38px;
|
|
111
|
-
} .
|
|
111
|
+
} .typography__text_fv48r.typography__secondary-small_fv48r {
|
|
112
112
|
/* prettier-ignore */
|
|
113
113
|
font-size: 11px;
|
|
114
114
|
line-height: 16px;
|
|
115
115
|
font-weight: 400;
|
|
116
116
|
letter-spacing: 0.15px;
|
|
117
117
|
font-family: var(--font-family-alfasans)
|
|
118
|
-
} .
|
|
118
|
+
} .typography__text_fv48r.typography__secondary-small_fv48r.typography__bold_fv48r {
|
|
119
119
|
letter-spacing: 0.54px;
|
|
120
|
-
} .
|
|
120
|
+
} .typography__text_fv48r.typography__secondary-small_fv48r.typography__medium_fv48r {
|
|
121
121
|
letter-spacing: 0.41px;
|
|
122
|
-
} .
|
|
122
|
+
} .typography__text_fv48r.typography__component-secondary_fv48r {
|
|
123
123
|
font-size: 14px;
|
|
124
124
|
line-height: 18px;
|
|
125
125
|
font-weight: 400;
|
|
126
126
|
letter-spacing: -0.08px;
|
|
127
127
|
font-family: var(--font-family-alfasans)
|
|
128
|
-
} .
|
|
128
|
+
} .typography__text_fv48r.typography__component-secondary_fv48r.typography__bold_fv48r {
|
|
129
129
|
letter-spacing: 0.47px;
|
|
130
|
-
} .
|
|
130
|
+
} .typography__text_fv48r.typography__component-secondary_fv48r.typography__medium_fv48r {
|
|
131
131
|
letter-spacing: 0.27px;
|
|
132
|
-
} .
|
|
132
|
+
} .typography__text_fv48r.typography__bold_fv48r {
|
|
133
133
|
font-weight: 700;
|
|
134
|
-
} .
|
|
134
|
+
} .typography__text_fv48r.typography__medium_fv48r {
|
|
135
135
|
font-weight: 500;
|
|
136
136
|
}
|
package/esm/text/component.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "@alfalab/core-components-skeleton";
|
|
4
5
|
import { Color } from "../colors";
|
|
5
|
-
import { TextElementType
|
|
6
|
+
import { TextElementType } from "../types";
|
|
6
7
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
7
8
|
type TextBaseProps = {
|
|
8
9
|
/**
|
package/esm/text/component.js
CHANGED
|
@@ -2,13 +2,13 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
|
-
import { useSkeleton } from '
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
5
|
+
import { useSkeleton } from '@alfalab/core-components-skeleton/esm';
|
|
6
|
+
import { c as colors } from '../colors.module-288097a5.js';
|
|
7
7
|
|
|
8
|
-
var alfasansStyles = {"text":"
|
|
8
|
+
var alfasansStyles = {"text":"typography__text_fv48r","component":"typography__component_fv48r","caps":"typography__caps_fv48r","tagline":"typography__tagline_fv48r","primary-large":"typography__primary-large_fv48r","bold":"typography__bold_fv48r","medium":"typography__medium_fv48r","primary-medium":"typography__primary-medium_fv48r","primary-small":"typography__primary-small_fv48r","component-primary":"typography__component-primary_fv48r","secondary-large":"typography__secondary-large_fv48r","secondary-medium":"typography__secondary-medium_fv48r","secondary-small":"typography__secondary-small_fv48r","component-secondary":"typography__component-secondary_fv48r"};
|
|
9
9
|
require('./alfasans-index.css')
|
|
10
10
|
|
|
11
|
-
var styles = {"transparent":"
|
|
11
|
+
var styles = {"transparent":"typography__transparent_1yjcg","paragraph":"typography__paragraph_1yjcg","paragraphWithMargins":"typography__paragraphWithMargins_1yjcg","primary-large":"typography__primary-large_1yjcg","primary-medium":"typography__primary-medium_1yjcg","primary-small":"typography__primary-small_1yjcg","secondary-large":"typography__secondary-large_1yjcg","secondary-medium":"typography__secondary-medium_1yjcg","secondary-small":"typography__secondary-small_1yjcg","component":"typography__component_1yjcg","component-primary":"typography__component-primary_1yjcg","component-secondary":"typography__component-secondary_1yjcg","caps":"typography__caps_1yjcg","tagline":"typography__tagline_1yjcg","bold":"typography__bold_1yjcg","medium":"typography__medium_1yjcg","regular":"typography__regular_1yjcg","monospace":"typography__monospace_1yjcg","rowLimit1":"typography__rowLimit1_1yjcg","rowLimit2":"typography__rowLimit2_1yjcg","rowLimit3":"typography__rowLimit3_1yjcg"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var logWarning = function (view) {
|