@pushwoosh/rpc-gateway-ai-assistant 0.1.346 → 0.1.348
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 +12 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +11 -0
package/data.js
CHANGED
|
@@ -1218,6 +1218,18 @@ export const data = {
|
|
|
1218
1218
|
"imageRatio": {
|
|
1219
1219
|
"type": "number",
|
|
1220
1220
|
"optional": true
|
|
1221
|
+
},
|
|
1222
|
+
"mobileHeight": {
|
|
1223
|
+
"type": "string",
|
|
1224
|
+
"optional": true
|
|
1225
|
+
},
|
|
1226
|
+
"mobileImageFit": {
|
|
1227
|
+
"type": "pushwoosh.aibuilder.v1.CardImageFit",
|
|
1228
|
+
"optional": true
|
|
1229
|
+
},
|
|
1230
|
+
"mobileImageRatio": {
|
|
1231
|
+
"type": "number",
|
|
1232
|
+
"optional": true
|
|
1221
1233
|
}
|
|
1222
1234
|
}
|
|
1223
1235
|
},
|
package/package.json
CHANGED
|
@@ -860,6 +860,17 @@ export type Image = {
|
|
|
860
860
|
imagePosition?: CardImagePosition;
|
|
861
861
|
/** Crop box: image height as a percentage of the rendered width. Unset = natural. */
|
|
862
862
|
imageRatio?: number;
|
|
863
|
+
/**
|
|
864
|
+
* Phone-side overrides of the geometry above; unset = inherit the desktop
|
|
865
|
+
* value. Client-managed, same contract as mobile_width.
|
|
866
|
+
*/
|
|
867
|
+
mobileHeight?: string;
|
|
868
|
+
mobileImageFit?: CardImageFit;
|
|
869
|
+
/**
|
|
870
|
+
* Honoured only where image_ratio already crops: switching a crop on or off
|
|
871
|
+
* swaps markup, which a media query cannot do.
|
|
872
|
+
*/
|
|
873
|
+
mobileImageRatio?: number;
|
|
863
874
|
};
|
|
864
875
|
export type AiBuilderCard = {
|
|
865
876
|
layout: CardLayout;
|