@gravity-ui/page-constructor 1.8.0-alfa.0 → 1.8.0-alfa.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.
@@ -79,7 +79,7 @@ exports.PlayIconProps = {
79
79
  },
80
80
  text: {
81
81
  type: 'string',
82
- content: 'string',
82
+ content: 'text',
83
83
  },
84
84
  },
85
85
  };
@@ -163,7 +163,7 @@ exports.LinkProps = {
163
163
  required: ['text', 'url'],
164
164
  properties: Object.assign(Object.assign({}, exports.BaseProps), { text: {
165
165
  type: 'string',
166
- content: 'string',
166
+ content: 'text',
167
167
  }, url: {
168
168
  type: 'string',
169
169
  }, arrow: {
@@ -189,7 +189,7 @@ exports.FileLinkProps = {
189
189
  },
190
190
  text: {
191
191
  type: 'string',
192
- content: 'string',
192
+ content: 'text',
193
193
  },
194
194
  type: {
195
195
  type: 'string',
@@ -211,11 +211,11 @@ exports.authorItem = {
211
211
  properties: {
212
212
  firstName: {
213
213
  type: 'string',
214
- content: 'string',
214
+ content: 'text',
215
215
  },
216
216
  secondName: {
217
217
  type: 'string',
218
- content: 'string',
218
+ content: 'text',
219
219
  },
220
220
  avatar: {
221
221
  type: 'string',
@@ -230,7 +230,7 @@ exports.authorItem = {
230
230
  exports.ButtonProps = {
231
231
  text: {
232
232
  type: 'string',
233
- content: 'string',
233
+ content: 'text',
234
234
  },
235
235
  url: {
236
236
  type: 'string',
@@ -303,7 +303,7 @@ exports.ButtonProps = {
303
303
  },
304
304
  alt: {
305
305
  type: 'string',
306
- content: 'string',
306
+ content: 'text',
307
307
  },
308
308
  },
309
309
  },
@@ -343,7 +343,7 @@ exports.MenuProps = {
343
343
  properties: {
344
344
  title: {
345
345
  type: 'string',
346
- content: 'string',
346
+ content: 'text',
347
347
  },
348
348
  },
349
349
  };
@@ -368,7 +368,7 @@ exports.AnchorProps = {
368
368
  properties: {
369
369
  text: {
370
370
  type: 'string',
371
- content: 'string',
371
+ content: 'text',
372
372
  },
373
373
  url: {
374
374
  type: 'string',
@@ -388,7 +388,7 @@ exports.TitleProps = {
388
388
  properties: {
389
389
  text: {
390
390
  type: 'string',
391
- content: 'string',
391
+ content: 'text',
392
392
  },
393
393
  textSize: {
394
394
  type: 'string',
@@ -160,7 +160,6 @@ const config = {
160
160
  {
161
161
  fields: ['items'],
162
162
  transformer: yfmTransformer,
163
- // https://st.yandex-team.ru/CLOUDFRONT-13388 Перед мерджем проверить валидацию здесь
164
163
  parser: (0, exports.createItemsParser)(['text', 'additionalInfo']),
165
164
  },
166
165
  ],
@@ -76,7 +76,7 @@ export const PlayIconProps = {
76
76
  },
77
77
  text: {
78
78
  type: 'string',
79
- content: 'string',
79
+ content: 'text',
80
80
  },
81
81
  },
82
82
  };
@@ -160,7 +160,7 @@ export const LinkProps = {
160
160
  required: ['text', 'url'],
161
161
  properties: Object.assign(Object.assign({}, BaseProps), { text: {
162
162
  type: 'string',
163
- content: 'string',
163
+ content: 'text',
164
164
  }, url: {
165
165
  type: 'string',
166
166
  }, arrow: {
@@ -186,7 +186,7 @@ export const FileLinkProps = {
186
186
  },
187
187
  text: {
188
188
  type: 'string',
189
- content: 'string',
189
+ content: 'text',
190
190
  },
191
191
  type: {
192
192
  type: 'string',
@@ -208,11 +208,11 @@ export const authorItem = {
208
208
  properties: {
209
209
  firstName: {
210
210
  type: 'string',
211
- content: 'string',
211
+ content: 'text',
212
212
  },
213
213
  secondName: {
214
214
  type: 'string',
215
- content: 'string',
215
+ content: 'text',
216
216
  },
217
217
  avatar: {
218
218
  type: 'string',
@@ -227,7 +227,7 @@ export const authorItem = {
227
227
  export const ButtonProps = {
228
228
  text: {
229
229
  type: 'string',
230
- content: 'string',
230
+ content: 'text',
231
231
  },
232
232
  url: {
233
233
  type: 'string',
@@ -300,7 +300,7 @@ export const ButtonProps = {
300
300
  },
301
301
  alt: {
302
302
  type: 'string',
303
- content: 'string',
303
+ content: 'text',
304
304
  },
305
305
  },
306
306
  },
@@ -340,7 +340,7 @@ export const MenuProps = {
340
340
  properties: {
341
341
  title: {
342
342
  type: 'string',
343
- content: 'string',
343
+ content: 'text',
344
344
  },
345
345
  },
346
346
  };
@@ -364,7 +364,7 @@ export const AnchorProps = {
364
364
  properties: {
365
365
  text: {
366
366
  type: 'string',
367
- content: 'string',
367
+ content: 'text',
368
368
  },
369
369
  url: {
370
370
  type: 'string',
@@ -384,7 +384,7 @@ export const TitleProps = {
384
384
  properties: {
385
385
  text: {
386
386
  type: 'string',
387
- content: 'string',
387
+ content: 'text',
388
388
  },
389
389
  textSize: {
390
390
  type: 'string',
@@ -154,7 +154,6 @@ const config = {
154
154
  {
155
155
  fields: ['items'],
156
156
  transformer: yfmTransformer,
157
- // https://st.yandex-team.ru/CLOUDFRONT-13388 Перед мерджем проверить валидацию здесь
158
157
  parser: createItemsParser(['text', 'additionalInfo']),
159
158
  },
160
159
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "1.8.0-alfa.0",
3
+ "version": "1.8.0-alfa.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -173,7 +173,6 @@ const config = {
173
173
  {
174
174
  fields: ['items'],
175
175
  transformer: yfmTransformer,
176
- // https://st.yandex-team.ru/CLOUDFRONT-13388 Перед мерджем проверить валидацию здесь
177
176
  parser: (0, exports.createItemsParser)(['text', 'additionalInfo']),
178
177
  },
179
178
  ],