@alfalab/core-components-typography 5.0.1 → 5.0.2
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/colors.module.css.js.map +1 -1
- package/component.d.ts +6 -6
- package/component.js.map +1 -1
- package/cssm/component.d.ts +6 -6
- package/cssm/component.js.map +1 -1
- package/cssm/text/alfasans-index.module.css +23 -22
- package/cssm/text/component.d.ts +3 -3
- package/cssm/text/component.js.map +1 -1
- package/cssm/title/alfasans-index.module.css +8 -7
- package/cssm/title/common.module.css +1 -1
- package/cssm/title/component.d.ts +2 -2
- package/cssm/title/component.js.map +1 -1
- package/cssm/title/index.d.ts +1 -1
- package/cssm/title/index.js.map +1 -1
- package/cssm/title/index.module.css +3 -2
- package/cssm/title-mobile/alfasans-index.module.css +8 -7
- package/cssm/title-mobile/component.js.map +1 -1
- package/cssm/title-mobile/index.module.css +3 -2
- package/cssm/title-responsive/component.d.ts +1 -1
- package/cssm/title-responsive/component.js.map +1 -1
- package/esm/colors.css +20 -20
- package/esm/colors.module.css.js +1 -1
- package/esm/colors.module.css.js.map +1 -1
- package/esm/component.d.ts +6 -6
- package/esm/component.js.map +1 -1
- package/esm/text/alfasans-index.css +40 -39
- package/esm/text/alfasans-index.module.css.js +1 -1
- package/esm/text/alfasans-index.module.css.js.map +1 -1
- package/esm/text/component.d.ts +3 -3
- package/esm/text/component.js.map +1 -1
- package/esm/text/index.css +21 -21
- package/esm/text/index.module.css.js +1 -1
- package/esm/text/index.module.css.js.map +1 -1
- package/esm/title/alfasans-index.css +18 -17
- package/esm/title/alfasans-index.module.css.js +1 -1
- package/esm/title/common.css +9 -9
- package/esm/title/common.module.css.js +1 -1
- package/esm/title/common.module.css.js.map +1 -1
- package/esm/title/component.d.ts +2 -2
- package/esm/title/component.js.map +1 -1
- package/esm/title/index.css +19 -18
- package/esm/title/index.d.ts +1 -1
- package/esm/title/index.js.map +1 -1
- package/esm/title/index.module.css.js +1 -1
- package/esm/title/index.module.css.js.map +1 -1
- package/esm/title-mobile/alfasans-index.css +18 -17
- package/esm/title-mobile/alfasans-index.module.css.js +1 -1
- package/esm/title-mobile/component.js.map +1 -1
- package/esm/title-mobile/index.css +18 -17
- package/esm/title-mobile/index.module.css.js +1 -1
- package/esm/title-mobile/index.module.css.js.map +1 -1
- package/esm/title-responsive/component.d.ts +1 -1
- package/esm/title-responsive/component.js.map +1 -1
- package/modern/colors.css +20 -20
- package/modern/colors.module.css.js +1 -1
- package/modern/colors.module.css.js.map +1 -1
- package/modern/component.d.ts +6 -6
- package/modern/component.js.map +1 -1
- package/modern/text/alfasans-index.css +40 -39
- package/modern/text/alfasans-index.module.css.js +1 -1
- package/modern/text/alfasans-index.module.css.js.map +1 -1
- package/modern/text/component.d.ts +3 -3
- package/modern/text/component.js.map +1 -1
- package/modern/text/index.css +21 -21
- package/modern/text/index.module.css.js +1 -1
- package/modern/text/index.module.css.js.map +1 -1
- package/modern/title/alfasans-index.css +18 -17
- package/modern/title/alfasans-index.module.css.js +1 -1
- package/modern/title/common.css +9 -9
- package/modern/title/common.module.css.js +1 -1
- package/modern/title/common.module.css.js.map +1 -1
- package/modern/title/component.d.ts +2 -2
- package/modern/title/component.js.map +1 -1
- package/modern/title/index.css +19 -18
- package/modern/title/index.d.ts +1 -1
- package/modern/title/index.js.map +1 -1
- package/modern/title/index.module.css.js +1 -1
- package/modern/title/index.module.css.js.map +1 -1
- package/modern/title-mobile/alfasans-index.css +18 -17
- package/modern/title-mobile/alfasans-index.module.css.js +1 -1
- package/modern/title-mobile/component.js.map +1 -1
- package/modern/title-mobile/index.css +18 -17
- package/modern/title-mobile/index.module.css.js +1 -1
- package/modern/title-mobile/index.module.css.js.map +1 -1
- package/modern/title-responsive/component.d.ts +1 -1
- package/modern/title-responsive/component.js.map +1 -1
- package/moderncssm/colors.module.css +2 -0
- package/moderncssm/component.d.ts +6 -6
- package/moderncssm/component.js.map +1 -1
- package/moderncssm/text/alfasans-index.module.css +66 -40
- package/moderncssm/text/component.d.ts +3 -3
- package/moderncssm/text/component.js.map +1 -1
- package/moderncssm/text/index.module.css +21 -0
- package/moderncssm/title/alfasans-index.module.css +25 -18
- package/moderncssm/title/common.module.css +3 -1
- package/moderncssm/title/component.d.ts +2 -2
- package/moderncssm/title/component.js.map +1 -1
- package/moderncssm/title/index.d.ts +1 -1
- package/moderncssm/title/index.js.map +1 -1
- package/moderncssm/title/index.module.css +15 -0
- package/moderncssm/title-mobile/alfasans-index.module.css +25 -18
- package/moderncssm/title-mobile/component.js.map +1 -1
- package/moderncssm/title-mobile/index.module.css +14 -0
- package/moderncssm/title-responsive/component.d.ts +1 -1
- package/moderncssm/title-responsive/component.js.map +1 -1
- package/package.json +3 -3
- package/src/colors.module.css +1 -1
- package/src/component.ts +21 -0
- package/src/text/component.tsx +3 -3
- package/src/text/index.module.css +1 -1
- package/src/title/common.module.css +1 -1
- package/src/title/component.tsx +2 -2
- package/src/title/index.module.css +1 -1
- package/src/title/index.tsx +1 -1
- package/src/title-mobile/component.tsx +1 -1
- package/src/title-mobile/index.module.css +1 -1
- package/src/title-responsive/component.tsx +1 -1
- package/text/alfasans-index.css +40 -39
- package/text/alfasans-index.module.css.js +1 -1
- package/text/alfasans-index.module.css.js.map +1 -1
- package/text/component.d.ts +3 -3
- package/text/component.js.map +1 -1
- package/text/index.css +21 -21
- package/text/index.module.css.js +1 -1
- package/text/index.module.css.js.map +1 -1
- package/title/alfasans-index.css +18 -17
- package/title/alfasans-index.module.css.js +1 -1
- package/title/common.css +9 -9
- package/title/common.module.css.js +1 -1
- package/title/common.module.css.js.map +1 -1
- package/title/component.d.ts +2 -2
- package/title/component.js.map +1 -1
- package/title/index.css +19 -18
- package/title/index.d.ts +1 -1
- package/title/index.js.map +1 -1
- package/title/index.module.css.js +1 -1
- package/title/index.module.css.js.map +1 -1
- package/title-mobile/alfasans-index.css +18 -17
- package/title-mobile/alfasans-index.module.css.js +1 -1
- package/title-mobile/component.js.map +1 -1
- package/title-mobile/index.css +18 -17
- package/title-mobile/index.module.css.js +1 -1
- package/title-mobile/index.module.css.js.map +1 -1
- package/title-responsive/component.d.ts +1 -1
- package/title-responsive/component.js.map +1 -1
- package/src/component.tsx +0 -21
- /package/src/title-mobile/{index.tsx → index.ts} +0 -0
- /package/src/title-responsive/{index.tsx → index.ts} +0 -0
package/text/index.css
CHANGED
|
@@ -2,85 +2,85 @@
|
|
|
2
2
|
--gap-s: 12px;
|
|
3
3
|
--gap-0: 0px;
|
|
4
4
|
--gap-12: var(--gap-s);
|
|
5
|
-
} .
|
|
5
|
+
} .typography__transparent_7scw6 {
|
|
6
6
|
opacity: 0;
|
|
7
7
|
} :root {
|
|
8
8
|
--text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);
|
|
9
|
-
} .
|
|
9
|
+
} .typography__paragraph_7scw6 {
|
|
10
10
|
margin: var(--gap-0);
|
|
11
11
|
padding: var(--gap-0);
|
|
12
|
-
} .
|
|
12
|
+
} .typography__paragraphWithMargins_7scw6 {
|
|
13
13
|
padding: var(--gap-0);
|
|
14
14
|
margin: var(--text-paragraph-margin-bottom);
|
|
15
|
-
} .typography__primary-
|
|
15
|
+
} .typography__primary-large_7scw6 {
|
|
16
16
|
font-size: 18px;
|
|
17
17
|
line-height: 24px;
|
|
18
18
|
font-weight: 400;
|
|
19
|
-
} .typography__primary-
|
|
19
|
+
} .typography__primary-medium_7scw6 {
|
|
20
20
|
font-size: 16px;
|
|
21
21
|
line-height: 24px;
|
|
22
22
|
font-weight: 400;
|
|
23
|
-
} .typography__primary-
|
|
23
|
+
} .typography__primary-small_7scw6 {
|
|
24
24
|
font-size: 14px;
|
|
25
25
|
line-height: 20px;
|
|
26
26
|
font-weight: 400;
|
|
27
|
-
} .typography__secondary-
|
|
27
|
+
} .typography__secondary-large_7scw6 {
|
|
28
28
|
font-size: 13px;
|
|
29
29
|
line-height: 16px;
|
|
30
30
|
font-weight: 400;
|
|
31
|
-
} .typography__secondary-
|
|
31
|
+
} .typography__secondary-medium_7scw6 {
|
|
32
32
|
font-size: 12px;
|
|
33
33
|
line-height: 16px;
|
|
34
34
|
font-weight: 400;
|
|
35
|
-
} .typography__secondary-
|
|
35
|
+
} .typography__secondary-small_7scw6 {
|
|
36
36
|
font-size: 11px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
|
-
} .
|
|
39
|
+
} .typography__component_7scw6 {
|
|
40
40
|
font-size: 16px;
|
|
41
41
|
line-height: 20px;
|
|
42
42
|
font-weight: 400;
|
|
43
|
-
} .typography__component-
|
|
43
|
+
} .typography__component-primary_7scw6 {
|
|
44
44
|
font-size: 16px;
|
|
45
45
|
line-height: 20px;
|
|
46
46
|
font-weight: 400;
|
|
47
|
-
} .typography__component-
|
|
47
|
+
} .typography__component-secondary_7scw6 {
|
|
48
48
|
font-size: 14px;
|
|
49
49
|
line-height: 18px;
|
|
50
50
|
font-weight: 400;
|
|
51
|
-
} .
|
|
51
|
+
} .typography__caps_7scw6 {
|
|
52
52
|
font-size: 12px;
|
|
53
53
|
line-height: 16px;
|
|
54
54
|
font-weight: 500;
|
|
55
55
|
letter-spacing: 1.25px;
|
|
56
56
|
text-transform: uppercase;
|
|
57
|
-
} .
|
|
57
|
+
} .typography__tagline_7scw6 {
|
|
58
58
|
font-size: 12px;
|
|
59
59
|
line-height: 16px;
|
|
60
60
|
font-weight: 500;
|
|
61
61
|
letter-spacing: 1.25px;
|
|
62
62
|
text-transform: uppercase;
|
|
63
|
-
} .
|
|
63
|
+
} .typography__bold_7scw6 {
|
|
64
64
|
font-weight: bold;
|
|
65
|
-
} .
|
|
65
|
+
} .typography__medium_7scw6 {
|
|
66
66
|
font-weight: 500;
|
|
67
|
-
} .
|
|
67
|
+
} .typography__regular_7scw6 {
|
|
68
68
|
font-weight: normal;
|
|
69
|
-
} .
|
|
69
|
+
} .typography__monospace_7scw6 {
|
|
70
70
|
font-feature-settings: "tnum";
|
|
71
71
|
font-variant-numeric: tabular-nums;
|
|
72
|
-
} .
|
|
72
|
+
} .typography__rowLimit1_7scw6 {
|
|
73
73
|
-webkit-line-clamp: 1;
|
|
74
74
|
display: -webkit-box;
|
|
75
75
|
-webkit-box-orient: vertical;
|
|
76
76
|
overflow: hidden;
|
|
77
77
|
word-break: break-all;
|
|
78
|
-
} .
|
|
78
|
+
} .typography__rowLimit2_7scw6 {
|
|
79
79
|
-webkit-line-clamp: 2;
|
|
80
80
|
display: -webkit-box;
|
|
81
81
|
-webkit-box-orient: vertical;
|
|
82
82
|
overflow: hidden;
|
|
83
|
-
} .
|
|
83
|
+
} .typography__rowLimit3_7scw6 {
|
|
84
84
|
-webkit-line-clamp: 3;
|
|
85
85
|
display: -webkit-box;
|
|
86
86
|
-webkit-box-orient: vertical;
|
package/text/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"transparent":"
|
|
5
|
+
var styles = {"transparent":"typography__transparent_7scw6","paragraph":"typography__paragraph_7scw6","paragraphWithMargins":"typography__paragraphWithMargins_7scw6","primary-large":"typography__primary-large_7scw6","primary-medium":"typography__primary-medium_7scw6","primary-small":"typography__primary-small_7scw6","secondary-large":"typography__secondary-large_7scw6","secondary-medium":"typography__secondary-medium_7scw6","secondary-small":"typography__secondary-small_7scw6","component":"typography__component_7scw6","component-primary":"typography__component-primary_7scw6","component-secondary":"typography__component-secondary_7scw6","caps":"typography__caps_7scw6","tagline":"typography__tagline_7scw6","bold":"typography__bold_7scw6","medium":"typography__medium_7scw6","regular":"typography__regular_7scw6","monospace":"typography__monospace_7scw6","rowLimit1":"typography__rowLimit1_7scw6","rowLimit2":"typography__rowLimit2_7scw6","rowLimit3":"typography__rowLimit3_7scw6"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../src/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../common.module.css';\n\n:root {\n --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);\n}\n\n.paragraph {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.paragraphWithMargins {\n padding: var(--gap-0);\n margin: var(--text-paragraph-margin-bottom);\n}\n\n.primary-large {\n @mixin paragraph_primary_large;\n}\n\n.primary-medium {\n @mixin paragraph_primary_medium;\n}\n\n.primary-small {\n @mixin paragraph_primary_small;\n}\n\n.secondary-large {\n @mixin paragraph_secondary_large;\n}\n\n.secondary-medium {\n @mixin paragraph_secondary_medium;\n}\n\n.secondary-small {\n @mixin paragraph_secondary_small;\n}\n\n.component {\n @mixin paragraph_component;\n}\n\n.component-primary {\n @mixin paragraph_component_primary;\n}\n\n.component-secondary {\n @mixin paragraph_component_secondary;\n}\n\n.caps {\n @mixin paragraph_caps;\n}\n\n.tagline {\n @mixin paragraph_tagline;\n}\n\n.bold {\n font-weight: bold;\n}\n\n.medium {\n font-weight: 500;\n}\n\n.regular {\n font-weight: normal;\n}\n\n.monospace {\n font-variant-numeric: tabular-nums;\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,WAAW,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,WAAW,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,MAAM,CAAC,wBAAwB,CAAC,SAAS,CAAC,2BAA2B,CAAC,MAAM,CAAC,wBAAwB,CAAC,QAAQ,CAAC,0BAA0B,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../src/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/no-typography-index.css';\n@import '../common.module.css';\n\n:root {\n --text-paragraph-margin-bottom: var(--gap-0) var(--gap-0) var(--gap-12);\n}\n\n.paragraph {\n margin: var(--gap-0);\n padding: var(--gap-0);\n}\n\n.paragraphWithMargins {\n padding: var(--gap-0);\n margin: var(--text-paragraph-margin-bottom);\n}\n\n.primary-large {\n @mixin paragraph_primary_large;\n}\n\n.primary-medium {\n @mixin paragraph_primary_medium;\n}\n\n.primary-small {\n @mixin paragraph_primary_small;\n}\n\n.secondary-large {\n @mixin paragraph_secondary_large;\n}\n\n.secondary-medium {\n @mixin paragraph_secondary_medium;\n}\n\n.secondary-small {\n @mixin paragraph_secondary_small;\n}\n\n.component {\n @mixin paragraph_component;\n}\n\n.component-primary {\n @mixin paragraph_component_primary;\n}\n\n.component-secondary {\n @mixin paragraph_component_secondary;\n}\n\n.caps {\n @mixin paragraph_caps;\n}\n\n.tagline {\n @mixin paragraph_tagline;\n}\n\n.bold {\n font-weight: bold;\n}\n\n.medium {\n font-weight: 500;\n}\n\n.regular {\n font-weight: normal;\n}\n\n.monospace {\n font-variant-numeric: tabular-nums;\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,WAAW,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,WAAW,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,MAAM,CAAC,wBAAwB,CAAC,SAAS,CAAC,2BAA2B,CAAC,MAAM,CAAC,wBAAwB,CAAC,QAAQ,CAAC,0BAA0B,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
package/title/alfasans-index.css
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--font-family-alfasans:
|
|
3
|
-
'
|
|
4
|
-
|
|
2
|
+
--font-family-alfasans:
|
|
3
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
4
|
+
Helvetica, sans-serif;
|
|
5
|
+
} .typography__alfasans-xlarge_1xr2s {
|
|
5
6
|
font-size: 48px;
|
|
6
7
|
line-height: 64px;
|
|
7
8
|
font-weight: 700;
|
|
8
9
|
letter-spacing: 0.1px;
|
|
9
|
-
font-family: var(--font-family-alfasans)
|
|
10
|
-
} .typography__alfasans-
|
|
10
|
+
font-family: var(--font-family-alfasans);
|
|
11
|
+
} .typography__alfasans-xlarge_1xr2s.typography__systemCompat_1xr2s {
|
|
11
12
|
line-height: 52px;
|
|
12
|
-
} .typography__alfasans-
|
|
13
|
+
} .typography__alfasans-large_1xr2s {
|
|
13
14
|
font-size: 40px;
|
|
14
15
|
line-height: 48px;
|
|
15
16
|
font-weight: 700;
|
|
16
17
|
letter-spacing: 0.1px;
|
|
17
|
-
font-family: var(--font-family-alfasans)
|
|
18
|
-
} .typography__alfasans-
|
|
19
|
-
} .typography__alfasans-
|
|
18
|
+
font-family: var(--font-family-alfasans);
|
|
19
|
+
} .typography__alfasans-large_1xr2s.typography__systemCompat_1xr2s {
|
|
20
|
+
} .typography__alfasans-medium_1xr2s {
|
|
20
21
|
font-size: 32px;
|
|
21
22
|
line-height: 40px;
|
|
22
23
|
font-weight: 700;
|
|
23
24
|
letter-spacing: 0.3px;
|
|
24
|
-
font-family: var(--font-family-alfasans)
|
|
25
|
-
} .typography__alfasans-
|
|
25
|
+
font-family: var(--font-family-alfasans);
|
|
26
|
+
} .typography__alfasans-medium_1xr2s.typography__systemCompat_1xr2s {
|
|
26
27
|
font-size: 30px;
|
|
27
28
|
line-height: 36px;
|
|
28
29
|
letter-spacing: 0.1px;
|
|
29
|
-
} .typography__alfasans-
|
|
30
|
+
} .typography__alfasans-small_1xr2s {
|
|
30
31
|
font-size: 24px;
|
|
31
32
|
line-height: 32px;
|
|
32
33
|
font-weight: 700;
|
|
33
34
|
letter-spacing: 0.39px;
|
|
34
|
-
font-family: var(--font-family-alfasans)
|
|
35
|
-
} .typography__alfasans-
|
|
35
|
+
font-family: var(--font-family-alfasans);
|
|
36
|
+
} .typography__alfasans-small_1xr2s.typography__systemCompat_1xr2s {
|
|
36
37
|
font-size: 22px;
|
|
37
38
|
line-height: 26px;
|
|
38
39
|
letter-spacing: 0.2px;
|
|
39
|
-
} .typography__alfasans-
|
|
40
|
+
} .typography__alfasans-xsmall_1xr2s {
|
|
40
41
|
font-size: 20px;
|
|
41
42
|
line-height: 24px;
|
|
42
43
|
font-weight: 700;
|
|
43
44
|
letter-spacing: 0.33px;
|
|
44
|
-
font-family: var(--font-family-alfasans)
|
|
45
|
-
} .typography__alfasans-
|
|
45
|
+
font-family: var(--font-family-alfasans);
|
|
46
|
+
} .typography__alfasans-xsmall_1xr2s.typography__systemCompat_1xr2s {
|
|
46
47
|
font-size: 18px;
|
|
47
48
|
line-height: 22px;
|
|
48
49
|
letter-spacing: 0.38px;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./alfasans-index.css');
|
|
4
4
|
|
|
5
|
-
var alfasansStyles = {"alfasans-xlarge":"typography__alfasans-
|
|
5
|
+
var alfasansStyles = {"alfasans-xlarge":"typography__alfasans-xlarge_1xr2s","systemCompat":"typography__systemCompat_1xr2s","alfasans-large":"typography__alfasans-large_1xr2s","alfasans-medium":"typography__alfasans-medium_1xr2s","alfasans-small":"typography__alfasans-small_1xr2s","alfasans-xsmall":"typography__alfasans-xsmall_1xr2s"};
|
|
6
6
|
|
|
7
7
|
module.exports = alfasansStyles;
|
|
8
8
|
//# sourceMappingURL=alfasans-index.module.css.js.map
|
package/title/common.css
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
|
-
} .
|
|
3
|
+
} .typography__component_1nmkd {
|
|
4
4
|
margin: var(--gap-0);
|
|
5
|
-
padding: var(--gap-0)
|
|
6
|
-
} .
|
|
5
|
+
padding: var(--gap-0);
|
|
6
|
+
} .typography__component_1nmkd.typography__bold_1nmkd {
|
|
7
7
|
font-weight: bold;
|
|
8
|
-
} .
|
|
8
|
+
} .typography__component_1nmkd.typography__semibold_1nmkd {
|
|
9
9
|
font-weight: 600;
|
|
10
|
-
} .
|
|
10
|
+
} .typography__component_1nmkd.typography__medium_1nmkd {
|
|
11
11
|
font-weight: 500;
|
|
12
|
-
} .
|
|
12
|
+
} .typography__component_1nmkd.typography__regular_1nmkd {
|
|
13
13
|
font-weight: normal;
|
|
14
|
-
} .
|
|
14
|
+
} .typography__rowLimit1_1nmkd {
|
|
15
15
|
-webkit-line-clamp: 1;
|
|
16
16
|
display: -webkit-box;
|
|
17
17
|
-webkit-box-orient: vertical;
|
|
18
18
|
overflow: hidden;
|
|
19
19
|
word-break: break-all;
|
|
20
|
-
} .
|
|
20
|
+
} .typography__rowLimit2_1nmkd {
|
|
21
21
|
-webkit-line-clamp: 2;
|
|
22
22
|
display: -webkit-box;
|
|
23
23
|
-webkit-box-orient: vertical;
|
|
24
24
|
overflow: hidden;
|
|
25
|
-
} .
|
|
25
|
+
} .typography__rowLimit3_1nmkd {
|
|
26
26
|
-webkit-line-clamp: 3;
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-box-orient: vertical;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./common.css');
|
|
4
4
|
|
|
5
|
-
var commonStyles = {"component":"
|
|
5
|
+
var commonStyles = {"component":"typography__component_1nmkd","bold":"typography__bold_1nmkd","semibold":"typography__semibold_1nmkd","medium":"typography__medium_1nmkd","regular":"typography__regular_1nmkd","rowLimit1":"typography__rowLimit1_1nmkd","rowLimit2":"typography__rowLimit2_1nmkd","rowLimit3":"typography__rowLimit3_1nmkd"};
|
|
6
6
|
|
|
7
7
|
module.exports = commonStyles;
|
|
8
8
|
//# sourceMappingURL=common.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.module.css.js","sources":["../src/title/common.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n margin: var(--gap-0);\n padding: var(--gap-0);\n\n &.bold {\n font-weight: bold;\n }\n\n &.semibold {\n font-weight: 600;\n }\n\n &.medium {\n font-weight: 500;\n }\n\n &.regular {\n font-weight: normal;\n }\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;;;AAEgB,mBAAe,CAAC,WAAW,CAAC,6BAA6B,CAAC,MAAM,CAAC,wBAAwB,CAAC,UAAU,CAAC,4BAA4B,CAAC,QAAQ,CAAC,0BAA0B,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"common.module.css.js","sources":["../src/title/common.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/no-typography-index.css';\n\n.component {\n margin: var(--gap-0);\n padding: var(--gap-0);\n\n &.bold {\n font-weight: bold;\n }\n\n &.semibold {\n font-weight: 600;\n }\n\n &.medium {\n font-weight: 500;\n }\n\n &.regular {\n font-weight: normal;\n }\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.rowLimit3 {\n @mixin row_limit 3;\n}\n"],"names":[],"mappings":";;;;AAEgB,mBAAe,CAAC,WAAW,CAAC,6BAA6B,CAAC,MAAM,CAAC,wBAAwB,CAAC,UAAU,CAAC,4BAA4B,CAAC,QAAQ,CAAC,0BAA0B,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,CAAC;;;;"}
|
package/title/component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
1
|
+
import React, { type HTMLAttributes } from 'react';
|
|
2
2
|
import { type TextSkeletonProps } from '@alfalab/core-components-skeleton';
|
|
3
|
-
import { Color } from '../colors';
|
|
3
|
+
import { type Color } from '../colors';
|
|
4
4
|
declare type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
5
5
|
export declare type TitleProps = Omit<NativeProps, 'color'> & {
|
|
6
6
|
/**
|
package/title/component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../src/title/component.tsx"],"sourcesContent":["import React, { forwardRef, 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 { Color } from '../colors';\n\nimport { getDefaultWeight } from './utils';\n\nimport colors from '../colors.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: fontProp = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(fontProp) ? fontProp.font : fontProp, 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\n const skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n });\n\n if (skeleton) {\n return skeleton;\n }\n\n let font: string;\n let systemCompat: boolean | undefined;\n\n if (isObject(fontProp)) {\n font = fontProp.font;\n systemCompat = fontProp.systemCompat;\n } else {\n font = fontProp;\n }\n\n return (\n <Component\n className={cn(\n styles.component,\n className,\n styles[`${font}-${view}`],\n defaultMargins && styles[`margins-${view}`],\n styles[weight],\n color && colors[color],\n {\n [styles[`rowLimit${rowLimit}`]]: rowLimit,\n [styles.transparent]: showSkeleton,\n [styles.systemCompat]: systemCompat,\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n );\n },\n);\n"],"names":["forwardRef","getDefaultWeight","isObject","__rest","useSkeleton","cn","React","colors","mergeRefs"],"mappings":";;;;;;;;;;;;;;;;;;;IA2Fa,SAAS,GAAGA,gBAAU,CAC/B,UACI,EAgBC,EACD,GAAG,EAAA;;AAhBC,IAAA,IAAA,WAAsB,EAAjB,SAAS,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,EAAA,GAAA,EAAA,CAAA,IAAe,EAAf,IAAI,mBAAG,QAAQ,GAAA,EAAA,EACf,EAA0B,GAAA,EAAA,CAAA,IAAA,EAApB,QAAQ,GAAG,EAAA,KAAA,MAAA,GAAA,SAAS,GAAA,EAAA,EAC1B,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,cAAkF,EAAlF,MAAM,mBAAGC,sBAAgB,CAACC,6BAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,IAAI,GAAG,QAAQ,EAAE,QAAQ,CAAC,GAAA,EAAA,EAClF,sBAAsB,EAAtB,cAAc,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,KAAK,WAAA,EACL,SAAS,eAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,MAAM,GAAA,EAAA,CAAA,MAAA,EACN,aAAa,GAAA,EAAA,CAAA,aAAA,EACb,YAAY,GAAA,EAAA,CAAA,YAAA,EACT,SAAS,GAAAC,YAAA,CAAA,EAAA,EAfhB,sKAgBC,CADe;AAIV,IAAA,IAAA,EAA8B,GAAAC,kCAAW,CAAC,YAAY,EAAE,aAAa,CAAC,EAApE,cAAc,GAAA,EAAA,CAAA,cAAA,EAAE,OAAO,aAA6C;IAE5E,IAAM,QAAQ,GAAG,cAAc,CAAC;QAC5B,gBAAgB,EAAEC,mBAAE,CAAC,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,CAAC;AACjE,QAAA,UAAU,EAAA,UAAA;AACb,KAAA,CAAC;AAEF,IAAA,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ;AAClB;AAED,IAAA,IAAI,IAAY;AAChB,IAAA,IAAI,YAAiC;AAErC,IAAA,IAAIH,6BAAQ,CAAC,QAAQ,CAAC,EAAE;AACpB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI;AACpB,QAAA,YAAY,GAAG,QAAQ,CAAC,YAAY;AACvC;AAAM,SAAA;QACH,IAAI,GAAG,QAAQ;AAClB;AAED,IAAA,QACII,sBAAC,CAAA,aAAA,CAAA,SAAS,mBACN,SAAS,EAAED,mBAAE,CACT,MAAM,CAAC,SAAS,EAChB,SAAS,EACT,MAAM,CAAC,EAAG,CAAA,MAAA,CAAA,IAAI,cAAI,IAAI,CAAE,CAAC,EACzB,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,EAC3C,MAAM,CAAC,MAAM,CAAC,EACd,KAAK,IAAIE,aAAM,CAAC,KAAK,CAAC,GAAA,EAAA,GAAA,EAAA;AAElB,YAAA,EAAA,CAAC,MAAM,CAAC,UAAA,CAAA,MAAA,CAAW,QAAQ,CAAE,CAAC,IAAG,QAAQ;AACzC,YAAA,EAAA,CAAC,MAAM,CAAC,WAAW,CAAA,GAAG,YAAY;AAClC,YAAA,EAAA,CAAC,MAAM,CAAC,YAAY,CAAA,GAAG,YAAY;AAE1C,YAAA,EAAA,EAAA,EAAA,cAAA,EACa,UAAU,EACxB,GAAG,EAAEC,0BAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,EAC1B,EAAA,SAAS,GAEZ,QAAQ,CACD;AAEpB,CAAC;;;;"}
|
|
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';\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: fontProp = 'styrene',\n platform,\n weight = getDefaultWeight(isObject(fontProp) ? fontProp.font : fontProp, 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\n const skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[`margins-${view}`]),\n dataTestId,\n });\n\n if (skeleton) {\n return skeleton;\n }\n\n let font: string;\n let systemCompat: boolean | undefined;\n\n if (isObject(fontProp)) {\n font = fontProp.font;\n systemCompat = fontProp.systemCompat;\n } else {\n font = fontProp;\n }\n\n return (\n <Component\n className={cn(\n styles.component,\n className,\n styles[`${font}-${view}`],\n defaultMargins && styles[`margins-${view}`],\n styles[weight],\n color && colors[color],\n {\n [styles[`rowLimit${rowLimit}`]]: rowLimit,\n [styles.transparent]: showSkeleton,\n [styles.systemCompat]: systemCompat,\n },\n )}\n data-test-id={dataTestId}\n ref={mergeRefs([ref, textRef])}\n {...restProps}\n >\n {children}\n </Component>\n );\n },\n);\n"],"names":["forwardRef","getDefaultWeight","isObject","__rest","useSkeleton","cn","React","colors","mergeRefs"],"mappings":";;;;;;;;;;;;;;;;;;;IA2Fa,SAAS,GAAGA,gBAAU,CAC/B,UACI,EAgBC,EACD,GAAG,EAAA;;AAhBC,IAAA,IAAA,WAAsB,EAAjB,SAAS,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,EAAA,GAAA,EAAA,CAAA,IAAe,EAAf,IAAI,mBAAG,QAAQ,GAAA,EAAA,EACf,EAA0B,GAAA,EAAA,CAAA,IAAA,EAApB,QAAQ,GAAG,EAAA,KAAA,MAAA,GAAA,SAAS,GAAA,EAAA,EAC1B,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,cAAkF,EAAlF,MAAM,mBAAGC,sBAAgB,CAACC,6BAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,IAAI,GAAG,QAAQ,EAAE,QAAQ,CAAC,GAAA,EAAA,EAClF,sBAAsB,EAAtB,cAAc,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACtB,KAAK,WAAA,EACL,SAAS,eAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,MAAM,GAAA,EAAA,CAAA,MAAA,EACN,aAAa,GAAA,EAAA,CAAA,aAAA,EACb,YAAY,GAAA,EAAA,CAAA,YAAA,EACT,SAAS,GAAAC,YAAA,CAAA,EAAA,EAfhB,sKAgBC,CADe;AAIV,IAAA,IAAA,EAA8B,GAAAC,kCAAW,CAAC,YAAY,EAAE,aAAa,CAAC,EAApE,cAAc,GAAA,EAAA,CAAA,cAAA,EAAE,OAAO,aAA6C;IAE5E,IAAM,QAAQ,GAAG,cAAc,CAAC;QAC5B,gBAAgB,EAAEC,mBAAE,CAAC,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,CAAC;AACjE,QAAA,UAAU,EAAA,UAAA;AACb,KAAA,CAAC;AAEF,IAAA,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ;AAClB;AAED,IAAA,IAAI,IAAY;AAChB,IAAA,IAAI,YAAiC;AAErC,IAAA,IAAIH,6BAAQ,CAAC,QAAQ,CAAC,EAAE;AACpB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI;AACpB,QAAA,YAAY,GAAG,QAAQ,CAAC,YAAY;AACvC;AAAM,SAAA;QACH,IAAI,GAAG,QAAQ;AAClB;AAED,IAAA,QACII,sBAAC,CAAA,aAAA,CAAA,SAAS,mBACN,SAAS,EAAED,mBAAE,CACT,MAAM,CAAC,SAAS,EAChB,SAAS,EACT,MAAM,CAAC,EAAG,CAAA,MAAA,CAAA,IAAI,cAAI,IAAI,CAAE,CAAC,EACzB,cAAc,IAAI,MAAM,CAAC,UAAW,CAAA,MAAA,CAAA,IAAI,CAAE,CAAC,EAC3C,MAAM,CAAC,MAAM,CAAC,EACd,KAAK,IAAIE,aAAM,CAAC,KAAK,CAAC,GAAA,EAAA,GAAA,EAAA;AAElB,YAAA,EAAA,CAAC,MAAM,CAAC,UAAA,CAAA,MAAA,CAAW,QAAQ,CAAE,CAAC,IAAG,QAAQ;AACzC,YAAA,EAAA,CAAC,MAAM,CAAC,WAAW,CAAA,GAAG,YAAY;AAClC,YAAA,EAAA,CAAC,MAAM,CAAC,YAAY,CAAA,GAAG,YAAY;AAE1C,YAAA,EAAA,EAAA,EAAA,cAAA,EACa,UAAU,EACxB,GAAG,EAAEC,0BAAS,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,EAC1B,EAAA,SAAS,GAEZ,QAAQ,CACD;AAEpB,CAAC;;;;"}
|
package/title/index.css
CHANGED
|
@@ -9,68 +9,69 @@
|
|
|
9
9
|
--gap-40: var(--gap-3xl);
|
|
10
10
|
--gap-48: var(--gap-4xl);
|
|
11
11
|
} :root {
|
|
12
|
-
--font-family-styrene:
|
|
13
|
-
'Helvetica Neue', Helvetica,
|
|
14
|
-
|
|
12
|
+
--font-family-styrene:
|
|
13
|
+
'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
14
|
+
sans-serif;
|
|
15
|
+
} .typography__transparent_15stv {
|
|
15
16
|
opacity: 0;
|
|
16
|
-
} .typography__styrene-
|
|
17
|
+
} .typography__styrene-xlarge_15stv {
|
|
17
18
|
font-size: 48px;
|
|
18
19
|
line-height: 64px;
|
|
19
20
|
font-weight: 500;
|
|
20
21
|
font-feature-settings: 'ss01';
|
|
21
22
|
font-family: var(--font-family-styrene);
|
|
22
|
-
} .typography__styrene-
|
|
23
|
+
} .typography__styrene-large_15stv {
|
|
23
24
|
font-size: 40px;
|
|
24
25
|
line-height: 48px;
|
|
25
26
|
font-weight: 500;
|
|
26
27
|
font-feature-settings: 'ss01';
|
|
27
28
|
font-family: var(--font-family-styrene);
|
|
28
|
-
} .typography__styrene-
|
|
29
|
+
} .typography__styrene-medium_15stv {
|
|
29
30
|
font-size: 32px;
|
|
30
31
|
line-height: 40px;
|
|
31
32
|
font-weight: 500;
|
|
32
33
|
font-feature-settings: 'ss01';
|
|
33
34
|
font-family: var(--font-family-styrene);
|
|
34
|
-
} .typography__styrene-
|
|
35
|
+
} .typography__styrene-small_15stv {
|
|
35
36
|
font-size: 24px;
|
|
36
37
|
line-height: 32px;
|
|
37
38
|
font-weight: 500;
|
|
38
39
|
font-feature-settings: 'ss01';
|
|
39
40
|
font-family: var(--font-family-styrene);
|
|
40
|
-
} .typography__styrene-
|
|
41
|
+
} .typography__styrene-xsmall_15stv {
|
|
41
42
|
font-size: 20px;
|
|
42
43
|
line-height: 24px;
|
|
43
44
|
font-weight: 500;
|
|
44
45
|
font-feature-settings: 'ss01';
|
|
45
46
|
font-family: var(--font-family-styrene);
|
|
46
|
-
} .typography__system-
|
|
47
|
+
} .typography__system-xlarge_15stv {
|
|
47
48
|
font-size: 48px;
|
|
48
49
|
line-height: 52px;
|
|
49
50
|
font-weight: 700;
|
|
50
|
-
} .typography__system-
|
|
51
|
+
} .typography__system-large_15stv {
|
|
51
52
|
font-size: 40px;
|
|
52
53
|
line-height: 48px;
|
|
53
54
|
font-weight: 700;
|
|
54
|
-
} .typography__system-
|
|
55
|
+
} .typography__system-medium_15stv {
|
|
55
56
|
font-size: 30px;
|
|
56
57
|
line-height: 36px;
|
|
57
58
|
font-weight: 700;
|
|
58
|
-
} .typography__system-
|
|
59
|
+
} .typography__system-small_15stv {
|
|
59
60
|
font-size: 22px;
|
|
60
61
|
line-height: 26px;
|
|
61
62
|
font-weight: 700;
|
|
62
|
-
} .typography__system-
|
|
63
|
+
} .typography__system-xsmall_15stv {
|
|
63
64
|
font-size: 18px;
|
|
64
65
|
line-height: 22px;
|
|
65
66
|
font-weight: 700;
|
|
66
|
-
} .typography__margins-
|
|
67
|
+
} .typography__margins-xlarge_15stv {
|
|
67
68
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
68
|
-
} .typography__margins-
|
|
69
|
+
} .typography__margins-large_15stv {
|
|
69
70
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
70
|
-
} .typography__margins-
|
|
71
|
+
} .typography__margins-medium_15stv {
|
|
71
72
|
margin: var(--gap-48) var(--gap-0) var(--gap-24);
|
|
72
|
-
} .typography__margins-
|
|
73
|
+
} .typography__margins-small_15stv {
|
|
73
74
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
74
|
-
} .typography__margins-
|
|
75
|
+
} .typography__margins-xsmall_15stv {
|
|
75
76
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
76
77
|
}
|
package/title/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TitleProps } from './component';
|
|
2
|
+
import { type TitleProps } from './component';
|
|
3
3
|
declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
4
4
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5
5
|
view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
|
package/title/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/title/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, TitleProps } from './component';\n\nimport alfasansStyles from './alfasans-index.module.css';\nimport commonStyles from './common.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nconst Title = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>((props, ref) => (\n <TitleBase {...props} styles={allStyles} ref={ref} platform='desktop' />\n));\n\nexport { Title };\nexport type { TitleProps };\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase"],"mappings":";;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,aAAY,CAAA,EAAKC,YAAM,CAAK,EAAAC,oBAAc,CAAE;AAE3D,IAAM,KAAK,GAAGC,gBAAU,CAAkD,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,QACtFC,sBAAC,CAAA,aAAA,CAAAC,mBAAS,qBAAK,KAAK,EAAA,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,SAAS,EAAG,CAAA,CAAA,EADc,EAEzF;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/title/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, type TitleProps } from './component';\n\nimport alfasansStyles from './alfasans-index.module.css';\nimport commonStyles from './common.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nconst Title = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>((props, ref) => (\n <TitleBase {...props} styles={allStyles} ref={ref} platform='desktop' />\n));\n\nexport { Title };\nexport type { TitleProps };\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase"],"mappings":";;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,aAAY,CAAA,EAAKC,YAAM,CAAK,EAAAC,oBAAc,CAAE;AAE3D,IAAM,KAAK,GAAGC,gBAAU,CAAkD,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,QACtFC,sBAAC,CAAA,aAAA,CAAAC,mBAAS,qBAAK,KAAK,EAAA,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,SAAS,EAAG,CAAA,CAAA,EADc,EAEzF;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"transparent":"
|
|
5
|
+
var styles = {"transparent":"typography__transparent_15stv","styrene-xlarge":"typography__styrene-xlarge_15stv","styrene-large":"typography__styrene-large_15stv","styrene-medium":"typography__styrene-medium_15stv","styrene-small":"typography__styrene-small_15stv","styrene-xsmall":"typography__styrene-xsmall_15stv","system-xlarge":"typography__system-xlarge_15stv","system-large":"typography__system-large_15stv","system-medium":"typography__system-medium_15stv","system-small":"typography__system-small_15stv","system-xsmall":"typography__system-xsmall_15stv","margins-xlarge":"typography__margins-xlarge_15stv","margins-large":"typography__margins-large_15stv","margins-medium":"typography__margins-medium_15stv","margins-small":"typography__margins-small_15stv","margins-xsmall":"typography__margins-xsmall_15stv"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../margins.module.css';\n@import '../common.module.css';\n\n.styrene-xlarge {\n @mixin headline_xlarge;\n}\n\n.styrene-large {\n @mixin headline_large;\n}\n\n.styrene-medium {\n @mixin headline_medium;\n}\n\n.styrene-small {\n @mixin headline_small;\n}\n\n.styrene-xsmall {\n @mixin headline_xsmall;\n}\n\n.system-xlarge {\n @mixin headline-system_xlarge;\n}\n\n.system-large {\n @mixin headline-system_large;\n}\n\n.system-medium {\n @mixin headline-system_medium;\n}\n\n.system-small {\n @mixin headline-system_small;\n}\n\n.system-xsmall {\n @mixin headline-system_xsmall;\n}\n\n.margins-xlarge {\n @mixin margin-large;\n}\n\n.margins-large {\n @mixin margin-medium;\n}\n\n.margins-medium {\n @mixin margin-medium;\n}\n\n.margins-small {\n @mixin margin-small;\n}\n\n.margins-xsmall {\n @mixin margin-small;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,cAAc,CAAC,gCAAgC,CAAC,eAAe,CAAC,iCAAiC,CAAC,cAAc,CAAC,gCAAgC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../src/title/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/no-typography-index.css';\n@import '../margins.module.css';\n@import '../common.module.css';\n\n.styrene-xlarge {\n @mixin headline_xlarge;\n}\n\n.styrene-large {\n @mixin headline_large;\n}\n\n.styrene-medium {\n @mixin headline_medium;\n}\n\n.styrene-small {\n @mixin headline_small;\n}\n\n.styrene-xsmall {\n @mixin headline_xsmall;\n}\n\n.system-xlarge {\n @mixin headline-system_xlarge;\n}\n\n.system-large {\n @mixin headline-system_large;\n}\n\n.system-medium {\n @mixin headline-system_medium;\n}\n\n.system-small {\n @mixin headline-system_small;\n}\n\n.system-xsmall {\n @mixin headline-system_xsmall;\n}\n\n.margins-xlarge {\n @mixin margin-large;\n}\n\n.margins-large {\n @mixin margin-medium;\n}\n\n.margins-medium {\n @mixin margin-medium;\n}\n\n.margins-small {\n @mixin margin-small;\n}\n\n.margins-xsmall {\n @mixin margin-small;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,aAAa,CAAC,+BAA+B,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,cAAc,CAAC,gCAAgC,CAAC,eAAe,CAAC,iCAAiC,CAAC,cAAc,CAAC,gCAAgC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,kCAAkC,CAAC;;;;"}
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--font-family-alfasans:
|
|
3
|
-
'
|
|
4
|
-
|
|
2
|
+
--font-family-alfasans:
|
|
3
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
4
|
+
Helvetica, sans-serif;
|
|
5
|
+
} .typography__alfasans-xlarge_1q533 {
|
|
5
6
|
font-size: 34px;
|
|
6
7
|
line-height: 40px;
|
|
7
8
|
font-weight: 500;
|
|
8
9
|
letter-spacing: -0.32px;
|
|
9
|
-
font-family: var(--font-family-alfasans)
|
|
10
|
-
} .typography__alfasans-
|
|
11
|
-
} .typography__alfasans-
|
|
10
|
+
font-family: var(--font-family-alfasans);
|
|
11
|
+
} .typography__alfasans-xlarge_1q533.typography__systemCompat_1q533 {
|
|
12
|
+
} .typography__alfasans-large_1q533 {
|
|
12
13
|
font-size: 30px;
|
|
13
14
|
line-height: 36px;
|
|
14
15
|
font-weight: 500;
|
|
15
16
|
letter-spacing: -0.25px;
|
|
16
|
-
font-family: var(--font-family-alfasans)
|
|
17
|
-
} .typography__alfasans-
|
|
18
|
-
} .typography__alfasans-
|
|
17
|
+
font-family: var(--font-family-alfasans);
|
|
18
|
+
} .typography__alfasans-large_1q533.typography__systemCompat_1q533 {
|
|
19
|
+
} .typography__alfasans-medium_1q533 {
|
|
19
20
|
font-size: 26px;
|
|
20
21
|
line-height: 32px;
|
|
21
22
|
font-weight: 500;
|
|
22
23
|
letter-spacing: -0.25px;
|
|
23
|
-
font-family: var(--font-family-alfasans)
|
|
24
|
-
} .typography__alfasans-
|
|
25
|
-
} .typography__alfasans-
|
|
24
|
+
font-family: var(--font-family-alfasans);
|
|
25
|
+
} .typography__alfasans-medium_1q533.typography__systemCompat_1q533 {
|
|
26
|
+
} .typography__alfasans-small_1q533 {
|
|
26
27
|
font-size: 20px;
|
|
27
28
|
line-height: 28px;
|
|
28
29
|
font-weight: 500;
|
|
29
30
|
letter-spacing: -0.15px;
|
|
30
|
-
font-family: var(--font-family-alfasans)
|
|
31
|
-
} .typography__alfasans-
|
|
32
|
-
} .typography__alfasans-
|
|
31
|
+
font-family: var(--font-family-alfasans);
|
|
32
|
+
} .typography__alfasans-small_1q533.typography__systemCompat_1q533 {
|
|
33
|
+
} .typography__alfasans-xsmall_1q533 {
|
|
33
34
|
font-size: 16px;
|
|
34
35
|
line-height: 20px;
|
|
35
36
|
font-weight: 500;
|
|
36
37
|
letter-spacing: 0.17px;
|
|
37
|
-
font-family: var(--font-family-alfasans)
|
|
38
|
-
} .typography__alfasans-
|
|
38
|
+
font-family: var(--font-family-alfasans);
|
|
39
|
+
} .typography__alfasans-xsmall_1q533.typography__systemCompat_1q533 {
|
|
39
40
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./alfasans-index.css');
|
|
4
4
|
|
|
5
|
-
var alfasansStyles = {"alfasans-xlarge":"typography__alfasans-
|
|
5
|
+
var alfasansStyles = {"alfasans-xlarge":"typography__alfasans-xlarge_1q533","systemCompat":"typography__systemCompat_1q533","alfasans-large":"typography__alfasans-large_1q533","alfasans-medium":"typography__alfasans-medium_1q533","alfasans-small":"typography__alfasans-small_1q533","alfasans-xsmall":"typography__alfasans-xsmall_1q533"};
|
|
6
6
|
|
|
7
7
|
module.exports = alfasansStyles;
|
|
8
8
|
//# sourceMappingURL=alfasans-index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../src/title-mobile/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, TitleProps } from '../title/component';\n\nimport commonStyles from '../title/common.module.css';\nimport alfasansStyles from './alfasans-index.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nexport const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(\n (props, ref) => <TitleBase {...props} styles={allStyles} ref={ref} platform='mobile' />,\n);\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase","__assign"],"mappings":";;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,aAAY,CAAA,EAAKC,YAAM,CAAK,EAAAC,oBAAc,CAAE;AAEpD,IAAM,WAAW,GAAGC,gBAAU,CACjC,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,OAAAC,sBAAA,CAAA,aAAA,CAACC,mBAAS,EAAKC,cAAA,CAAA,EAAA,EAAA,KAAK,EAAE,EAAA,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,QAAQ,EAAA,CAAA,CAAG,CAAvE,EAAuE;;;;"}
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../src/title-mobile/component.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { TitleBase, type TitleProps } from '../title/component';\n\nimport commonStyles from '../title/common.module.css';\nimport alfasansStyles from './alfasans-index.module.css';\nimport styles from './index.module.css';\n\nconst allStyles =\n process.env.CORE_COMPONENTS_ENV === 'test'\n ? commonStyles\n : { ...commonStyles, ...styles, ...alfasansStyles };\n\nexport const TitleMobile = forwardRef<HTMLHeadingElement | HTMLDivElement, TitleProps>(\n (props, ref) => <TitleBase {...props} styles={allStyles} ref={ref} platform='mobile' />,\n);\n"],"names":["commonStyles","styles","alfasansStyles","forwardRef","React","TitleBase","__assign"],"mappings":";;;;;;;;;;;;;;;AAQA,IAAM,SAAS,oDAGAA,aAAY,CAAA,EAAKC,YAAM,CAAK,EAAAC,oBAAc,CAAE;AAEpD,IAAM,WAAW,GAAGC,gBAAU,CACjC,UAAC,KAAK,EAAE,GAAG,EAAA,EAAK,OAAAC,sBAAA,CAAA,aAAA,CAACC,mBAAS,EAAKC,cAAA,CAAA,EAAA,EAAA,KAAK,EAAE,EAAA,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAC,QAAQ,EAAA,CAAA,CAAG,CAAvE,EAAuE;;;;"}
|
package/title-mobile/index.css
CHANGED
|
@@ -7,66 +7,67 @@
|
|
|
7
7
|
--gap-24: var(--gap-xl);
|
|
8
8
|
--gap-40: var(--gap-3xl);
|
|
9
9
|
} :root {
|
|
10
|
-
--font-family-styrene:
|
|
11
|
-
'Helvetica Neue', Helvetica,
|
|
12
|
-
|
|
10
|
+
--font-family-styrene:
|
|
11
|
+
'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
12
|
+
sans-serif;
|
|
13
|
+
} .typography__styrene-xlarge_1mhd8 {
|
|
13
14
|
font-size: 34px;
|
|
14
15
|
line-height: 40px;
|
|
15
16
|
font-weight: 500;
|
|
16
17
|
font-feature-settings: 'ss01';
|
|
17
18
|
font-family: var(--font-family-styrene);
|
|
18
|
-
} .typography__styrene-
|
|
19
|
+
} .typography__styrene-large_1mhd8 {
|
|
19
20
|
font-size: 30px;
|
|
20
21
|
line-height: 36px;
|
|
21
22
|
font-weight: 500;
|
|
22
23
|
font-feature-settings: 'ss01';
|
|
23
24
|
font-family: var(--font-family-styrene);
|
|
24
|
-
} .typography__styrene-
|
|
25
|
+
} .typography__styrene-medium_1mhd8 {
|
|
25
26
|
font-size: 26px;
|
|
26
27
|
line-height: 32px;
|
|
27
28
|
font-weight: 500;
|
|
28
29
|
font-feature-settings: 'ss01';
|
|
29
30
|
font-family: var(--font-family-styrene);
|
|
30
|
-
} .typography__styrene-
|
|
31
|
+
} .typography__styrene-small_1mhd8 {
|
|
31
32
|
font-size: 20px;
|
|
32
33
|
line-height: 28px;
|
|
33
34
|
font-weight: 500;
|
|
34
35
|
font-feature-settings: 'ss01';
|
|
35
36
|
font-family: var(--font-family-styrene);
|
|
36
|
-
} .typography__styrene-
|
|
37
|
+
} .typography__styrene-xsmall_1mhd8 {
|
|
37
38
|
font-size: 16px;
|
|
38
39
|
line-height: 20px;
|
|
39
40
|
font-weight: 500;
|
|
40
41
|
font-feature-settings: 'ss01';
|
|
41
42
|
font-family: var(--font-family-styrene);
|
|
42
|
-
} .typography__system-
|
|
43
|
+
} .typography__system-xlarge_1mhd8 {
|
|
43
44
|
font-size: 34px;
|
|
44
45
|
line-height: 40px;
|
|
45
46
|
font-weight: 600;
|
|
46
|
-
} .typography__system-
|
|
47
|
+
} .typography__system-large_1mhd8 {
|
|
47
48
|
font-size: 30px;
|
|
48
49
|
line-height: 36px;
|
|
49
50
|
font-weight: 600;
|
|
50
|
-
} .typography__system-
|
|
51
|
+
} .typography__system-medium_1mhd8 {
|
|
51
52
|
font-size: 26px;
|
|
52
53
|
line-height: 32px;
|
|
53
54
|
font-weight: 600;
|
|
54
|
-
} .typography__system-
|
|
55
|
+
} .typography__system-small_1mhd8 {
|
|
55
56
|
font-size: 20px;
|
|
56
57
|
line-height: 28px;
|
|
57
58
|
font-weight: 600;
|
|
58
|
-
} .typography__system-
|
|
59
|
+
} .typography__system-xsmall_1mhd8 {
|
|
59
60
|
font-size: 16px;
|
|
60
61
|
line-height: 20px;
|
|
61
62
|
font-weight: 600;
|
|
62
|
-
} .typography__margins-
|
|
63
|
+
} .typography__margins-xlarge_1mhd8 {
|
|
63
64
|
margin: var(--gap-0) var(--gap-0) var(--gap-24);
|
|
64
|
-
} .typography__margins-
|
|
65
|
+
} .typography__margins-large_1mhd8 {
|
|
65
66
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
66
|
-
} .typography__margins-
|
|
67
|
+
} .typography__margins-medium_1mhd8 {
|
|
67
68
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
68
|
-
} .typography__margins-
|
|
69
|
+
} .typography__margins-small_1mhd8 {
|
|
69
70
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
70
|
-
} .typography__margins-
|
|
71
|
+
} .typography__margins-xsmall_1mhd8 {
|
|
71
72
|
margin: var(--gap-40) var(--gap-0) var(--gap-16);
|
|
72
73
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"styrene-xlarge":"typography__styrene-
|
|
5
|
+
var styles = {"styrene-xlarge":"typography__styrene-xlarge_1mhd8","styrene-large":"typography__styrene-large_1mhd8","styrene-medium":"typography__styrene-medium_1mhd8","styrene-small":"typography__styrene-small_1mhd8","styrene-xsmall":"typography__styrene-xsmall_1mhd8","system-xlarge":"typography__system-xlarge_1mhd8","system-large":"typography__system-large_1mhd8","system-medium":"typography__system-medium_1mhd8","system-small":"typography__system-small_1mhd8","system-xsmall":"typography__system-xsmall_1mhd8","margins-xlarge":"typography__margins-xlarge_1mhd8","margins-large":"typography__margins-large_1mhd8","margins-medium":"typography__margins-medium_1mhd8","margins-small":"typography__margins-small_1mhd8","margins-xsmall":"typography__margins-xsmall_1mhd8"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|