@arbidocs/blocks 0.4.145 → 0.4.146

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 (71) hide show
  1. package/dist/agents/index.cjs +267 -267
  2. package/dist/agents/index.js +10 -10
  3. package/dist/chat/index.cjs +1 -1
  4. package/dist/chat/index.js +1 -1
  5. package/dist/{chunk-J4M37SXY.js → chunk-A6IU4GIW.js} +190 -7
  6. package/dist/chunk-A6IU4GIW.js.map +1 -0
  7. package/dist/{chunk-34GDGE77.cjs → chunk-C3CGJK7A.cjs} +192 -6
  8. package/dist/chunk-C3CGJK7A.cjs.map +1 -0
  9. package/dist/{chunk-KTSF4HFC.js → chunk-C44TDH54.js} +6 -6
  10. package/dist/{chunk-KTSF4HFC.js.map → chunk-C44TDH54.js.map} +1 -1
  11. package/dist/chunk-EV7W64B6.js +134 -0
  12. package/dist/chunk-EV7W64B6.js.map +1 -0
  13. package/dist/{chunk-QOL3M4FJ.js → chunk-IJST4EBM.js} +9 -9
  14. package/dist/{chunk-QOL3M4FJ.js.map → chunk-IJST4EBM.js.map} +1 -1
  15. package/dist/{chunk-NSNHRZBH.cjs → chunk-LPYEUD2D.cjs} +4 -4
  16. package/dist/{chunk-NSNHRZBH.cjs.map → chunk-LPYEUD2D.cjs.map} +1 -1
  17. package/dist/{chunk-ULPFRK3J.cjs → chunk-MFMASSEO.cjs} +8 -8
  18. package/dist/{chunk-ULPFRK3J.cjs.map → chunk-MFMASSEO.cjs.map} +1 -1
  19. package/dist/{chunk-KPO67GBR.cjs → chunk-O2GW5IY6.cjs} +33 -33
  20. package/dist/{chunk-KPO67GBR.cjs.map → chunk-O2GW5IY6.cjs.map} +1 -1
  21. package/dist/{chunk-NGDXDHLG.js → chunk-OBWYM25Y.js} +3 -3
  22. package/dist/{chunk-NGDXDHLG.js.map → chunk-OBWYM25Y.js.map} +1 -1
  23. package/dist/{chunk-WO7QAVTL.cjs → chunk-RB7GX2VT.cjs} +9 -9
  24. package/dist/{chunk-WO7QAVTL.cjs.map → chunk-RB7GX2VT.cjs.map} +1 -1
  25. package/dist/chunk-RXK3XP62.cjs +144 -0
  26. package/dist/chunk-RXK3XP62.cjs.map +1 -0
  27. package/dist/{chunk-VVZ34A2P.js → chunk-T5B7FM7S.js} +4 -4
  28. package/dist/{chunk-VVZ34A2P.js.map → chunk-T5B7FM7S.js.map} +1 -1
  29. package/dist/collaboration/index.cjs +9 -9
  30. package/dist/collaboration/index.js +1 -1
  31. package/dist/connect/docx.cjs +10 -10
  32. package/dist/connect/docx.js +7 -7
  33. package/dist/connect/index.cjs +433 -74
  34. package/dist/connect/index.cjs.map +1 -1
  35. package/dist/connect/index.d.ts +1 -0
  36. package/dist/connect/index.js +379 -22
  37. package/dist/connect/index.js.map +1 -1
  38. package/dist/connection/ConnectedNotificationRelevance.d.ts +4 -1
  39. package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +53 -0
  40. package/dist/connection/workspace-settings/index.d.ts +2 -0
  41. package/dist/connection/workspace-settings/useConnectedWorkspaceSettings.d.ts +85 -0
  42. package/dist/document-tools/index.cjs +1 -1
  43. package/dist/document-tools/index.js +1 -1
  44. package/dist/facts/index.cjs +1 -1
  45. package/dist/facts/index.js +1 -1
  46. package/dist/files/index.cjs +1 -1
  47. package/dist/files/index.js +1 -1
  48. package/dist/index.cjs +357 -530
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.js +21 -203
  51. package/dist/index.js.map +1 -1
  52. package/dist/settings/index.cjs +10 -10
  53. package/dist/settings/index.js +2 -2
  54. package/dist/shell/index.cjs +1 -1
  55. package/dist/shell/index.js +1 -1
  56. package/dist/site/index.cjs +5 -5
  57. package/dist/site/index.js +1 -1
  58. package/dist/studio/index.cjs +2 -2
  59. package/dist/studio/index.js +2 -2
  60. package/dist/workflow-canvas/index.cjs +23 -23
  61. package/dist/workflow-canvas/index.js +10 -10
  62. package/dist/workspaces/CommonWorkspaceToggle.d.ts +15 -0
  63. package/dist/workspaces/index.cjs +38 -107
  64. package/dist/workspaces/index.cjs.map +1 -1
  65. package/dist/workspaces/index.d.ts +1 -0
  66. package/dist/workspaces/index.js +5 -102
  67. package/dist/workspaces/index.js.map +1 -1
  68. package/node_modules/@arbidocs/coedit/package.json +1 -1
  69. package/package.json +4 -4
  70. package/dist/chunk-34GDGE77.cjs.map +0 -1
  71. package/dist/chunk-J4M37SXY.js.map +0 -1
@@ -3,26 +3,26 @@
3
3
 
4
4
  var chunkGAYMJWTC_cjs = require('../chunk-GAYMJWTC.cjs');
5
5
  var chunkGFNELPDP_cjs = require('../chunk-GFNELPDP.cjs');
6
- var chunkKPO67GBR_cjs = require('../chunk-KPO67GBR.cjs');
7
- require('../chunk-3AFWGEDJ.cjs');
8
- require('../chunk-DVUZTGVL.cjs');
9
- var chunkWO7QAVTL_cjs = require('../chunk-WO7QAVTL.cjs');
10
- require('../chunk-DETZZBG2.cjs');
6
+ var chunkO2GW5IY6_cjs = require('../chunk-O2GW5IY6.cjs');
7
+ var chunkRB7GX2VT_cjs = require('../chunk-RB7GX2VT.cjs');
11
8
  require('../chunk-RFIBUWLF.cjs');
12
- var chunkNSNHRZBH_cjs = require('../chunk-NSNHRZBH.cjs');
13
- require('../chunk-RQ2Y7USX.cjs');
9
+ var chunkLPYEUD2D_cjs = require('../chunk-LPYEUD2D.cjs');
10
+ require('../chunk-EYKISBDO.cjs');
14
11
  require('../chunk-AHDJXIUB.cjs');
12
+ require('../chunk-RQ2Y7USX.cjs');
15
13
  require('../chunk-ZW6FPIFC.cjs');
14
+ require('../chunk-3AFWGEDJ.cjs');
15
+ require('../chunk-DVUZTGVL.cjs');
16
+ require('../chunk-DETZZBG2.cjs');
17
+ require('../chunk-DTROMMDX.cjs');
16
18
  require('../chunk-V4ISCZJ7.cjs');
17
19
  require('../chunk-2EI7NCUA.cjs');
18
20
  require('../chunk-C2CWWEHO.cjs');
19
- require('../chunk-EYKISBDO.cjs');
20
- require('../chunk-DTROMMDX.cjs');
21
21
  require('../chunk-7RGLTF76.cjs');
22
22
  var chunkJSTKEZBS_cjs = require('../chunk-JSTKEZBS.cjs');
23
23
  var chunk76L6LOP3_cjs = require('../chunk-76L6LOP3.cjs');
24
- var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
25
24
  require('../chunk-7UTB4PHM.cjs');
25
+ var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
26
26
  require('../chunk-FX3K6LNZ.cjs');
27
27
  require('../chunk-PPCATBOY.cjs');
28
28
  require('../chunk-MHVNT4J3.cjs');
