@gravity-ui/page-constructor 2.3.2-alpha.0 → 2.4.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 (40) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/build/cjs/blocks/Header/schema.d.ts +0 -390
  3. package/build/cjs/blocks/HeaderSlider/schema.d.ts +0 -156
  4. package/build/cjs/blocks/Media/schema.d.ts +0 -156
  5. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +0 -78
  6. package/build/cjs/blocks/Security/schema.d.ts +0 -78
  7. package/build/cjs/blocks/Tabs/schema.d.ts +0 -78
  8. package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +7 -3
  9. package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.d.ts +5 -0
  10. package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +5 -0
  11. package/build/cjs/index.d.ts +1 -0
  12. package/build/cjs/index.js +1 -0
  13. package/build/cjs/models/common.d.ts +2 -1
  14. package/build/cjs/models/common.js +1 -0
  15. package/build/cjs/schema/index.d.ts +0 -78
  16. package/build/cjs/schema/validators/common.d.ts +0 -234
  17. package/build/cjs/schema/validators/common.js +2 -5
  18. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +0 -78
  19. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +0 -78
  20. package/build/esm/blocks/Header/schema.d.ts +0 -390
  21. package/build/esm/blocks/HeaderSlider/schema.d.ts +0 -156
  22. package/build/esm/blocks/Media/schema.d.ts +0 -156
  23. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +0 -78
  24. package/build/esm/blocks/Security/schema.d.ts +0 -78
  25. package/build/esm/blocks/Tabs/schema.d.ts +0 -78
  26. package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +7 -3
  27. package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.d.ts +5 -0
  28. package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +5 -0
  29. package/build/esm/index.d.ts +1 -0
  30. package/build/esm/index.js +1 -0
  31. package/build/esm/models/common.d.ts +2 -1
  32. package/build/esm/models/common.js +1 -0
  33. package/build/esm/schema/index.d.ts +0 -78
  34. package/build/esm/schema/validators/common.d.ts +0 -234
  35. package/build/esm/schema/validators/common.js +2 -5
  36. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +0 -78
  37. package/build/esm/sub-blocks/MediaCard/schema.d.ts +0 -78
  38. package/package.json +1 -4
  39. package/server/models/common.d.ts +2 -1
  40. package/server/models/common.js +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.4.0](https://github.com/gravity-ui/page-constructor/compare/v2.3.2...v2.4.0) (2023-04-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * analytics in header block breadcrumbs ([#284](https://github.com/gravity-ui/page-constructor/issues/284)) ([a2e6bbf](https://github.com/gravity-ui/page-constructor/commit/a2e6bbf0816a86d23bcca784956f4cace6d21d5a))
9
+
10
+ ## [2.3.2](https://github.com/gravity-ui/page-constructor/compare/v2.3.1...v2.3.2) (2023-04-05)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * export an analytics contexts ([#283](https://github.com/gravity-ui/page-constructor/issues/283)) ([96e4840](https://github.com/gravity-ui/page-constructor/commit/96e48407c89f590c48d88a4b2e3d06acfe9e72bc))
16
+ * set footnotes is deprecated ([#271](https://github.com/gravity-ui/page-constructor/issues/271)) ([7ea88f2](https://github.com/gravity-ui/page-constructor/commit/7ea88f2d9fbd31440857209b46d90735515ce805))
17
+
3
18
  ## [2.3.1](https://github.com/gravity-ui/page-constructor/compare/v2.3.0...v2.3.1) (2023-04-03)
4
19
 
5
20
 
@@ -105,84 +105,6 @@ export declare const HeaderBackgroundProps: {
105
105
  type: string;
106
106
  enum: string[];
107
107
  };
108
- analyticsEvents: {
109
- anyOf: ({
110
- type: string;
111
- additionalProperties: {
112
- type: string;
113
- };
114
- required: string[];
115
- properties: {
116
- name: {
117
- type: string;
118
- };
119
- type: {
120
- type: string;
121
- };
122
- counters: {
123
- type: string;
124
- additionalProperties: boolean;
125
- required: never[];
126
- properties: {
127
- include: {
128
- type: string;
129
- items: {
130
- type: string;
131
- };
132
- };
133
- exclude: {
134
- type: string;
135
- items: {
136
- type: string;
137
- };
138
- };
139
- };
140
- };
141
- context: {
142
- type: string;
143
- };
144
- };
145
- } | {
146
- type: string;
147
- items: {
148
- type: string;
149
- additionalProperties: {
150
- type: string;
151
- };
152
- required: string[];
153
- properties: {
154
- name: {
155
- type: string;
156
- };
157
- type: {
158
- type: string;
159
- };
160
- counters: {
161
- type: string;
162
- additionalProperties: boolean;
163
- required: never[];
164
- properties: {
165
- include: {
166
- type: string;
167
- items: {
168
- type: string;
169
- };
170
- };
171
- exclude: {
172
- type: string;
173
- items: {
174
- type: string;
175
- };
176
- };
177
- };
178
- };
179
- context: {
180
- type: string;
181
- };
182
- };
183
- };
184
- })[];
185
- };
186
108
  };
187
109
  };
188
110
  youtube: {
@@ -333,84 +255,6 @@ export declare const HeaderProperties: {
333
255
  type: string;
334
256
  enum: string[];
335
257
  };
336
- analyticsEvents: {
337
- anyOf: ({
338
- type: string;
339
- additionalProperties: {
340
- type: string;
341
- };
342
- required: string[];
343
- properties: {
344
- name: {
345
- type: string;
346
- };
347
- type: {
348
- type: string;
349
- };
350
- counters: {
351
- type: string;
352
- additionalProperties: boolean;
353
- required: never[];
354
- properties: {
355
- include: {
356
- type: string;
357
- items: {
358
- type: string;
359
- };
360
- };
361
- exclude: {
362
- type: string;
363
- items: {
364
- type: string;
365
- };
366
- };
367
- };
368
- };
369
- context: {
370
- type: string;
371
- };
372
- };
373
- } | {
374
- type: string;
375
- items: {
376
- type: string;
377
- additionalProperties: {
378
- type: string;
379
- };
380
- required: string[];
381
- properties: {
382
- name: {
383
- type: string;
384
- };
385
- type: {
386
- type: string;
387
- };
388
- counters: {
389
- type: string;
390
- additionalProperties: boolean;
391
- required: never[];
392
- properties: {
393
- include: {
394
- type: string;
395
- items: {
396
- type: string;
397
- };
398
- };
399
- exclude: {
400
- type: string;
401
- items: {
402
- type: string;
403
- };
404
- };
405
- };
406
- };
407
- context: {
408
- type: string;
409
- };
410
- };
411
- };
412
- })[];
413
- };
414
258
  };
415
259
  } | {
416
260
  type: string;
@@ -548,84 +392,6 @@ export declare const HeaderProperties: {
548
392
  type: string;
549
393
  enum: string[];
550
394
  };
551
- analyticsEvents: {
552
- anyOf: ({
553
- type: string;
554
- additionalProperties: {
555
- type: string;
556
- };
557
- required: string[];
558
- properties: {
559
- name: {
560
- type: string;
561
- };
562
- type: {
563
- type: string;
564
- };
565
- counters: {
566
- type: string;
567
- additionalProperties: boolean;
568
- required: never[];
569
- properties: {
570
- include: {
571
- type: string;
572
- items: {
573
- type: string;
574
- };
575
- };
576
- exclude: {
577
- type: string;
578
- items: {
579
- type: string;
580
- };
581
- };
582
- };
583
- };
584
- context: {
585
- type: string;
586
- };
587
- };
588
- } | {
589
- type: string;
590
- items: {
591
- type: string;
592
- additionalProperties: {
593
- type: string;
594
- };
595
- required: string[];
596
- properties: {
597
- name: {
598
- type: string;
599
- };
600
- type: {
601
- type: string;
602
- };
603
- counters: {
604
- type: string;
605
- additionalProperties: boolean;
606
- required: never[];
607
- properties: {
608
- include: {
609
- type: string;
610
- items: {
611
- type: string;
612
- };
613
- };
614
- exclude: {
615
- type: string;
616
- items: {
617
- type: string;
618
- };
619
- };
620
- };
621
- };
622
- context: {
623
- type: string;
624
- };
625
- };
626
- };
627
- })[];
628
- };
629
395
  };
