@arbidocs/blocks 0.4.4 → 0.4.5

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 (64) hide show
  1. package/README.md +25 -0
  2. package/dist/agents/index.cjs +163 -163
  3. package/dist/agents/index.js +6 -6
  4. package/dist/artifacts/ArtifactCompareBar.d.ts +33 -0
  5. package/dist/artifacts/ArtifactEditor.d.ts +64 -0
  6. package/dist/artifacts/ArtifactEditorBody.d.ts +34 -0
  7. package/dist/artifacts/ArtifactRedlineView.d.ts +57 -0
  8. package/dist/artifacts/ArtifactToolbar.d.ts +53 -0
  9. package/dist/artifacts/ArtifactVersionBar.d.ts +42 -0
  10. package/dist/{files → artifacts}/RedlineParts.d.ts +4 -0
  11. package/dist/artifacts/editor/ArtifactMarkdownEditor.d.ts +39 -0
  12. package/dist/artifacts/editor/index.cjs +89 -0
  13. package/dist/artifacts/editor/index.cjs.map +1 -0
  14. package/dist/artifacts/editor/index.d.ts +1 -0
  15. package/dist/artifacts/editor/index.js +86 -0
  16. package/dist/artifacts/editor/index.js.map +1 -0
  17. package/dist/artifacts/index.cjs +807 -0
  18. package/dist/artifacts/index.cjs.map +1 -0
  19. package/dist/artifacts/index.d.ts +8 -0
  20. package/dist/artifacts/index.js +787 -0
  21. package/dist/artifacts/index.js.map +1 -0
  22. package/dist/chat/index.cjs +54 -54
  23. package/dist/chat/index.js +2 -2
  24. package/dist/{chunk-XKKGGUU2.cjs → chunk-3MIQASHO.cjs} +4 -4
  25. package/dist/{chunk-XKKGGUU2.cjs.map → chunk-3MIQASHO.cjs.map} +1 -1
  26. package/dist/{chunk-B673CCW5.js → chunk-3PJCET7H.js} +3 -3
  27. package/dist/{chunk-B673CCW5.js.map → chunk-3PJCET7H.js.map} +1 -1
  28. package/dist/{chunk-DGVKBOY5.cjs → chunk-3PZPRAAR.cjs} +14 -14
  29. package/dist/{chunk-DGVKBOY5.cjs.map → chunk-3PZPRAAR.cjs.map} +1 -1
  30. package/dist/{chunk-BBEMPS6C.js → chunk-5XTZFH65.js} +6 -6
  31. package/dist/{chunk-BBEMPS6C.js.map → chunk-5XTZFH65.js.map} +1 -1
  32. package/dist/{chunk-JPO3F4J7.js → chunk-6YHWXMPQ.js} +3 -3
  33. package/dist/{chunk-JPO3F4J7.js.map → chunk-6YHWXMPQ.js.map} +1 -1
  34. package/dist/{chunk-ZVPTFTGV.cjs → chunk-MVNCQDDE.cjs} +4 -4
  35. package/dist/{chunk-ZVPTFTGV.cjs.map → chunk-MVNCQDDE.cjs.map} +1 -1
  36. package/dist/{chunk-NJL4LIXX.js → chunk-NPKGUQU5.js} +4 -4
  37. package/dist/{chunk-NJL4LIXX.js.map → chunk-NPKGUQU5.js.map} +1 -1
  38. package/dist/{chunk-ATXPAD6S.cjs → chunk-YLOKCIQJ.cjs} +3 -3
  39. package/dist/{chunk-ATXPAD6S.cjs.map → chunk-YLOKCIQJ.cjs.map} +1 -1
  40. package/dist/connect/index.cjs +18 -18
  41. package/dist/connect/index.js +4 -4
  42. package/dist/facts/index.cjs +1 -1
  43. package/dist/facts/index.js +1 -1
  44. package/dist/files/ViewerChrome.d.ts +0 -45
  45. package/dist/files/ViewerParts.d.ts +0 -19
  46. package/dist/files/index.cjs +4 -436
  47. package/dist/files/index.cjs.map +1 -1
  48. package/dist/files/index.d.ts +2 -4
  49. package/dist/files/index.js +8 -428
  50. package/dist/files/index.js.map +1 -1
  51. package/dist/home/index.cjs +19 -19
  52. package/dist/home/index.js +4 -4
  53. package/dist/index.cjs +415 -415
  54. package/dist/index.js +14 -14
  55. package/dist/settings/index.cjs +3 -3
  56. package/dist/settings/index.js +4 -4
  57. package/dist/shell/index.cjs +10 -10
  58. package/dist/shell/index.js +2 -2
  59. package/dist/site/index.cjs +5 -5
  60. package/dist/site/index.js +1 -1
  61. package/dist/studio/index.cjs +8 -8
  62. package/dist/studio/index.js +6 -6
  63. package/package.json +25 -4
  64. /package/dist/{files → artifacts}/VersionTimeline.d.ts +0 -0
