@gravity-ui/page-constructor 1.20.1 → 1.20.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.20.2](https://github.com/gravity-ui/page-constructor/compare/v1.20.1...v1.20.2) (2023-03-01)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix map block scheme ([#190](https://github.com/gravity-ui/page-constructor/issues/190)) ([c75ae30](https://github.com/gravity-ui/page-constructor/commit/c75ae30bc168fcd9e39c71f71501ec1b87446ef1))
9
+
3
10
  ## [1.20.1](https://github.com/gravity-ui/page-constructor/compare/v1.20.0...v1.20.1) (2023-03-01)
4
11
 
5
12
 
@@ -21,36 +21,34 @@ export declare const Map: {
21
21
  markers: {
22
22
  type: string;
23
23
  items: {
24
- type: {
25
- type: string;
26
- additionalProperties: boolean;
27
- required: never[];
28
- properties: {
29
- coordinate: {
24
+ type: string;
25
+ additionalProperties: boolean;
26
+ required: never[];
27
+ properties: {
28
+ coordinate: {
29
+ type: string;
30
+ items: {
30
31
  type: string;
31
- items: {
32
+ };
33
+ };
34
+ address: {
35
+ type: string;
36
+ };
37
+ label: {
38
+ type: string;
39
+ required: never[];
40
+ properties: {
41
+ iconCaption: {
32
42
  type: string;
33
43
  };
34
- };
35
- address: {
36
- type: string;
37
- };
38
- label: {
39
- type: string;
40
- required: never[];
41
- properties: {
42
- iconCaption: {
43
- type: string;
44
- };
45
- iconContent: {
46
- type: string;
47
- };
48
- iconColor: {
49
- type: string;
50
- };
51
- preset: {
52
- type: string;
53
- };
44
+ iconContent: {
45
+ type: string;
46
+ };
47
+ iconColor: {
48
+ type: string;
49
+ };
50
+ preset: {
51
+ type: string;
54
52
  };
55
53
  };
56
54
  };
@@ -87,36 +85,34 @@ export declare const MapBlock: {
87
85
  markers: {
88
86
  type: string;
89
87
  items: {
90
- type: {
91
- type: string;
92
- additionalProperties: boolean;
93
- required: never[];
94
- properties: {
95
- coordinate: {
88
+ type: string;
89
+ additionalProperties: boolean;
90
+ required: never[];
91
+ properties: {
92
+ coordinate: {
93
+ type: string;
94
+ items: {
96
95
  type: string;
97
- items: {
96
+ };
97
+ };
98
+ address: {
99
+ type: string;
100
+ };
101
+ label: {
102
+ type: string;
103
+ required: never[];
104
+ properties: {
105
+ iconCaption: {
98
106
  type: string;
99
107
  };
100
- };
101
- address: {
102
- type: string;
103
- };
104
- label: {
105
- type: string;
106
- required: never[];
107
- properties: {
108
- iconCaption: {
109
- type: string;
110
- };
111
- iconContent: {
112
- type: string;
113
- };
114
- iconColor: {
115
- type: string;
116
- };
117
- preset: {
118
- type: string;
119
- };
108
+ iconContent: {
109
+ type: string;
110
+ };
111
+ iconColor: {
112
+ type: string;
113
+ };
114
+ preset: {
115
+ type: string;
120
116
  };
121
117
  };
122
118
  };
@@ -29,6 +29,7 @@ function generateDefaultSchema(config) {
29
29
  'banner-block',
30
30
  'companies-block',
31
31
  'media-block',
32
+ 'map-block',
32
33
  'info-block',
33
34
  'security-block',
34
35
  'table-block',
@@ -1183,36 +1183,34 @@ export declare const MapProps: {
1183
1183
  markers: {
1184
1184
  type: string;
1185
1185
  items: {
1186
- type: {
1187
- type: string;
1188
- additionalProperties: boolean;
1189
- required: never[];
1190
- properties: {
1191
- coordinate: {
1186
+ type: string;
1187
+ additionalProperties: boolean;
1188
+ required: never[];
1189
+ properties: {
1190
+ coordinate: {
1191
+ type: string;
1192
+ items: {
1192
1193
  type: string;
1193
- items: {
1194
+ };
1195
+ };
1196
+ address: {
1197
+ type: string;
1198
+ };
1199
+ label: {
1200
+ type: string;
1201
+ required: never[];
1202
+ properties: {
1203
+ iconCaption: {
1194
1204
  type: string;
1195
1205
  };
1196
- };
1197
- address: {
1198
- type: string;
1199
- };
1200
- label: {
1201
- type: string;
1202
- required: never[];
1203
- properties: {
1204
- iconCaption: {
1205
- type: string;
1206
- };
1207
- iconContent: {
1208
- type: string;
1209
- };
1210
- iconColor: {
1211
- type: string;
1212
- };
1213
- preset: {
1214
- type: string;
1215
- };
1206
+ iconContent: {
1207
+ type: string;
1208
+ };
1209
+ iconColor: {
1210
+ type: string;
1211
+ };
1212
+ preset: {
1213
+ type: string;
1216
1214
  };
1217
1215
  };
1218
1216
  };
@@ -505,7 +505,7 @@ exports.MapProps = {
505
505
  },
506
506
  markers: {
507
507
  type: 'array',
508
- items: { type: exports.YMapMarker },
508
+ items: exports.YMapMarker,
509
509
  },
510
510
  };
511
511
  exports.CardBase = {
@@ -21,36 +21,34 @@ export declare const Map: {
21
21
  markers: {
22
22
  type: string;
23
23
  items: {
24
- type: {
25
- type: string;
26
- additionalProperties: boolean;
27
- required: never[];
28
- properties: {
29
- coordinate: {
24
+ type: string;
25
+ additionalProperties: boolean;
26
+ required: never[];
27
+ properties: {
28
+ coordinate: {
29
+ type: string;
30
+ items: {
30
31
  type: string;
31
- items: {
32
+ };
33
+ };
34
+ address: {
35
+ type: string;
36
+ };
37
+ label: {
38
+ type: string;
39
+ required: never[];
40
+ properties: {
41
+ iconCaption: {
32
42
  type: string;
33
43
  };
34
- };
35
- address: {
36
- type: string;
37
- };
38
- label: {
39
- type: string;
40
- required: never[];
41
- properties: {
42
- iconCaption: {
43
- type: string;
44
- };
45
- iconContent: {
46
- type: string;
47
- };
48
- iconColor: {
49
- type: string;
50
- };
51
- preset: {
52
- type: string;
53
- };
44
+ iconContent: {
45
+ type: string;
46
+ };
47
+ iconColor: {
48
+ type: string;
49
+ };
50
+ preset: {
51
+ type: string;
54
52
  };
55
53
  };
56
54
  };
@@ -87,36 +85,34 @@ export declare const MapBlock: {
87
85
  markers: {
88
86
  type: string;
89
87
  items: {
90
- type: {
91
- type: string;
92
- additionalProperties: boolean;
93
- required: never[];
94
- properties: {
95
- coordinate: {
88
+ type: string;
89
+ additionalProperties: boolean;
90
+ required: never[];
91
+ properties: {
92
+ coordinate: {
93
+ type: string;
94
+ items: {
96
95
  type: string;
97
- items: {
96
+ };
97
+ };
98
+ address: {
99
+ type: string;
100
+ };
101
+ label: {
102
+ type: string;
103
+ required: never[];
104
+ properties: {
105
+ iconCaption: {
98
106
  type: string;
99
107
  };
100
- };
101
- address: {
102
- type: string;
103
- };
104
- label: {
105
- type: string;
106
- required: never[];
107
- properties: {
108
- iconCaption: {
109
- type: string;
110
- };
111
- iconContent: {
112
- type: string;
113
- };
114
- iconColor: {
115
- type: string;
116
- };
117
- preset: {
118
- type: string;
119
- };
108
+ iconContent: {
109
+ type: string;
110
+ };
111
+ iconColor: {
112
+ type: string;
113
+ };
114
+ preset: {
115
+ type: string;
120
116
  };
121
117
  };
122
118
  };
@@ -24,6 +24,7 @@ export function generateDefaultSchema(config) {
24
24
  'banner-block',
25
25
  'companies-block',
26
26
  'media-block',
27
+ 'map-block',
27
28
  'info-block',
28
29
  'security-block',
29
30
  'table-block',
@@ -1183,36 +1183,34 @@ export declare const MapProps: {
1183
1183
  markers: {
1184
1184
  type: string;
1185
1185
  items: {
1186
- type: {
1187
- type: string;
1188
- additionalProperties: boolean;
1189
- required: never[];
1190
- properties: {
1191
- coordinate: {
1186
+ type: string;
1187
+ additionalProperties: boolean;
1188
+ required: never[];
1189
+ properties: {
1190
+ coordinate: {
1191
+ type: string;
1192
+ items: {
1192
1193
  type: string;
1193
- items: {
1194
+ };
1195
+ };
1196
+ address: {
1197
+ type: string;
1198
+ };
1199
+ label: {
1200
+ type: string;
1201
+ required: never[];
1202
+ properties: {
1203
+ iconCaption: {
1194
1204
  type: string;
1195
1205
  };
1196
- };
1197
- address: {
1198
- type: string;
1199
- };
1200
- label: {
1201
- type: string;
1202
- required: never[];
1203
- properties: {
1204
- iconCaption: {
1205
- type: string;
1206
- };
1207
- iconContent: {
1208
- type: string;
1209
- };
1210
- iconColor: {
1211
- type: string;
1212
- };
1213
- preset: {
1214
- type: string;
1215
- };
1206
+ iconContent: {
1207
+ type: string;
1208
+ };
1209
+ iconColor: {
1210
+ type: string;
1211
+ };
1212
+ preset: {
1213
+ type: string;
1216
1214
  };
1217
1215
  };
1218
1216
  };
@@ -501,7 +501,7 @@ export const MapProps = {
501
501
  },
502
502
  markers: {
503
503
  type: 'array',
504
- items: { type: YMapMarker },
504
+ items: YMapMarker,
505
505
  },
506
506
  };
507
507
  export const CardBase = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "1.20.1",
3
+ "version": "1.20.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {