@pushwoosh/rpc-gateway-ai-assistant 0.1.370 → 0.1.372
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/data.js +16 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +12 -0
package/data.js
CHANGED
|
@@ -445,6 +445,14 @@ export const data = {
|
|
|
445
445
|
"hideOnDesktop": {
|
|
446
446
|
"type": "boolean",
|
|
447
447
|
"optional": true
|
|
448
|
+
},
|
|
449
|
+
"backgroundImageFit": {
|
|
450
|
+
"type": "pushwoosh.aibuilder.v1.CardImageFit",
|
|
451
|
+
"optional": true
|
|
452
|
+
},
|
|
453
|
+
"backgroundImagePosition": {
|
|
454
|
+
"type": "pushwoosh.aibuilder.v1.CardImagePosition",
|
|
455
|
+
"optional": true
|
|
448
456
|
}
|
|
449
457
|
}
|
|
450
458
|
},
|
|
@@ -591,6 +599,14 @@ export const data = {
|
|
|
591
599
|
"borderRadius": {
|
|
592
600
|
"type": "number",
|
|
593
601
|
"optional": true
|
|
602
|
+
},
|
|
603
|
+
"backgroundImageFit": {
|
|
604
|
+
"type": "pushwoosh.aibuilder.v1.CardImageFit",
|
|
605
|
+
"optional": true
|
|
606
|
+
},
|
|
607
|
+
"backgroundImagePosition": {
|
|
608
|
+
"type": "pushwoosh.aibuilder.v1.CardImagePosition",
|
|
609
|
+
"optional": true
|
|
594
610
|
}
|
|
595
611
|
}
|
|
596
612
|
},
|
package/package.json
CHANGED
|
@@ -263,6 +263,12 @@ export type BlockStyles = {
|
|
|
263
263
|
*/
|
|
264
264
|
hideOnMobile?: boolean;
|
|
265
265
|
hideOnDesktop?: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* How background_image sits in the block. Unset renders exactly as before —
|
|
268
|
+
* cover/center — so a document written without these fields never moves.
|
|
269
|
+
*/
|
|
270
|
+
backgroundImageFit?: CardImageFit;
|
|
271
|
+
backgroundImagePosition?: CardImagePosition;
|
|
266
272
|
};
|
|
267
273
|
/** Two-stop CSS linear gradient: `linear-gradient(<angle>deg, from, to)`. */
|
|
268
274
|
export type BackgroundGradient = {
|
|
@@ -374,6 +380,12 @@ export type DocumentSettings = {
|
|
|
374
380
|
* Client-managed render-only chrome, like show_shadow.
|
|
375
381
|
*/
|
|
376
382
|
borderRadius?: number;
|
|
383
|
+
/**
|
|
384
|
+
* How background_image sits behind the document; same unset contract as the
|
|
385
|
+
* BlockStyles pair. Client-managed.
|
|
386
|
+
*/
|
|
387
|
+
backgroundImageFit?: CardImageFit;
|
|
388
|
+
backgroundImagePosition?: CardImagePosition;
|
|
377
389
|
};
|
|
378
390
|
export type TextBlock = {
|
|
379
391
|
variant: string;
|