630
396
  };
631
397
  youtube: {
@@ -822,84 +588,6 @@ export declare const HeaderBlock: {
822
588
  type: string;
823
589
  enum: string[];
824
590
  };
825
- analyticsEvents: {
826
- anyOf: ({
827
- type: string;
828
- additionalProperties: {
829
- type: string;
830
- };
831
- required: string[];
832
- properties: {
833
- name: {
834
- type: string;
835
- };
836
- type: {
837
- type: string;
838
- };
839
- counters: {
840
- type: string;
841
- additionalProperties: boolean;
842
- required: never[];
843
- properties: {
844
- include: {
845
- type: string;
846
- items: {
847
- type: string;
848
- };
849
- };
850
- exclude: {
851
- type: string;
852
- items: {
853
- type: string;
854
- };
855
- };
856
- };
857
- };
858
- context: {
859
- type: string;
860
- };
861
- };
862
- } | {
863
- type: string;
864
- items: {
865
- type: string;
866
- additionalProperties: {
867
- type: string;
868
- };
869
- required: string[];
870
- properties: {
871
- name: {
872
- type: string;
873
- };
874
- type: {
875
- type: string;
876
- };
877
- counters: {
878
- type: string;
879
- additionalProperties: boolean;
880
- required: never[];
881
- properties: {
882
- include: {
883
- type: string;
884
- items: {
885
- type: string;
886
- };
887
- };
888
- exclude: {
889
- type: string;
890
- items: {
891
- type: string;
892
- };
893
- };
894
- };
895
- };
896
- context: {
897
- type: string;
898
- };
899
- };
900
- };
901
- })[];
902
- };
903
591
  };
