@gravity-ui/blog-constructor 11.2.0 → 11.3.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.
Files changed (73) hide show
  1. package/build/cjs/blocks/Author/schema.js +2 -2
  2. package/build/cjs/blocks/Author/schema.js.map +1 -1
  3. package/build/cjs/blocks/Banner/schema.d.ts +4 -1
  4. package/build/cjs/blocks/Banner/schema.js +2 -2
  5. package/build/cjs/blocks/Banner/schema.js.map +1 -1
  6. package/build/cjs/blocks/CTA/schema.d.ts +4 -1
  7. package/build/cjs/blocks/CTA/schema.js +2 -2
  8. package/build/cjs/blocks/CTA/schema.js.map +1 -1
  9. package/build/cjs/blocks/ColoredText/schema.d.ts +4 -1
  10. package/build/cjs/blocks/ColoredText/schema.js +2 -2
  11. package/build/cjs/blocks/ColoredText/schema.js.map +1 -1
  12. package/build/cjs/blocks/CompactMedia/schema.js +2 -2
  13. package/build/cjs/blocks/CompactMedia/schema.js.map +1 -1
  14. package/build/cjs/blocks/Feed/schema.js +2 -2
  15. package/build/cjs/blocks/Feed/schema.js.map +1 -1
  16. package/build/cjs/blocks/Form/schema.js +2 -2
  17. package/build/cjs/blocks/Form/schema.js.map +1 -1
  18. package/build/cjs/blocks/Header/schema.d.ts +4 -1
  19. package/build/cjs/blocks/Header/schema.js +2 -2
  20. package/build/cjs/blocks/Header/schema.js.map +1 -1
  21. package/build/cjs/blocks/Layout/schema.js +2 -2
  22. package/build/cjs/blocks/Layout/schema.js.map +1 -1
  23. package/build/cjs/blocks/Media/schema.d.ts +4 -1
  24. package/build/cjs/blocks/Media/schema.js +2 -2
  25. package/build/cjs/blocks/Media/schema.js.map +1 -1
  26. package/build/cjs/blocks/Meta/schema.js +2 -2
  27. package/build/cjs/blocks/Meta/schema.js.map +1 -1
  28. package/build/cjs/blocks/SideCardList/schema.js +2 -2
  29. package/build/cjs/blocks/SideCardList/schema.js.map +1 -1
  30. package/build/cjs/blocks/Suggest/schema.js +2 -2
  31. package/build/cjs/blocks/Suggest/schema.js.map +1 -1
  32. package/build/cjs/blocks/Take/schema.js +2 -2
  33. package/build/cjs/blocks/Take/schema.js.map +1 -1
  34. package/build/cjs/blocks/YFM/schema.js +2 -2
  35. package/build/cjs/blocks/YFM/schema.js.map +1 -1
  36. package/build/cjs/schema/index.d.ts +20 -5
  37. package/build/esm/blocks/Author/schema.js +2 -2
  38. package/build/esm/blocks/Author/schema.js.map +1 -1
  39. package/build/esm/blocks/Banner/schema.d.ts +4 -1
  40. package/build/esm/blocks/Banner/schema.js +1 -1
  41. package/build/esm/blocks/Banner/schema.js.map +1 -1
  42. package/build/esm/blocks/CTA/schema.d.ts +4 -1
  43. package/build/esm/blocks/CTA/schema.js +1 -1
  44. package/build/esm/blocks/CTA/schema.js.map +1 -1
  45. package/build/esm/blocks/ColoredText/schema.d.ts +4 -1
  46. package/build/esm/blocks/ColoredText/schema.js +1 -1
  47. package/build/esm/blocks/ColoredText/schema.js.map +1 -1
  48. package/build/esm/blocks/CompactMedia/schema.js +1 -1
  49. package/build/esm/blocks/CompactMedia/schema.js.map +1 -1
  50. package/build/esm/blocks/Feed/schema.js +2 -2
  51. package/build/esm/blocks/Feed/schema.js.map +1 -1
  52. package/build/esm/blocks/Form/schema.js +1 -1
  53. package/build/esm/blocks/Form/schema.js.map +1 -1
  54. package/build/esm/blocks/Header/schema.d.ts +4 -1
  55. package/build/esm/blocks/Header/schema.js +1 -1
  56. package/build/esm/blocks/Header/schema.js.map +1 -1
  57. package/build/esm/blocks/Layout/schema.js +2 -2
  58. package/build/esm/blocks/Layout/schema.js.map +1 -1
  59. package/build/esm/blocks/Media/schema.d.ts +4 -1
  60. package/build/esm/blocks/Media/schema.js +1 -1
  61. package/build/esm/blocks/Media/schema.js.map +1 -1
  62. package/build/esm/blocks/Meta/schema.js +2 -2
  63. package/build/esm/blocks/Meta/schema.js.map +1 -1
  64. package/build/esm/blocks/SideCardList/schema.js +1 -1
  65. package/build/esm/blocks/SideCardList/schema.js.map +1 -1
  66. package/build/esm/blocks/Suggest/schema.js +2 -2
  67. package/build/esm/blocks/Suggest/schema.js.map +1 -1
  68. package/build/esm/blocks/Take/schema.js +1 -1
  69. package/build/esm/blocks/Take/schema.js.map +1 -1
  70. package/build/esm/blocks/YFM/schema.js +2 -2
  71. package/build/esm/blocks/YFM/schema.js.map +1 -1
  72. package/build/esm/schema/index.d.ts +20 -5
  73. package/package.json +13 -3
@@ -533,7 +533,8 @@ export declare const schemasForCustom: {
533
533
  type: string;
534
534
  };
