@alfalab/core-components-typography 3.0.4 → 3.0.6

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 (83) hide show
  1. package/colors.css +13 -13
  2. package/{colors.module-e9b9579a.d.ts → colors.module-6e19bd6b.d.ts} +0 -0
  3. package/{colors.module-e9b9579a.js → colors.module-6e19bd6b.js} +1 -1
  4. package/common.module-dd23630a.js +6 -0
  5. package/component.d.ts +3 -2
  6. package/component.js +2 -2
  7. package/cssm/component.d.ts +3 -2
  8. package/cssm/text/component.d.ts +13 -37
  9. package/cssm/text/component.js +6 -2
  10. package/cssm/text/index.module.css +5 -1
  11. package/cssm/title/component.d.ts +2 -2
  12. package/cssm/types.d.ts +2 -0
  13. package/cssm/types.js +2 -0
  14. package/esm/colors.css +13 -13
  15. package/esm/{colors.module-4de66eae.d.ts → colors.module-78d99341.d.ts} +0 -0
  16. package/esm/{colors.module-4de66eae.js → colors.module-78d99341.js} +1 -1
  17. package/esm/common.module-00b1ccc7.js +4 -0
  18. package/esm/component.d.ts +3 -2
  19. package/esm/component.js +2 -2
  20. package/esm/index.js +2 -2
  21. package/esm/text/component.d.ts +13 -37
  22. package/esm/text/component.js +8 -4
  23. package/esm/text/index.css +19 -15
  24. package/esm/text/index.js +1 -1
  25. package/esm/title/common.css +5 -5
  26. package/esm/title/component.d.ts +2 -2
  27. package/esm/title/component.js +1 -1
  28. package/esm/title/index.css +19 -19
  29. package/esm/title/index.js +3 -3
  30. package/esm/title-mobile/component.js +3 -3
  31. package/esm/title-mobile/index.css +14 -14
  32. package/esm/title-mobile/index.js +2 -2
  33. package/esm/title-responsive/component.js +3 -3
  34. package/esm/title-responsive/index.css +41 -41
  35. package/esm/title-responsive/index.js +2 -2
  36. package/esm/types.d.ts +2 -0
  37. package/esm/types.js +1 -0
  38. package/index.js +2 -2
  39. package/modern/colors.css +13 -13
  40. package/modern/colors.module-cc6915f1.js +4 -0
  41. package/modern/common.module-00b1ccc7.js +4 -0
  42. package/modern/component.d.ts +3 -2
  43. package/modern/component.js +2 -2
  44. package/modern/index.js +2 -2
  45. package/modern/text/component.d.ts +13 -37
  46. package/modern/text/component.js +7 -3
  47. package/modern/text/index.css +19 -15
  48. package/modern/text/index.js +1 -1
  49. package/modern/title/common.css +5 -5
  50. package/modern/title/component.d.ts +2 -2
  51. package/modern/title/component.js +1 -1
  52. package/modern/title/index.css +19 -19
  53. package/modern/title/index.js +3 -3
  54. package/modern/title-mobile/component.js +3 -3
  55. package/modern/title-mobile/index.css +14 -14
  56. package/modern/title-mobile/index.js +2 -2
  57. package/modern/title-responsive/component.js +3 -3
  58. package/modern/title-responsive/index.css +41 -41
  59. package/modern/title-responsive/index.js +2 -2
  60. package/modern/types.d.ts +2 -0
  61. package/modern/types.js +1 -0
  62. package/package.json +1 -1
  63. package/text/component.d.ts +13 -37
  64. package/text/component.js +8 -4
  65. package/text/index.css +19 -15
  66. package/text/index.js +1 -1
  67. package/title/common.css +5 -5
  68. package/title/component.d.ts +2 -2
  69. package/title/component.js +1 -1
  70. package/title/index.css +19 -19
  71. package/title/index.js +3 -3
  72. package/title-mobile/component.js +3 -3
  73. package/title-mobile/index.css +14 -14
  74. package/title-mobile/index.js +2 -2
  75. package/title-responsive/component.js +3 -3
  76. package/title-responsive/index.css +41 -41
  77. package/title-responsive/index.js +2 -2
  78. package/types.d.ts +2 -0
  79. package/types.js +2 -0
  80. package/common.module-caf545a8.js +0 -6
  81. package/esm/common.module-2f6fae5e.js +0 -4
  82. package/modern/colors.module-08772334.js +0 -4
  83. package/modern/common.module-2f6fae5e.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: k7jos */
