@gravity-ui/blog-constructor 8.5.3 → 9.0.0-alpha.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.
- package/build/cjs/blocks/Banner/schema.d.ts +11 -0
- package/build/cjs/blocks/CTA/schema.d.ts +11 -0
- package/build/cjs/blocks/ColoredText/schema.d.ts +11 -0
- package/build/cjs/blocks/Header/schema.d.ts +29 -0
- package/build/cjs/schema/index.d.ts +62 -0
- package/build/cjs/utils/common.d.ts +1 -0
- package/build/esm/blocks/Banner/schema.d.ts +11 -0
- package/build/esm/blocks/CTA/schema.d.ts +11 -0
- package/build/esm/blocks/ColoredText/schema.d.ts +11 -0
- package/build/esm/blocks/Header/schema.d.ts +29 -0
- package/build/esm/schema/index.d.ts +62 -0
- package/build/esm/utils/common.d.ts +1 -0
- package/package.json +3 -3
|
@@ -96,6 +96,17 @@ export declare const Banner: {
|
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
+
labels: {
|
|
100
|
+
type: string;
|
|
101
|
+
items: {
|
|
102
|
+
type: string;
|
|
103
|
+
properties: {
|
|
104
|
+
when: {
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
99
110
|
controlPosition: {
|
|
100
111
|
type: string;
|
|
101
112
|
enum: string[];
|
|
@@ -93,6 +93,17 @@ export declare const CTA: {
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
+
labels: {
|
|
97
|
+
type: string;
|
|
98
|
+
items: {
|
|
99
|
+
type: string;
|
|
100
|
+
properties: {
|
|
101
|
+
when: {
|
|
102
|
+
type: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
96
107
|
controlPosition: {
|
|
97
108
|
type: string;
|
|
98
109
|
enum: string[];
|
|
@@ -126,6 +126,17 @@ export declare const ColoredText: {
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
+
labels: {
|
|
130
|
+
type: string;
|
|
131
|
+
items: {
|
|
132
|
+
type: string;
|
|
133
|
+
properties: {
|
|
134
|
+
when: {
|
|
135
|
+
type: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
129
140
|
controlPosition: {
|
|
130
141
|
type: string;
|
|
131
142
|
enum: string[];
|
|
@@ -177,6 +177,35 @@ export declare const Header: {
|
|
|
177
177
|
optionName: string;
|
|
178
178
|
})[];
|
|
179
179
|
};
|
|
180
|
+
videoIframe: {
|
|
181
|
+
oneOf: (({
|
|
182
|
+
type: string;
|
|
183
|
+
additionalProperties: boolean;
|
|
184
|
+
required: string[];
|
|
185
|
+
properties: {
|
|
186
|
+
src: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
autoplay: {
|
|
190
|
+
type: string;
|
|
191
|
+
};
|
|
192
|
+
previewImg: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
height: {
|
|
196
|
+
type: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
} & {
|
|
200
|
+
optionName: string;
|
|
201
|
+
}) | {
|
|
202
|
+
type: string;
|
|
203
|
+
additionalProperties: boolean;
|
|
204
|
+
required: import("@gravity-ui/page-constructor").Theme[];
|
|
205
|
+
properties: {};
|
|
206
|
+
optionName: string;
|
|
207
|
+
})[];
|
|
208
|
+
};
|
|
180
209
|
mediaView: {
|
|
181
210
|
type: string;
|
|
182
211
|
enum: string[];
|
|
@@ -185,6 +185,35 @@ export declare const schemasForCustom: {
|
|
|
185
185
|
optionName: string;
|
|
186
186
|
})[];
|
|
187
187
|
};
|
|
188
|
+
videoIframe: {
|
|
189
|
+
oneOf: (({
|
|
190
|
+
type: string;
|
|
191
|
+
additionalProperties: boolean;
|
|
192
|
+
required: string[];
|
|
193
|
+
properties: {
|
|
194
|
+
src: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
autoplay: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
previewImg: {
|
|
201
|
+
type: string;
|
|
202
|
+
};
|
|
203
|
+
height: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
} & {
|
|
208
|
+
optionName: string;
|
|
209
|
+
}) | {
|
|
210
|
+
type: string;
|
|
211
|
+
additionalProperties: boolean;
|
|
212
|
+
required: import("@gravity-ui/page-constructor").Theme[];
|
|
213
|
+
properties: {};
|
|
214
|
+
optionName: string;
|
|
215
|
+
})[];
|
|
216
|
+
};
|
|
188
217
|
mediaView: {
|
|
189
218
|
type: string;
|
|
190
219
|
enum: string[];
|
|
@@ -814,6 +843,17 @@ export declare const schemasForCustom: {
|
|
|
814
843
|
};
|
|
815
844
|
};
|
|
816
845
|
};
|
|
846
|
+
labels: {
|
|
847
|
+
type: string;
|
|
848
|
+
items: {
|
|
849
|
+
type: string;
|
|
850
|
+
properties: {
|
|
851
|
+
when: {
|
|
852
|
+
type: string;
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
817
857
|
controlPosition: {
|
|
818
858
|
type: string;
|
|
819
859
|
enum: string[];
|
|
@@ -1010,6 +1050,17 @@ export declare const schemasForCustom: {
|
|
|
1010
1050
|
};
|
|
1011
1051
|
};
|
|
1012
1052
|
};
|
|
1053
|
+
labels: {
|
|
1054
|
+
type: string;
|
|
1055
|
+
items: {
|
|
1056
|
+
type: string;
|
|
1057
|
+
properties: {
|
|
1058
|
+
when: {
|
|
1059
|
+
type: string;
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1013
1064
|
controlPosition: {
|
|
1014
1065
|
type: string;
|
|
1015
1066
|
enum: string[];
|
|
@@ -1173,6 +1224,17 @@ export declare const schemasForCustom: {
|
|
|
1173
1224
|
};
|
|
1174
1225
|
};
|
|
1175
1226
|
};
|
|
1227
|
+
labels: {
|
|
1228
|
+
type: string;
|
|
1229
|
+
items: {
|
|
1230
|
+
type: string;
|
|
1231
|
+
properties: {
|
|
1232
|
+
when: {
|
|
1233
|
+
type: string;
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1176
1238
|
controlPosition: {
|
|
1177
1239
|
type: string;
|
|
1178
1240
|
enum: string[];
|
|
@@ -31,6 +31,7 @@ export declare const updateContentSizes: ({ size, colSizes, theme, ...contentDat
|
|
|
31
31
|
buttons?: import("@gravity-ui/page-constructor").ButtonProps[];
|
|
32
32
|
centered?: boolean;
|
|
33
33
|
list?: import("@gravity-ui/page-constructor").ContentItemProps[];
|
|
34
|
+
labels?: import("@gravity-ui/page-constructor").ContentLabelProps[];
|
|
34
35
|
controlPosition?: "default" | "bottom";
|
|
35
36
|
};
|
|
36
37
|
type GetBreadcrumbsProps = {
|
|
@@ -96,6 +96,17 @@ export declare const Banner: {
|
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
+
labels: {
|
|
100
|
+
type: string;
|
|
101
|
+
items: {
|
|
102
|
+
type: string;
|
|
103
|
+
properties: {
|
|
104
|
+
when: {
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
99
110
|
controlPosition: {
|
|
100
111
|
type: string;
|
|
101
112
|
enum: string[];
|
|
@@ -93,6 +93,17 @@ export declare const CTA: {
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
+
labels: {
|
|
97
|
+
type: string;
|
|
98
|
+
items: {
|
|
99
|
+
type: string;
|
|
100
|
+
properties: {
|
|
101
|
+
when: {
|
|
102
|
+
type: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
96
107
|
controlPosition: {
|
|
97
108
|
type: string;
|
|
98
109
|
enum: string[];
|
|
@@ -126,6 +126,17 @@ export declare const ColoredText: {
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
+
labels: {
|
|
130
|
+
type: string;
|
|
131
|
+
items: {
|
|
132
|
+
type: string;
|
|
133
|
+
properties: {
|
|
134
|
+
when: {
|
|
135
|
+
type: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
129
140
|
controlPosition: {
|
|
130
141
|
type: string;
|
|
131
142
|
enum: string[];
|
|
@@ -177,6 +177,35 @@ export declare const Header: {
|
|
|
177
177
|
optionName: string;
|
|
178
178
|
})[];
|
|
179
179
|
};
|
|
180
|
+
videoIframe: {
|
|
181
|
+
oneOf: (({
|
|
182
|
+
type: string;
|
|
183
|
+
additionalProperties: boolean;
|
|
184
|
+
required: string[];
|
|
185
|
+
properties: {
|
|
186
|
+
src: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
autoplay: {
|
|
190
|
+
type: string;
|
|
191
|
+
};
|
|
192
|
+
previewImg: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
height: {
|
|
196
|
+
type: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
} & {
|
|
200
|
+
optionName: string;
|
|
201
|
+
}) | {
|
|
202
|
+
type: string;
|
|
203
|
+
additionalProperties: boolean;
|
|
204
|
+
required: import("@gravity-ui/page-constructor").Theme[];
|
|
205
|
+
properties: {};
|
|
206
|
+
optionName: string;
|
|
207
|
+
})[];
|
|
208
|
+
};
|
|
180
209
|
mediaView: {
|
|
181
210
|
type: string;
|
|
182
211
|
enum: string[];
|
|
@@ -185,6 +185,35 @@ export declare const schemasForCustom: {
|
|
|
185
185
|
optionName: string;
|
|
186
186
|
})[];
|
|
187
187
|
};
|
|
188
|
+
videoIframe: {
|
|
189
|
+
oneOf: (({
|
|
190
|
+
type: string;
|
|
191
|
+
additionalProperties: boolean;
|
|
192
|
+
required: string[];
|
|
193
|
+
properties: {
|
|
194
|
+
src: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
autoplay: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
previewImg: {
|
|
201
|
+
type: string;
|
|
202
|
+
};
|
|
203
|
+
height: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
} & {
|
|
208
|
+
optionName: string;
|
|
209
|
+
}) | {
|
|
210
|
+
type: string;
|
|
211
|
+
additionalProperties: boolean;
|
|
212
|
+
required: import("@gravity-ui/page-constructor").Theme[];
|
|
213
|
+
properties: {};
|
|
214
|
+
optionName: string;
|
|
215
|
+
})[];
|
|
216
|
+
};
|
|
188
217
|
mediaView: {
|
|
189
218
|
type: string;
|
|
190
219
|
enum: string[];
|
|
@@ -814,6 +843,17 @@ export declare const schemasForCustom: {
|
|
|
814
843
|
};
|
|
815
844
|
};
|
|
816
845
|
};
|
|
846
|
+
labels: {
|
|
847
|
+
type: string;
|
|
848
|
+
items: {
|
|
849
|
+
type: string;
|
|
850
|
+
properties: {
|
|
851
|
+
when: {
|
|
852
|
+
type: string;
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
817
857
|
controlPosition: {
|
|
818
858
|
type: string;
|
|
819
859
|
enum: string[];
|
|
@@ -1010,6 +1050,17 @@ export declare const schemasForCustom: {
|
|
|
1010
1050
|
};
|
|
1011
1051
|
};
|
|
1012
1052
|
};
|
|
1053
|
+
labels: {
|
|
1054
|
+
type: string;
|
|
1055
|
+
items: {
|
|
1056
|
+
type: string;
|
|
1057
|
+
properties: {
|
|
1058
|
+
when: {
|
|
1059
|
+
type: string;
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1013
1064
|
controlPosition: {
|
|
1014
1065
|
type: string;
|
|
1015
1066
|
enum: string[];
|
|
@@ -1173,6 +1224,17 @@ export declare const schemasForCustom: {
|
|
|
1173
1224
|
};
|
|
1174
1225
|
};
|
|
1175
1226
|
};
|
|
1227
|
+
labels: {
|
|
1228
|
+
type: string;
|
|
1229
|
+
items: {
|
|
1230
|
+
type: string;
|
|
1231
|
+
properties: {
|
|
1232
|
+
when: {
|
|
1233
|
+
type: string;
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1176
1238
|
controlPosition: {
|
|
1177
1239
|
type: string;
|
|
1178
1240
|
enum: string[];
|
|
@@ -31,6 +31,7 @@ export declare const updateContentSizes: ({ size, colSizes, theme, ...contentDat
|
|
|
31
31
|
buttons?: import("@gravity-ui/page-constructor").ButtonProps[];
|
|
32
32
|
centered?: boolean;
|
|
33
33
|
list?: import("@gravity-ui/page-constructor").ContentItemProps[];
|
|
34
|
+
labels?: import("@gravity-ui/page-constructor").ContentLabelProps[];
|
|
34
35
|
controlPosition?: "default" | "bottom";
|
|
35
36
|
};
|
|
36
37
|
type GetBreadcrumbsProps = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/blog-constructor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-alpha.1",
|
|
4
4
|
"description": "Gravity UI Blog Constructor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"@diplodoc/transform": "^4.10.7",
|
|
90
|
-
"@gravity-ui/page-constructor": "^
|
|
90
|
+
"@gravity-ui/page-constructor": "^8.0.0-alpha.1",
|
|
91
91
|
"@gravity-ui/uikit": "^7.1.1",
|
|
92
92
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
93
93
|
},
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@diplodoc/transform": "^4.10.8",
|
|
100
100
|
"@gravity-ui/eslint-config": "^3.2.0",
|
|
101
101
|
"@gravity-ui/icons": "^2.13.0",
|
|
102
|
-
"@gravity-ui/page-constructor": "^
|
|
102
|
+
"@gravity-ui/page-constructor": "^8.0.0-alpha.1",
|
|
103
103
|
"@gravity-ui/prettier-config": "^1.1.0",
|
|
104
104
|
"@gravity-ui/stylelint-config": "^4.0.1",
|
|
105
105
|
"@gravity-ui/tsconfig": "^1.0.0",
|