@arbidocs/blocks 0.4.88 → 0.4.90

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 (38) hide show
  1. package/dist/agents/index.cjs +207 -207
  2. package/dist/agents/index.js +2 -2
  3. package/dist/{chunk-2CFW2ELM.cjs → chunk-2EI7NCUA.cjs} +2 -8
  4. package/dist/chunk-2EI7NCUA.cjs.map +1 -0
  5. package/dist/{chunk-UZV27QLC.js → chunk-NQS7NFGM.js} +3 -3
  6. package/dist/{chunk-UZV27QLC.js.map → chunk-NQS7NFGM.js.map} +1 -1
  7. package/dist/{chunk-FNEL2BYV.cjs → chunk-TMKJACMP.cjs} +6 -6
  8. package/dist/{chunk-FNEL2BYV.cjs.map → chunk-TMKJACMP.cjs.map} +1 -1
  9. package/dist/{chunk-ZX2VPMBJ.js → chunk-YU2KUMGE.js} +2 -8
  10. package/dist/chunk-YU2KUMGE.js.map +1 -0
  11. package/dist/connect/index.cjs +52 -10
  12. package/dist/connect/index.cjs.map +1 -1
  13. package/dist/connect/index.js +52 -10
  14. package/dist/connect/index.js.map +1 -1
  15. package/dist/connection/WorkflowRunnerDialogs.d.ts +2 -0
  16. package/dist/facts/FactSourceGroup.d.ts +2 -1
  17. package/dist/facts/index.cjs +6 -6
  18. package/dist/facts/index.cjs.map +1 -1
  19. package/dist/facts/index.js +3 -3
  20. package/dist/facts/index.js.map +1 -1
  21. package/dist/files/cells/LabelMultiSelect.d.ts +11 -3
  22. package/dist/files/index.cjs +19 -13
  23. package/dist/files/index.cjs.map +1 -1
  24. package/dist/files/index.js +18 -12
  25. package/dist/files/index.js.map +1 -1
  26. package/dist/index.cjs +322 -318
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.js +49 -45
  29. package/dist/index.js.map +1 -1
  30. package/dist/shell/FilterInput.d.ts +1 -3
  31. package/dist/shell/index.cjs +4 -4
  32. package/dist/shell/index.js +1 -1
  33. package/dist/tags/TagDetail.d.ts +10 -1
  34. package/dist/workflow-canvas/index.cjs +9 -9
  35. package/dist/workflow-canvas/index.js +2 -2
  36. package/package.json +4 -4
  37. package/dist/chunk-2CFW2ELM.cjs.map +0 -1
  38. package/dist/chunk-ZX2VPMBJ.js.map +0 -1
@@ -9,7 +9,7 @@ import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
9
9
  export { UploadDropzone } from '../chunk-EVUEIBNU.js';
10
10
  import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
11
11
  export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
12
- import { FilterInput } from '../chunk-ZX2VPMBJ.js';
12
+ import { FilterInput } from '../chunk-YU2KUMGE.js';
13
13
  import { ActionLink } from '../chunk-S7PSMMRG.js';
14
14
  import '../chunk-NPLYHR2E.js';
15
15
  import '../chunk-76JDDMSP.js';
@@ -3839,6 +3839,7 @@ function LabelPickerList({
3839
3839
  mixedIds,
3840
3840
  onToggle,
3841
3841
  onCreate,
3842
+ moreCreates,
3842
3843
  onEditLabels,
3843
3844
  labels
3844
3845
  }) {
@@ -3866,16 +3867,7 @@ function LabelPickerList({
3866
3867
  }
3867
3868
  ),
3868
3869
  /* @__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 }) }),
3870
+ !(trimmed && onCreate) && /* @__PURE__ */ jsx(CommandEmpty, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: l.noLabels }) }),
3879
3871
  /* @__PURE__ */ jsx(CommandGroup, { children: options.map((o) => {
3880
3872
  const isApplied = appliedIds.has(o.id);
3881
3873
  const isMixed = mixedIds?.has(o.id);
@@ -3923,7 +3915,21 @@ function LabelPickerList({
3923
3915
  o.id
3924
3916
  );
3925
3917
  }) })
3926
- ] })
3918
+ ] }),
3919
+ 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(
3920
+ "button",
3921
+ {
3922
+ type: "button",
3923
+ onClick: () => {
3924
+ c.onCreate(trimmed);
3925
+ setSearch("");
3926
+ },
3927
+ onPointerDown: (e) => e.preventDefault(),
3928
+ 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",
3929
+ children: c.label(trimmed)
3930
+ },
3931
+ i
3932
+ )) })
3927
3933
  ] });
3928
3934
  }
3929
3935
  var LabelMultiSelectView = memo(function LabelMultiSelectView2({