@pushwoosh/rpc-gateway-ai-assistant 0.1.348 → 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
  },
@@ -1230,6 +1234,10 @@ export const data = {
1230
1234
  "mobileImageRatio": {
1231
1235
  "type": "number",
1232
1236
  "optional": true
1237
+ },
1238
+ "borderRadiusCss": {
1239
+ "type": "string",
1240
+ "optional": true
1233
1241
  }
1234
1242
  }
1235
1243
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.348",
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;
@@ -871,6 +873,11 @@ export type Image = {
871
873
  * swaps markup, which a media query cannot do.
872
874
  */
873
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;
874
881
  };
875
882
  export type AiBuilderCard = {
876
883
  layout: CardLayout;