@alfalab/core-components-typography 2.2.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/colors.css +13 -13
  3. package/dist/{colors.module-7d312c25.d.ts → colors.module-45b4d802.d.ts} +0 -0
  4. package/dist/{colors.module-7d312c25.js → colors.module-45b4d802.js} +1 -1
  5. package/dist/common.module-adb3fff7.js +6 -0
  6. package/dist/component.d.ts +2 -0
  7. package/dist/component.js +4 -2
  8. package/dist/cssm/component.d.ts +2 -0
  9. package/dist/cssm/component.js +3 -0
  10. package/dist/cssm/index.d.ts +2 -0
  11. package/dist/cssm/index.js +2 -0
  12. package/dist/cssm/title-mobile/component.d.ts +5 -0
  13. package/dist/cssm/title-mobile/component.js +27 -0
  14. package/dist/cssm/title-mobile/index.d.ts +1 -0
  15. package/dist/cssm/title-mobile/index.js +16 -0
  16. package/dist/cssm/title-mobile/index.module.css +81 -0
  17. package/dist/cssm/title-responsive/index.module.css +7 -47
  18. package/dist/esm/colors.css +13 -13
  19. package/dist/esm/{colors.module-c988507f.d.ts → colors.module-75191c3e.d.ts} +0 -0
  20. package/dist/esm/{colors.module-c988507f.js → colors.module-75191c3e.js} +1 -1
  21. package/dist/esm/common.module-21808f5a.js +4 -0
  22. package/dist/esm/component.d.ts +2 -0
  23. package/dist/esm/component.js +4 -2
  24. package/dist/esm/index.d.ts +2 -0
  25. package/dist/esm/index.js +3 -2
  26. package/dist/esm/text/component.js +2 -2
  27. package/dist/esm/text/index.css +14 -14
  28. package/dist/esm/text/index.js +1 -1
  29. package/dist/esm/title/common.css +5 -5
  30. package/dist/esm/title/component.js +1 -1
  31. package/dist/esm/title/index.css +19 -19
  32. package/dist/esm/title/index.js +3 -3
  33. package/dist/esm/title-mobile/component.d.ts +5 -0
  34. package/dist/esm/title-mobile/component.js +18 -0
  35. package/dist/esm/title-mobile/index.css +82 -0
  36. package/dist/esm/title-mobile/index.d.ts +1 -0
  37. package/dist/esm/title-mobile/index.js +6 -0
  38. package/dist/esm/title-responsive/component.js +3 -3
  39. package/dist/esm/title-responsive/index.css +48 -88
  40. package/dist/esm/title-responsive/index.js +2 -2
  41. package/dist/index.d.ts +2 -0
  42. package/dist/index.js +3 -2
  43. package/dist/modern/colors.css +13 -13
  44. package/dist/modern/colors.module-fc3a89e7.js +4 -0
  45. package/dist/modern/common.module-21808f5a.js +4 -0
  46. package/dist/modern/component.d.ts +2 -0
  47. package/dist/modern/component.js +4 -2
  48. package/dist/modern/index.d.ts +2 -0
  49. package/dist/modern/index.js +3 -2
  50. package/dist/modern/text/component.js +2 -2
  51. package/dist/modern/text/index.css +14 -14
  52. package/dist/modern/text/index.js +1 -1
  53. package/dist/modern/title/common.css +5 -5
  54. package/dist/modern/title/component.js +1 -1
  55. package/dist/modern/title/index.css +19 -19
  56. package/dist/modern/title/index.js +3 -3
  57. package/dist/modern/title-mobile/component.d.ts +5 -0
  58. package/dist/modern/title-mobile/component.js +18 -0
  59. package/dist/modern/title-mobile/index.css +82 -0
  60. package/dist/modern/title-mobile/index.d.ts +1 -0
  61. package/dist/modern/title-mobile/index.js +6 -0
  62. package/dist/modern/title-responsive/component.js +3 -3
  63. package/dist/modern/title-responsive/index.css +48 -88
  64. package/dist/modern/title-responsive/index.js +2 -2
  65. package/dist/text/component.js +2 -2
  66. package/dist/text/index.css +14 -14
  67. package/dist/text/index.js +1 -1
  68. package/dist/title/common.css +5 -5
  69. package/dist/title/component.js +1 -1
  70. package/dist/title/index.css +19 -19
  71. package/dist/title/index.js +3 -3
  72. package/dist/title-mobile/component.d.ts +5 -0
  73. package/dist/title-mobile/component.js +26 -0
  74. package/dist/title-mobile/index.css +82 -0
  75. package/dist/title-mobile/index.d.ts +1 -0
  76. package/dist/title-mobile/index.js +14 -0
  77. package/dist/title-responsive/component.js +3 -3
  78. package/dist/title-responsive/index.css +48 -88
  79. package/dist/title-responsive/index.js +2 -2
  80. package/package.json +2 -2
  81. package/dist/common.module-c6130e05.js +0 -6
  82. package/dist/esm/common.module-15dfca9d.js +0 -4
  83. package/dist/modern/colors.module-3f74b55a.js +0 -4
  84. package/dist/modern/common.module-15dfca9d.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1kuiz */