@@ -320,9 +320,9 @@ function SignalsEditor({
320
320
  {
321
321
  className: ui.cn(
322
322
  "space-y-1.5 rounded-md border p-2",
323
- chunkWO7QAVTL_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
323
+ chunkRB7GX2VT_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
324
324
  ),
325
- "data-incomplete": chunkWO7QAVTL_cjs.isIncompleteSignal(signal) || void 0,
325
+ "data-incomplete": chunkRB7GX2VT_cjs.isIncompleteSignal(signal) || void 0,
326
326
  "data-testid": `${testId}-${i}`,
327
327
  children: [
328
328
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -1608,7 +1608,7 @@ function triggerFields(trigger, clearOthers) {
1608
1608
  return {
1609
1609
  timezone: trigger.timezone,
1610
1610
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1611
- run_at: trigger.start === "once" ? chunkKPO67GBR_cjs.localInputToIso(trigger.runAt) : none,
1611
+ run_at: trigger.start === "once" ? chunkO2GW5IY6_cjs.localInputToIso(trigger.runAt) : none,
1612
1612
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1613
1613
  // A step signal is `workflow_signal` narrowed to one signal name.
1614
1614
  event_filter: filter ?? none,
@@ -1624,7 +1624,7 @@ function plan(value, options) {
1624
1624
  criteria: [],
1625
1625
  max_passes: 3,
1626
1626
  documents: [],
1627
- steps: chunkWO7QAVTL_cjs.toPlanSteps(value.workflow, options)
1627
+ steps: chunkRB7GX2VT_cjs.toPlanSteps(value.workflow, options)
1628
1628
  };
1629
1629
  }
1630
1630
  function builderToWorkflowRequest(value, workspaceId, options = {}) {
@@ -1659,7 +1659,7 @@ function builderToWorkflowUpdate(value, options = {}) {
1659
1659
  }
1660
1660
  function workflowRecordToBuilder(record) {
1661
1661
  const planned = record.plan?.steps ?? [];
1662
- const steps = planned.length ? chunkWO7QAVTL_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1662
+ const steps = planned.length ? chunkRB7GX2VT_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1663
1663
  {
1664
1664
  id: "work",
1665
1665
  kind: "agent",
@@ -1667,7 +1667,7 @@ function workflowRecordToBuilder(record) {
1667
1667
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1668
1668
  }
1669
1669
  ] : [];
1670
- const when = chunkKPO67GBR_cjs.workflowWhen(record);
1670
+ const when = chunkO2GW5IY6_cjs.workflowWhen(record);
1671
1671
  return {
1672
1672
  workflow: {
1673
1673
  id: record.external_id,
@@ -1676,12 +1676,12 @@ function workflowRecordToBuilder(record) {
1676
1676
  inputs: [],
1677
1677
  landing: "chat",
1678
1678
  schedulable: false,
1679
- run: { kind: "steps", steps, layout: chunkWO7QAVTL_cjs.layoutFromPlanSteps(planned ?? []) }
1679
+ run: { kind: "steps", steps, layout: chunkRB7GX2VT_cjs.layoutFromPlanSteps(planned ?? []) }
1680
1680
  },
1681
1681
  trigger: {
1682
1682
  ...DEFAULT_WORKFLOW_TRIGGER,
1683
1683
  start: when === "now" ? "manual" : when,
1684
- runAt: chunkKPO67GBR_cjs.isoToLocalInput(record.run_at),
1684
+ runAt: chunkO2GW5IY6_cjs.isoToLocalInput(record.run_at),
1685
1685
  rrule: record.rrule ?? "",
1686
1686
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1687
1687
  eventKind: record.event_kind ?? "",
@@ -1737,7 +1737,7 @@ function triggerSummary(trigger, options = {}) {
1737
1737
  case "once":
1738
1738
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1739
1739
  case "repeat":
1740
- return trigger.rrule ? chunkKPO67GBR_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1740
+ return trigger.rrule ? chunkO2GW5IY6_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1741
1741
  case "event":
1742
1742
  if (isSignalTrigger(trigger))
1743
1743
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1796,7 +1796,7 @@ function TriggerInspector({
1796
1796
  }
1797
1797
  )
1798
1798
  ] }),
1799
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkKPO67GBR_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1799
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkO2GW5IY6_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1800
1800
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1801
1801
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1802
1802
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1848,7 +1848,7 @@ function TriggerInspector({
1848
1848
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1849
1849
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1850
1850
  /* @__PURE__ */ jsxRuntime.jsx(
1851
- chunkNSNHRZBH_cjs.AgentSelect,
1851
+ chunkLPYEUD2D_cjs.AgentSelect,
1852
1852
  {
1853
1853
  agents,
1854
1854
  value: trigger.agentId,
@@ -2685,13 +2685,13 @@ function WorkflowPreview({
2685
2685
  renderIcon,
2686
2686
  testId
2687
2687
  }) {
2688
- const run = chunkKPO67GBR_cjs.useWorkflowPreview(workflow, {
2688
+ const run = chunkO2GW5IY6_cjs.useWorkflowPreview(workflow, {
2689
2689
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2690
2690
  compose,
2691
2691
  answer
2692
2692
  });
2693
2693
  return /* @__PURE__ */ jsxRuntime.jsx(
2694
- chunkWO7QAVTL_cjs.WorkflowRunner,
2694
+ chunkRB7GX2VT_cjs.WorkflowRunner,
2695
2695
  {
2696
2696
  workflow,
2697
2697
  run,
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  import { useConnectedTags, useConnectedDocuments, useConnectedConversations } from '../chunk-DN2KI4BU.js';
3
3
  import { useConnectedWorkspace } from '../chunk-US3S4DCB.js';
4
- import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, useWorkflowPreview, localInputToIso } from '../chunk-QOL3M4FJ.js';
5
- import '../chunk-RFXJYIDV.js';
6
- import '../chunk-5LXQPP2K.js';
7
- import { isIncompleteSignal, fromPlanSteps, layoutFromPlanSteps, WorkflowRunner, toPlanSteps } from '../chunk-KTSF4HFC.js';
8
- import '../chunk-EVUEIBNU.js';
4
+ import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, useWorkflowPreview, localInputToIso } from '../chunk-IJST4EBM.js';
5
+ import { isIncompleteSignal, fromPlanSteps, layoutFromPlanSteps, WorkflowRunner, toPlanSteps } from '../chunk-C44TDH54.js';
9
6
  import '../chunk-CQCC7LE7.js';
10
- import { AgentSelect } from '../chunk-VVZ34A2P.js';
11
- import '../chunk-KSHKTOY2.js';
7
+ import { AgentSelect } from '../chunk-T5B7FM7S.js';
8
+ import '../chunk-IXWJGOM2.js';
12
9
  import '../chunk-RLWIUUQ5.js';
10
+ import '../chunk-KSHKTOY2.js';
13
11
  import '../chunk-P6GHJSLR.js';
12
+ import '../chunk-RFXJYIDV.js';
13
+ import '../chunk-5LXQPP2K.js';
14
+ import '../chunk-EVUEIBNU.js';
15
+ import '../chunk-YKQ2DPIP.js';
14
16
  import '../chunk-NUNKSZKU.js';
15
17
  import '../chunk-YU2KUMGE.js';
16
18
  import '../chunk-N5YEF3LC.js';
17
- import '../chunk-IXWJGOM2.js';
18
- import '../chunk-YKQ2DPIP.js';
19
19
  import '../chunk-4WWM3GQ5.js';
20
20
  import { DEFAULT_STEP_KIND_LABELS, workflowSteps, dependsOn, stepLevels, runFields, upstreamSteps, stepDependencies, canAssign, WORKFLOW_STEP_KINDS, STEP_KIND_ICONS, validateWorkflowGraph, stepConfigProblems, assigneeName, orderSteps, stepKindOf } from '../chunk-PDKM27DF.js';
21
21
  import { mergeSkillWorkflows } from '../chunk-TZGBRLPK.js';
22
- import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
23
22
  import '../chunk-AA3PT6KR.js';
23
+ import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
24
24
  import '../chunk-SLSBJRWW.js';
25
25
  import '../chunk-NPLYHR2E.js';
26
26
  import '../chunk-7F6CBP3Z.js';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * CommonWorkspaceToggle Component
3
+ *
4
+ * Toggle for workspace common/members-only visibility.
5
+ * Takes isCommon and onToggle as props for form integration.
6
+ */
7
+ export interface CommonWorkspaceToggleProps {
8
+ isCommon: boolean;
9
+ onToggle: (isCommon: boolean) => void;
10
+ disabled?: boolean;
11
+ /** Tooltip to show when disabled */
12
+ disabledTooltip?: string;
13
+ 'data-testid'?: string;
14
+ }
15
+ export declare function CommonWorkspaceToggle({ isCommon, onToggle, disabled, disabledTooltip, 'data-testid': dataTestId, }: CommonWorkspaceToggleProps): import("react").JSX.Element;
@@ -2,8 +2,9 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
5
- var chunkXAJIKT6Y_cjs = require('../chunk-XAJIKT6Y.cjs');
5
+ var chunkRXK3XP62_cjs = require('../chunk-RXK3XP62.cjs');
6
6
  var chunk7G2LJMUG_cjs = require('../chunk-7G2LJMUG.cjs');
7
+ var chunkXAJIKT6Y_cjs = require('../chunk-XAJIKT6Y.cjs');
7
8
  var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
8
9
  require('../chunk-KPZZ5FHE.cjs');
9
10
  var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
@@ -385,104 +386,6 @@ function WorkspaceGroup({
385
386
  }
386
387
  );
387
388
  }
388
- function WorkspacePageFrame({ testId, children }) {
389
- return /* @__PURE__ */ jsxRuntime.jsx(
390
- "div",
391
- {
392
- className: "flex h-full flex-col @container",
393
- "data-slot": "workspace-page",
394
- "data-testid": testId,
395
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto [scrollbar-gutter:stable]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-6 px-4 pb-6 sm:px-6 pt-4", children }) })
396
- }
397
- );
398
- }
399
- function WorkspaceIdentityPanel({ children }) {
400
- return /* @__PURE__ */ jsxRuntime.jsx(
401
- "div",
402
- {
403
- "data-slot": "workspace-identity-panel",
404
- className: "group rounded-lg border border-border bg-card px-4 py-3 shadow-xs",
405
- children
406
- }
407
- );
408
- }
409
- function WorkspaceProjectSlot({ testId, caption, children }) {
410
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 items-center gap-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", "data-testid": testId, children: [
411
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: caption }),
412
- children
413
- ] }) });
414
- }
415
- function ItalicNone({ children }) {
416
- return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm italic text-muted-foreground", children });
417
- }
418
- function WorkspaceAudienceLine({ visibility, members, share }) {
419
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-wrap items-center gap-x-4 gap-y-2", "data-slot": "workspace-audience", children: [
420
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-2", "data-testid": visibility.testId, children: [
421
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: visibility.caption }),
422
- visibility.toggle,
423
- /* @__PURE__ */ jsxRuntime.jsxs(ui.Popover, { children: [
424
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverTrigger, { className: "touch-hit cursor-pointer rounded-sm text-sm text-muted-foreground underline decoration-dotted underline-offset-4 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: visibility.stateText }),
425
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverContent, { align: "start", className: "w-64 text-sm", children: visibility.stateHelp })
426
- ] })
427
- ] }),
428
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
429
- members,
430
- share && /* @__PURE__ */ jsxRuntime.jsxs(
431
- ui.Button,
432
- {
433
- variant: "outline",
434
- size: "sm",
435
- className: "h-8 gap-1.5 px-3 text-sm pointer-coarse:h-11",
436
- onClick: share.onClick,
437
- "data-testid": share.testId,
438
- children: [
439
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "size-4" }),
440
- share.label
441
- ]
442
- }
443
- )
444
- ] })
445
- ] });
446
- }
447
- function ExpandableSection({
448
- expanded,
449
- testId,
450
- children
451
- }) {
452
- return /* @__PURE__ */ jsxRuntime.jsx(
453
- "div",
454
- {
455
- className: ui.cn(
456
- "grid transition-[grid-template-rows] duration-300 ease-in-out",
457
- expanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
458
- ),
459
- "data-slot": "expandable-section",
460
- "data-expanded": expanded,
461
- "data-testid": testId,
462
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 border-t border-border pt-4", children }) })
463
- }
464
- );
465
- }
466
- function PageLoading({ children }) {
467
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-64 items-center justify-center", children });
468
- }
469
- function LeaveFooter({ testId, leave }) {
470
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", "data-slot": "leave-footer", "data-testid": testId, children: /* @__PURE__ */ jsxRuntime.jsxs(
471
- ui.Button,
472
- {
473
- variant: "ghost",
474
- size: "sm",
475
- onClick: leave.onClick,
476
- disabled: leave.disabled,
477
- className: "h-7 px-2 text-sm text-destructive hover:bg-destructive/10 hover:text-destructive pointer-coarse:h-11",
478
- "data-testid": leave.testId,
479
- children: [
480
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LogOut, { className: "mr-1 size-3.5" }),
481
- leave.label
482
- ]
483
- }
484
- ) });
485
- }
486
389
  function FormErrorBanner({
487
390
  message,
488
391
  testId,
@@ -777,6 +680,42 @@ function getVariantBorderClass(variant) {
777
680
  }
778
681
  }
779
682
 
683
+ Object.defineProperty(exports, "CommonWorkspaceToggle", {
684
+ enumerable: true,
685
+ get: function () { return chunkRXK3XP62_cjs.CommonWorkspaceToggle; }
686
+ });
687
+ Object.defineProperty(exports, "ExpandableSection", {
688
+ enumerable: true,
689
+ get: function () { return chunkRXK3XP62_cjs.ExpandableSection; }
690
+ });
691
+ Object.defineProperty(exports, "ItalicNone", {
692
+ enumerable: true,
693
+ get: function () { return chunkRXK3XP62_cjs.ItalicNone; }
694
+ });
695
+ Object.defineProperty(exports, "LeaveFooter", {
696
+ enumerable: true,
697
+ get: function () { return chunkRXK3XP62_cjs.LeaveFooter; }
698
+ });
699
+ Object.defineProperty(exports, "PageLoading", {
700
+ enumerable: true,
701
+ get: function () { return chunkRXK3XP62_cjs.PageLoading; }
702
+ });
703
+ Object.defineProperty(exports, "WorkspaceAudienceLine", {
704
+ enumerable: true,
705
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceAudienceLine; }
706
+ });
707
+ Object.defineProperty(exports, "WorkspaceIdentityPanel", {
708
+ enumerable: true,
709
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceIdentityPanel; }
710
+ });
711
+ Object.defineProperty(exports, "WorkspacePageFrame", {
712
+ enumerable: true,
713
+ get: function () { return chunkRXK3XP62_cjs.WorkspacePageFrame; }
714
+ });
715
+ Object.defineProperty(exports, "WorkspaceProjectSlot", {
716
+ enumerable: true,
717
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceProjectSlot; }
718
+ });
780
719
  Object.defineProperty(exports, "RoleBadge", {
781
720
  enumerable: true,
782
721
  get: function () { return chunk7G2LJMUG_cjs.RoleBadge; }
@@ -786,26 +725,18 @@ Object.defineProperty(exports, "WorkspaceTypeBadgeView", {
786
725
  get: function () { return chunk7G2LJMUG_cjs.WorkspaceTypeBadgeView; }
787
726
  });
788
727
  exports.DEFAULT_WORKSPACE_CARD_LABELS = DEFAULT_WORKSPACE_CARD_LABELS;
789
- exports.ExpandableSection = ExpandableSection;
790
728
  exports.FormActions = FormActions;
791
729
  exports.FormErrorBanner = FormErrorBanner;
792
- exports.ItalicNone = ItalicNone;
793
- exports.LeaveFooter = LeaveFooter;
794
730
  exports.ModalActionRow = ModalActionRow;
795
- exports.PageLoading = PageLoading;
796
731
  exports.ProjectActionButton = ProjectActionButton;
797
732
  exports.ProjectOptionRow = ProjectOptionRow;
798
733
  exports.ProjectPicker = ProjectPicker;
799
- exports.WorkspaceAudienceLine = WorkspaceAudienceLine;
800
734
  exports.WorkspaceCard = WorkspaceCard;
801
735
  exports.WorkspaceFieldsView = WorkspaceFieldsView;
802
736
  exports.WorkspaceFormModal = WorkspaceFormModal;
803
737
  exports.WorkspaceGallery = WorkspaceGallery;
804
738
  exports.WorkspaceGroup = WorkspaceGroup;
805
- exports.WorkspaceIdentityPanel = WorkspaceIdentityPanel;
806
739
  exports.WorkspaceList = WorkspaceList;
807
- exports.WorkspacePageFrame = WorkspacePageFrame;
808
- exports.WorkspaceProjectSlot = WorkspaceProjectSlot;
809
740
  exports.getHumanUserCount = getHumanUserCount;
810
741
  exports.getVariantBgClass = getVariantBgClass;
811
742
  exports.getVariantBorderClass = getVariantBorderClass;