@gravity-ui/page-constructor 2.22.1 → 2.22.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
+ ## [2.22.2](https://github.com/gravity-ui/page-constructor/compare/v2.22.1...v2.22.2) (2023-06-01)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **MediaBlock:** add border property into schema ([#371](https://github.com/gravity-ui/page-constructor/issues/371)) ([5365791](https://github.com/gravity-ui/page-constructor/commit/5365791550bdb2ed8258d9582605e620ab0e1b11))
9
+
3
10
  ## [2.22.1](https://github.com/gravity-ui/page-constructor/compare/v2.22.0...v2.22.1) (2023-06-01)
4
11
 
5
12
 
@@ -140,6 +140,10 @@ export declare const MediaCardBlock: {
140
140
  fullscreen: {
141
141
  type: string;
142
142
  };
143
+ border: {
144
+ type: string;
145
+ enum: string[];
146
+ };
143
147
  type: {};
144
148
  when: {};
145
149
  };
@@ -6,6 +6,6 @@ exports.MediaCardBlock = {
6
6
  'media-card': {
7
7
  additionalProperties: false,
8
8
  required: [],
9
- properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.MediaProps), common_1.AnimatableProps),
9
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.CardBase), common_1.MediaProps), common_1.AnimatableProps),
10
10
  },
11
11
  };
@@ -140,6 +140,10 @@ export declare const MediaCardBlock: {
140
140
  fullscreen: {
141
141
  type: string;
142
142
  };
143
+ border: {
144
+ type: string;
145
+ enum: string[];
146
+ };
143
147
  type: {};
144
148
  when: {};
145
149
  };
@@ -1,8 +1,8 @@
1
- import { AnimatableProps, BaseProps, MediaProps } from '../../schema/validators/common';
1
+ import { AnimatableProps, BaseProps, CardBase, MediaProps } from '../../schema/validators/common';
2
2
  export const MediaCardBlock = {
3
3
  'media-card': {
4
4
  additionalProperties: false,
5
5
  required: [],
6
- properties: Object.assign(Object.assign(Object.assign({}, BaseProps), MediaProps), AnimatableProps),
6
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, BaseProps), CardBase), MediaProps), AnimatableProps),
7
7
  },
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "2.22.1",
3
+ "version": "2.22.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {