@arbidocs/blocks 0.4.16 → 0.4.18

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.
Files changed (100) hide show
  1. package/dist/agents/index.cjs +369 -171
  2. package/dist/agents/index.js +4 -2
  3. package/dist/agents/tasks/DueDateMenu.d.ts +32 -0
  4. package/dist/agents/tasks/NewThreadDialog.d.ts +53 -0
  5. package/dist/agents/tasks/PersonPill.d.ts +22 -0
  6. package/dist/agents/tasks/PillSelect.d.ts +39 -0
  7. package/dist/agents/tasks/TaskActivityDialog.d.ts +14 -0
  8. package/dist/agents/tasks/TaskActivityTimeline.d.ts +54 -0
  9. package/dist/agents/tasks/TaskComposer.d.ts +6 -106
  10. package/dist/agents/tasks/TaskMoveDialog.d.ts +25 -0
  11. package/dist/agents/tasks/TaskOutputsCell.d.ts +23 -0
  12. package/dist/agents/tasks/TaskPlan.d.ts +4 -2
  13. package/dist/agents/tasks/TaskReviewActions.d.ts +44 -0
  14. package/dist/agents/tasks/TaskRowMenu.d.ts +28 -0
  15. package/dist/agents/tasks/TaskStatusPill.d.ts +24 -0
  16. package/dist/agents/tasks/TaskTable.d.ts +99 -0
  17. package/dist/agents/tasks/TaskThreadChip.d.ts +19 -0
  18. package/dist/agents/tasks/TaskTriggerChip.d.ts +24 -0
  19. package/dist/agents/tasks/TasksChrome.d.ts +17 -17
  20. package/dist/agents/tasks/WorkflowComposer.d.ts +10 -0
  21. package/dist/agents/tasks/WorkflowsTable.d.ts +72 -0
  22. package/dist/agents/tasks/gridWidth.d.ts +11 -0
  23. package/dist/agents/tasks/index.d.ts +23 -7
  24. package/dist/agents/tasks/taskColumns.d.ts +39 -63
  25. package/dist/agents/tasks/taskComposerTypes.d.ts +217 -0
  26. package/dist/agents/tasks/taskLabels.d.ts +27 -10
  27. package/dist/agents/tasks/taskRequest.d.ts +151 -25
  28. package/dist/agents/tasks/taskRows.d.ts +111 -0
  29. package/dist/agents/tasks/taskTableLabels.d.ts +64 -0
  30. package/dist/agents/tasks/workflowColumns.d.ts +23 -0
  31. package/dist/agents/tasks/workflowRows.d.ts +44 -0
  32. package/dist/agents/tasks/workflowTableLabels.d.ts +53 -0
  33. package/dist/agents/workflows/WorkflowConfigDialog.d.ts +5 -0
  34. package/dist/agents/workflows/index.d.ts +1 -0
  35. package/dist/agents/workflows/scopeRender.d.ts +10 -0
  36. package/dist/agents/workflows/types.d.ts +2 -0
  37. package/dist/chat/AssistantModeToggle.d.ts +25 -0
  38. package/dist/chat/MentionMenu.d.ts +52 -0
  39. package/dist/chat/index.cjs +119 -63
  40. package/dist/chat/index.d.ts +4 -0
  41. package/dist/chat/index.js +1 -1
  42. package/dist/chat/mentions.d.ts +64 -0
  43. package/dist/chat/useMentionAutocomplete.d.ts +33 -0
  44. package/dist/{chunk-IMA6I73C.js → chunk-ABSII3ND.js} +336 -4
  45. package/dist/chunk-ABSII3ND.js.map +1 -0
  46. package/dist/{chunk-22T6KHGB.cjs → chunk-C2V6HQKG.cjs} +348 -2
  47. package/dist/chunk-C2V6HQKG.cjs.map +1 -0
  48. package/dist/{chunk-CVFBSUXL.js → chunk-F3F56LOR.js} +4227 -851
  49. package/dist/chunk-F3F56LOR.js.map +1 -0
  50. package/dist/chunk-IC2VHFWR.js +158 -0
  51. package/dist/chunk-IC2VHFWR.js.map +1 -0
  52. package/dist/{chunk-D6XY3C4O.cjs → chunk-JGZTRLKL.cjs} +207 -139
  53. package/dist/chunk-JGZTRLKL.cjs.map +1 -0
  54. package/dist/{chunk-H7OD4CHN.js → chunk-NUPVHEJW.js} +208 -140
  55. package/dist/chunk-NUPVHEJW.js.map +1 -0
  56. package/dist/{chunk-67HGXV4I.cjs → chunk-TP7JJAXZ.cjs} +4280 -855
  57. package/dist/chunk-TP7JJAXZ.cjs.map +1 -0
  58. package/dist/chunk-ZPERNIMP.cjs +162 -0
  59. package/dist/chunk-ZPERNIMP.cjs.map +1 -0
  60. package/dist/connection/ai.d.ts +4 -1
  61. package/dist/facts/FactRowActions.d.ts +5 -1
  62. package/dist/facts/factColumns.d.ts +1 -1
  63. package/dist/facts/index.cjs +19 -10
  64. package/dist/facts/index.cjs.map +1 -1
  65. package/dist/facts/index.js +14 -5
  66. package/dist/facts/index.js.map +1 -1
  67. package/dist/files/GridView.d.ts +5 -0
  68. package/dist/files/index.cjs +18 -18
  69. package/dist/files/index.js +4 -5
  70. package/dist/files/index.js.map +1 -1
  71. package/dist/index.cjs +549 -297
  72. package/dist/index.js +8 -8
  73. package/dist/settings/ConversationSettingsParts.d.ts +5 -1
  74. package/dist/settings/index.cjs +8 -3
  75. package/dist/settings/index.cjs.map +1 -1
  76. package/dist/settings/index.js +8 -3
  77. package/dist/settings/index.js.map +1 -1
  78. package/dist/shell/index.cjs +1 -1
  79. package/dist/shell/index.js +1 -1
  80. package/dist/site/index.cjs +12 -12
  81. package/dist/site/index.js +2 -2
  82. package/dist/studio/index.cjs +1 -1
  83. package/dist/studio/index.js +1 -1
  84. package/dist/workspaces/index.cjs +1 -1
  85. package/dist/workspaces/index.cjs.map +1 -1
  86. package/dist/workspaces/index.js +1 -1
  87. package/dist/workspaces/index.js.map +1 -1
  88. package/package.json +3 -3
  89. package/dist/agents/tasks/LiveRunsBanner.d.ts +0 -26
  90. package/dist/agents/tasks/TaskRowActions.d.ts +0 -43
  91. package/dist/chunk-22T6KHGB.cjs.map +0 -1
  92. package/dist/chunk-67HGXV4I.cjs.map +0 -1
  93. package/dist/chunk-CVFBSUXL.js.map +0 -1
  94. package/dist/chunk-D6XY3C4O.cjs.map +0 -1
  95. package/dist/chunk-H7OD4CHN.js.map +0 -1
  96. package/dist/chunk-IMA6I73C.js.map +0 -1
  97. package/dist/chunk-NUNKSZKU.js +0 -203
  98. package/dist/chunk-NUNKSZKU.js.map +0 -1
  99. package/dist/chunk-V4ISCZJ7.cjs +0 -207
  100. package/dist/chunk-V4ISCZJ7.cjs.map +0 -1
