@nebula.js/sn-text 1.3.6 → 1.4.4

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.
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "name": "@nebula.js/sn-text:properties",
5
5
  "description": "Advanced Text object definition",
6
- "version": "1.3.6",
6
+ "version": "1.4.4",
7
7
  "license": "MIT",
8
8
  "stability": "stable",
9
9
  "x-qlik-visibility": "public"
@@ -61,6 +61,12 @@
61
61
  "description": "Current version of this generic object definition",
62
62
  "type": "string"
63
63
  },
64
+ "text": {
65
+ "description": "Serialized representation of the content of the chart",
66
+ "optional": true,
67
+ "defaultValue": "",
68
+ "type": "#/definitions/StringifiedSerializedEditorState"
69
+ },
64
70
  "fontsUsed": {
65
71
  "description": "A list of font families used in the text.",
66
72
  "optional": true,
@@ -110,6 +116,13 @@
110
116
  "optional": true,
111
117
  "defaultValue": true,
112
118
  "type": "boolean"
119
+ },
120
+ "images": {
121
+ "description": "A list of images used in the text.",
122
+ "kind": "array",
123
+ "items": {
124
+ "type": "#/definitions/Image"
125
+ }
113
126
  }
114
127
  }
115
128
  }
@@ -225,6 +238,107 @@
225
238
  "type": "string"
226
239
  }
227
240
  }
241
+ },
242
+ "Image": {
243
+ "kind": "object",
244
+ "entries": {
245
+ "mediaUrl": {
246
+ "type": "object"
247
+ },
248
+ "id": {
249
+ "type": "string"
250
+ }
251
+ }
252
+ },
253
+ "SerializedImageNode": {
254
+ "kind": "object",
255
+ "entries": {
256
+ "type": {
257
+ "description": "The type of the node (should be \"ImageNode\")",
258
+ "type": "string"
259
+ },
260
+ "version": {
261
+ "description": "The version of the node",
262
+ "type": "number"
263
+ },
264
+ "id": {
265
+ "description": "The unique identifier for the image",
266
+ "type": "string"
267
+ },
268
+ "altText": {
269
+ "description": "Alternative text for the image",
270
+ "type": "string"
271
+ },
272
+ "width": {
273
+ "description": "Width of the image (number or \"inherit\")",
274
+ "kind": "union",
275
+ "items": [
276
+ {
277
+ "type": "number"
278
+ },
279
+ {
280
+ "type": "string"
281
+ }
282
+ ]
283
+ },
284
+ "height": {
285
+ "description": "Height of the image (number or \"inherit\")",
286
+ "kind": "union",
287
+ "items": [
288
+ {
289
+ "type": "number"
290
+ },
291
+ {
292
+ "type": "string"
293
+ }
294
+ ]
295
+ },
296
+ "method": {
297
+ "description": "The method used to load the image (e.g., \"mediaLibrary\")",
298
+ "type": "string"
299
+ },
300
+ "tempUrl": {
301
+ "description": "Temporary URL for the image",
302
+ "optional": true,
303
+ "type": "string"
304
+ },
305
+ "tempUrlDef": {
306
+ "description": "Temporary URL definition",
307
+ "optional": true,
308
+ "type": "string"
309
+ }
310
+ }
311
+ },
312
+ "SerializedLexicalNode": {
313
+ "kind": "object",
314
+ "entries": {
315
+ "children": {
316
+ "kind": "array",
317
+ "items": {
318
+ "kind": "union",
319
+ "items": [
320
+ {
321
+ "type": "#/definitions/SerializedImageNode"
322
+ },
323
+ {
324
+ "type": "#/definitions/SerializedLexicalNode"
325
+ }
326
+ ]
327
+ }
328
+ }
329
+ }
330
+ },
331
+ "SerializedEditorState": {
332
+ "kind": "object",
333
+ "entries": {
334
+ "root": {
335
+ "type": "#/definitions/SerializedLexicalNode"
336
+ }
337
+ }
338
+ },
339
+ "StringifiedSerializedEditorState": {
340
+ "description": "StringifiedSerializedEditorState is a JSON string representation of SerializedEditorState.",
341
+ "type": "string"
228
342
  }
229
343
  }
230
344
  }