@gravity-ui/blog-constructor 5.13.0 → 5.14.0-beta.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/build/cjs/blocks/Header/schema.d.ts +11 -1
- package/build/cjs/blocks/Media/schema.d.ts +11 -1
- package/build/cjs/models/blocks.d.ts +1 -1
- package/build/cjs/schema/index.d.ts +22 -2
- package/build/esm/blocks/Header/schema.d.ts +11 -1
- package/build/esm/blocks/Media/schema.d.ts +11 -1
- package/build/esm/models/blocks.d.ts +1 -1
- package/build/esm/schema/index.d.ts +22 -2
- package/package.json +5 -2
- package/server/models/blocks.d.ts +1 -1
@@ -450,11 +450,21 @@ export declare const Header: {
|
|
450
450
|
type: string;
|
451
451
|
};
|
452
452
|
height: {
|
453
|
-
|
453
|
+
oneOf: ({
|
454
|
+
type: string;
|
455
|
+
enum?: undefined;
|
456
|
+
} | {
|
457
|
+
type: string;
|
458
|
+
enum: string[];
|
459
|
+
})[];
|
454
460
|
};
|
455
461
|
width: {
|
456
462
|
type: string;
|
457
463
|
};
|
464
|
+
justifyContent: {
|
465
|
+
type: string;
|
466
|
+
enum: string[];
|
467
|
+
};
|
458
468
|
};
|
459
469
|
};
|
460
470
|
margins: {
|
@@ -264,11 +264,21 @@ export declare const Media: {
|
|
264
264
|
type: string;
|
265
265
|
};
|
266
266
|
height: {
|
267
|
-
|
267
|
+
oneOf: ({
|
268
|
+
type: string;
|
269
|
+
enum?: undefined;
|
270
|
+
} | {
|
271
|
+
type: string;
|
272
|
+
enum: string[];
|
273
|
+
})[];
|
268
274
|
};
|
269
275
|
width: {
|
270
276
|
type: string;
|
271
277
|
};
|
278
|
+
justifyContent: {
|
279
|
+
type: string;
|
280
|
+
enum: string[];
|
281
|
+
};
|
272
282
|
};
|
273
283
|
};
|
274
284
|
margins: {
|
@@ -27,7 +27,7 @@ export type LayoutProps = {
|
|
27
27
|
mobileOrder?: string;
|
28
28
|
children: ReactElement[];
|
29
29
|
} & PaddingsYFMProps;
|
30
|
-
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens'>> & {
|
30
|
+
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens' | 'iframe' | 'margins' | 'iframe'>> & {
|
31
31
|
text?: string;
|
32
32
|
};
|
33
33
|
export type MetaProps = QAProps & {
|
@@ -458,11 +458,21 @@ export declare const schemasForCustom: {
|
|
458
458
|
type: string;
|
459
459
|
};
|
460
460
|
height: {
|
461
|
-
|
461
|
+
oneOf: ({
|
462
|
+
type: string;
|
463
|
+
enum?: undefined;
|
464
|
+
} | {
|
465
|
+
type: string;
|
466
|
+
enum: string[];
|
467
|
+
})[];
|
462
468
|
};
|
463
469
|
width: {
|
464
470
|
type: string;
|
465
471
|
};
|
472
|
+
justifyContent: {
|
473
|
+
type: string;
|
474
|
+
enum: string[];
|
475
|
+
};
|
466
476
|
};
|
467
477
|
};
|
468
478
|
margins: {
|
@@ -1588,11 +1598,21 @@ export declare const schemasForCustom: {
|
|
1588
1598
|
type: string;
|
1589
1599
|
};
|
1590
1600
|
height: {
|
1591
|
-
|
1601
|
+
oneOf: ({
|
1602
|
+
type: string;
|
1603
|
+
enum?: undefined;
|
1604
|
+
} | {
|
1605
|
+
type: string;
|
1606
|
+
enum: string[];
|
1607
|
+
})[];
|
1592
1608
|
};
|
1593
1609
|
width: {
|
1594
1610
|
type: string;
|
1595
1611
|
};
|
1612
|
+
justifyContent: {
|
1613
|
+
type: string;
|
1614
|
+
enum: string[];
|
1615
|
+
};
|
1596
1616
|
};
|
1597
1617
|
};
|
1598
1618
|
margins: {
|
@@ -450,11 +450,21 @@ export declare const Header: {
|
|
450
450
|
type: string;
|
451
451
|
};
|
452
452
|
height: {
|
453
|
-
|
453
|
+
oneOf: ({
|
454
|
+
type: string;
|
455
|
+
enum?: undefined;
|
456
|
+
} | {
|
457
|
+
type: string;
|
458
|
+
enum: string[];
|
459
|
+
})[];
|
454
460
|
};
|
455
461
|
width: {
|
456
462
|
type: string;
|
457
463
|
};
|
464
|
+
justifyContent: {
|
465
|
+
type: string;
|
466
|
+
enum: string[];
|
467
|
+
};
|
458
468
|
};
|
459
469
|
};
|
460
470
|
margins: {
|
@@ -264,11 +264,21 @@ export declare const Media: {
|
|
264
264
|
type: string;
|
265
265
|
};
|
266
266
|
height: {
|
267
|
-
|
267
|
+
oneOf: ({
|
268
|
+
type: string;
|
269
|
+
enum?: undefined;
|
270
|
+
} | {
|
271
|
+
type: string;
|
272
|
+
enum: string[];
|
273
|
+
})[];
|
268
274
|
};
|
269
275
|
width: {
|
270
276
|
type: string;
|
271
277
|
};
|
278
|
+
justifyContent: {
|
279
|
+
type: string;
|
280
|
+
enum: string[];
|
281
|
+
};
|
272
282
|
};
|
273
283
|
};
|
274
284
|
margins: {
|
@@ -27,7 +27,7 @@ export type LayoutProps = {
|
|
27
27
|
mobileOrder?: string;
|
28
28
|
children: ReactElement[];
|
29
29
|
} & PaddingsYFMProps;
|
30
|
-
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens'>> & {
|
30
|
+
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens' | 'iframe' | 'margins' | 'iframe'>> & {
|
31
31
|
text?: string;
|
32
32
|
};
|
33
33
|
export type MetaProps = QAProps & {
|
@@ -458,11 +458,21 @@ export declare const schemasForCustom: {
|
|
458
458
|
type: string;
|
459
459
|
};
|
460
460
|
height: {
|
461
|
-
|
461
|
+
oneOf: ({
|
462
|
+
type: string;
|
463
|
+
enum?: undefined;
|
464
|
+
} | {
|
465
|
+
type: string;
|
466
|
+
enum: string[];
|
467
|
+
})[];
|
462
468
|
};
|
463
469
|
width: {
|
464
470
|
type: string;
|
465
471
|
};
|
472
|
+
justifyContent: {
|
473
|
+
type: string;
|
474
|
+
enum: string[];
|
475
|
+
};
|
466
476
|
};
|
467
477
|
};
|
468
478
|
margins: {
|
@@ -1588,11 +1598,21 @@ export declare const schemasForCustom: {
|
|
1588
1598
|
type: string;
|
1589
1599
|
};
|
1590
1600
|
height: {
|
1591
|
-
|
1601
|
+
oneOf: ({
|
1602
|
+
type: string;
|
1603
|
+
enum?: undefined;
|
1604
|
+
} | {
|
1605
|
+
type: string;
|
1606
|
+
enum: string[];
|
1607
|
+
})[];
|
1592
1608
|
};
|
1593
1609
|
width: {
|
1594
1610
|
type: string;
|
1595
1611
|
};
|
1612
|
+
justifyContent: {
|
1613
|
+
type: string;
|
1614
|
+
enum: string[];
|
1615
|
+
};
|
1596
1616
|
};
|
1597
1617
|
};
|
1598
1618
|
margins: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gravity-ui/blog-constructor",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.14.0-beta.0",
|
4
4
|
"description": "Gravity UI Blog Constructor",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -82,7 +82,7 @@
|
|
82
82
|
"@commitlint/config-conventional": "^17.4.3",
|
83
83
|
"@doc-tools/transform": "^3.11.0",
|
84
84
|
"@gravity-ui/eslint-config": "^3.1.1",
|
85
|
-
"@gravity-ui/page-constructor": "^4.
|
85
|
+
"@gravity-ui/page-constructor": "^4.47.0-beta.0",
|
86
86
|
"@gravity-ui/prettier-config": "^1.1.0",
|
87
87
|
"@gravity-ui/stylelint-config": "^4.0.1",
|
88
88
|
"@gravity-ui/tsconfig": "^1.0.0",
|
@@ -144,5 +144,8 @@
|
|
144
144
|
"*.{json,yaml,yml,md}": [
|
145
145
|
"prettier --write"
|
146
146
|
]
|
147
|
+
},
|
148
|
+
"publishConfig": {
|
149
|
+
"tag": "beta"
|
147
150
|
}
|
148
151
|
}
|
@@ -27,7 +27,7 @@ export type LayoutProps = {
|
|
27
27
|
mobileOrder?: string;
|
28
28
|
children: ReactElement[];
|
29
29
|
} & PaddingsYFMProps;
|
30
|
-
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens'>> & {
|
30
|
+
export type MediaProps = ClassNameProps & PaddingsYFMProps & Partial<Pick<PCMediaProps, 'youtube' | 'previewImg' | 'image' | 'video' | 'dataLens' | 'iframe' | 'margins' | 'iframe'>> & {
|
31
31
|
text?: string;
|
32
32
|
};
|
33
33
|
export type MetaProps = QAProps & {
|