1
+ /* hash: k67ng */
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_vlaw6 {
20
+ .typography__styrene-xlarge_1fpnk {
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_vlaw6 {
27
+ .typography__styrene-large_1fpnk {
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_vlaw6 {
34
+ .typography__styrene-medium_1fpnk {
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_vlaw6 {
41
+ .typography__styrene-small_1fpnk {
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_vlaw6 {
48
+ .typography__styrene-xsmall_1fpnk {
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_vlaw6 {
55
+ .typography__system-xlarge_1fpnk {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_vlaw6 {
60
+ .typography__system-large_1fpnk {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_vlaw6 {
65
+ .typography__system-medium_1fpnk {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_vlaw6 {
70
+ .typography__system-small_1fpnk {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_vlaw6 {
75
+ .typography__system-xsmall_1fpnk {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_vlaw6 {
80
+ .typography__margins-xlarge_1fpnk {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_vlaw6 {
83
+ .typography__margins-large_1fpnk {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_vlaw6 {
86
+ .typography__margins-medium_1fpnk {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_vlaw6 {
89
+ .typography__margins-small_1fpnk {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_vlaw6 {
92
+ .typography__margins-xsmall_1fpnk {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_vlaw6 {
95
+ .typography__bold_1fpnk {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_vlaw6 {
98
+ .typography__medium_1fpnk {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_vlaw6 {
101
+ .typography__regular_1fpnk {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-4de66eae.js';
1
+ import { _ as __assign } from '../colors.module-78d99341.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-2f6fae5e.js';
5
+ import { c as commonStyles } from '../common.module-00b1ccc7.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_vlaw6","styrene-large":"typography__styrene-large_vlaw6","styrene-medium":"typography__styrene-medium_vlaw6","styrene-small":"typography__styrene-small_vlaw6","styrene-xsmall":"typography__styrene-xsmall_vlaw6","system-xlarge":"typography__system-xlarge_vlaw6","system-large":"typography__system-large_vlaw6","system-medium":"typography__system-medium_vlaw6","system-small":"typography__system-small_vlaw6","system-xsmall":"typography__system-xsmall_vlaw6","margins-xlarge":"typography__margins-xlarge_vlaw6","margins-large":"typography__margins-large_vlaw6","margins-medium":"typography__margins-medium_vlaw6","margins-small":"typography__margins-small_vlaw6","margins-xsmall":"typography__margins-xsmall_vlaw6","bold":"typography__bold_vlaw6","medium":"typography__medium_vlaw6","regular":"typography__regular_vlaw6"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1fpnk","styrene-large":"typography__styrene-large_1fpnk","styrene-medium":"typography__styrene-medium_1fpnk","styrene-small":"typography__styrene-small_1fpnk","styrene-xsmall":"typography__styrene-xsmall_1fpnk","system-xlarge":"typography__system-xlarge_1fpnk","system-large":"typography__system-large_1fpnk","system-medium":"typography__system-medium_1fpnk","system-small":"typography__system-small_1fpnk","system-xsmall":"typography__system-xsmall_1fpnk","margins-xlarge":"typography__margins-xlarge_1fpnk","margins-large":"typography__margins-large_1fpnk","margins-medium":"typography__margins-medium_1fpnk","margins-small":"typography__margins-small_1fpnk","margins-xsmall":"typography__margins-xsmall_1fpnk","bold":"typography__bold_1fpnk","medium":"typography__medium_1fpnk","regular":"typography__regular_1fpnk"};
8
8
  require('./index.css')
9
9
 
10
10
  var Title = function (props) { return (
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-4de66eae.js';
1
+ import { _ as __assign } from '../colors.module-78d99341.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-2f6fae5e.js';
5
+ import { c as commonStyles } from '../common.module-00b1ccc7.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_14e9g","styrene-large":"typography__styrene-large_14e9g","styrene-medium":"typography__styrene-medium_14e9g","styrene-small":"typography__styrene-small_14e9g","styrene-xsmall":"typography__styrene-xsmall_14e9g","system-xlarge":"typography__system-xlarge_14e9g","system-large":"typography__system-large_14e9g","system-medium":"typography__system-medium_14e9g","system-small":"typography__system-small_14e9g","system-xsmall":"typography__system-xsmall_14e9g","bold":"typography__bold_14e9g","medium":"typography__medium_14e9g","regular":"typography__regular_14e9g"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1h27x","styrene-large":"typography__styrene-large_1h27x","styrene-medium":"typography__styrene-medium_1h27x","styrene-small":"typography__styrene-small_1h27x","styrene-xsmall":"typography__styrene-xsmall_1h27x","system-xlarge":"typography__system-xlarge_1h27x","system-large":"typography__system-large_1h27x","system-medium":"typography__system-medium_1h27x","system-small":"typography__system-small_1h27x","system-xsmall":"typography__system-xsmall_1h27x","bold":"typography__bold_1h27x","medium":"typography__medium_1h27x","regular":"typography__regular_1h27x"};
8
8
  require('./index.css')
9
9
 
10
10
  var TitleMobile = function (props) { return (
@@ -1,4 +1,4 @@
1
- /* hash: t4o7q */
1
+ /* hash: ihzlt */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,72 +11,72 @@
11
11
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
12
  'Helvetica Neue', Helvetica, sans-serif;
13
13
  }
14
- .typography__styrene-xlarge_14e9g {
14
+ .typography__styrene-xlarge_1h27x {
15
15
  font-size: 34px;
16
16
  line-height: 40px;
17
17
  font-weight: 500;
18
18
  font-feature-settings: 'ss01';
19
19
  font-family: var(--font-family-styrene);
20
20
  }
21
- .typography__styrene-large_14e9g {
21
+ .typography__styrene-large_1h27x {
22
22
  font-size: 30px;
23
23
  line-height: 36px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-medium_14e9g {
28
+ .typography__styrene-medium_1h27x {
29
29
  font-size: 26px;
30
30
  line-height: 32px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-small_14e9g {
35
+ .typography__styrene-small_1h27x {
36
36
  font-size: 20px;
37
37
  line-height: 28px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-xsmall_14e9g {
42
+ .typography__styrene-xsmall_1h27x {
43
43
  font-size: 16px;
44
44
  line-height: 20px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__system-xlarge_14e9g {
49
+ .typography__system-xlarge_1h27x {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
53
  }
54
- .typography__system-large_14e9g {
54
+ .typography__system-large_1h27x {
55
55
  font-size: 30px;
56
56
  line-height: 36px;
57
57
  font-weight: 600;
58
58
  }
59
- .typography__system-medium_14e9g {
59
+ .typography__system-medium_1h27x {
60
60
  font-size: 26px;
61
61
  line-height: 32px;
62
62
  font-weight: 600;
63
63
  }
64
- .typography__system-small_14e9g {
64
+ .typography__system-small_1h27x {
65
65
  font-size: 20px;
66
66
  line-height: 28px;
67
67
  font-weight: 600;
68
68
  }
69
- .typography__system-xsmall_14e9g {
69
+ .typography__system-xsmall_1h27x {
70
70
  font-size: 16px;
71
71
  line-height: 20px;
72
72
  font-weight: 600;
73
73
  }
74
- .typography__bold_14e9g {
74
+ .typography__bold_1h27x {
75
75
  font-weight: bold;
76
76
  }
77
- .typography__medium_14e9g {
77
+ .typography__medium_1h27x {
78
78
  font-weight: 500;
79
79
  }
80
- .typography__regular_14e9g {
80
+ .typography__regular_1h27x {
81
81
  font-weight: normal;
82
82
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-4de66eae.js';
1
+ import '../colors.module-78d99341.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-2f6fae5e.js';
5
+ import '../common.module-00b1ccc7.js';
6
6
  export { TitleMobile } from './component.js';
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-4de66eae.js';
1
+ import { _ as __assign } from '../colors.module-78d99341.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-2f6fae5e.js';
5
+ import { c as commonStyles } from '../common.module-00b1ccc7.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1vad3","styrene-large":"typography__styrene-large_1vad3","styrene-medium":"typography__styrene-medium_1vad3","styrene-small":"typography__styrene-small_1vad3","styrene-xsmall":"typography__styrene-xsmall_1vad3","system-xlarge":"typography__system-xlarge_1vad3","system-large":"typography__system-large_1vad3","system-medium":"typography__system-medium_1vad3","system-small":"typography__system-small_1vad3","system-xsmall":"typography__system-xsmall_1vad3","margins-xlarge":"typography__margins-xlarge_1vad3","margins-large":"typography__margins-large_1vad3","margins-medium":"typography__margins-medium_1vad3","margins-small":"typography__margins-small_1vad3","margins-xsmall":"typography__margins-xsmall_1vad3"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1u216","styrene-large":"typography__styrene-large_1u216","styrene-medium":"typography__styrene-medium_1u216","styrene-small":"typography__styrene-small_1u216","styrene-xsmall":"typography__styrene-xsmall_1u216","system-xlarge":"typography__system-xlarge_1u216","system-large":"typography__system-large_1u216","system-medium":"typography__system-medium_1u216","system-small":"typography__system-small_1u216","system-xsmall":"typography__system-xsmall_1u216","margins-xlarge":"typography__margins-xlarge_1u216","margins-large":"typography__margins-large_1u216","margins-medium":"typography__margins-medium_1u216","margins-small":"typography__margins-small_1u216","margins-xsmall":"typography__margins-xsmall_1u216"};
8
8
  require('./index.css')
9
9
 
10
10
  var TitleResponsive = function (props) { return (
@@ -1,4 +1,4 @@
1
- /* hash: ngoqn */
1
+ /* hash: 1756t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -18,134 +18,134 @@
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
20
  /* TODO: поменять медиа-запросы на миксины */
21
- .typography__styrene-xlarge_1vad3 {
21
+ .typography__styrene-xlarge_1u216 {
22
22
  font-size: 34px;
23
23
  line-height: 40px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-large_1vad3 {
28
+ .typography__styrene-large_1u216 {
29
29
  font-size: 30px;
30
30
  line-height: 36px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-medium_1vad3 {
35
+ .typography__styrene-medium_1u216 {
36
36
  font-size: 26px;
37
37
  line-height: 32px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-small_1vad3 {
42
+ .typography__styrene-small_1u216 {
43
43
  font-size: 20px;
44
44
  line-height: 28px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__styrene-xsmall_1vad3 {
49
+ .typography__styrene-xsmall_1u216 {
50
50
  font-size: 16px;
51
51
  line-height: 20px;
52
52
  font-weight: 500;
53
53
  font-feature-settings: 'ss01';
54
54
  font-family: var(--font-family-styrene);
55
55
  }
56
- .typography__system-xlarge_1vad3 {
56
+ .typography__system-xlarge_1u216 {
57
57
  font-size: 30px;
58
58
  line-height: 36px;
59
59
  font-weight: 700;
60
60
  }
61
- .typography__system-large_1vad3 {
61
+ .typography__system-large_1u216 {
62
62
  font-size: 22px;
63
63
  line-height: 26px;
64
64
  font-weight: 700;
65
65
  }
66
- .typography__system-medium_1vad3 {
66
+ .typography__system-medium_1u216 {
67
67
  font-size: 18px;
68
68
  line-height: 22px;
69
69
  font-weight: 700;
70
70
  }
71
- .typography__system-small_1vad3 {
71
+ .typography__system-small_1u216 {
72
72
  font-size: 18px;
73
73
  line-height: 22px;
74
74
  font-weight: 700;
75
75
  }
76
- .typography__system-xsmall_1vad3 {
76
+ .typography__system-xsmall_1u216 {
77
77
  font-size: 18px;
78
78
  line-height: 22px;
79
79
  font-weight: 700;
80
80
  }
81
- .typography__margins-xlarge_1vad3 {
81
+ .typography__margins-xlarge_1u216 {
82
82
  margin: 0 0 var(--gap-xl);
83
83
  }
84
- .typography__margins-large_1vad3 {
84
+ .typography__margins-large_1u216 {
85
85
  margin: var(--gap-3xl) 0 var(--gap-m);
86
86
  }
87
- .typography__margins-medium_1vad3 {
87
+ .typography__margins-medium_1u216 {
88
88
  margin: var(--gap-3xl) 0 var(--gap-m);
89
89
  }
90
- .typography__margins-small_1vad3 {
90
+ .typography__margins-small_1u216 {
91
91
  margin: var(--gap-3xl) 0 var(--gap-m);
92
92
  }
93
- .typography__margins-xsmall_1vad3 {
93
+ .typography__margins-xsmall_1u216 {
94
94
  margin: var(--gap-3xl) 0 var(--gap-m);
95
95
  }
96
96
  @media screen and (min-width: 600px) {
97
- .typography__system-xlarge_1vad3 {
97
+ .typography__system-xlarge_1u216 {
98
98
  font-size: 40px;
99
99
  line-height: 48px;
100
100
  font-weight: 700;
101
101
  }
102
102
 
103
- .typography__system-large_1vad3 {
103
+ .typography__system-large_1u216 {
104
104
  font-size: 30px;
105
105
  line-height: 36px;
106
106
  font-weight: 700;
107
107
  }
108
108
 
109
- .typography__system-medium_1vad3 {
109
+ .typography__system-medium_1u216 {
110
110
  font-size: 22px;
111
111
  line-height: 26px;
112
112
  font-weight: 700;
113
113
  }
114
114
 
115
- .typography__system-small_1vad3 {
115
+ .typography__system-small_1u216 {
116
116
  font-size: 22px;
117
117
  line-height: 26px;
118
118
  font-weight: 700;
119
119
  }
120
120
 
121
- .typography__system-xsmall_1vad3 {
121
+ .typography__system-xsmall_1u216 {
122
122
  font-size: 18px;
123
123
  line-height: 22px;
124
124
  font-weight: 700;
125
125
  }
126
126
 
127
- .typography__margins-xlarge_1vad3 {
127
+ .typography__margins-xlarge_1u216 {
128
128
  margin: 0 0 var(--gap-xl);
129
129
  }
130
130
 
131
- .typography__margins-large_1vad3 {
131
+ .typography__margins-large_1u216 {
132
132
  margin: var(--gap-4xl) 0 var(--gap-xl);
133
133
  }
134
134
 
135
- .typography__margins-medium_1vad3 {
135
+ .typography__margins-medium_1u216 {
136
136
  margin: var(--gap-3xl) 0 var(--gap-m);
137
137
  }
138
138
 
139
- .typography__margins-small_1vad3 {
139
+ .typography__margins-small_1u216 {
140
140
  margin: var(--gap-3xl) 0 var(--gap-m);
141
141
  }
142
142
 
143
- .typography__margins-xsmall_1vad3 {
143
+ .typography__margins-xsmall_1u216 {
144
144
  margin: var(--gap-3xl) 0 var(--gap-m);
145
145
  }
146
146
  }
147
147
  @media screen and (min-width: 1024px) {
148
- .typography__styrene-xlarge_1vad3 {
148
+ .typography__styrene-xlarge_1u216 {
149
149
  font-size: 48px;
150
150
  line-height: 64px;
151
151
  font-weight: 500;
@@ -153,7 +153,7 @@
153
153
  font-family: var(--font-family-styrene);
154
154
  }
155
155
 
156
- .typography__styrene-large_1vad3 {
156
+ .typography__styrene-large_1u216 {
157
157
  font-size: 40px;
158
158
  line-height: 48px;
159
159
  font-weight: 500;
@@ -161,7 +161,7 @@
161
161
  font-family: var(--font-family-styrene);
162
162
  }
163
163
 
164
- .typography__styrene-medium_1vad3 {
164
+ .typography__styrene-medium_1u216 {
165
165
  font-size: 32px;
166
166
  line-height: 40px;
167
167
  font-weight: 500;
@@ -169,7 +169,7 @@
169
169
  font-family: var(--font-family-styrene);
170
170
  }
171
171
 
172
- .typography__styrene-small_1vad3 {
172
+ .typography__styrene-small_1u216 {
173
173
  font-size: 24px;
174
174
  line-height: 32px;
175
175
  font-weight: 500;
@@ -177,7 +177,7 @@
177
177
  font-family: var(--font-family-styrene);
178
178
  }
179
179
 
180
- .typography__styrene-xsmall_1vad3 {
180
+ .typography__styrene-xsmall_1u216 {
181
181
  font-size: 20px;
182
182
  line-height: 24px;
183
183
  font-weight: 500;
@@ -185,53 +185,53 @@
185
185
  font-family: var(--font-family-styrene);
186
186
  }
187
187
 
188
- .typography__system-xlarge_1vad3 {
188
+ .typography__system-xlarge_1u216 {
189
189
  font-size: 48px;
190
190
  line-height: 52px;
191
191
  font-weight: 700;
192
192
  }
193
193
 
194
- .typography__system-large_1vad3 {
194
+ .typography__system-large_1u216 {
195
195
  font-size: 40px;
196
196
  line-height: 48px;
197
197
  font-weight: 700;
198
198
  }
199
199
 
200
- .typography__system-medium_1vad3 {
200
+ .typography__system-medium_1u216 {
201
201
  font-size: 30px;
202
202
  line-height: 36px;
203
203
  font-weight: 700;
204
204
  }
205
205
 
206
- .typography__system-small_1vad3 {
206
+ .typography__system-small_1u216 {
207
207
  font-size: 22px;
208
208
  line-height: 26px;
209
209
  font-weight: 700;
210
210
  }
211
211
 
212
- .typography__system-xsmall_1vad3 {
212
+ .typography__system-xsmall_1u216 {
213
213
  font-size: 18px;
214
214
  line-height: 22px;
215
215
  font-weight: 700;
216
216
  }
217
217
 
218
- .typography__margins-xlarge_1vad3 {
218
+ .typography__margins-xlarge_1u216 {
219
219
  margin: 0 0 var(--gap-xl);
220
220
  }
221
221
 
222
- .typography__margins-large_1vad3 {
222
+ .typography__margins-large_1u216 {
223
223
  margin: var(--gap-4xl) 0 var(--gap-xl);
224
224
  }
225
225
 
226
- .typography__margins-medium_1vad3 {
226
+ .typography__margins-medium_1u216 {
227
227
  margin: var(--gap-4xl) 0 var(--gap-xl);
228
228
  }
229
229
 
230
- .typography__margins-small_1vad3 {
230
+ .typography__margins-small_1u216 {
231
231
  margin: var(--gap-3xl) 0 var(--gap-m);
232
232
  }
233
233
 
234
- .typography__margins-xsmall_1vad3 {
234
+ .typography__margins-xsmall_1u216 {
235
235
  margin: var(--gap-3xl) 0 var(--gap-m);
236
236
  }
237
237
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-4de66eae.js';
1
+ import '../colors.module-78d99341.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-2f6fae5e.js';
5
+ import '../common.module-00b1ccc7.js';
6
6
  export { TitleResponsive } from './component.js';
package/esm/types.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ export { TextElementType };
package/esm/types.js ADDED
@@ -0,0 +1 @@
1
+
package/index.js CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-e9b9579a.js');
5
+ require('./colors.module-6e19bd6b.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./text/component.js');
9
9
  require('./title/component.js');
10
- require('./common.module-caf545a8.js');
10
+ require('./common.module-dd23630a.js');
11
11
  require('./title/index.js');
12
12
  require('./title-mobile/component.js');
13
13
  require('./title-responsive/component.js');
package/modern/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1axrr */
1
+ /* hash: 9gblq */
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_1vd47 {
25
+ .typography__tertiary_1pf6a {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_1vd47 {
28
+ .typography__disabled_1pf6a {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_1vd47 {
31
+ .typography__accent_1pf6a {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_1vd47 {
34
+ .typography__primary_1pf6a {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_1vd47 {
37
+ .typography__attention_1pf6a {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_1vd47 {
40
+ .typography__positive_1pf6a {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_1vd47 {
43
+ .typography__secondary_1pf6a {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_1vd47 {
46
+ .typography__tertiary-inverted_1pf6a {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_1vd47 {
49
+ .typography__primary-inverted_1pf6a {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_1vd47 {
52
+ .typography__secondary-inverted_1pf6a {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_1vd47 {
55
+ .typography__link_1pf6a {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_1vd47 {
58
+ .typography__negative_1pf6a {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -0,0 +1,4 @@
1
+ var colors = {"tertiary":"typography__tertiary_1pf6a","disabled":"typography__disabled_1pf6a","accent":"typography__accent_1pf6a","primary":"typography__primary_1pf6a","attention":"typography__attention_1pf6a","positive":"typography__positive_1pf6a","secondary":"typography__secondary_1pf6a","tertiary-inverted":"typography__tertiary-inverted_1pf6a","primary-inverted":"typography__primary-inverted_1pf6a","secondary-inverted":"typography__secondary-inverted_1pf6a","link":"typography__link_1pf6a","negative":"typography__negative_1pf6a"};
2
+ require('./colors.css')
3
+
4
+ export { colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_13ul2","bold":"typography__bold_13ul2","medium":"typography__medium_13ul2","regular":"typography__regular_13ul2"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,10 +1,11 @@
1
- import { FC } from 'react';
1
+ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TextElementType } from "./types";
5
6
  declare const Typography: {
6
7
  Title: FC<TitleProps>;
7
- Text: FC<TextProps>;
8
+ Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
8
9
  TitleResponsive: FC<TitleProps>;
9
10
  TitleMobile: FC<TitleMobileProps>;
10
11
  };
@@ -1,9 +1,9 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import './colors.module-08772334.js';
3
+ import './colors.module-cc6915f1.js';
4
4
  import { Text } from './text/component.js';
5
5
  import './title/component.js';
6
- import './common.module-2f6fae5e.js';
6
+ import './common.module-00b1ccc7.js';
7
7
  import { Title } from './title/index.js';
8
8
  import { TitleMobile } from './title-mobile/component.js';
9
9
  import { TitleResponsive } from './title-responsive/component.js';