@alfalab/core-components-typography 2.5.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -27
- package/dist/colors.css +13 -13
- package/dist/{colors.module-fc9d4419.d.ts → colors.module-7e8fcbc5.d.ts} +0 -0
- package/dist/{colors.module-fc9d4419.js → colors.module-7e8fcbc5.js} +1 -1
- package/dist/common.module-aca8e14e.js +6 -0
- package/dist/component.js +2 -2
- package/dist/cssm/index.d.ts +1 -0
- package/dist/cssm/text/component.js +2 -2
- package/dist/esm/colors.css +13 -13
- package/dist/esm/{colors.module-4e501783.d.ts → colors.module-8999a1bc.d.ts} +0 -0
- package/dist/esm/{colors.module-4e501783.js → colors.module-8999a1bc.js} +1 -1
- package/dist/esm/common.module-1d8060a6.js +4 -0
- package/dist/esm/component.js +2 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/text/component.js +4 -4
- package/dist/esm/text/index.css +14 -14
- package/dist/esm/text/index.js +1 -1
- package/dist/esm/title/common.css +5 -5
- package/dist/esm/title/component.js +1 -1
- package/dist/esm/title/index.css +19 -19
- package/dist/esm/title/index.js +3 -3
- package/dist/esm/title-mobile/component.js +3 -3
- package/dist/esm/title-mobile/index.css +14 -14
- package/dist/esm/title-mobile/index.js +2 -2
- package/dist/esm/title-responsive/component.js +3 -3
- package/dist/esm/title-responsive/index.css +41 -41
- package/dist/esm/title-responsive/index.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/modern/colors.css +13 -13
- package/dist/modern/colors.module-344b3973.js +4 -0
- package/dist/modern/common.module-1d8060a6.js +4 -0
- package/dist/modern/component.js +2 -2
- package/dist/modern/index.d.ts +1 -0
- package/dist/modern/index.js +2 -2
- package/dist/modern/text/component.js +3 -3
- package/dist/modern/text/index.css +14 -14
- package/dist/modern/text/index.js +1 -1
- package/dist/modern/title/common.css +5 -5
- package/dist/modern/title/component.js +1 -1
- package/dist/modern/title/index.css +19 -19
- package/dist/modern/title/index.js +3 -3
- package/dist/modern/title-mobile/component.js +3 -3
- package/dist/modern/title-mobile/index.css +14 -14
- package/dist/modern/title-mobile/index.js +2 -2
- package/dist/modern/title-responsive/component.js +3 -3
- package/dist/modern/title-responsive/index.css +41 -41
- package/dist/modern/title-responsive/index.js +2 -2
- package/dist/text/component.js +4 -4
- package/dist/text/index.css +14 -14
- package/dist/text/index.js +1 -1
- package/dist/title/common.css +5 -5
- package/dist/title/component.js +1 -1
- package/dist/title/index.css +19 -19
- package/dist/title/index.js +3 -3
- package/dist/title-mobile/component.js +3 -3
- package/dist/title-mobile/index.css +14 -14
- package/dist/title-mobile/index.js +2 -2
- package/dist/title-responsive/component.js +3 -3
- package/dist/title-responsive/index.css +41 -41
- package/dist/title-responsive/index.js +2 -2
- package/package.json +3 -3
- package/dist/common.module-d2a13511.js +0 -6
- package/dist/esm/common.module-99cbee70.js +0 -4
- package/dist/modern/colors.module-f3004698.js +0 -4
- package/dist/modern/common.module-99cbee70.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,74 +3,86 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [2.
|
|
6
|
+
# [2.6.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.5.3...@alfalab/core-components-typography@2.6.0) (2022-06-28)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
|
-
*
|
|
11
|
+
* circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
|
|
12
|
+
* **pure cell:** new component ([#10](https://github.com/core-ds/core-components/issues/10)) ([4e95c57](https://github.com/core-ds/core-components/commit/4e95c573aaa6f99197292ea4bae12cbbcc3207c9))
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
# [2.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.4.1...@alfalab/core-components-typography@2.5.0) (2022-03-30)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **list:** added list & typography presets ([#1047](https://github.com/core-ds/core-components/issues/1047)) ([67b6a77](https://github.com/core-ds/core-components/commit/67b6a77d1327b090b010eb061f83a2e6a0cb67b9))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [2.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.4.0...@alfalab/core-components-typography@2.4.1) (2022-03-03)
|
|
18
30
|
|
|
19
31
|
|
|
20
32
|
### Bug Fixes
|
|
21
33
|
|
|
22
|
-
* **typography:** changed styrene font styles for title responsive ([#1017](https://github.com/
|
|
34
|
+
* **typography:** changed styrene font styles for title responsive ([#1017](https://github.com/core-ds/core-components/issues/1017)) ([540b0b5](https://github.com/core-ds/core-components/commit/540b0b59cf99a4cee0798f50b94e6449be4aa3c6))
|
|
23
35
|
|
|
24
36
|
|
|
25
37
|
|
|
26
38
|
|
|
27
39
|
|
|
28
|
-
# [2.4.0](https://github.com/
|
|
40
|
+
# [2.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.3.0...@alfalab/core-components-typography@2.4.0) (2022-03-01)
|
|
29
41
|
|
|
30
42
|
|
|
31
43
|
### Features
|
|
32
44
|
|
|
33
|
-
* **typography:** новый компонент Typography.TitleMobile ([#1003](https://github.com/
|
|
34
|
-
* Исправить импорты в сторях. ([#998](https://github.com/
|
|
45
|
+
* **typography:** новый компонент Typography.TitleMobile ([#1003](https://github.com/core-ds/core-components/issues/1003)) ([9b03cf9](https://github.com/core-ds/core-components/commit/9b03cf90422b05cc927ed98959708430812d1a50))
|
|
46
|
+
* Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
|
|
35
47
|
|
|
36
48
|
|
|
37
49
|
|
|
38
50
|
|
|
39
51
|
|
|
40
|
-
# [2.3.0](https://github.com/
|
|
52
|
+
# [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.2.0...@alfalab/core-components-typography@2.3.0) (2022-01-17)
|
|
41
53
|
|
|
42
54
|
|
|
43
55
|
### Features
|
|
44
56
|
|
|
45
|
-
* **typography:** export types ([#940](https://github.com/
|
|
57
|
+
* **typography:** export types ([#940](https://github.com/core-ds/core-components/issues/940)) ([498227c](https://github.com/core-ds/core-components/commit/498227c272659a1ebf890eee61c6fecdd110faee))
|
|
46
58
|
|
|
47
59
|
|
|
48
60
|
|
|
49
61
|
|
|
50
62
|
|
|
51
|
-
# [2.2.0](https://github.com/
|
|
63
|
+
# [2.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.1.0...@alfalab/core-components-typography@2.2.0) (2021-09-14)
|
|
52
64
|
|
|
53
65
|
|
|
54
66
|
### Features
|
|
55
67
|
|
|
56
|
-
* **typography:** add ref ([#834](https://github.com/
|
|
68
|
+
* **typography:** add ref ([#834](https://github.com/core-ds/core-components/issues/834)) ([976b16d](https://github.com/core-ds/core-components/commit/976b16dd9ae68c31999bffb3506623db05033ad4))
|
|
57
69
|
|
|
58
70
|
|
|
59
71
|
|
|
60
72
|
|
|
61
73
|
|
|
62
|
-
# [2.1.0](https://github.com/
|
|
74
|
+
# [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.0.1...@alfalab/core-components-typography@2.1.0) (2021-07-19)
|
|
63
75
|
|
|
64
76
|
|
|
65
77
|
### Features
|
|
66
78
|
|
|
67
|
-
* **typography:** monospaceNumbers prop (PDS-255) ([#697](https://github.com/
|
|
79
|
+
* **typography:** monospaceNumbers prop (PDS-255) ([#697](https://github.com/core-ds/core-components/issues/697)) ([42d16a6](https://github.com/core-ds/core-components/commit/42d16a62f6d0781eba44dc1e0b76b28cae37d89a))
|
|
68
80
|
|
|
69
81
|
|
|
70
82
|
|
|
71
83
|
|
|
72
84
|
|
|
73
|
-
## [2.0.1](https://github.com/
|
|
85
|
+
## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@2.0.0...@alfalab/core-components-typography@2.0.1) (2021-07-09)
|
|
74
86
|
|
|
75
87
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
76
88
|
|
|
@@ -78,36 +90,36 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
78
90
|
|
|
79
91
|
|
|
80
92
|
|
|
81
|
-
# [2.0.0](https://github.com/
|
|
93
|
+
# [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.5.1...@alfalab/core-components-typography@2.0.0) (2021-07-08)
|
|
82
94
|
|
|
83
95
|
|
|
84
96
|
### Features
|
|
85
97
|
|
|
86
|
-
* upgrade storybook ([#696](https://github.com/
|
|
98
|
+
* upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
|
|
87
99
|
|
|
88
|
-
## [1.5.1](https://github.com/
|
|
100
|
+
## [1.5.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.5.0...@alfalab/core-components-typography@1.5.1) (2021-06-28)
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
### Bug Fixes
|
|
92
104
|
|
|
93
|
-
* **typography:** add missing weight styles ([#719](https://github.com/
|
|
105
|
+
* **typography:** add missing weight styles ([#719](https://github.com/core-ds/core-components/issues/719)) ([6b855aa](https://github.com/core-ds/core-components/commit/6b855aa97eff918e0e16f957c4c05bb7f2d8f4fe))
|
|
94
106
|
|
|
95
107
|
|
|
96
108
|
|
|
97
109
|
|
|
98
110
|
|
|
99
|
-
# [1.5.0](https://github.com/
|
|
111
|
+
# [1.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.7...@alfalab/core-components-typography@1.5.0) (2021-06-04)
|
|
100
112
|
|
|
101
113
|
|
|
102
114
|
### Features
|
|
103
115
|
|
|
104
|
-
* **typography:** add rest props ([#682](https://github.com/
|
|
116
|
+
* **typography:** add rest props ([#682](https://github.com/core-ds/core-components/issues/682)) ([51e1cf8](https://github.com/core-ds/core-components/commit/51e1cf89028c788bfcdbc21ea16acbbe190b5db9))
|
|
105
117
|
|
|
106
118
|
|
|
107
119
|
|
|
108
120
|
|
|
109
121
|
|
|
110
|
-
## [1.4.7](https://github.com/
|
|
122
|
+
## [1.4.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.6...@alfalab/core-components-typography@1.4.7) (2021-04-26)
|
|
111
123
|
|
|
112
124
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
113
125
|
|
|
@@ -115,7 +127,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
115
127
|
|
|
116
128
|
|
|
117
129
|
|
|
118
|
-
## [1.4.6](https://github.com/
|
|
130
|
+
## [1.4.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.5...@alfalab/core-components-typography@1.4.6) (2021-04-01)
|
|
119
131
|
|
|
120
132
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
121
133
|
|
|
@@ -123,18 +135,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
123
135
|
|
|
124
136
|
|
|
125
137
|
|
|
126
|
-
## [1.4.5](https://github.com/
|
|
138
|
+
## [1.4.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.3...@alfalab/core-components-typography@1.4.5) (2021-03-18)
|
|
127
139
|
|
|
128
140
|
|
|
129
141
|
### Bug Fixes
|
|
130
142
|
|
|
131
|
-
* one more sborka bug ([#579](https://github.com/
|
|
143
|
+
* one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
|
|
132
144
|
|
|
133
145
|
|
|
134
146
|
|
|
135
147
|
|
|
136
148
|
|
|
137
|
-
## [1.4.3](https://github.com/
|
|
149
|
+
## [1.4.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.2...@alfalab/core-components-typography@1.4.3) (2021-03-14)
|
|
138
150
|
|
|
139
151
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
140
152
|
|
|
@@ -142,7 +154,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
142
154
|
|
|
143
155
|
|
|
144
156
|
|
|
145
|
-
## [1.4.2](https://github.com/
|
|
157
|
+
## [1.4.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.1...@alfalab/core-components-typography@1.4.2) (2021-03-04)
|
|
146
158
|
|
|
147
159
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
|
148
160
|
|
|
@@ -150,6 +162,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
150
162
|
|
|
151
163
|
|
|
152
164
|
|
|
153
|
-
## [1.4.1](https://github.com/
|
|
165
|
+
## [1.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-typography@1.4.0...@alfalab/core-components-typography@1.4.1) (2021-03-03)
|
|
154
166
|
|
|
155
167
|
**Note:** Version bump only for package @alfalab/core-components-typography
|
package/dist/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: q0afy */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_17m2u {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_17m2u {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_17m2u {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_17m2u {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_17m2u {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_17m2u {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_17m2u {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_17m2u {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_17m2u {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_17m2u {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_17m2u {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_17m2u {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -39,7 +39,7 @@ function __rest(s, e) {
|
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var colors = {"tertiary":"
|
|
42
|
+
var colors = {"tertiary":"typography__tertiary_17m2u","disabled":"typography__disabled_17m2u","accent":"typography__accent_17m2u","primary":"typography__primary_17m2u","attention":"typography__attention_17m2u","positive":"typography__positive_17m2u","secondary":"typography__secondary_17m2u","tertiary-inverted":"typography__tertiary-inverted_17m2u","primary-inverted":"typography__primary-inverted_17m2u","secondary-inverted":"typography__secondary-inverted_17m2u","link":"typography__link_17m2u","negative":"typography__negative_17m2u"};
|
|
43
43
|
require('./colors.css')
|
|
44
44
|
|
|
45
45
|
exports.__rest = __rest;
|
package/dist/component.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./colors.module-
|
|
5
|
+
require('./colors.module-7e8fcbc5.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('./title/component.js');
|
|
9
|
-
require('./common.module-
|
|
9
|
+
require('./common.module-aca8e14e.js');
|
|
10
10
|
var title_index = require('./title/index.js');
|
|
11
11
|
var text_component = require('./text/component.js');
|
|
12
12
|
var titleResponsive_component = require('./title-responsive/component.js');
|
package/dist/cssm/index.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
|
17
17
|
|
|
18
18
|
var Text = React.forwardRef(function (_a, ref) {
|
|
19
19
|
var _b;
|
|
20
|
-
var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d,
|
|
21
|
-
return (React__default['default'].createElement(Component, tslib_es6.__assign({ className: cn__default['default']((_b = {}, _b[styles__default['default'].paragraph] = Component === 'p', _b[styles__default['default'].monospace] = monospaceNumbers, _b), className, color && colors__default['default'][color], styles__default['default'][view], styles__default['default'][weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
|
|
20
|
+
var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d, weight = _a.weight, _e = _a.monospaceNumbers, monospaceNumbers = _e === void 0 ? false : _e, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, restProps = tslib_es6.__rest(_a, ["view", "tag", "weight", "monospaceNumbers", "color", "className", "dataTestId", "children"]);
|
|
21
|
+
return (React__default['default'].createElement(Component, tslib_es6.__assign({ className: cn__default['default']((_b = {}, _b[styles__default['default'].paragraph] = Component === 'p', _b[styles__default['default'].monospace] = monospaceNumbers, _b), className, color && colors__default['default'][color], styles__default['default'][view], weight && styles__default['default'][weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
exports.Text = Text;
|
package/dist/esm/colors.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: q0afy */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
4
|
--color-light-text-attention: #de6a00;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
/* Hard up */
|
|
23
23
|
}
|
|
24
24
|
/* colors */
|
|
25
|
-
.
|
|
25
|
+
.typography__tertiary_17m2u {
|
|
26
26
|
color: var(--color-light-text-tertiary);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.typography__disabled_17m2u {
|
|
29
29
|
color: var(--color-light-text-disabled);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.typography__accent_17m2u {
|
|
32
32
|
color: var(--color-light-text-accent);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.typography__primary_17m2u {
|
|
35
35
|
color: var(--color-light-text-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.typography__attention_17m2u {
|
|
38
38
|
color: var(--color-light-text-attention);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.typography__positive_17m2u {
|
|
41
41
|
color: var(--color-light-text-positive);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.typography__secondary_17m2u {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.typography__tertiary-
|
|
46
|
+
.typography__tertiary-inverted_17m2u {
|
|
47
47
|
color: var(--color-light-text-tertiary-inverted);
|
|
48
48
|
}
|
|
49
|
-
.typography__primary-
|
|
49
|
+
.typography__primary-inverted_17m2u {
|
|
50
50
|
color: var(--color-light-text-primary-inverted);
|
|
51
51
|
}
|
|
52
|
-
.typography__secondary-
|
|
52
|
+
.typography__secondary-inverted_17m2u {
|
|
53
53
|
color: var(--color-light-text-secondary-inverted);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__link_17m2u {
|
|
56
56
|
color: var(--color-light-text-link);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.typography__negative_17m2u {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
60
|
}
|
|
File without changes
|
|
@@ -37,7 +37,7 @@ function __rest(s, e) {
|
|
|
37
37
|
return t;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var colors = {"tertiary":"
|
|
40
|
+
var colors = {"tertiary":"typography__tertiary_17m2u","disabled":"typography__disabled_17m2u","accent":"typography__accent_17m2u","primary":"typography__primary_17m2u","attention":"typography__attention_17m2u","positive":"typography__positive_17m2u","secondary":"typography__secondary_17m2u","tertiary-inverted":"typography__tertiary-inverted_17m2u","primary-inverted":"typography__primary-inverted_17m2u","secondary-inverted":"typography__secondary-inverted_17m2u","link":"typography__link_17m2u","negative":"typography__negative_17m2u"};
|
|
41
41
|
require('./colors.css')
|
|
42
42
|
|
|
43
43
|
export { __assign as _, __rest as a, colors as c };
|
package/dist/esm/component.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-8999a1bc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './title/component.js';
|
|
5
|
-
import './common.module-
|
|
5
|
+
import './common.module-1d8060a6.js';
|
|
6
6
|
import { Title } from './title/index.js';
|
|
7
7
|
import { Text } from './text/component.js';
|
|
8
8
|
import { TitleResponsive } from './title-responsive/component.js';
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './colors.module-
|
|
1
|
+
import './colors.module-8999a1bc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './title/component.js';
|
|
5
|
-
import './common.module-
|
|
5
|
+
import './common.module-1d8060a6.js';
|
|
6
6
|
import './title/index.js';
|
|
7
7
|
import './text/component.js';
|
|
8
8
|
import './title-responsive/component.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign, c as colors } from '../colors.module-
|
|
1
|
+
import { a as __rest, _ as __assign, c as colors } from '../colors.module-8999a1bc.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
|
|
5
|
-
var styles = {"paragraph":"
|
|
5
|
+
var styles = {"paragraph":"typography__paragraph_1njp6","primary-large":"typography__primary-large_1njp6","primary-medium":"typography__primary-medium_1njp6","primary-small":"typography__primary-small_1njp6","secondary-large":"typography__secondary-large_1njp6","secondary-medium":"typography__secondary-medium_1njp6","secondary-small":"typography__secondary-small_1njp6","component":"typography__component_1njp6","caps":"typography__caps_1njp6","bold":"typography__bold_1njp6","medium":"typography__medium_1njp6","regular":"typography__regular_1njp6","monospace":"typography__monospace_1njp6"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Text = forwardRef(function (_a, ref) {
|
|
9
9
|
var _b;
|
|
10
|
-
var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d,
|
|
11
|
-
return (React.createElement(Component, __assign({ className: cn((_b = {}, _b[styles.paragraph] = Component === 'p', _b[styles.monospace] = monospaceNumbers, _b), className, color && colors[color], styles[view], styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
|
|
10
|
+
var _c = _a.view, view = _c === void 0 ? 'primary-medium' : _c, _d = _a.tag, Component = _d === void 0 ? 'span' : _d, weight = _a.weight, _e = _a.monospaceNumbers, monospaceNumbers = _e === void 0 ? false : _e, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, restProps = __rest(_a, ["view", "tag", "weight", "monospaceNumbers", "color", "className", "dataTestId", "children"]);
|
|
11
|
+
return (React.createElement(Component, __assign({ className: cn((_b = {}, _b[styles.paragraph] = Component === 'p', _b[styles.monospace] = monospaceNumbers, _b), className, color && colors[color], styles[view], weight && styles[weight]), "data-test-id": dataTestId, ref: ref }, restProps), children));
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
export { Text };
|
package/dist/esm/text/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1e7kh */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,62 +13,62 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--text-paragraph-margin-bottom: 0 0 var(--gap-s);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.typography__paragraph_1njp6 {
|
|
17
17
|
margin: var(--text-paragraph-margin-bottom);
|
|
18
18
|
padding: 0;
|
|
19
19
|
}
|
|
20
|
-
.typography__primary-
|
|
20
|
+
.typography__primary-large_1njp6 {
|
|
21
21
|
font-size: 18px;
|
|
22
22
|
line-height: 24px;
|
|
23
23
|
font-weight: 400;
|
|
24
24
|
}
|
|
25
|
-
.typography__primary-
|
|
25
|
+
.typography__primary-medium_1njp6 {
|
|
26
26
|
font-size: 16px;
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
}
|
|
30
|
-
.typography__primary-
|
|
30
|
+
.typography__primary-small_1njp6 {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
}
|
|
35
|
-
.typography__secondary-
|
|
35
|
+
.typography__secondary-large_1njp6 {
|
|
36
36
|
font-size: 13px;
|
|
37
37
|
line-height: 16px;
|
|
38
38
|
font-weight: 400;
|
|
39
39
|
}
|
|
40
|
-
.typography__secondary-
|
|
40
|
+
.typography__secondary-medium_1njp6 {
|
|
41
41
|
font-size: 12px;
|
|
42
42
|
line-height: 16px;
|
|
43
43
|
font-weight: 400;
|
|
44
44
|
}
|
|
45
|
-
.typography__secondary-
|
|
45
|
+
.typography__secondary-small_1njp6 {
|
|
46
46
|
font-size: 11px;
|
|
47
47
|
line-height: 16px;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.typography__component_1njp6 {
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 400;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.typography__caps_1njp6 {
|
|
56
56
|
font-size: 12px;
|
|
57
57
|
line-height: 16px;
|
|
58
58
|
font-weight: 500;
|
|
59
59
|
letter-spacing: 1.25px;
|
|
60
60
|
text-transform: uppercase;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.typography__bold_1njp6 {
|
|
63
63
|
font-weight: bold;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.typography__medium_1njp6 {
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.typography__regular_1njp6 {
|
|
69
69
|
font-weight: normal;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.typography__monospace_1njp6 {
|
|
72
72
|
font-feature-settings: "tnum";
|
|
73
73
|
font-variant-numeric: tabular-nums;
|
|
74
74
|
}
|
package/dist/esm/text/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: eo0lm */
|
|
2
|
+
.typography__component_1sutx {
|
|
3
3
|
margin: 0;
|
|
4
4
|
padding: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.typography__bold_1sutx {
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.typography__medium_1sutx {
|
|
12
12
|
font-weight: 500;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.typography__regular_1sutx {
|
|
16
16
|
font-weight: normal;
|
|
17
17
|
}
|