@gravity-ui/blog-constructor 5.6.0 → 5.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/cjs/blocks/Author/Author.css +1 -0
- package/build/cjs/blocks/CTA/CTA.css +1 -0
- package/build/cjs/blocks/Header/schema.d.ts +4 -0
- package/build/cjs/containers/BlogPostPage/BlogPostPage.css +1 -1
- package/build/cjs/schema/index.d.ts +4 -0
- package/build/esm/blocks/Author/Author.css +1 -0
- package/build/esm/blocks/CTA/CTA.css +1 -0
- package/build/esm/blocks/Header/schema.d.ts +4 -0
- package/build/esm/containers/BlogPostPage/BlogPostPage.css +1 -1
- package/build/esm/schema/index.d.ts +4 -0
- package/package.json +15 -12
- package/styles/fonts.scss +28 -14
@@ -175,7 +175,7 @@ unpredictable css rules order in build */
|
|
175
175
|
margin: 0 0 12px;
|
176
176
|
}
|
177
177
|
.yfm_constructor.yfm_constructor p strong {
|
178
|
-
font-weight:
|
178
|
+
font-weight: var(--g-text-accent-font-weight);
|
179
179
|
}
|
180
180
|
.yfm_constructor.yfm_constructor_size_s ul,
|
181
181
|
.yfm_constructor.yfm_constructor_size_s ol,
|
@@ -175,7 +175,7 @@ unpredictable css rules order in build */
|
|
175
175
|
margin: 0 0 12px;
|
176
176
|
}
|
177
177
|
.yfm_constructor.yfm_constructor p strong {
|
178
|
-
font-weight:
|
178
|
+
font-weight: var(--g-text-accent-font-weight);
|
179
179
|
}
|
180
180
|
.yfm_constructor.yfm_constructor_size_s ul,
|
181
181
|
.yfm_constructor.yfm_constructor_size_s ol,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gravity-ui/blog-constructor",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.7.0",
|
4
4
|
"description": "Gravity UI Blog Constructor",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -60,8 +60,8 @@
|
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
62
|
"@bem-react/classname": "^1.6.0",
|
63
|
-
"@gravity-ui/components": "^2.
|
64
|
-
"@gravity-ui/i18n": "^1.
|
63
|
+
"@gravity-ui/components": "^2.5.1",
|
64
|
+
"@gravity-ui/i18n": "^1.1.0",
|
65
65
|
"lodash": "^4.17.21",
|
66
66
|
"react-helmet": "^6.1.0",
|
67
67
|
"react-player": "^2.9.0",
|
@@ -74,7 +74,8 @@
|
|
74
74
|
"typograf": "^6.14.0",
|
75
75
|
"ua-parser-js": "^0.7.28",
|
76
76
|
"url": "^0.11.0",
|
77
|
-
"url-join": "^5.0.0"
|
77
|
+
"url-join": "^5.0.0",
|
78
|
+
"utility-types": "^3.10.0"
|
78
79
|
},
|
79
80
|
"peerDependencies": {
|
80
81
|
"@doc-tools/transform": "^3.3.2",
|
@@ -87,18 +88,20 @@
|
|
87
88
|
"@babel/preset-react": "^7.22.5",
|
88
89
|
"@babel/preset-typescript": "^7.22.5",
|
89
90
|
"@commitlint/config-conventional": "^17.4.3",
|
90
|
-
"@doc-tools/transform": "^3.
|
91
|
-
"@gravity-ui/eslint-config": "^
|
92
|
-
"@gravity-ui/page-constructor": "^4.
|
93
|
-
"@gravity-ui/prettier-config": "^1.0
|
94
|
-
"@gravity-ui/stylelint-config": "^
|
91
|
+
"@doc-tools/transform": "^3.11.0",
|
92
|
+
"@gravity-ui/eslint-config": "^3.1.1",
|
93
|
+
"@gravity-ui/page-constructor": "^4.28.0",
|
94
|
+
"@gravity-ui/prettier-config": "^1.1.0",
|
95
|
+
"@gravity-ui/stylelint-config": "^4.0.1",
|
95
96
|
"@gravity-ui/tsconfig": "^1.0.0",
|
96
|
-
"@gravity-ui/uikit": "^5.
|
97
|
+
"@gravity-ui/uikit": "^5.17.0",
|
98
|
+
"@jest/environment": "^29.7.0",
|
97
99
|
"@storybook/addon-essentials": "^7.0.27",
|
98
100
|
"@storybook/cli": "^7.0.27",
|
99
101
|
"@storybook/preset-scss": "^1.0.3",
|
100
102
|
"@storybook/react": "^7.0.27",
|
101
103
|
"@storybook/react-webpack5": "^7.0.27",
|
104
|
+
"@testing-library/dom": "^9.3.3",
|
102
105
|
"@testing-library/jest-dom": "^5.16.5",
|
103
106
|
"@testing-library/react": "^14.0.0",
|
104
107
|
"@testing-library/user-event": "^14.4.3",
|
@@ -128,14 +131,14 @@
|
|
128
131
|
"lint-staged": "^11.2.6",
|
129
132
|
"npm-run-all": "^4.1.5",
|
130
133
|
"postcss": "^8.4.14",
|
131
|
-
"prettier": "
|
134
|
+
"prettier": "^3.0.3",
|
132
135
|
"react": "^18.2.0",
|
133
136
|
"react-dom": "^18.2.0",
|
134
137
|
"rimraf": "^3.0.2",
|
135
138
|
"sass": "^1.54.4",
|
136
139
|
"sass-loader": "^13.3.1",
|
137
140
|
"storybook": "^7.0.27",
|
138
|
-
"stylelint": "^
|
141
|
+
"stylelint": "^15.11.0",
|
139
142
|
"ts-jest": "^29.0.5",
|
140
143
|
"typescript": "^4.9.3"
|
141
144
|
},
|
package/styles/fonts.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'YS Display';
|
3
|
-
src:
|
3
|
+
src:
|
4
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-thin.woff2') format('woff2'),
|
4
5
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-thin.woff') format('woff');
|
5
6
|
font-weight: 100;
|
6
7
|
font-style: normal;
|
@@ -9,7 +10,8 @@
|
|
9
10
|
|
10
11
|
@font-face {
|
11
12
|
font-family: 'YS Display';
|
12
|
-
src:
|
13
|
+
src:
|
14
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-light.woff2') format('woff2'),
|
13
15
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-light.woff') format('woff');
|
14
16
|
font-weight: 300;
|
15
17
|
font-style: normal;
|
@@ -18,7 +20,8 @@
|
|
18
20
|
|
19
21
|
@font-face {
|
20
22
|
font-family: 'YS Display';
|
21
|
-
src:
|
23
|
+
src:
|
24
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-regular.woff2') format('woff2'),
|
22
25
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-regular.woff') format('woff');
|
23
26
|
font-weight: 400;
|
24
27
|
font-style: normal;
|
@@ -27,7 +30,8 @@
|
|
27
30
|
|
28
31
|
@font-face {
|
29
32
|
font-family: 'YS Display';
|
30
|
-
src:
|
33
|
+
src:
|
34
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-medium.woff2') format('woff2'),
|
31
35
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-medium.woff') format('woff');
|
32
36
|
font-weight: 500;
|
33
37
|
font-style: normal;
|
@@ -36,7 +40,8 @@
|
|
36
40
|
|
37
41
|
@font-face {
|
38
42
|
font-family: 'YS Display';
|
39
|
-
src:
|
43
|
+
src:
|
44
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-bold.woff2') format('woff2'),
|
40
45
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-bold.woff') format('woff');
|
41
46
|
font-weight: 700;
|
42
47
|
font-style: normal;
|
@@ -45,7 +50,8 @@
|
|
45
50
|
|
46
51
|
@font-face {
|
47
52
|
font-family: 'YS Display';
|
48
|
-
src:
|
53
|
+
src:
|
54
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/display-heavy.woff2') format('woff2'),
|
49
55
|
url('https://yastatic.net/s3/home/fonts/ys/1/display-heavy.woff') format('woff');
|
50
56
|
font-weight: 900;
|
51
57
|
font-style: normal;
|
@@ -54,7 +60,8 @@
|
|
54
60
|
|
55
61
|
@font-face {
|
56
62
|
font-family: 'YS Text';
|
57
|
-
src:
|
63
|
+
src:
|
64
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-light.woff2') format('woff2'),
|
58
65
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-light.woff') format('woff');
|
59
66
|
font-weight: 300;
|
60
67
|
font-style: normal;
|
@@ -63,7 +70,8 @@
|
|
63
70
|
|
64
71
|
@font-face {
|
65
72
|
font-family: 'YS Text';
|
66
|
-
src:
|
73
|
+
src:
|
74
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-light-italic.woff2') format('woff2'),
|
67
75
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-light-italic.woff') format('woff');
|
68
76
|
font-weight: 300;
|
69
77
|
font-style: italic;
|
@@ -72,7 +80,8 @@
|
|
72
80
|
|
73
81
|
@font-face {
|
74
82
|
font-family: 'YS Text';
|
75
|
-
src:
|
83
|
+
src:
|
84
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-regular.woff2') format('woff2'),
|
76
85
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-regular.woff') format('woff');
|
77
86
|
font-weight: 400;
|
78
87
|
font-style: normal;
|
@@ -81,7 +90,8 @@
|
|
81
90
|
|
82
91
|
@font-face {
|
83
92
|
font-family: 'YS Text';
|
84
|
-
src:
|
93
|
+
src:
|
94
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-regular-italic.woff2') format('woff2'),
|
85
95
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-regular-italic.woff') format('woff');
|
86
96
|
font-weight: 400;
|
87
97
|
font-style: italic;
|
@@ -90,7 +100,8 @@
|
|
90
100
|
|
91
101
|
@font-face {
|
92
102
|
font-family: 'YS Text';
|
93
|
-
src:
|
103
|
+
src:
|
104
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-medium.woff2') format('woff2'),
|
94
105
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-medium.woff') format('woff');
|
95
106
|
font-weight: 500;
|
96
107
|
font-style: normal;
|
@@ -99,7 +110,8 @@
|
|
99
110
|
|
100
111
|
@font-face {
|
101
112
|
font-family: 'YS Text';
|
102
|
-
src:
|
113
|
+
src:
|
114
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-medium-italic.woff2') format('woff2'),
|
103
115
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-medium-italic.woff') format('woff');
|
104
116
|
font-weight: 500;
|
105
117
|
font-style: italic;
|
@@ -108,7 +120,8 @@
|
|
108
120
|
|
109
121
|
@font-face {
|
110
122
|
font-family: 'YS Text';
|
111
|
-
src:
|
123
|
+
src:
|
124
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-bold.woff2') format('woff2'),
|
112
125
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-bold.woff') format('woff');
|
113
126
|
font-weight: 700;
|
114
127
|
font-style: normal;
|
@@ -117,7 +130,8 @@
|
|
117
130
|
|
118
131
|
@font-face {
|
119
132
|
font-family: 'YS Text';
|
120
|
-
src:
|
133
|
+
src:
|
134
|
+
url('https://yastatic.net/s3/home/fonts/ys/1/text-bold-italic.woff2') format('woff2'),
|
121
135
|
url('https://yastatic.net/s3/home/fonts/ys/1/text-bold-italic.woff') format('woff');
|
122
136
|
font-weight: 700;
|
123
137
|
font-style: italic;
|