@pushwoosh/rpc-gateway-ai-assistant 0.1.242 → 0.1.244

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
@@ -467,6 +467,14 @@ export const data = {
467
467
  "widthPercent": {
468
468
  "type": "number",
469
469
  "optional": true
470
+ },
471
+ "mobileWidthPercent": {
472
+ "type": "number",
473
+ "optional": true
474
+ },
475
+ "mobilePadding": {
476
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
477
+ "optional": true
470
478
  }
471
479
  }
472
480
  },
@@ -500,6 +508,18 @@ export const data = {
500
508
  "gap": {
501
509
  "type": "number",
502
510
  "optional": true
511
+ },
512
+ "mobileStack": {
513
+ "type": "pushwoosh.aibuilder.v1.MobileStack",
514
+ "optional": true
515
+ },
516
+ "mobileGap": {
517
+ "type": "number",
518
+ "optional": true
519
+ },
520
+ "mobilePadding": {
521
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
522
+ "optional": true
503
523
  }
504
524
  }
505
525
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.242",
3
+ "version": "0.1.244",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -258,13 +258,13 @@ export type BackgroundGradient = {
258
258
  angle: number;
259
259
  };
260
260
  /**
261
- * How a columns block stacks on mobile (max-width media query). Unset /
262
- * UNSPECIFIED = stack in DOM order (the historical behaviour).
261
+ * How a columns block (or a button group) stacks on mobile (max-width media
262
+ * query). Unset / UNSPECIFIED = stack in DOM order (the historical behaviour).
263
263
  */
264
264
  export type MobileStack = 'MOBILE_STACK_UNSPECIFIED'
265
- /** Keep the columns side by side on mobile (desktop widths). */
265
+ /** Keep the items side by side on mobile (desktop widths). */
266
266
  | 'MOBILE_STACK_NONE'
267
- /** Stack in reverse order (last column on top). */
267
+ /** Stack in reverse order (last item on top). */
268
268
  | 'MOBILE_STACK_REVERSE';
269
269
  export type ColumnsStyles = {
270
270
  /** Padding applied to each column in the columns block. */
@@ -477,6 +477,14 @@ export type ButtonStyles = {
477
477
  padding?: EdgeInsets;
478
478
  /** Width as % of the block row (1-100). Client-managed; unset = auto (fit the label). */
479
479
  widthPercent?: number;
480
+ /**
481
+ * Mobile (media-query) override of width_percent (1-100). Client-managed;
482
+ * unset = the group's mobile layout decides (full width when stacked,
483
+ * width_percent / auto when the desktop row is kept).
484
+ */
485
+ mobileWidthPercent?: number;
486
+ /** Mobile (media-query) override of padding. Client-managed; unset = desktop value. */
487
+ mobilePadding?: EdgeInsets;
480
488
  };
481
489
  export type ButtonGroup = {
482
490
  buttons: Button[];
@@ -491,6 +499,19 @@ export type ButtonGroupStyles = {
491
499
  padding?: EdgeInsets;
492
500
  backgroundColor?: string;
493
501
  gap?: number;
502
+ /**
503
+ * How the group lays out on mobile. Unset / UNSPECIFIED = stack the
504
+ * buttons full-width in DOM order (the historical behaviour); NONE keeps
505
+ * the desktop row. Client-managed, like the whole message.
506
+ */
507
+ mobileStack?: MobileStack;
508
+ /**
509
+ * Mobile overrides of gap / padding. Client-managed; unset = the mobile
510
+ * default (stacked: fixed stack gap below each button; row kept: the
511
+ * desktop values).
512
+ */
513
+ mobileGap?: number;
514
+ mobilePadding?: EdgeInsets;
494
515
  };
495
516
  /**
496
517
  * ListItem is one entry of a List. `text` carries the same inline-HTML