@celljs/ta-glance 4.23.0 → 4.24.1

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.
@@ -238,6 +238,7 @@ var FOLDED = 40;
238
238
  var POINTS = 24;
239
239
  var SERIES = 4;
240
240
  var BLOCKS = 8;
241
+ var OPTIONS = 8;
241
242
  var TEXT = 400;
242
243
  var MARKDOWN = 8000;
243
244
  var STATUSES = ["done", "partial", "failed", "blocked", "info"];
@@ -470,7 +471,7 @@ function blockOf(item, partial, labels) {
470
471
  return columns.length && rows.length ? { type, columns, rows } : undefined;
471
472
  }
472
473
  case "options": {
473
- const list = items(value?.items, option).slice(0, 5);
474
+ const list = items(value?.items, option).slice(0, OPTIONS);
474
475
  const question = text(value?.question);
475
476
  return list.length ? { type, items: list, ...question ? { question } : {}, ...value?.multi === true ? { multi: true } : {} } : undefined;
476
477
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/ta-glance",
3
- "version": "4.23.0",
3
+ "version": "4.24.1",
4
4
  "description": "A pi package for Ta: replies lead with the answer, short, and show results as cards (key numbers, files, steps, comparisons, choices) rather than paragraphs",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -26,8 +26,8 @@
26
26
  "watch": "tsc -b -w --preserveWatchOutput"
27
27
  },
28
28
  "devDependencies": {
29
- "@celljs/ta-protocol": "4.23.0",
30
- "@celljs/ta-web": "4.23.0",
29
+ "@celljs/ta-protocol": "4.24.1",
30
+ "@celljs/ta-web": "4.24.1",
31
31
  "@types/react": "^19.3.0"
32
32
  },
33
33
  "publishConfig": {
package/web/index.js CHANGED
@@ -627,6 +627,7 @@ var FOLDED = 40;
627
627
  var POINTS = 24;
628
628
  var SERIES = 4;
629
629
  var BLOCKS = 8;
630
+ var OPTIONS = 8;
630
631
  var TEXT = 400;
631
632
  var MARKDOWN = 8000;
632
633
  var STATUSES = ["done", "partial", "failed", "blocked", "info"];
@@ -859,7 +860,7 @@ function blockOf(item, partial, labels) {
859
860
  return columns.length && rows.length ? { type, columns, rows } : undefined;
860
861
  }
861
862
  case "options": {
862
- const list = items(value?.items, option).slice(0, 5);
863
+ const list = items(value?.items, option).slice(0, OPTIONS);
863
864
  const question = text(value?.question);
864
865
  return list.length ? { type, items: list, ...question ? { question } : {}, ...value?.multi === true ? { multi: true } : {} } : undefined;
865
866
  }