1
+ /* hash: gwiym */
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
- .typography__tertiary_1kuiz {
25
+ .typography__tertiary_1i58d {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_1kuiz {
28
+ .typography__disabled_1i58d {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_1kuiz {
31
+ .typography__accent_1i58d {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_1kuiz {
34
+ .typography__primary_1i58d {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_1kuiz {
37
+ .typography__attention_1i58d {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_1kuiz {
40
+ .typography__positive_1i58d {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_1kuiz {
43
+ .typography__secondary_1i58d {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_1kuiz {
46
+ .typography__tertiary-inverted_1i58d {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_1kuiz {
49
+ .typography__primary-inverted_1i58d {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_1kuiz {
52
+ .typography__secondary-inverted_1i58d {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_1kuiz {
55
+ .typography__link_1i58d {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_1kuiz {
58
+ .typography__negative_1i58d {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_1i58d","disabled":"typography__disabled_1i58d","accent":"typography__accent_1i58d","primary":"typography__primary_1i58d","attention":"typography__attention_1i58d","positive":"typography__positive_1i58d","secondary":"typography__secondary_1i58d","tertiary-inverted":"typography__tertiary-inverted_1i58d","primary-inverted":"typography__primary-inverted_1i58d","secondary-inverted":"typography__secondary-inverted_1i58d","link":"typography__link_1i58d","negative":"typography__negative_1i58d"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_3klin","bold":"typography__bold_3klin","medium":"typography__medium_3klin","regular":"typography__regular_3klin"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,9 +1,11 @@
1
1
  import { FC } from 'react';
2
2
  import { TitleProps } from "./title/index";
3
3
  import { TextProps } from "./text/index";
4
+ import { TitleMobileProps } from "./title-mobile/index";
4
5
  declare const Typography: {
5
6
  Title: FC<TitleProps>;
6
7
  Text: FC<TextProps>;
7
8
  TitleResponsive: FC<TitleProps>;
9
+ TitleMobile: FC<TitleMobileProps>;
8
10
  };
9
11
  export { Typography };
@@ -1,16 +1,18 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-3f74b55a.js';
3
+ import './colors.module-fc3a89e7.js';
4
4
  import './title/component.js';
5
- import './common.module-15dfca9d.js';
5
+ import './common.module-21808f5a.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';
9
+ import { TitleMobile } from './title-mobile/component.js';
9
10
 
10
11
  const Typography = {
11
12
  Title,
12
13
  Text,
13
14
  TitleResponsive,
15
+ TitleMobile,
14
16
  };
15
17
 
16
18
  export { Typography };
@@ -1 +1,3 @@
1
1
  export * from "./component";
2
+ export { TitleProps } from "./title/index";
3
+ export { TextProps } from "./text/index";
@@ -1,9 +1,10 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-3f74b55a.js';
3
+ import './colors.module-fc3a89e7.js';
4
4
  import './title/component.js';
5
- import './common.module-15dfca9d.js';
5
+ import './common.module-21808f5a.js';
6
6
  import './title/index.js';
7
7
  import './text/component.js';
8
8
  import './title-responsive/component.js';
9
+ import './title-mobile/component.js';
9
10
  export { Typography } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
- import { c as colors } from '../colors.module-3f74b55a.js';
3
+ import { c as colors } from '../colors.module-fc3a89e7.js';
4
4
 
5
- var styles = {"paragraph":"typography__paragraph_qlj8b","primary-large":"typography__primary-large_qlj8b","primary-medium":"typography__primary-medium_qlj8b","primary-small":"typography__primary-small_qlj8b","secondary-large":"typography__secondary-large_qlj8b","secondary-medium":"typography__secondary-medium_qlj8b","secondary-small":"typography__secondary-small_qlj8b","component":"typography__component_qlj8b","caps":"typography__caps_qlj8b","bold":"typography__bold_qlj8b","medium":"typography__medium_qlj8b","regular":"typography__regular_qlj8b","monospace":"typography__monospace_qlj8b"};
5
+ var styles = {"paragraph":"typography__paragraph_1w8ug","primary-large":"typography__primary-large_1w8ug","primary-medium":"typography__primary-medium_1w8ug","primary-small":"typography__primary-small_1w8ug","secondary-large":"typography__secondary-large_1w8ug","secondary-medium":"typography__secondary-medium_1w8ug","secondary-small":"typography__secondary-small_1w8ug","component":"typography__component_1w8ug","caps":"typography__caps_1w8ug","bold":"typography__bold_1w8ug","medium":"typography__medium_1w8ug","regular":"typography__regular_1w8ug","monospace":"typography__monospace_1w8ug"};
6
6
  require('./index.css')
7
7
 
8
8
  const Text = forwardRef(({ view = 'primary-medium', tag: Component = 'span', weight = 'regular', monospaceNumbers = false, color, className, dataTestId, children, ...restProps }, ref) => (React.createElement(Component, Object.assign({ className: cn({ [styles.paragraph]: Component === 'p', [styles.monospace]: monospaceNumbers }, className, color && colors[color], styles[view], styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children)));
@@ -1,4 +1,4 @@
1
- /* hash: qlj8b */
1
+ /* hash: fkots */
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
- .typography__paragraph_qlj8b {
16
+ .typography__paragraph_1w8ug {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_qlj8b {
20
+ .typography__primary-large_1w8ug {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_qlj8b {
25
+ .typography__primary-medium_1w8ug {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_qlj8b {
30
+ .typography__primary-small_1w8ug {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_qlj8b {
35
+ .typography__secondary-large_1w8ug {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_qlj8b {
40
+ .typography__secondary-medium_1w8ug {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_qlj8b {
45
+ .typography__secondary-small_1w8ug {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_qlj8b {
50
+ .typography__component_1w8ug {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_qlj8b {
55
+ .typography__caps_1w8ug {
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
- .typography__bold_qlj8b {
62
+ .typography__bold_1w8ug {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_qlj8b {
65
+ .typography__medium_1w8ug {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_qlj8b {
68
+ .typography__regular_1w8ug {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_qlj8b {
71
+ .typography__monospace_1w8ug {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../colors.module-3f74b55a.js';
3
+ import '../colors.module-fc3a89e7.js';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
- /* hash: 1v586 */
2
- .typography__component_1v586 {
1
+ /* hash: 2ojzo */
2
+ .typography__component_3klin {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_1v586 {
7
+ .typography__bold_3klin {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_1v586 {
11
+ .typography__medium_3klin {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_1v586 {
15
+ .typography__regular_3klin {
16
16
  font-weight: normal;
17
17
  }
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
- import { c as colors } from '../colors.module-3f74b55a.js';
3
+ import { c as colors } from '../colors.module-fc3a89e7.js';
4
4
 
5
5
  const Title = forwardRef(({ tag: Component = 'div', view = 'medium', font = 'styrene', weight = font === 'styrene' ? 'medium' : 'bold', defaultMargins = false, color, className, dataTestId, children, styles, ...restProps }, ref) => (React.createElement(Component, Object.assign({ className: cn(styles.component, className, styles[`${font}-${view}`], defaultMargins && styles[`margins-${view}`], styles[weight], color && colors[color]), "data-test-id": dataTestId, ref: ref }, restProps), children)));
6
6
 
@@ -1,4 +1,4 @@
1
- /* hash: csqb7 */
1
+ /* hash: 1ec8z */
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-xlarge_csqb7 {
20
+ .typography__styrene-xlarge_1xsxq {
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-large_csqb7 {
27
+ .typography__styrene-large_1xsxq {
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-medium_csqb7 {
34
+ .typography__styrene-medium_1xsxq {
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-small_csqb7 {
41
+ .typography__styrene-small_1xsxq {
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-xsmall_csqb7 {
48
+ .typography__styrene-xsmall_1xsxq {
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-xlarge_csqb7 {
55
+ .typography__system-xlarge_1xsxq {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_csqb7 {
60
+ .typography__system-large_1xsxq {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_csqb7 {
65
+ .typography__system-medium_1xsxq {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_csqb7 {
70
+ .typography__system-small_1xsxq {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_csqb7 {
75
+ .typography__system-xsmall_1xsxq {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_csqb7 {
80
+ .typography__margins-xlarge_1xsxq {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_csqb7 {
83
+ .typography__margins-large_1xsxq {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_csqb7 {
86
+ .typography__margins-medium_1xsxq {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_csqb7 {
89
+ .typography__margins-small_1xsxq {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_csqb7 {
92
+ .typography__margins-xsmall_1xsxq {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_csqb7 {
95
+ .typography__bold_1xsxq {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_csqb7 {
98
+ .typography__medium_1xsxq {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_csqb7 {
101
+ .typography__regular_1xsxq {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-3f74b55a.js';
3
+ import '../colors.module-fc3a89e7.js';
4
4
  import { Title as Title$1 } from './component.js';
5
- import { c as commonStyles } from '../common.module-15dfca9d.js';
5
+ import { c as commonStyles } from '../common.module-21808f5a.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_csqb7","styrene-large":"typography__styrene-large_csqb7","styrene-medium":"typography__styrene-medium_csqb7","styrene-small":"typography__styrene-small_csqb7","styrene-xsmall":"typography__styrene-xsmall_csqb7","system-xlarge":"typography__system-xlarge_csqb7","system-large":"typography__system-large_csqb7","system-medium":"typography__system-medium_csqb7","system-small":"typography__system-small_csqb7","system-xsmall":"typography__system-xsmall_csqb7","margins-xlarge":"typography__margins-xlarge_csqb7","margins-large":"typography__margins-large_csqb7","margins-medium":"typography__margins-medium_csqb7","margins-small":"typography__margins-small_csqb7","margins-xsmall":"typography__margins-xsmall_csqb7","bold":"typography__bold_csqb7","medium":"typography__medium_csqb7","regular":"typography__regular_csqb7"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1xsxq","styrene-large":"typography__styrene-large_1xsxq","styrene-medium":"typography__styrene-medium_1xsxq","styrene-small":"typography__styrene-small_1xsxq","styrene-xsmall":"typography__styrene-xsmall_1xsxq","system-xlarge":"typography__system-xlarge_1xsxq","system-large":"typography__system-large_1xsxq","system-medium":"typography__system-medium_1xsxq","system-small":"typography__system-small_1xsxq","system-xsmall":"typography__system-xsmall_1xsxq","margins-xlarge":"typography__margins-xlarge_1xsxq","margins-large":"typography__margins-large_1xsxq","margins-medium":"typography__margins-medium_1xsxq","margins-small":"typography__margins-small_1xsxq","margins-xsmall":"typography__margins-xsmall_1xsxq","bold":"typography__bold_1xsxq","medium":"typography__medium_1xsxq","regular":"typography__regular_1xsxq"};
8
8
  require('./index.css')
9
9
 
10
10
  const Title = props => {
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { TitleProps } from "../title/component";
3
+ type TitleMobileProps = Omit<TitleProps, 'defaultMargins'>;
4
+ declare const TitleMobile: FC<TitleMobileProps>;
5
+ export { TitleMobileProps, TitleMobile };
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import 'classnames';
3
+ import '../colors.module-fc3a89e7.js';
4
+ import { Title } from '../title/component.js';
5
+ import { c as commonStyles } from '../common.module-21808f5a.js';
6
+
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_49j98","styrene-large":"typography__styrene-large_49j98","styrene-medium":"typography__styrene-medium_49j98","styrene-small":"typography__styrene-small_49j98","styrene-xsmall":"typography__styrene-xsmall_49j98","system-xlarge":"typography__system-xlarge_49j98","system-large":"typography__system-large_49j98","system-medium":"typography__system-medium_49j98","system-small":"typography__system-small_49j98","system-xsmall":"typography__system-xsmall_49j98","bold":"typography__bold_49j98","medium":"typography__medium_49j98","regular":"typography__regular_49j98"};
8
+ require('./index.css')
9
+
10
+ const TitleMobile = props => {
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ return React.createElement(Title, Object.assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
+ };
17
+
18
+ export { TitleMobile };
@@ -0,0 +1,82 @@
1
+ /* hash: 13r0w */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
+ 'Helvetica Neue', Helvetica, sans-serif;
13
+ }
14
+ .typography__styrene-xlarge_49j98 {
15
+ font-size: 34px;
16
+ line-height: 40px;
17
+ font-weight: 500;
18
+ font-feature-settings: 'ss01';
19
+ font-family: var(--font-family-styrene);
20
+ }
21
+ .typography__styrene-large_49j98 {
22
+ font-size: 30px;
23
+ line-height: 36px;
24
+ font-weight: 500;
25
+ font-feature-settings: 'ss01';
26
+ font-family: var(--font-family-styrene);
27
+ }
28
+ .typography__styrene-medium_49j98 {
29
+ font-size: 26px;
30
+ line-height: 32px;
31
+ font-weight: 500;
32
+ font-feature-settings: 'ss01';
33
+ font-family: var(--font-family-styrene);
34
+ }
35
+ .typography__styrene-small_49j98 {
36
+ font-size: 20px;
37
+ line-height: 28px;
38
+ font-weight: 500;
39
+ font-feature-settings: 'ss01';
40
+ font-family: var(--font-family-styrene);
41
+ }
42
+ .typography__styrene-xsmall_49j98 {
43
+ font-size: 16px;
44
+ line-height: 24px;
45
+ font-weight: 500;
46
+ font-feature-settings: 'ss01';
47
+ font-family: var(--font-family-styrene);
48
+ }
49
+ .typography__system-xlarge_49j98 {
50
+ font-size: 34px;
51
+ line-height: 40px;
52
+ font-weight: 600;
53
+ }
54
+ .typography__system-large_49j98 {
55
+ font-size: 30px;
56
+ line-height: 36px;
57
+ font-weight: 600;
58
+ }
59
+ .typography__system-medium_49j98 {
60
+ font-size: 26px;
61
+ line-height: 32px;
62
+ font-weight: 600;
63
+ }
64
+ .typography__system-small_49j98 {
65
+ font-size: 20px;
66
+ line-height: 28px;
67
+ font-weight: 600;
68
+ }
69
+ .typography__system-xsmall_49j98 {
70
+ font-size: 16px;
71
+ line-height: 24px;
72
+ font-weight: 600;
73
+ }
74
+ .typography__bold_49j98 {
75
+ font-weight: bold;
76
+ }
77
+ .typography__medium_49j98 {
78
+ font-weight: 500;
79
+ }
80
+ .typography__regular_49j98 {
81
+ font-weight: normal;
82
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../colors.module-fc3a89e7.js';
4
+ import '../title/component.js';
5
+ import '../common.module-21808f5a.js';
6
+ export { TitleMobile } from './component.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import 'classnames';
3
- import '../colors.module-3f74b55a.js';
3
+ import '../colors.module-fc3a89e7.js';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-15dfca9d.js';
5
+ import { c as commonStyles } from '../common.module-21808f5a.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_denbh","styrene-large":"typography__styrene-large_denbh","styrene-medium":"typography__styrene-medium_denbh","styrene-small":"typography__styrene-small_denbh","styrene-xsmall":"typography__styrene-xsmall_denbh","system-xlarge":"typography__system-xlarge_denbh","system-large":"typography__system-large_denbh","system-medium":"typography__system-medium_denbh","system-small":"typography__system-small_denbh","system-xsmall":"typography__system-xsmall_denbh","margins-xlarge":"typography__margins-xlarge_denbh","margins-large":"typography__margins-large_denbh","margins-medium":"typography__margins-medium_denbh","margins-small":"typography__margins-small_denbh","margins-xsmall":"typography__margins-xsmall_denbh"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1pkyv","styrene-large":"typography__styrene-large_1pkyv","styrene-medium":"typography__styrene-medium_1pkyv","styrene-small":"typography__styrene-small_1pkyv","styrene-xsmall":"typography__styrene-xsmall_1pkyv","system-xlarge":"typography__system-xlarge_1pkyv","system-large":"typography__system-large_1pkyv","system-medium":"typography__system-medium_1pkyv","system-small":"typography__system-small_1pkyv","system-xsmall":"typography__system-xsmall_1pkyv","margins-xlarge":"typography__margins-xlarge_1pkyv","margins-large":"typography__margins-large_1pkyv","margins-medium":"typography__margins-medium_1pkyv","margins-small":"typography__margins-small_1pkyv","margins-xsmall":"typography__margins-xsmall_1pkyv"};
8
8
  require('./index.css')
9
9
 
10
10
  const TitleResponsive = props => {