@arbidocs/blocks 0.4.89 → 0.4.91

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 (72) hide show
  1. package/dist/agents/index.cjs +283 -282
  2. package/dist/agents/index.js +7 -6
  3. package/dist/agents/workflows/types.d.ts +6 -0
  4. package/dist/{chunk-2CFW2ELM.cjs → chunk-2EI7NCUA.cjs} +2 -8
  5. package/dist/chunk-2EI7NCUA.cjs.map +1 -0
  6. package/dist/chunk-32HW2Q33.cjs +59 -0
  7. package/dist/chunk-32HW2Q33.cjs.map +1 -0
  8. package/dist/{chunk-MOJ5JQDN.cjs → chunk-3US5OIDQ.cjs} +69 -34
  9. package/dist/chunk-3US5OIDQ.cjs.map +1 -0
  10. package/dist/{chunk-DPLRHEJZ.js → chunk-5LXQPP2K.js} +4 -33
  11. package/dist/chunk-5LXQPP2K.js.map +1 -0
  12. package/dist/{chunk-QLHW7JGN.js → chunk-5NQIBJPP.js} +7 -7
  13. package/dist/{chunk-QLHW7JGN.js.map → chunk-5NQIBJPP.js.map} +1 -1
  14. package/dist/{chunk-3D5MDCQ7.js → chunk-5RQOVALO.js} +3 -3
  15. package/dist/{chunk-3D5MDCQ7.js.map → chunk-5RQOVALO.js.map} +1 -1
  16. package/dist/chunk-AUS3KBHJ.js +52 -0
  17. package/dist/chunk-AUS3KBHJ.js.map +1 -0
  18. package/dist/{chunk-CNI5QJ5B.cjs → chunk-DDYXFALG.cjs} +50 -50
  19. package/dist/{chunk-CNI5QJ5B.cjs.map → chunk-DDYXFALG.cjs.map} +1 -1
  20. package/dist/chunk-DVUZTGVL.cjs +52 -0
  21. package/dist/chunk-DVUZTGVL.cjs.map +1 -0
  22. package/dist/{chunk-TF6YMDZL.cjs → chunk-EHF63UYP.cjs} +5 -5
  23. package/dist/{chunk-TF6YMDZL.cjs.map → chunk-EHF63UYP.cjs.map} +1 -1
  24. package/dist/{chunk-I44NX2ZB.js → chunk-PGDL26TQ.js} +69 -34
  25. package/dist/chunk-PGDL26TQ.js.map +1 -0
  26. package/dist/{chunk-ZX2VPMBJ.js → chunk-YU2KUMGE.js} +2 -8
  27. package/dist/chunk-YU2KUMGE.js.map +1 -0
  28. package/dist/components/tones.d.ts +5 -0
  29. package/dist/connect/index.cjs +26 -25
  30. package/dist/connect/index.cjs.map +1 -1
  31. package/dist/connect/index.js +5 -4
  32. package/dist/connect/index.js.map +1 -1
  33. package/dist/facts/FactSourceGroup.d.ts +2 -1
  34. package/dist/facts/index.cjs +6 -6
  35. package/dist/facts/index.cjs.map +1 -1
  36. package/dist/facts/index.js +3 -3
  37. package/dist/facts/index.js.map +1 -1
  38. package/dist/files/cells/LabelMultiSelect.d.ts +11 -3
  39. package/dist/files/index.cjs +23 -16
  40. package/dist/files/index.cjs.map +1 -1
  41. package/dist/files/index.js +20 -13
  42. package/dist/files/index.js.map +1 -1
  43. package/dist/index.cjs +371 -358
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.js +54 -49
  47. package/dist/index.js.map +1 -1
  48. package/dist/settings/index.cjs +6 -5
  49. package/dist/settings/index.cjs.map +1 -1
  50. package/dist/settings/index.js +2 -1
  51. package/dist/settings/index.js.map +1 -1
  52. package/dist/shell/FilterInput.d.ts +1 -3
  53. package/dist/shell/index.cjs +4 -4
  54. package/dist/shell/index.js +1 -1
  55. package/dist/site/index.cjs +4 -3
  56. package/dist/site/index.js +2 -1
  57. package/dist/tags/TagDetail.d.ts +10 -1
  58. package/dist/workflow-canvas/FieldOptionsEditor.d.ts +25 -0
  59. package/dist/workflow-canvas/StepInspector.d.ts +6 -2
  60. package/dist/workflow-canvas/index.cjs +179 -50
  61. package/dist/workflow-canvas/index.cjs.map +1 -1
  62. package/dist/workflow-canvas/index.d.ts +1 -0
  63. package/dist/workflow-canvas/index.js +136 -9
  64. package/dist/workflow-canvas/index.js.map +1 -1
  65. package/package.json +4 -4
  66. package/dist/chunk-2CFW2ELM.cjs.map +0 -1
  67. package/dist/chunk-DPLRHEJZ.js.map +0 -1
  68. package/dist/chunk-I44NX2ZB.js.map +0 -1
  69. package/dist/chunk-MOJ5JQDN.cjs.map +0 -1
  70. package/dist/chunk-VFUWWH52.cjs +0 -83
  71. package/dist/chunk-VFUWWH52.cjs.map +0 -1
  72. package/dist/chunk-ZX2VPMBJ.js.map +0 -1
@@ -5,11 +5,12 @@ export { ViewerHeaderEnd, ViewerHeaderStart, ViewerPane, ViewerRenderedPane, Vie
5
5
  export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-IC2VHFWR.js';
6
6
  import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
7
7
  export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
8
- import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
8
+ import { ToneBadge } from '../chunk-5LXQPP2K.js';
9
9
  export { UploadDropzone } from '../chunk-EVUEIBNU.js';
10
+ import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
10
11
  import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
11
12
  export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
12
- import { FilterInput } from '../chunk-ZX2VPMBJ.js';
13
+ import { FilterInput } from '../chunk-YU2KUMGE.js';
13
14
  import { ActionLink } from '../chunk-S7PSMMRG.js';
14
15
  import '../chunk-NPLYHR2E.js';
15
16
  import '../chunk-76JDDMSP.js';
@@ -3839,6 +3840,7 @@ function LabelPickerList({
3839
3840
  mixedIds,
3840
3841
  onToggle,
3841
3842
  onCreate,
3843
+ moreCreates,
3842
3844
  onEditLabels,
3843
3845
  labels
3844
3846
  }) {
@@ -3866,16 +3868,7 @@ function LabelPickerList({
3866
3868
  }
3867
3869
  ),
3868
3870
  /* @__PURE__ */ jsxs(CommandList, { children: [
3869
- /* @__PURE__ */ jsx(CommandEmpty, { children: trimmed && onCreate ? /* @__PURE__ */ jsx(
3870
- "button",
3871
- {
3872
- type: "button",
3873
- onClick: create,
3874
- onPointerDown: (e) => e.preventDefault(),
3875
- className: "w-full cursor-pointer rounded px-2 py-1.5 text-left text-sm text-primary hover:bg-accent pointer-coarse:min-h-11",
3876
- children: l.create(trimmed)
3877
- }
3878
- ) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: l.noLabels }) }),
3871
+ !(trimmed && onCreate) && /* @__PURE__ */ jsx(CommandEmpty, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: l.noLabels }) }),
3879
3872
  /* @__PURE__ */ jsx(CommandGroup, { children: options.map((o) => {
3880
3873
  const isApplied = appliedIds.has(o.id);
3881
3874
  const isMixed = mixedIds?.has(o.id);
@@ -3923,7 +3916,21 @@ function LabelPickerList({
3923
3916
  o.id
3924
3917
  );
3925
3918
  }) })
3926
- ] })
3919
+ ] }),
3920
+ trimmed && onCreate && !matchesExisting && /* @__PURE__ */ jsx("div", { className: "border-t border-border p-1", "data-slot": "label-picker-create", children: [{ label: l.create, onCreate }, ...moreCreates ?? []].map((c, i) => /* @__PURE__ */ jsx(
3921
+ "button",
3922
+ {
3923
+ type: "button",
3924
+ onClick: () => {
3925
+ c.onCreate(trimmed);
3926
+ setSearch("");
3927
+ },
3928
+ onPointerDown: (e) => e.preventDefault(),
3929
+ className: "w-full cursor-pointer rounded px-2 py-1.5 text-left text-sm text-primary hover:bg-accent pointer-coarse:min-h-11",
3930
+ children: c.label(trimmed)
3931
+ },
3932
+ i
3933
+ )) })
3927
3934
  ] });
3928
3935
  }
3929
3936
  var LabelMultiSelectView = memo(function LabelMultiSelectView2({