@pushwoosh/rpc-gateway-ai-assistant 0.1.347 → 0.1.349

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 CHANGED
@@ -518,6 +518,10 @@ export const data = {
518
518
  "borderRadius": {
519
519
  "type": "number",
520
520
  "optional": true
521
+ },
522
+ "borderRadiusCss": {
523
+ "type": "string",
524
+ "optional": true
521
525
  }
522
526
  }
523
527
  },
@@ -1218,6 +1222,22 @@ export const data = {
1218
1222
  "imageRatio": {
1219
1223
  "type": "number",
1220
1224
  "optional": true
1225
+ },
1226
+ "mobileHeight": {
1227
+ "type": "string",
1228
+ "optional": true
1229
+ },
1230
+ "mobileImageFit": {
1231
+ "type": "pushwoosh.aibuilder.v1.CardImageFit",
1232
+ "optional": true
1233
+ },
1234
+ "mobileImageRatio": {
1235
+ "type": "number",
1236
+ "optional": true
1237
+ },
1238
+ "borderRadiusCss": {
1239
+ "type": "string",
1240
+ "optional": true
1221
1241
  }
1222
1242
  }
1223
1243
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.347",
3
+ "version": "0.1.349",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -246,8 +246,8 @@ export type BlockStyles = {
246
246
  borderRadius?: number;
247
247
  /**
248
248
  * CSS border-radius shorthand for per-corner rounding ("20px 20px 0px
249
- * 0px"). Written by Unlayer conversion; clients render border_radius
250
- * when set (user-edited uniform value wins), else this.
249
+ * 0px"). Written by Unlayer conversion and by the editor's corner-radius
250
+ * field, which clears border_radius so this one applies.
251
251
  */
252
252
  borderRadiusCss?: string;
253
253
  /**
@@ -313,6 +313,8 @@ export type CardStyles = {
313
313
  export type ImageStyles = {
314
314
  /** Corner rounding, px. Unset (or 0) = square. */
315
315
  borderRadius?: number;
316
+ /** Per-corner shorthand ("20px 20px 0px 0px"); border_radius wins when both are set. */
317
+ borderRadiusCss?: string;
316
318
  };
317
319
  export type DefaultStyles = {
318
320
  common: BlockStyles;
@@ -860,6 +862,22 @@ export type Image = {
860
862
  imagePosition?: CardImagePosition;
861
863
  /** Crop box: image height as a percentage of the rendered width. Unset = natural. */
862
864
  imageRatio?: number;
865
+ /**
866
+ * Phone-side overrides of the geometry above; unset = inherit the desktop
867
+ * value. Client-managed, same contract as mobile_width.
868
+ */
869
+ mobileHeight?: string;
870
+ mobileImageFit?: CardImageFit;
871
+ /**
872
+ * Honoured only where image_ratio already crops: switching a crop on or off
873
+ * swaps markup, which a media query cannot do.
874
+ */
875
+ mobileImageRatio?: number;
876
+ /**
877
+ * Per-corner rounding as a CSS shorthand ("20px 20px 0px 0px"). Set by the
878
+ * editor instead of border_radius, which wins whenever both are present.
879
+ */
880
+ borderRadiusCss?: string;
863
881
  };
864
882
  export type AiBuilderCard = {
865
883
  layout: CardLayout;