904
592
  } | {
905
593
  type: string;
@@ -1037,84 +725,6 @@ export declare const HeaderBlock: {
1037
725
  type: string;
1038
726
  enum: string[];
1039
727
  };
1040
- analyticsEvents: {
1041
- anyOf: ({
1042
- type: string;
1043
- additionalProperties: {
1044
- type: string;
1045
- };
1046
- required: string[];
1047
- properties: {
1048
- name: {
1049
- type: string;
1050
- };
1051
- type: {
1052
- type: string;
1053
- };
1054
- counters: {
1055
- type: string;
1056
- additionalProperties: boolean;
1057
- required: never[];
1058
- properties: {
1059
- include: {
1060
- type: string;
1061
- items: {
1062
- type: string;
1063
- };
1064
- };
1065
- exclude: {
1066
- type: string;
1067
- items: {
1068
- type: string;
1069
- };
1070
- };
1071
- };
1072
- };
1073
- context: {
1074
- type: string;
1075
- };
1076
- };
1077
- } | {
1078
- type: string;
1079
- items: {
1080
- type: string;
1081
- additionalProperties: {
1082
- type: string;
1083
- };
1084
- required: string[];
1085
- properties: {
1086
- name: {
1087
- type: string;
1088
- };
1089
- type: {
1090
- type: string;
1091
- };
1092
- counters: {
1093
- type: string;
1094
- additionalProperties: boolean;
1095
- required: never[];
1096
- properties: {
1097
- include: {
1098
- type: string;
1099
- items: {
1100
- type: string;
1101
- };
1102
- };
1103
- exclude: {
1104
- type: string;
1105
- items: {
1106
- type: string;
1107
- };
1108
- };
1109
- };
1110
- };
1111
- context: {
1112
- type: string;
1113
- };
1114
- };
1115
- };
1116
- })[];
1117
- };
1118
728
  };
1119
729
  };
1120
730
  youtube: {
@@ -125,84 +125,6 @@ export declare const HeaderSliderBlock: {
125
125
  type: string;
126
126
  enum: string[];
127
127
  };
128
- analyticsEvents: {
129
- anyOf: ({
130
- type: string;
131
- additionalProperties: {
132
- type: string;
133
- };
134
- required: string[];
135
- properties: {
136
- name: {
137
- type: string;
138
- };
139
- type: {
140
- type: string;
141
- };
142
- counters: {
143
- type: string;
144
- additionalProperties: boolean;
145
- required: never[];
146
- properties: {
147
- include: {
148
- type: string;
149
- items: {
150
- type: string;
151
- };
152
- };
153
- exclude: {
154
- type: string;
155
- items: {
156
- type: string;
157
- };
158
- };
159
- };
160
- };
161
- context: {
162
- type: string;
163
- };
164
- };
165
- } | {
166
- type: string;
167
- items: {
168
- type: string;
169
- additionalProperties: {
170
- type: string;
171
- };
172
- required: string[];
173
- properties: {
174
- name: {
175
- type: string;
176
- };
177
- type: {
178
- type: string;
179
- };
180
- counters: {
181
- type: string;
182
- additionalProperties: boolean;
183
- required: never[];
184
- properties: {
185
- include: {
186
- type: string;
187
- items: {
188
- type: string;
189
- };
190
- };
191
- exclude: {
192
- type: string;
193
- items: {
194
- type: string;
195
- };
196
- };
197
- };
198
- };
199
- context: {
200
- type: string;
201
- };
202
- };
203
- };
204
- })[];
205
- };
206
128
  };
207
129
  } | {
208
130
  type: string;
@@ -340,84 +262,6 @@ export declare const HeaderSliderBlock: {
340
262
  type: string;
341
263
  enum: string[];
342
264
  };
343
- analyticsEvents: {
344
- anyOf: ({
345
- type: string;
346
- additionalProperties: {
347
- type: string;
348
- };
349
- required: string[];
350
- properties: {
351
- name: {
352
- type: string;
353
- };
354
- type: {
355
- type: string;
356
- };
357
- counters: {
358
- type: string;
359
- additionalProperties: boolean;
360
- required: never[];
361
- properties: {
362
- include: {
363
- type: string;
364
- items: {
365
- type: string;
366
- };
367
- };
368
- exclude: {
369
- type: string;
370
- items: {
371
- type: string;
372
- };
373
- };
374
- };
375
- };
376
- context: {
377
- type: string;
378
- };
379
- };
380
- } | {
381
- type: string;
382
- items: {
383
- type: string;
384
- additionalProperties: {
385
- type: string;
386
- };
387
- required: string[];
388
- properties: {
389
- name: {
390
- type: string;
391
- };
392
- type: {
393
- type: string;
394
- };
395
- counters: {
396
- type: string;
397
- additionalProperties: boolean;
398
- required: never[];
399
- properties: {
400
- include: {
401
- type: string;
402
- items: {
403
- type: string;
404
- };
405
- };
406
- exclude: {
407
- type: string;
408
- items: {
409
- type: string;
410
- };
411
- };
412
- };
413
- };
414
- context: {
415
- type: string;
416
- };
417
- };
418
- };
419
- })[];
420
- };
421
265
  };
422
266
  };
423
267
  youtube: {