@alfalab/core-components-typography 2.4.1 → 2.5.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/CHANGELOG.md +11 -0
- package/dist/colors.css +13 -13
- package/dist/{colors.module-45b4d802.d.ts → colors.module-14ced997.d.ts} +0 -0
- package/dist/{colors.module-45b4d802.js → colors.module-14ced997.js} +1 -1
- package/dist/common.module-01d90d2d.js +6 -0
- package/dist/component.js +2 -2
- package/dist/cssm/index.d.ts +1 -0
- package/dist/cssm/index.js +2 -0
- package/dist/cssm/presets.d.ts +18 -0
- package/dist/cssm/presets.js +23 -0
- package/dist/esm/colors.css +13 -13
- package/dist/esm/{colors.module-75191c3e.d.ts → colors.module-fef377ec.d.ts} +0 -0
- package/dist/esm/{colors.module-75191c3e.js → colors.module-fef377ec.js} +1 -1
- package/dist/esm/common.module-f9c1ed2c.js +4 -0
- package/dist/esm/component.js +2 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/presets.d.ts +18 -0
- package/dist/esm/presets.js +19 -0
- package/dist/esm/text/component.js +2 -2
- package/dist/esm/text/index.css +14 -14
- package/dist/esm/text/index.js +1 -1
- package/dist/esm/title/common.css +5 -5
- package/dist/esm/title/component.js +1 -1
- package/dist/esm/title/index.css +19 -19
- package/dist/esm/title/index.js +3 -3
- package/dist/esm/title-mobile/component.js +3 -3
- package/dist/esm/title-mobile/index.css +14 -14
- package/dist/esm/title-mobile/index.js +2 -2
- package/dist/esm/title-responsive/component.js +3 -3
- package/dist/esm/title-responsive/index.css +41 -41
- package/dist/esm/title-responsive/index.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/modern/colors.css +13 -13
- package/dist/modern/colors.module-b724016d.js +4 -0
- package/dist/modern/common.module-f9c1ed2c.js +4 -0
- package/dist/modern/component.js +2 -2
- package/dist/modern/index.d.ts +1 -0
- package/dist/modern/index.js +3 -2
- package/dist/modern/presets.d.ts +18 -0
- package/dist/modern/presets.js +19 -0
- package/dist/modern/text/component.js +2 -2
- package/dist/modern/text/index.css +14 -14
- package/dist/modern/text/index.js +1 -1
- package/dist/modern/title/common.css +5 -5
- package/dist/modern/title/component.js +1 -1
- package/dist/modern/title/index.css +19 -19
- package/dist/modern/title/index.js +3 -3
- package/dist/modern/title-mobile/component.js +3 -3
- package/dist/modern/title-mobile/index.css +14 -14
- package/dist/modern/title-mobile/index.js +2 -2
- package/dist/modern/title-responsive/component.js +3 -3
- package/dist/modern/title-responsive/index.css +41 -41
- package/dist/modern/title-responsive/index.js +2 -2
- package/dist/presets.d.ts +18 -0
- package/dist/presets.js +23 -0
- package/dist/text/component.js +2 -2
- package/dist/text/index.css +14 -14
- package/dist/text/index.js +1 -1
- package/dist/title/common.css +5 -5
- package/dist/title/component.js +1 -1
- package/dist/title/index.css +19 -19
- package/dist/title/index.js +3 -3
- package/dist/title-mobile/component.js +3 -3
- package/dist/title-mobile/index.css +14 -14
- package/dist/title-mobile/index.js +2 -2
- package/dist/title-responsive/component.js +3 -3
- package/dist/title-responsive/index.css +41 -41
- package/dist/title-responsive/index.js +2 -2
- package/package.json +2 -2
- package/dist/common.module-adb3fff7.js +0 -6
- package/dist/esm/common.module-21808f5a.js +0 -4
- package/dist/modern/colors.module-fc3a89e7.js +0 -4
- package/dist/modern/common.module-21808f5a.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.5.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.4.1...@alfalab/core-components-typography@2.5.0) (2022-03-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **list:** added list & typography presets ([#1047](https://github.com/alfa-laboratory/core-components/issues/1047)) ([67b6a77](https://github.com/alfa-laboratory/core-components/commit/67b6a77d1327b090b010eb061f83a2e6a0cb67b9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.4.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-typography@2.4.0...@alfalab/core-components-typography@2.4.1) (2022-03-03)
|
|
7
18
|
|
|
8
19
|
|
package/dist/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1eoer */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_16enl {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_16enl {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_16enl {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_16enl {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_16enl {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_16enl {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_16enl {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_16enl {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_16enl {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_16enl {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_16enl {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_16enl {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -39,7 +39,7 @@ function __rest(s, e) {
|
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var colors = {"tertiary":"
|
|
42
|
+
var colors = {"tertiary":"typography__tertiary_16enl","disabled":"typography__disabled_16enl","accent":"typography__accent_16enl","primary":"typography__primary_16enl","attention":"typography__attention_16enl","positive":"typography__positive_16enl","secondary":"typography__secondary_16enl","tertiary-inverted":"typography__tertiary-inverted_16enl","primary-inverted":"typography__primary-inverted_16enl","secondary-inverted":"typography__secondary-inverted_16enl","link":"typography__link_16enl","negative":"typography__negative_16enl"};
|
|
43
43
|
require('./colors.css')
|
|
44
44
|
|
|
45
45
|
exports.__rest = __rest;
|
package/dist/component.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./colors.module-
|
|
5
|
+
require('./colors.module-14ced997.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('./title/component.js');
|
|
9
|
-
require('./common.module-
|
|
9
|
+
require('./common.module-01d90d2d.js');
|
|
10
10
|
var title_index = require('./title/index.js');
|
|
11
11
|
var text_component = require('./text/component.js');
|
|
12
12
|
var titleResponsive_component = require('./title-responsive/component.js');
|
package/dist/cssm/index.d.ts
CHANGED
package/dist/cssm/index.js
CHANGED
|
@@ -17,7 +17,9 @@ require('./title-responsive/component.js');
|
|
|
17
17
|
require('./title-mobile/index.module.css');
|
|
18
18
|
require('./title-mobile/component.js');
|
|
19
19
|
var component = require('./component.js');
|
|
20
|
+
var presets = require('./presets.js');
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
exports.Typography = component.Typography;
|
|
25
|
+
exports.typographyPresets = presets.typographyPresets;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var typographyPresets = {
|
|
6
|
+
mobile: {
|
|
7
|
+
list: {
|
|
8
|
+
text: {
|
|
9
|
+
primary: {
|
|
10
|
+
tag: 'div',
|
|
11
|
+
view: 'primary-medium',
|
|
12
|
+
},
|
|
13
|
+
secondary: {
|
|
14
|
+
tag: 'div',
|
|
15
|
+
color: 'secondary',
|
|
16
|
+
view: 'primary-small',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.typographyPresets = typographyPresets;
|
package/dist/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1eoer */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_16enl {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_16enl {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_16enl {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_16enl {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_16enl {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_16enl {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_16enl {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_16enl {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_16enl {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_16enl {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_16enl {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_16enl {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -37,7 +37,7 @@ function __rest(s, e) {
|
|
|
37
37
|
return t;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var colors = {"tertiary":"
|
|
40
|
+
var colors = {"tertiary":"typography__tertiary_16enl","disabled":"typography__disabled_16enl","accent":"typography__accent_16enl","primary":"typography__primary_16enl","attention":"typography__attention_16enl","positive":"typography__positive_16enl","secondary":"typography__secondary_16enl","tertiary-inverted":"typography__tertiary-inverted_16enl","primary-inverted":"typography__primary-inverted_16enl","secondary-inverted":"typography__secondary-inverted_16enl","link":"typography__link_16enl","negative":"typography__negative_16enl"};
|
|
41
41
|
require('./colors.css')
|
|
42
42
|
|
|
43
43
|
export { __assign as _, __rest as a, colors as c };
|
package/dist/esm/component.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-fef377ec.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './title/component.js';
|
|
5
|
-
import './common.module-
|
|
5
|
+
import './common.module-f9c1ed2c.js';
|
|
6
6
|
import { Title } from './title/index.js';
|
|
7
7
|
import { Text } from './text/component.js';
|
|
8
8
|
import { TitleResponsive } from './title-responsive/component.js';
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-fef377ec.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './title/component.js';
|
|
5
|
-
import './common.module-
|
|
5
|
+
import './common.module-f9c1ed2c.js';
|
|
6
6
|
import './title/index.js';
|
|
7
7
|
import './text/component.js';
|
|
8
8
|
import './title-responsive/component.js';
|
|
9
9
|
import './title-mobile/component.js';
|
|
10
10
|
export { Typography } from './component.js';
|
|
11
|
+
export { typographyPresets } from './presets.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var typographyPresets = {
|
|
2
|
+
mobile: {
|
|
3
|
+
list: {
|
|
4
|
+
text: {
|
|
5
|
+
primary: {
|
|
6
|
+
tag: 'div',
|
|
7
|
+
view: 'primary-medium',
|
|
8
|
+
},
|
|
9
|
+
secondary: {
|
|
10
|
+
tag: 'div',
|
|
11
|
+
color: 'secondary',
|
|
12
|
+
view: 'primary-small',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { typographyPresets };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign, c as colors } from '../colors.module-
|
|
1
|
+
import { a as __rest, _ as __assign, c as colors } from '../colors.module-fef377ec.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
|
|
5
|
-
var styles = {"paragraph":"
|
|
5
|
+
var styles = {"paragraph":"typography__paragraph_1c52j","primary-large":"typography__primary-large_1c52j","primary-medium":"typography__primary-medium_1c52j","primary-small":"typography__primary-small_1c52j","secondary-large":"typography__secondary-large_1c52j","secondary-medium":"typography__secondary-medium_1c52j","secondary-small":"typography__secondary-small_1c52j","component":"typography__component_1c52j","caps":"typography__caps_1c52j","bold":"typography__bold_1c52j","medium":"typography__medium_1c52j","regular":"typography__regular_1c52j","monospace":"typography__monospace_1c52j"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Text = forwardRef(function (_a, ref) {
|
package/dist/esm/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15428 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,62 +13,62 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.typography__paragraph_1c52j {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_1c52j {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_1c52j {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_1c52j {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_1c52j {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_1c52j {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_1c52j {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_1c52j {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_1c52j {
|
|
56
56
|
font-size: 12px;
|
|
57
57
|
line-height: 16px;
|
|
58
58
|
font-weight: 500;
|
|
59
59
|
letter-spacing: 1.25px;
|
|
60
60
|
text-transform: uppercase;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.typography__bold_1c52j {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_1c52j {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_1c52j {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_1c52j {
|
|
72
72
|
font-feature-settings: "tnum";
|
|
73
73
|
font-variant-numeric: tabular-nums;
|
|
74
74
|
}
|
package/dist/esm/text/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: s7xe2 */
|
|
2
|
+
.typography__component_1ns6m {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_1ns6m {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_1ns6m {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_1ns6m {
|
|
16
16
|
font-weight: normal;
|
|
17
17
|
}
|
package/dist/esm/title/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xbbd */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -17,87 +17,87 @@
|
|
|
17
17
|
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
18
18
|
'Helvetica Neue', Helvetica, sans-serif;
|
|
19
19
|
}
|
|
20
|
-
.typography__styrene-
|
|
20
|
+
.typography__styrene-xlarge_1util {
|
|
21
21
|
font-size: 48px;
|
|
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__styrene-
|
|
27
|
+
.typography__styrene-large_1util {
|
|
28
28
|
font-size: 40px;
|
|
29
29
|
line-height: 48px;
|
|
30
30
|
font-weight: 500;
|
|
31
31
|
font-feature-settings: 'ss01';
|
|
32
32
|
font-family: var(--font-family-styrene);
|
|
33
33
|
}
|
|
34
|
-
.typography__styrene-
|
|
34
|
+
.typography__styrene-medium_1util {
|
|
35
35
|
font-size: 32px;
|
|
36
36
|
line-height: 40px;
|
|
37
37
|
font-weight: 500;
|
|
38
38
|
font-feature-settings: 'ss01';
|
|
39
39
|
font-family: var(--font-family-styrene);
|
|
40
40
|
}
|
|
41
|
-
.typography__styrene-
|
|
41
|
+
.typography__styrene-small_1util {
|
|
42
42
|
font-size: 24px;
|
|
43
43
|
line-height: 32px;
|
|
44
44
|
font-weight: 500;
|
|
45
45
|
font-feature-settings: 'ss01';
|
|
46
46
|
font-family: var(--font-family-styrene);
|
|
47
47
|
}
|
|
48
|
-
.typography__styrene-
|
|
48
|
+
.typography__styrene-xsmall_1util {
|
|
49
49
|
font-size: 20px;
|
|
50
50
|
line-height: 24px;
|
|
51
51
|
font-weight: 500;
|
|
52
52
|
font-feature-settings: 'ss01';
|
|
53
53
|
font-family: var(--font-family-styrene);
|
|
54
54
|
}
|
|
55
|
-
.typography__system-
|
|
55
|
+
.typography__system-xlarge_1util {
|
|
56
56
|
font-size: 48px;
|
|
57
57
|
line-height: 52px;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
}
|
|
60
|
-
.typography__system-
|
|
60
|
+
.typography__system-large_1util {
|
|
61
61
|
font-size: 40px;
|
|
62
62
|
line-height: 48px;
|
|
63
63
|
font-weight: 700;
|
|
64
64
|
}
|
|
65
|
-
.typography__system-
|
|
65
|
+
.typography__system-medium_1util {
|
|
66
66
|
font-size: 30px;
|
|
67
67
|
line-height: 36px;
|
|
68
68
|
font-weight: 700;
|
|
69
69
|
}
|
|
70
|
-
.typography__system-
|
|
70
|
+
.typography__system-small_1util {
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
line-height: 26px;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
}
|
|
75
|
-
.typography__system-
|
|
75
|
+
.typography__system-xsmall_1util {
|
|
76
76
|
font-size: 18px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
font-weight: 700;
|
|
79
79
|
}
|
|
80
|
-
.typography__margins-
|
|
80
|
+
.typography__margins-xlarge_1util {
|
|
81
81
|
margin: 0 0 var(--gap-xl);
|
|
82
82
|
}
|
|
83
|
-
.typography__margins-
|
|
83
|
+
.typography__margins-large_1util {
|
|
84
84
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
85
85
|
}
|
|
86
|
-
.typography__margins-
|
|
86
|
+
.typography__margins-medium_1util {
|
|
87
87
|
margin: var(--gap-4xl) 0 var(--gap-xl);
|
|
88
88
|
}
|
|
89
|
-
.typography__margins-
|
|
89
|
+
.typography__margins-small_1util {
|
|
90
90
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
91
91
|
}
|
|
92
|
-
.typography__margins-
|
|
92
|
+
.typography__margins-xsmall_1util {
|
|
93
93
|
margin: var(--gap-3xl) 0 var(--gap-m);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.typography__bold_1util {
|
|
96
96
|
font-weight: bold;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.typography__medium_1util {
|
|
99
99
|
font-weight: 500;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.typography__regular_1util {
|
|
102
102
|
font-weight: normal;
|
|
103
103
|
}
|
package/dist/esm/title/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-
|
|
1
|
+
import { _ as __assign } from '../colors.module-fef377ec.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { Title as Title$1 } from './component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-f9c1ed2c.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1util","styrene-large":"typography__styrene-large_1util","styrene-medium":"typography__styrene-medium_1util","styrene-small":"typography__styrene-small_1util","styrene-xsmall":"typography__styrene-xsmall_1util","system-xlarge":"typography__system-xlarge_1util","system-large":"typography__system-large_1util","system-medium":"typography__system-medium_1util","system-small":"typography__system-small_1util","system-xsmall":"typography__system-xsmall_1util","margins-xlarge":"typography__margins-xlarge_1util","margins-large":"typography__margins-large_1util","margins-medium":"typography__margins-medium_1util","margins-small":"typography__margins-small_1util","margins-xsmall":"typography__margins-xsmall_1util","bold":"typography__bold_1util","medium":"typography__medium_1util","regular":"typography__regular_1util"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Title = function (props) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __assign } from '../colors.module-
|
|
1
|
+
import { _ as __assign } from '../colors.module-fef377ec.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { Title } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-f9c1ed2c.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
7
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1ypfk","styrene-large":"typography__styrene-large_1ypfk","styrene-medium":"typography__styrene-medium_1ypfk","styrene-small":"typography__styrene-small_1ypfk","styrene-xsmall":"typography__styrene-xsmall_1ypfk","system-xlarge":"typography__system-xlarge_1ypfk","system-large":"typography__system-large_1ypfk","system-medium":"typography__system-medium_1ypfk","system-small":"typography__system-small_1ypfk","system-xsmall":"typography__system-xsmall_1ypfk","bold":"typography__bold_1ypfk","medium":"typography__medium_1ypfk","regular":"typography__regular_1ypfk"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var TitleMobile = function (props) {
|