@@ -18,6 +18,11 @@ export interface GridViewSelection<T> {
18
18
  mode: 'single' | 'multiple';
19
19
  selected: T[];
20
20
  onSelectionChange: (items: T[]) => void;
21
+ /**
22
+ * Keep the grid's ticked rows equal to `selected` after mount (default: `selected` only seeds the
23
+ * grid). For a host that changes the selection itself, e.g. ticking a parent ticks its sub-tasks.
24
+ */
25
+ controlled?: boolean;
21
26
  }
22
27
  export interface GridViewEmptyState {
23
28
  icon?: React.ReactNode;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkD6XY3C4O_cjs = require('../chunk-D6XY3C4O.cjs');
4
+ var chunkZPERNIMP_cjs = require('../chunk-ZPERNIMP.cjs');
5
5
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
+ var chunkJGZTRLKL_cjs = require('../chunk-JGZTRLKL.cjs');
6
7
  var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
7
- var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
8
8
  var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
9
- require('../chunk-C54XEN5T.cjs');
10
9
  require('../chunk-FX3K6LNZ.cjs');
10
+ require('../chunk-C54XEN5T.cjs');
11
11
  var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
12
12
  var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
13
13
  require('../chunk-PPCATBOY.cjs');
@@ -1830,7 +1830,7 @@ var DOCUMENT_GRID_CLASS = "w-full [&_.cell-empty]:text-muted-foreground [&_.ag-r
1830
1830
  function DocumentGrid({
1831
1831
  layout,
1832
1832
  presets,
1833
- GridComponent = chunkD6XY3C4O_cjs.GridView,
1833
+ GridComponent = chunkJGZTRLKL_cjs.GridView,
1834
1834
  emptyWorkspace,
1835
1835
  showEmptyWorkspace,
1836
1836
  testId = "documents-grid",
@@ -4354,7 +4354,7 @@ function BulkActionsBar({
4354
4354
  const noSelection = count === 0;
4355
4355
  const divider = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-5 w-px flex-shrink-0 bg-border" });
4356
4356
  return /* @__PURE__ */ jsxRuntime.jsx(
4357
- chunkV4ISCZJ7_cjs.SelectionBar,
4357
+ chunkJGZTRLKL_cjs.SelectionBar,
4358
4358
  {
4359
4359
  count,
4360
4360
  onClear,
@@ -4365,7 +4365,7 @@ function BulkActionsBar({
4365
4365
  const isCompact = compactBar && !isNarrow;
4366
4366
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4367
4367
  /* @__PURE__ */ jsxRuntime.jsx(
4368
- chunkV4ISCZJ7_cjs.SelectionBarAction,
4368
+ chunkJGZTRLKL_cjs.SelectionBarAction,
4369
4369
  {
4370
4370
  icon: lucideReact.MessagesSquare,
4371
4371
  label: l.chat,
@@ -4378,7 +4378,7 @@ function BulkActionsBar({
4378
4378
  }
4379
4379
  ),
4380
4380
  isMember && /* @__PURE__ */ jsxRuntime.jsx(
4381
- chunkV4ISCZJ7_cjs.SelectionBarAction,
4381
+ chunkJGZTRLKL_cjs.SelectionBarAction,
4382
4382
  {
4383
4383
  icon: lucideReact.NotebookPen,
4384
4384
  label: l.annotate,
@@ -4391,7 +4391,7 @@ function BulkActionsBar({
4391
4391
  ),
4392
4392
  isMember && !isNarrow && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4393
4393
  /* @__PURE__ */ jsxRuntime.jsx(
4394
- chunkV4ISCZJ7_cjs.SelectionBarAction,
4394
+ chunkJGZTRLKL_cjs.SelectionBarAction,
4395
4395
  {
4396
4396
  icon: lucideReact.Tags,
4397
4397
  label: l.label,
@@ -6920,31 +6920,31 @@ function ExplorerDragPreview({ icon, title, count }) {
6920
6920
 
6921
6921
  Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS", {
6922
6922
  enumerable: true,
6923
- get: function () { return chunkD6XY3C4O_cjs.DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS; }
6923
+ get: function () { return chunkZPERNIMP_cjs.DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS; }
6924
6924
  });
6925
6925
  Object.defineProperty(exports, "DocumentViewToggle", {
6926
6926
  enumerable: true,
6927
- get: function () { return chunkD6XY3C4O_cjs.DocumentViewToggle; }
6928
- });
6929
- Object.defineProperty(exports, "GridView", {
6930
- enumerable: true,
6931
- get: function () { return chunkD6XY3C4O_cjs.GridView; }
6927
+ get: function () { return chunkZPERNIMP_cjs.DocumentViewToggle; }
6932
6928
  });
6933
6929
  Object.defineProperty(exports, "ViewToggle", {
6934
6930
  enumerable: true,
6935
- get: function () { return chunkD6XY3C4O_cjs.ViewToggle; }
6931
+ get: function () { return chunkZPERNIMP_cjs.ViewToggle; }
6936
6932
  });
6937
6933
  Object.defineProperty(exports, "DEFAULT_SELECTION_BAR_LABELS", {
6938
6934
  enumerable: true,
6939
- get: function () { return chunkV4ISCZJ7_cjs.DEFAULT_SELECTION_BAR_LABELS; }
6935
+ get: function () { return chunkJGZTRLKL_cjs.DEFAULT_SELECTION_BAR_LABELS; }
6936
+ });
6937
+ Object.defineProperty(exports, "GridView", {
6938
+ enumerable: true,
6939
+ get: function () { return chunkJGZTRLKL_cjs.GridView; }
6940
6940
  });
6941
6941
  Object.defineProperty(exports, "SelectionBar", {
6942
6942
  enumerable: true,
6943
- get: function () { return chunkV4ISCZJ7_cjs.SelectionBar; }
6943
+ get: function () { return chunkJGZTRLKL_cjs.SelectionBar; }
6944
6944
  });
6945
6945
  Object.defineProperty(exports, "SelectionBarAction", {
6946
6946
  enumerable: true,
6947
- get: function () { return chunkV4ISCZJ7_cjs.SelectionBarAction; }
6947
+ get: function () { return chunkJGZTRLKL_cjs.SelectionBarAction; }
6948
6948
  });
6949
6949
  exports.AiReviewDialogView = AiReviewDialogView;
6950
6950
  exports.BulkActionsBar = BulkActionsBar;
@@ -1,13 +1,12 @@
1
1
  "use client";
2
- import { GridView } from '../chunk-H7OD4CHN.js';
3
- export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, GridView, ViewToggle } from '../chunk-H7OD4CHN.js';
2
+ export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-IC2VHFWR.js';
4
3
  import { ModalBreadcrumbHeader } from '../chunk-RC6VTY2H.js';
4
+ import { GridView, SelectionBar, SelectionBarAction } from '../chunk-NUPVHEJW.js';
5
+ export { DEFAULT_SELECTION_BAR_LABELS, GridView, SelectionBar, SelectionBarAction } from '../chunk-NUPVHEJW.js';
5
6
  import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
6
- import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
7
- export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
8
7
  import { ActionLink } from '../chunk-S7PSMMRG.js';
9
- import '../chunk-76JDDMSP.js';
10
8
  import '../chunk-SLSBJRWW.js';
9
+ import '../chunk-76JDDMSP.js';
11
10
  import { ShareControl } from '../chunk-K4BGOPGG.js';
12
11
  import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-CPMNAJLF.js';
13
12
  import '../chunk-NPLYHR2E.js';