@alfalab/core-components-typography 6.0.13 → 6.0.14
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 +20 -20
- package/colors.module.css.js +1 -1
- package/cssm/text/component.js +18 -16
- package/cssm/text/component.js.map +1 -1
- package/cssm/text/index.module.css +8 -1
- package/cssm/title/common.module.css +8 -1
- package/cssm/title/component.js +14 -12
- package/cssm/title/component.js.map +1 -1
- package/esm/colors.css +20 -20
- package/esm/colors.module.css.js +1 -1
- package/esm/text/component.js +19 -17
- package/esm/text/component.js.map +1 -1
- package/esm/text/index.css +48 -41
- package/esm/text/index.module.css.js +1 -1
- package/esm/text/index.module.css.js.map +1 -1
- package/esm/title/common.css +13 -6
- package/esm/title/common.module.css.js +1 -1
- package/esm/title/common.module.css.js.map +1 -1
- package/esm/title/component.js +15 -13
- package/esm/title/component.js.map +1 -1
- package/esm/title/index.css +25 -25
- package/esm/title/index.module.css.js +1 -1
- package/esm/title-mobile/index.css +25 -25
- package/esm/title-mobile/index.module.css.js +1 -1
- package/modern/colors.css +20 -20
- package/modern/colors.module.css.js +1 -1
- package/modern/text/component.js +19 -17
- package/modern/text/component.js.map +1 -1
- package/modern/text/index.css +48 -41
- package/modern/text/index.module.css.js +1 -1
- package/modern/text/index.module.css.js.map +1 -1
- package/modern/title/common.css +13 -6
- package/modern/title/common.module.css.js +1 -1
- package/modern/title/common.module.css.js.map +1 -1
- package/modern/title/component.js +15 -13
- package/modern/title/component.js.map +1 -1
- package/modern/title/index.css +25 -25
- package/modern/title/index.module.css.js +1 -1
- package/modern/title-mobile/index.css +25 -25
- package/modern/title-mobile/index.module.css.js +1 -1
- package/moderncssm/text/component.js +19 -17
- package/moderncssm/text/component.js.map +1 -1
- package/moderncssm/text/index.module.css +10 -1
- package/moderncssm/title/common.module.css +10 -1
- package/moderncssm/title/component.js +15 -13
- package/moderncssm/title/component.js.map +1 -1
- package/package.json +5 -5
- package/src/common.module.css +10 -1
- package/src/text/component.tsx +36 -31
- package/src/title/component.tsx +35 -30
- package/text/component.js +18 -16
- package/text/component.js.map +1 -1
- package/text/index.css +48 -41
- package/text/index.module.css.js +1 -1
- package/text/index.module.css.js.map +1 -1
- package/title/common.css +13 -6
- package/title/common.module.css.js +1 -1
- package/title/common.module.css.js.map +1 -1
- package/title/component.js +14 -12
- package/title/component.js.map +1 -1
- package/title/index.css +25 -25
- package/title/index.module.css.js +1 -1
- package/title-mobile/index.css +25 -25
- package/title-mobile/index.module.css.js +1 -1
package/title/component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { isObject } from '@alfalab/core-components-shared';\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(font) ? font.font : font, platform),\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../src/title/component.tsx"],"sourcesContent":["import React, { type ComponentProps, forwardRef, Fragment, type HTMLAttributes } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { isObject } from '@alfalab/core-components-shared';\nimport { type TextSkeletonProps, useSkeleton } from '@alfalab/core-components-skeleton';\n\nimport { type Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.module.css';\nimport commonStyles from './common.module.css';\n\ntype NativeProps = HTMLAttributes<HTMLHeadingElement>;\n\nexport type TitleProps = Omit<NativeProps, 'color'> & {\n /**\n * HTML тег\n */\n tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';\n\n /**\n * [Вариант начертания](?path=/docs/guidelines-typography--page)\n */\n view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';\n\n /**\n * Цвет текста\n */\n color?: Color;\n\n /**\n * Толщина шрифта\n */\n weight?: 'regular' | 'medium' | 'bold' | 'semibold';\n\n /**\n * Шрифт текста\n */\n font?: 'styrene' | 'system' | 'alfasans' | { font: 'alfasans'; systemCompat: boolean };\n\n /**\n * Добавляет отступы\n */\n defaultMargins?: boolean;\n\n /**\n * Css-класс для стилизации (native prop)\n */\n className?: string;\n\n /**\n * Id компонента для тестов\n */\n dataTestId?: string;\n\n /**\n * Контент (native prop)\n */\n children?: React.ReactNode;\n\n /**\n * Количество строк\n */\n rowLimit?: 1 | 2 | 3;\n\n /**\n * Показать скелетон\n */\n showSkeleton?: boolean;\n\n /**\n * Пропы для скелетона\n */\n skeletonProps?: TextSkeletonProps;\n\n /**\n * Значение по-умолчанию для хука useMatchMedia\n */\n defaultMatchMediaValue?: boolean | (() => boolean);\n};\n\ntype PrivateProps = {\n styles: {\n [key: string]: string;\n };\n platform: 'mobile' | 'desktop';\n};\n\ntype TitleElementType = HTMLHeadingElement | HTMLDivElement;\n\nexport const TitleBase = forwardRef<TitleElementType, TitleProps & PrivateProps>(\n (\n {\n tag: Component = 'div',\n view = 'medium',\n font = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(font) ? font.font : font, platform),\n defaultMargins = false,\n color,\n className,\n dataTestId,\n children,\n rowLimit,\n styles,\n skeletonProps,\n showSkeleton,\n ...restProps\n },\n ref,\n ) => {\n const { renderSkeleton, textRef } = useSkeleton(showSkeleton, skeletonProps);\n const Root = showSkeleton ? 'div' : Fragment;\n const rootProps: ComponentProps<typeof Root> = showSkeleton\n ? { className: cn(commonStyles.root, className) }\n : {};\n\n return (\n <Root {...rootProps}>\n <Component\n className={cn(\n commonStyles.component,\n styles.component,\n !showSkeleton && className,\n styles[`${weight === 'regular' ? 'regular-' : ''}${view}`],\n defaultMargins && styles[`margins-${view}`],\n color && colors[color],\n {\n [commonStyles[`rowLimit${rowLimit}`]]: rowLimit,\n [commonStyles.transparent]: showSkeleton,\n [styles.font]:\n (isObject(font) && !font.systemCompat) || !(font === 'system'),\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n {showSkeleton && (\n <div className={commonStyles.skeleton}>\n {renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n })}\n </div>\n )}\n </Root>\n );\n },\n);\n"],"names":["forwardRef","getDefaultWeight","isObject","__rest","useSkeleton","Fragment","cn","commonStyles","React","__assign","colors","mergeRefs"],"mappings":"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"}
|
package/title/index.css
CHANGED
|
@@ -12,137 +12,137 @@
|
|
|
12
12
|
'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
13
13
|
sans-serif;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.typography__xlarge_xd7yh {
|
|
16
16
|
font-size: 48px;
|
|
17
17
|
line-height: 52px;
|
|
18
18
|
font-weight: 700;
|
|
19
19
|
font-family: var(--font-family-system);
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.typography__xlarge_xd7yh.typography__font_xd7yh {
|
|
22
22
|
line-height: 64px;
|
|
23
23
|
font-weight: 500;
|
|
24
24
|
font-feature-settings: 'ss01';
|
|
25
25
|
font-family: var(--font-family-styrene);
|
|
26
26
|
}
|
|
27
|
-
.typography__regular-
|
|
27
|
+
.typography__regular-xlarge_xd7yh {
|
|
28
28
|
font-size: 48px;
|
|
29
29
|
line-height: 52px;
|
|
30
30
|
font-weight: 400;
|
|
31
31
|
font-family: var(--font-family-system);
|
|
32
32
|
}
|
|
33
|
-
.typography__regular-
|
|
33
|
+
.typography__regular-xlarge_xd7yh.typography__font_xd7yh {
|
|
34
34
|
line-height: 64px;
|
|
35
35
|
font-feature-settings: 'ss01';
|
|
36
36
|
font-family: var(--font-family-styrene);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.typography__large_xd7yh {
|
|
39
39
|
font-size: 40px;
|
|
40
40
|
line-height: 48px;
|
|
41
41
|
font-weight: 700;
|
|
42
42
|
font-family: var(--font-family-system);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.typography__large_xd7yh.typography__font_xd7yh {
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
font-feature-settings: 'ss01';
|
|
47
47
|
font-family: var(--font-family-styrene);
|
|
48
48
|
}
|
|
49
|
-
.typography__regular-
|
|
49
|
+
.typography__regular-large_xd7yh {
|
|
50
50
|
font-size: 40px;
|
|
51
51
|
line-height: 48px;
|
|
52
52
|
font-weight: 400;
|
|
53
53
|
font-family: var(--font-family-system);
|
|
54
54
|
}
|
|
55
|
-
.typography__regular-
|
|
55
|
+
.typography__regular-large_xd7yh.typography__font_xd7yh {
|
|
56
56
|
font-feature-settings: 'ss01';
|
|
57
57
|
font-family: var(--font-family-styrene);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.typography__medium_xd7yh {
|
|
60
60
|
font-size: 30px;
|
|
61
61
|
line-height: 36px;
|
|
62
62
|
font-weight: 700;
|
|
63
63
|
font-family: var(--font-family-system);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_xd7yh.typography__font_xd7yh {
|
|
66
66
|
font-size: 32px;
|
|
67
67
|
line-height: 40px;
|
|
68
68
|
font-weight: 500;
|
|
69
69
|
font-feature-settings: 'ss01';
|
|
70
70
|
font-family: var(--font-family-styrene);
|
|
71
71
|
}
|
|
72
|
-
.typography__regular-
|
|
72
|
+
.typography__regular-medium_xd7yh {
|
|
73
73
|
font-size: 30px;
|
|
74
74
|
line-height: 36px;
|
|
75
75
|
font-weight: 400;
|
|
76
76
|
font-family: var(--font-family-system);
|
|
77
77
|
}
|
|
78
|
-
.typography__regular-
|
|
78
|
+
.typography__regular-medium_xd7yh.typography__font_xd7yh {
|
|
79
79
|
font-size: 32px;
|
|
80
80
|
line-height: 40px;
|
|
81
81
|
font-feature-settings: 'ss01';
|
|
82
82
|
font-family: var(--font-family-styrene);
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.typography__small_xd7yh {
|
|
85
85
|
font-size: 22px;
|
|
86
86
|
line-height: 26px;
|
|
87
87
|
font-weight: 700;
|
|
88
88
|
font-family: var(--font-family-system);
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.typography__small_xd7yh.typography__font_xd7yh {
|
|
91
91
|
font-size: 24px;
|
|
92
92
|
line-height: 32px;
|
|
93
93
|
font-weight: 500;
|
|
94
94
|
font-feature-settings: 'ss01';
|
|
95
95
|
font-family: var(--font-family-styrene);
|
|
96
96
|
}
|
|
97
|
-
.typography__regular-
|
|
97
|
+
.typography__regular-small_xd7yh {
|
|
98
98
|
font-size: 22px;
|
|
99
99
|
line-height: 26px;
|
|
100
100
|
font-weight: 400;
|
|
101
101
|
font-family: var(--font-family-system);
|
|
102
102
|
}
|
|
103
|
-
.typography__regular-
|
|
103
|
+
.typography__regular-small_xd7yh.typography__font_xd7yh {
|
|
104
104
|
font-size: 24px;
|
|
105
105
|
line-height: 32px;
|
|
106
106
|
font-feature-settings: 'ss01';
|
|
107
107
|
font-family: var(--font-family-styrene);
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
.typography__xsmall_xd7yh {
|
|
110
110
|
font-size: 18px;
|
|
111
111
|
line-height: 22px;
|
|
112
112
|
font-weight: 700;
|
|
113
113
|
font-family: var(--font-family-system);
|
|
114
114
|
}
|
|
115
|
-
.
|
|
115
|
+
.typography__xsmall_xd7yh.typography__font_xd7yh {
|
|
116
116
|
font-size: 20px;
|
|
117
117
|
line-height: 24px;
|
|
118
118
|
font-weight: 500;
|
|
119
119
|
font-feature-settings: 'ss01';
|
|
120
120
|
font-family: var(--font-family-styrene);
|
|
121
121
|
}
|
|
122
|
-
.typography__regular-
|
|
122
|
+
.typography__regular-xsmall_xd7yh {
|
|
123
123
|
font-size: 18px;
|
|
124
124
|
line-height: 22px;
|
|
125
125
|
font-weight: 400;
|
|
126
126
|
font-family: var(--font-family-system);
|
|
127
127
|
}
|
|
128
|
-
.typography__regular-
|
|
128
|
+
.typography__regular-xsmall_xd7yh.typography__font_xd7yh {
|
|
129
129
|
font-size: 20px;
|
|
130
130
|
line-height: 24px;
|
|
131
131
|
font-feature-settings: 'ss01';
|
|
132
132
|
font-family: var(--font-family-styrene);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.typography__component_xd7yh.typography__margins-xlarge_xd7yh {
|
|
135
135
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
.typography__component_xd7yh.typography__margins-large_xd7yh {
|
|
138
138
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
139
139
|
}
|
|
140
|
-
.
|
|
140
|
+
.typography__component_xd7yh.typography__margins-medium_xd7yh {
|
|
141
141
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
142
142
|
}
|
|
143
|
-
.
|
|
143
|
+
.typography__component_xd7yh.typography__margins-small_xd7yh {
|
|
144
144
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
.typography__component_xd7yh.typography__margins-xsmall_xd7yh {
|
|
147
147
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
148
148
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"xlarge":"
|
|
5
|
+
var styles = {"xlarge":"typography__xlarge_xd7yh","font":"typography__font_xd7yh","regular-xlarge":"typography__regular-xlarge_xd7yh","large":"typography__large_xd7yh","regular-large":"typography__regular-large_xd7yh","medium":"typography__medium_xd7yh","regular-medium":"typography__regular-medium_xd7yh","small":"typography__small_xd7yh","regular-small":"typography__regular-small_xd7yh","xsmall":"typography__xsmall_xd7yh","regular-xsmall":"typography__regular-xsmall_xd7yh","component":"typography__component_xd7yh","margins-xlarge":"typography__margins-xlarge_xd7yh","margins-large":"typography__margins-large_xd7yh","margins-medium":"typography__margins-medium_xd7yh","margins-small":"typography__margins-small_xd7yh","margins-xsmall":"typography__margins-xsmall_xd7yh"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
package/title-mobile/index.css
CHANGED
|
@@ -11,123 +11,123 @@
|
|
|
11
11
|
'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
12
12
|
sans-serif;
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
.typography__xlarge_k7ygb {
|
|
15
15
|
font-size: 34px;
|
|
16
16
|
line-height: 40px;
|
|
17
17
|
font-weight: 600;
|
|
18
18
|
font-family: var(--font-family-system);
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.typography__xlarge_k7ygb.typography__font_k7ygb {
|
|
21
21
|
font-weight: 500;
|
|
22
22
|
font-feature-settings: 'ss01';
|
|
23
23
|
font-family: var(--font-family-styrene);
|
|
24
24
|
}
|
|
25
|
-
.typography__regular-
|
|
25
|
+
.typography__regular-xlarge_k7ygb {
|
|
26
26
|
font-size: 34px;
|
|
27
27
|
line-height: 40px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
font-family: var(--font-family-system);
|
|
30
30
|
}
|
|
31
|
-
.typography__regular-
|
|
31
|
+
.typography__regular-xlarge_k7ygb.typography__system_k7ygb {
|
|
32
32
|
font-feature-settings: 'ss01';
|
|
33
33
|
font-family: var(--font-family-styrene);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.typography__large_k7ygb {
|
|
36
36
|
font-size: 30px;
|
|
37
37
|
line-height: 36px;
|
|
38
38
|
font-weight: 600;
|
|
39
39
|
font-family: var(--font-family-system);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.typography__large_k7ygb.typography__font_k7ygb {
|
|
42
42
|
font-weight: 500;
|
|
43
43
|
font-feature-settings: 'ss01';
|
|
44
44
|
font-family: var(--font-family-styrene);
|
|
45
45
|
}
|
|
46
|
-
.typography__regular-
|
|
46
|
+
.typography__regular-large_k7ygb {
|
|
47
47
|
font-size: 30px;
|
|
48
48
|
line-height: 36px;
|
|
49
49
|
font-weight: 400;
|
|
50
50
|
font-family: var(--font-family-system);
|
|
51
51
|
}
|
|
52
|
-
.typography__regular-
|
|
52
|
+
.typography__regular-large_k7ygb.typography__system_k7ygb {
|
|
53
53
|
font-feature-settings: 'ss01';
|
|
54
54
|
font-family: var(--font-family-styrene);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.typography__medium_k7ygb {
|
|
57
57
|
font-size: 26px;
|
|
58
58
|
line-height: 32px;
|
|
59
59
|
font-weight: 600;
|
|
60
60
|
font-family: var(--font-family-system);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.typography__medium_k7ygb.typography__font_k7ygb {
|
|
63
63
|
font-weight: 500;
|
|
64
64
|
font-feature-settings: 'ss01';
|
|
65
65
|
font-family: var(--font-family-styrene);
|
|
66
66
|
}
|
|
67
|
-
.typography__regular-
|
|
67
|
+
.typography__regular-medium_k7ygb {
|
|
68
68
|
font-size: 26px;
|
|
69
69
|
line-height: 32px;
|
|
70
70
|
font-weight: 400;
|
|
71
71
|
font-family: var(--font-family-system);
|
|
72
72
|
}
|
|
73
|
-
.typography__regular-
|
|
73
|
+
.typography__regular-medium_k7ygb.typography__system_k7ygb {
|
|
74
74
|
font-feature-settings: 'ss01';
|
|
75
75
|
font-family: var(--font-family-styrene);
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.typography__small_k7ygb {
|
|
78
78
|
font-size: 20px;
|
|
79
79
|
line-height: 28px;
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
font-family: var(--font-family-system);
|
|
82
82
|
}
|
|
83
|
-
.
|
|
83
|
+
.typography__small_k7ygb.typography__font_k7ygb {
|
|
84
84
|
font-weight: 500;
|
|
85
85
|
font-feature-settings: 'ss01';
|
|
86
86
|
font-family: var(--font-family-styrene);
|
|
87
87
|
}
|
|
88
|
-
.typography__regular-
|
|
88
|
+
.typography__regular-small_k7ygb {
|
|
89
89
|
font-size: 20px;
|
|
90
90
|
line-height: 28px;
|
|
91
91
|
font-weight: 400;
|
|
92
92
|
font-family: var(--font-family-system);
|
|
93
93
|
}
|
|
94
|
-
.typography__regular-
|
|
94
|
+
.typography__regular-small_k7ygb.typography__system_k7ygb {
|
|
95
95
|
font-feature-settings: 'ss01';
|
|
96
96
|
font-family: var(--font-family-styrene);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__xsmall_k7ygb {
|
|
99
99
|
font-size: 16px;
|
|
100
100
|
line-height: 20px;
|
|
101
101
|
font-weight: 600;
|
|
102
102
|
font-family: var(--font-family-system);
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.typography__xsmall_k7ygb.typography__font_k7ygb {
|
|
105
105
|
font-weight: 500;
|
|
106
106
|
font-feature-settings: 'ss01';
|
|
107
107
|
font-family: var(--font-family-styrene);
|
|
108
108
|
}
|
|
109
|
-
.typography__regular-
|
|
109
|
+
.typography__regular-xsmall_k7ygb {
|
|
110
110
|
font-size: 16px;
|
|
111
111
|
line-height: 20px;
|
|
112
112
|
font-weight: 400;
|
|
113
113
|
font-family: var(--font-family-system);
|
|
114
114
|
}
|
|
115
|
-
.typography__regular-
|
|
115
|
+
.typography__regular-xsmall_k7ygb.typography__system_k7ygb {
|
|
116
116
|
font-feature-settings: 'ss01';
|
|
117
117
|
font-family: var(--font-family-styrene);
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.typography__component_k7ygb.typography__margins-xlarge_k7ygb {
|
|
120
120
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.typography__component_k7ygb.typography__margins-large_k7ygb {
|
|
123
123
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
124
124
|
}
|
|
125
|
-
.
|
|
125
|
+
.typography__component_k7ygb.typography__margins-medium_k7ygb {
|
|
126
126
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
.typography__component_k7ygb.typography__margins-small_k7ygb {
|
|
129
129
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
130
130
|
}
|
|
131
|
-
.
|
|
131
|
+
.typography__component_k7ygb .typography__margins-xsmall_k7ygb {
|
|
132
132
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
133
133
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"xlarge":"
|
|
5
|
+
var styles = {"xlarge":"typography__xlarge_k7ygb","font":"typography__font_k7ygb","regular-xlarge":"typography__regular-xlarge_k7ygb","system":"typography__system_k7ygb","large":"typography__large_k7ygb","regular-large":"typography__regular-large_k7ygb","medium":"typography__medium_k7ygb","regular-medium":"typography__regular-medium_k7ygb","small":"typography__small_k7ygb","regular-small":"typography__regular-small_k7ygb","xsmall":"typography__xsmall_k7ygb","regular-xsmall":"typography__regular-xsmall_k7ygb","component":"typography__component_k7ygb","margins-xlarge":"typography__margins-xlarge_k7ygb","margins-large":"typography__margins-large_k7ygb","margins-medium":"typography__margins-medium_k7ygb","margins-small":"typography__margins-small_k7ygb","margins-xsmall":"typography__margins-xsmall_k7ygb"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|