@@ -3,12 +3,12 @@
3
3
 
4
4
  var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
5
5
  var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
6
- var chunkZVPTFTGV_cjs = require('../chunk-ZVPTFTGV.cjs');
7
- var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
6
+ var chunkMVNCQDDE_cjs = require('../chunk-MVNCQDDE.cjs');
8
7
  require('../chunk-PPCATBOY.cjs');
8
+ var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
9
9
  require('../chunk-C54XEN5T.cjs');
10
- require('../chunk-KDG6FER6.cjs');
11
10
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
11
+ require('../chunk-KDG6FER6.cjs');
12
12
  var lucideReact = require('lucide-react');
13
13
  var ui = require('@arbidocs/react/ui');
14
14
  var jsxRuntime = require('react/jsx-runtime');
@@ -106,7 +106,7 @@ function RecentList({
106
106
  "data-testid": testId,
107
107
  children: [
108
108
  /* @__PURE__ */ jsxRuntime.jsx(
109
- chunkZVPTFTGV_cjs.SectionHeader,
109
+ chunkMVNCQDDE_cjs.SectionHeader,
110
110
  {
111
111
  icon,
112
112
  title,
@@ -118,7 +118,7 @@ function RecentList({
118
118
  }
119
119
  ),
120
120
  rows.length === 0 ? empty?.onSelect ? /* @__PURE__ */ jsxRuntime.jsx(
121
- chunkZVPTFTGV_cjs.EmptyStrip,
121
+ chunkMVNCQDDE_cjs.EmptyStrip,
122
122
  {
123
123
  icon: empty.icon,
124
124
  label: empty.label,
@@ -188,7 +188,7 @@ function FactsStrip({
188
188
  "data-testid": testId,
189
189
  children: [
190
190
  /* @__PURE__ */ jsxRuntime.jsx(
191
- chunkZVPTFTGV_cjs.SectionHeader,
191
+ chunkMVNCQDDE_cjs.SectionHeader,
192
192
  {
193
193
  icon,
194
194
  title,
@@ -199,7 +199,7 @@ function FactsStrip({
199
199
  }
200
200
  ),
201
201
  filled.length === 0 ? empty && /* @__PURE__ */ jsxRuntime.jsx(
202
- chunkZVPTFTGV_cjs.EmptyStrip,
202
+ chunkMVNCQDDE_cjs.EmptyStrip,
203
203
  {
204
204
  icon: empty.icon,
205
205
  label: empty.label,
@@ -407,7 +407,7 @@ function ActionMenuDialog({
407
407
  className: "sm:max-w-lg",
408
408
  "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "action-menu-dialog" }),
409
409
  children: [
410
- /* @__PURE__ */ jsxRuntime.jsx(chunkZVPTFTGV_cjs.QuickActionDialogHeader, { icon, title, description }),
410
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMVNCQDDE_cjs.QuickActionDialogHeader, { icon, title, description }),
411
411
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3 pt-1", role: "menu", "aria-label": title, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
412
412
  "button",
413
413
  {
@@ -782,47 +782,47 @@ Object.defineProperty(exports, "KeyValueRow", {
782
782
  });
783
783
  Object.defineProperty(exports, "AddFilesFirst", {
784
784
  enumerable: true,
785
- get: function () { return chunkZVPTFTGV_cjs.AddFilesFirst; }
785
+ get: function () { return chunkMVNCQDDE_cjs.AddFilesFirst; }
786
786
  });
787
787
  Object.defineProperty(exports, "DEFAULT_ADD_FILES_FIRST_LABELS", {
788
788
  enumerable: true,
789
- get: function () { return chunkZVPTFTGV_cjs.DEFAULT_ADD_FILES_FIRST_LABELS; }
789
+ get: function () { return chunkMVNCQDDE_cjs.DEFAULT_ADD_FILES_FIRST_LABELS; }
790
790
  });
791
791
  Object.defineProperty(exports, "DEFAULT_SCOPE_PICKER_LABELS", {
792
792
  enumerable: true,
793
- get: function () { return chunkZVPTFTGV_cjs.DEFAULT_SCOPE_PICKER_LABELS; }
793
+ get: function () { return chunkMVNCQDDE_cjs.DEFAULT_SCOPE_PICKER_LABELS; }
794
794
  });
795
795
  Object.defineProperty(exports, "EmptyStrip", {
796
796
  enumerable: true,
797
- get: function () { return chunkZVPTFTGV_cjs.EmptyStrip; }
797
+ get: function () { return chunkMVNCQDDE_cjs.EmptyStrip; }
798
798
  });
799
799
  Object.defineProperty(exports, "FoldSection", {
800
800
  enumerable: true,
801
- get: function () { return chunkZVPTFTGV_cjs.FoldSection; }
801
+ get: function () { return chunkMVNCQDDE_cjs.FoldSection; }
802
802
  });
803
803
  Object.defineProperty(exports, "QuickActionDialogHeader", {
804
804
  enumerable: true,
805
- get: function () { return chunkZVPTFTGV_cjs.QuickActionDialogHeader; }
805
+ get: function () { return chunkMVNCQDDE_cjs.QuickActionDialogHeader; }
806
806
  });
807
807
  Object.defineProperty(exports, "ScopePicker", {
808
808
  enumerable: true,
809
- get: function () { return chunkZVPTFTGV_cjs.ScopePicker; }
809
+ get: function () { return chunkMVNCQDDE_cjs.ScopePicker; }
810
810
  });
811
811
  Object.defineProperty(exports, "SectionHeader", {
812
812
  enumerable: true,
813
- get: function () { return chunkZVPTFTGV_cjs.SectionHeader; }
813
+ get: function () { return chunkMVNCQDDE_cjs.SectionHeader; }
814
814
  });
815
815
  Object.defineProperty(exports, "SectionLabel", {
816
816
  enumerable: true,
817
- get: function () { return chunkZVPTFTGV_cjs.SectionLabel; }
817
+ get: function () { return chunkMVNCQDDE_cjs.SectionLabel; }
818
818
  });
819
819
  Object.defineProperty(exports, "StartTiles", {
820
820
  enumerable: true,
821
- get: function () { return chunkZVPTFTGV_cjs.StartTiles; }
821
+ get: function () { return chunkMVNCQDDE_cjs.StartTiles; }
822
822
  });
823
823
  Object.defineProperty(exports, "useScopeSelection", {
824
824
  enumerable: true,
825
- get: function () { return chunkZVPTFTGV_cjs.useScopeSelection; }
825
+ get: function () { return chunkMVNCQDDE_cjs.useScopeSelection; }
826
826
  });
827
827
  exports.ActionMenuDialog = ActionMenuDialog;
828
828
  exports.BulkDeleteButton = BulkDeleteButton;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  export { CollapsibleSection, DEFAULT_COLLAPSIBLE_SECTION_LABELS, DEFAULT_KEY_VALUE_ROW_LABELS, KeyValueContainer, KeyValueRow } from '../chunk-LGBAZD37.js';
3
3
  import { Callout } from '../chunk-UJE32SST.js';
4
- import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-NJL4LIXX.js';
5
- export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, FoldSection, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-NJL4LIXX.js';
6
- import { ActionLink } from '../chunk-S7PSMMRG.js';
4
+ import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-NPKGUQU5.js';
5
+ export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, FoldSection, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-NPKGUQU5.js';
7
6
  import '../chunk-NPLYHR2E.js';
7
+ import { ActionLink } from '../chunk-S7PSMMRG.js';
8
8
  import '../chunk-76JDDMSP.js';
9
- import '../chunk-OXF2IFXG.js';
10
9
  import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
10
+ import '../chunk-OXF2IFXG.js';
11
11
  import { Plus, PartyPopper, X, Pin, Trash2 } from 'lucide-react';
12
12
  import { cn, Dialog, DialogContent, Button, Tooltip, TooltipTrigger, TooltipContent } from '@arbidocs/react/ui';
13
13
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';