535
535
  analyticsEvents: {
536
- anyOf: ({
536
+ oneOf: ({
537
+ optionName: string;
537
538
  type: string;
538
539
  additionalProperties: {
539
540
  type: string;
@@ -569,6 +570,7 @@ export declare const schemasForCustom: {
569
570
  type: string;
570
571
  };
571
572
  };
573
+ items?: undefined;
572
574
  } | {
573
575
  type: string;
574
576
  items: {
@@ -608,6 +610,7 @@ export declare const schemasForCustom: {
608
610
  };
609
611
  };
610
612
  };
613
+ optionName: string;
611
614
  })[];
612
615
  };
613
616
  ratio: {
@@ -892,7 +895,8 @@ export declare const schemasForCustom: {
892
895
  type: string;
893
896
  };
894
897
  analyticsEvents: {
895
- anyOf: ({
898
+ oneOf: ({
899
+ optionName: string;
896
900
  type: string;
897
901
  additionalProperties: {
898
902
  type: string;
@@ -928,6 +932,7 @@ export declare const schemasForCustom: {
928
932
  type: string;
929
933
  };
930
934
  };
935
+ items?: undefined;
931
936
  } | {
932
937
  type: string;
933
938
  items: {
@@ -967,6 +972,7 @@ export declare const schemasForCustom: {
967
972
  };
968
973
  };
969
974
  };
975
+ optionName: string;
970
976
  })[];
971
977
  };
972
978
  };
@@ -1194,7 +1200,8 @@ export declare const schemasForCustom: {
1194
1200
  type: string;
1195
1201
  };
1196
1202
  analyticsEvents: {
1197
- anyOf: ({
1203
+ oneOf: ({
1204
+ optionName: string;
1198
1205
  type: string;
1199
1206
  additionalProperties: {
1200
1207
  type: string;
@@ -1230,6 +1237,7 @@ export declare const schemasForCustom: {
1230
1237
  type: string;
1231
1238
  };
1232
1239
  };
1240
+ items?: undefined;
1233
1241
  } | {
1234
1242
  type: string;
1235
1243
  items: {
@@ -1269,6 +1277,7 @@ export declare const schemasForCustom: {
1269
1277
  };
1270
1278
  };
1271
1279
  };
1280
+ optionName: string;
1272
1281
  })[];
1273
1282
  };
1274
1283
  };
@@ -1586,7 +1595,8 @@ export declare const schemasForCustom: {
1586
1595
  type: string;
1587
1596
  };
1588
1597
  analyticsEvents: {
1589
- anyOf: ({
1598
+ oneOf: ({
1599
+ optionName: string;
1590
1600
  type: string;
1591
1601
  additionalProperties: {
1592
1602
  type: string;
@@ -1622,6 +1632,7 @@ export declare const schemasForCustom: {
1622
1632
  type: string;
1623
1633
  };
1624
1634
  };
1635
+ items?: undefined;
1625
1636
  } | {
1626
1637
  type: string;
1627
1638
  items: {
@@ -1661,6 +1672,7 @@ export declare const schemasForCustom: {
1661
1672
  };
1662
1673
  };
1663
1674
  };
1675
+ optionName: string;
1664
1676
  })[];
1665
1677
  };
1666
1678
  };
@@ -2316,7 +2328,8 @@ export declare const schemasForCustom: {
2316
2328
  type: string;
2317
2329
  };
2318
2330
  analyticsEvents: {
2319
- anyOf: ({
2331
+ oneOf: ({
2332
+ optionName: string;
2320
2333
  type: string;
2321
2334
  additionalProperties: {
2322
2335
  type: string;
@@ -2352,6 +2365,7 @@ export declare const schemasForCustom: {
2352
2365
  type: string;
2353
2366
  };
2354
2367
  };
2368
+ items?: undefined;
2355
2369
  } | {
2356
2370
  type: string;
2357
2371
  items: {
@@ -2391,6 +2405,7 @@ export declare const schemasForCustom: {
2391
2405
  };
2392
2406
  };
2393
2407
  };
2408
+ optionName: string;
2394
2409
  })[];
2395
2410
  };
2396
2411
  ratio: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/blog-constructor",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "Gravity UI Blog Constructor",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -24,6 +24,16 @@
24
24
  "require": "./server/index.js",
25
25
  "import": "./server/index.js"
26
26
  },
27
+ "./schema": {
28
+ "import": {
29
+ "types": "./build/esm/schema/index.d.ts",
30
+ "default": "./build/esm/schema/index.js"
31
+ },
32
+ "require": {
33
+ "types": "./build/cjs/schema/index.d.ts",
34
+ "default": "./build/cjs/schema/index.js"
35
+ }
36
+ },
27
37
  "./styles/*": "./styles/*"
28
38
  },
29
39
  "files": [
@@ -88,7 +98,7 @@
88
98
  },
89
99
  "peerDependencies": {
90
100
  "@diplodoc/transform": "^4.10.7",
91
- "@gravity-ui/page-constructor": "^8.20.0",
101
+ "@gravity-ui/page-constructor": "^8.23.4",
92
102
  "@gravity-ui/uikit": "^7.1.1",
93
103
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
94
104
  },
@@ -99,7 +109,7 @@
99
109
  "@commitlint/config-conventional": "^17.4.3",
100
110
  "@diplodoc/transform": "^4.10.8",
101
111
  "@gravity-ui/eslint-config": "^3.2.0",
102
- "@gravity-ui/page-constructor": "^8.20.0",
112
+ "@gravity-ui/page-constructor": "^8.23.4",
103
113
  "@gravity-ui/prettier-config": "^1.1.0",
104
114
  "@gravity-ui/stylelint-config": "^4.0.1",
105
115
  "@gravity-ui/tsconfig": "^1.0.0",