@gravity-ui/page-constructor 4.42.1 → 4.42.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.
@@ -7,6 +7,10 @@ export declare const CompaniesBlock: {
7
7
  type: string;
8
8
  contentType: string;
9
9
  };
10
+ description: {
11
+ type: string;
12
+ contentType: string;
13
+ };
10
14
  images: {
11
15
  oneOf: (({
12
16
  type: string;
@@ -9,6 +9,9 @@ exports.CompaniesBlock = {
9
9
  properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: {
10
10
  type: 'string',
11
11
  contentType: 'text',
12
+ }, description: {
13
+ type: 'string',
14
+ contentType: 'text',
12
15
  }, images: (0, common_1.withTheme)({
13
16
  type: 'object',
14
17
  required: ['desktop', 'tablet', 'mobile'],
@@ -6,11 +6,20 @@ export declare const IconsProps: {
6
6
  type: string;
7
7
  contentType: string;
8
8
  };
9
+ description: {
10
+ type: string;
11
+ contentType: string;
12
+ };
9
13
  size: {
10
14
  type: string;
11
15
  enum: string[];
12
16
  default: string;
13
17
  };
18
+ colSizes: {
19
+ type: string;
20
+ additionalProperties: boolean;
21
+ properties: {};
22
+ };
14
23
  items: {
15
24
  type: string;
16
25
  items: {
@@ -169,11 +178,20 @@ export declare const IconsBlock: {
169
178
  type: string;
170
179
  contentType: string;
171
180
  };
181
+ description: {
182
+ type: string;
183
+ contentType: string;
184
+ };
172
185
  size: {
173
186
  type: string;
174
187
  enum: string[];
175
188
  default: string;
176
189
  };
190
+ colSizes: {
191
+ type: string;
192
+ additionalProperties: boolean;
193
+ properties: {};
194
+ };
177
195
  items: {
178
196
  type: string;
179
197
  items: {
@@ -9,11 +9,14 @@ exports.IconsProps = {
9
9
  properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
10
10
  type: 'string',
11
11
  contentType: 'text',
12
+ }, description: {
13
+ type: 'string',
14
+ contentType: 'text',
12
15
  }, size: {
13
16
  type: 'string',
14
17
  enum: ['s', 'm', 'l'],
15
18
  default: 's',
16
- }, items: {
19
+ }, colSizes: common_1.containerSizesObject, items: {
17
20
  type: 'array',
18
21
  items: {
19
22
  type: 'object',
@@ -7,6 +7,10 @@ export declare const CompaniesBlock: {
7
7
  type: string;
8
8
  contentType: string;
9
9
  };
10
+ description: {
11
+ type: string;
12
+ contentType: string;
13
+ };
10
14
  images: {
11
15
  oneOf: (({
12
16
  type: string;
@@ -6,6 +6,9 @@ export const CompaniesBlock = {
6
6
  properties: Object.assign(Object.assign(Object.assign({}, BaseProps), AnimatableProps), { title: {
7
7
  type: 'string',
8
8
  contentType: 'text',
9
+ }, description: {
10
+ type: 'string',
11
+ contentType: 'text',
9
12
  }, images: withTheme({
10
13
  type: 'object',
11
14
  required: ['desktop', 'tablet', 'mobile'],
@@ -6,11 +6,20 @@ export declare const IconsProps: {
6
6
  type: string;
7
7
  contentType: string;
8
8
  };
9
+ description: {
10
+ type: string;
11
+ contentType: string;
12
+ };
9
13
  size: {
10
14
  type: string;
11
15
  enum: string[];
12
16
  default: string;
13
17
  };
18
+ colSizes: {
19
+ type: string;
20
+ additionalProperties: boolean;
21
+ properties: {};
22
+ };
14
23
  items: {
15
24
  type: string;
16
25
  items: {
@@ -169,11 +178,20 @@ export declare const IconsBlock: {
169
178
  type: string;
170
179
  contentType: string;
171
180
  };
181
+ description: {
182
+ type: string;
183
+ contentType: string;
184
+ };
172
185
  size: {
173
186
  type: string;
174
187
  enum: string[];
175
188
  default: string;
176
189
  };
190
+ colSizes: {
191
+ type: string;
192
+ additionalProperties: boolean;
193
+ properties: {};
194
+ };
177
195
  items: {
178
196
  type: string;
179
197
  items: {
@@ -1,4 +1,4 @@
1
- import { AnimatableProps, BlockBaseProps } from '../../schema/validators/common';
1
+ import { AnimatableProps, BlockBaseProps, containerSizesObject, } from '../../schema/validators/common';
2
2
  import { AnalyticsEventSchema } from '../../schema/validators/event';
3
3
  export const IconsProps = {
4
4
  additionalProperties: false,
@@ -6,11 +6,14 @@ export const IconsProps = {
6
6
  properties: Object.assign(Object.assign(Object.assign({}, BlockBaseProps), AnimatableProps), { title: {
7
7
  type: 'string',
8
8
  contentType: 'text',
9
+ }, description: {
10
+ type: 'string',
11
+ contentType: 'text',
9
12
  }, size: {
10
13
  type: 'string',
11
14
  enum: ['s', 'm', 'l'],
12
15
  default: 's',
13
- }, items: {
16
+ }, colSizes: containerSizesObject, items: {
14
17
  type: 'array',
15
18
  items: {
16
19
  type: 'object',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "4.42.1",
3
+ "version": "4.42.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {