@crewlethq/ui 0.170.0 → 0.171.0

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 (108) hide show
  1. package/README.md +7 -1
  2. package/dist/AgentHandoffPanel/index.js +9 -9
  3. package/dist/AppShell/index.js +5 -5
  4. package/dist/ArrangeGrid/ArrangeGrid.d.ts +8 -2
  5. package/dist/ArrangeGrid/index.js +2 -1
  6. package/dist/ArrangeGrid/usePackedGrid.d.ts +18 -0
  7. package/dist/ArrangeGrid-JOVQJHRU.css +31 -0
  8. package/dist/ArrangeGroup/ArrangeGroup.d.ts +3 -1
  9. package/dist/ArrangeGroup/index.js +2 -1
  10. package/dist/ArrangeList/index.js +2 -2
  11. package/dist/ArtifactBar/index.js +1 -1
  12. package/dist/ArtifactCard/index.js +2 -2
  13. package/dist/AuthLayout/index.js +1 -1
  14. package/dist/BriefCard/index.js +1 -1
  15. package/dist/ChatThread/index.js +3 -3
  16. package/dist/Combobox/index.js +2 -2
  17. package/dist/CommandPalette/index.js +5 -5
  18. package/dist/CommentThread/index.js +8 -8
  19. package/dist/Composer/index.js +5 -5
  20. package/dist/DataGrid/index.js +6 -6
  21. package/dist/DataTable/index.js +4 -4
  22. package/dist/DataView/index.js +6 -6
  23. package/dist/DatasetSource/index.js +1 -1
  24. package/dist/DeepWorkCard/index.js +1 -1
  25. package/dist/DocTabsEditor/index.js +6 -6
  26. package/dist/DockColumn/index.js +1 -1
  27. package/dist/DurationField/index.js +5 -5
  28. package/dist/EditingStatus/index.js +2 -2
  29. package/dist/EntityList/index.js +1 -1
  30. package/dist/InlineEditor/index.js +3 -3
  31. package/dist/KeyValueRows/index.js +3 -3
  32. package/dist/ListInput/index.js +6 -6
  33. package/dist/NumberField/index.js +3 -3
  34. package/dist/OpenInAppCard/index.js +1 -1
  35. package/dist/OrgTable/index.js +8 -8
  36. package/dist/PeekRail/index.js +3 -3
  37. package/dist/PrincipalPicker/index.js +3 -3
  38. package/dist/ProposalCard/index.js +8 -8
  39. package/dist/RailList/index.js +5 -5
  40. package/dist/RefusalCard/index.js +1 -1
  41. package/dist/ResultTableCard/index.js +1 -1
  42. package/dist/RichEditor/index.js +1 -1
  43. package/dist/SectionFrame/index.js +3 -3
  44. package/dist/Select/index.js +2 -2
  45. package/dist/SendKeys/index.js +2 -2
  46. package/dist/SettingForm/index.js +3 -3
  47. package/dist/SettingsTable/index.js +1 -1
  48. package/dist/SetupWizard/index.js +1 -1
  49. package/dist/ShareDialog/index.js +5 -5
  50. package/dist/SheetColumnEditor/index.js +7 -7
  51. package/dist/SidebarNav/index.js +2 -2
  52. package/dist/SlideFilmstrip/index.js +4 -4
  53. package/dist/StatusCard/index.js +1 -1
  54. package/dist/Switcher/index.js +5 -5
  55. package/dist/TableCells/index.js +1 -1
  56. package/dist/TimeRangePicker/index.js +4 -4
  57. package/dist/TimeWindowPicker/index.js +5 -5
  58. package/dist/ToolCallLog/index.js +4 -4
  59. package/dist/TreeCanvas/index.js +2 -2
  60. package/dist/TreeGrid/index.js +7 -7
  61. package/dist/ValueField/index.js +6 -6
  62. package/dist/{chunk-LJ34CMGR.js → chunk-4UDI7RRE.js} +1 -1
  63. package/dist/{chunk-AEFOONLV.js → chunk-54R5IINE.js} +3 -3
  64. package/dist/chunk-5U3CPSYD.js +185 -0
  65. package/dist/{chunk-UPHGEO37.js → chunk-ARIYL6YO.js} +2 -2
  66. package/dist/{chunk-QSTZXYTO.js → chunk-BFJPUEZP.js} +3 -3
  67. package/dist/{chunk-5F7OTYQ2.js → chunk-BLIHR27X.js} +1 -1
  68. package/dist/{chunk-7M3Q7KLW.js → chunk-COKMMM7K.js} +1 -1
  69. package/dist/chunk-CRXBR3LJ.js +22 -0
  70. package/dist/{chunk-AR6M6MVH.js → chunk-HK7R34BA.js} +1 -1
  71. package/dist/{chunk-HUM74TP7.js → chunk-HMVGIYAZ.js} +1 -1
  72. package/dist/{chunk-KBQT4N4M.js → chunk-KHY3RMVX.js} +1 -1
  73. package/dist/{chunk-N3WS3XDV.js → chunk-KZN36L7O.js} +9 -3
  74. package/dist/{chunk-MJ6UBW5G.js → chunk-LXA6DJ6E.js} +2 -2
  75. package/dist/{chunk-VT3HYYFS.js → chunk-NIIID2TS.js} +1 -1
  76. package/dist/{chunk-Z6SXPD36.js → chunk-OZNL3WOR.js} +1 -1
  77. package/dist/{chunk-4CWYA2JT.js → chunk-P5DKWJMS.js} +1 -1
  78. package/dist/{chunk-7DAKU2OY.js → chunk-ULZPOVTO.js} +1 -1
  79. package/dist/{chunk-HPJI7OTO.js → chunk-VKGXIXC5.js} +1 -1
  80. package/dist/{chunk-YVDPF5TX.js → chunk-WPFK5F4Q.js} +2 -2
  81. package/dist/{chunk-EVL624AD.js → chunk-YJVEU5OQ.js} +3 -3
  82. package/dist/{chunk-R6H7JKJO.js → chunk-ZQE2BHQA.js} +1 -1
  83. package/dist/generated/index.js +90 -89
  84. package/dist/index.js +90 -89
  85. package/dist/styles.css +17 -3
  86. package/package.json +3 -3
  87. package/dist/ArrangeGrid-XM4ZFTED.css +0 -17
  88. package/dist/chunk-QBA5B2Z5.js +0 -17
  89. package/dist/{Editor-2MLZ74FV.js → Editor-RDC4N2UZ.js} +2 -2
  90. package/dist/{chunk-ZOSUKKD7.js → chunk-2G6TDWIL.js} +1 -1
  91. package/dist/{chunk-2WJG2XR6.js → chunk-4MMH7LHV.js} +1 -1
  92. package/dist/{chunk-D5UVJL4I.js → chunk-657WR3MX.js} +1 -1
  93. package/dist/{chunk-U43EBQKB.js → chunk-BJXMDDIA.js} +1 -1
  94. package/dist/{chunk-37TZXS42.js → chunk-GNNJDQ5J.js} +1 -1
  95. package/dist/{chunk-G3MTRPCU.js → chunk-GVRBOOOA.js} +2 -2
  96. package/dist/{chunk-UZHVEQDO.js → chunk-IF6JQS5Z.js} +1 -1
  97. package/dist/{chunk-OM2MKGDO.js → chunk-IGOKQN7W.js} +1 -1
  98. package/dist/{chunk-6N53ZWRM.js → chunk-KRF3GQ63.js} +1 -1
  99. package/dist/{chunk-46SMLXUH.js → chunk-NRUKK6G5.js} +1 -1
  100. package/dist/{chunk-GSPTEY5A.js → chunk-QFGUP7RL.js} +1 -1
  101. package/dist/{chunk-5VBMMKTU.js → chunk-R2R7IKQ6.js} +1 -1
  102. package/dist/{chunk-OD7GIET6.js → chunk-TGAK4TEX.js} +1 -1
  103. package/dist/{chunk-ERMI5DYK.js → chunk-TIOFWBL5.js} +1 -1
  104. package/dist/{chunk-YUVQUJND.js → chunk-UZMXC5T6.js} +1 -1
  105. package/dist/{chunk-NQ5BJ3QS.js → chunk-VEIJ5IOK.js} +1 -1
  106. package/dist/{chunk-2XVCR52U.js → chunk-VHVN5OQ3.js} +1 -1
  107. package/dist/{chunk-KQ5LFNVA.js → chunk-YMNV6GHW.js} +2 -2
  108. package/dist/{chunk-SH4J3IWI.js → chunk-ZJGGXYFS.js} +1 -1
@@ -0,0 +1,185 @@
1
+ import { createContext, useRef, useLayoutEffect } from 'react';
2
+
3
+ // src/ArrangeGrid/usePackedGrid.ts
4
+ var ArrangePackContext = createContext(false);
5
+ var MAX_TRACKS = 9e3;
6
+ var LEVEL_GAPS = 3;
7
+ var LEVEL_PASSES = 4;
8
+ var laid = /* @__PURE__ */ new WeakMap();
9
+ var stretched = /* @__PURE__ */ new WeakSet();
10
+ function measure(el, scale) {
11
+ const style = getComputedStyle(el);
12
+ if (style.display === "none" || style.position === "absolute" || style.position === "fixed") return null;
13
+ const gap = parseFloat(style.marginBlockEnd) || 0;
14
+ return { outer: el.getBoundingClientRect().height / scale + (parseFloat(style.marginBlockStart) || 0) + gap, gap };
15
+ }
16
+ function placed(el, scale) {
17
+ const r = el.getBoundingClientRect();
18
+ const m = /^matrix(3d)?\((.+)\)$/.exec(getComputedStyle(el).transform);
19
+ const v = m ? m[2].split(",").map(parseFloat) : [];
20
+ const x = (m?.[1] ? v[12] : v[4]) ?? 0;
21
+ const y = (m?.[1] ? v[13] : v[5]) ?? 0;
22
+ return { top: r.top / scale - y, bottom: r.bottom / scale - y, left: r.left / scale - x, right: r.right / scale - x };
23
+ }
24
+ var stretches = (el) => el.classList.contains("crewlet-arrange-frame") && !el.classList.contains("is-fixed-height");
25
+ function writeSpans(items, spans) {
26
+ items.forEach((el, i) => {
27
+ const span = spans[i] ? `span ${spans[i]}` : "";
28
+ if (el.style.gridRowEnd !== span) el.style.gridRowEnd = span;
29
+ });
30
+ }
31
+ function level(items, sizes, spans, unit, scale) {
32
+ for (let pass = 0; pass < LEVEL_PASSES; pass++) {
33
+ const areas = items.map((el, i) => {
34
+ const size = sizes[i];
35
+ if (!size) return null;
36
+ const top = placed(el, scale).top;
37
+ return { top, bottom: top + spans[i] * unit, step: LEVEL_GAPS * size.gap };
38
+ });
39
+ let longer = false;
40
+ areas.forEach((a, i) => {
41
+ if (!a) return;
42
+ for (const b of areas) {
43
+ if (!b || b === a || b.top >= a.bottom || a.top >= b.bottom) continue;
44
+ const short = b.bottom - a.bottom;
45
+ if (short <= 0 || short >= a.step) continue;
46
+ const span = Math.round((b.bottom - a.top) / unit);
47
+ if (span > spans[i]) {
48
+ spans[i] = span;
49
+ longer = true;
50
+ }
51
+ }
52
+ });
53
+ if (!longer) return;
54
+ writeSpans(items, spans);
55
+ }
56
+ }
57
+ function lay(items, sizes, unit, spans, scale) {
58
+ sizes.forEach((s, i) => spans[i] = s ? Math.max(1, Math.round(s.outer / unit)) : 0);
59
+ writeSpans(items, spans);
60
+ level(items, sizes, spans, unit, scale);
61
+ const tops = items.map((el, i) => spans[i] ? placed(el, scale).top : Infinity);
62
+ const first = Math.min(...tops);
63
+ const ends = tops.map((t, i) => spans[i] ? Math.round((t - first) / unit) + spans[i] : 0);
64
+ const lines = Math.max(0, ...ends);
65
+ items.forEach((_, i) => {
66
+ if (spans[i] && ends[i] === lines) spans[i] = Math.max(1, spans[i] - Math.round(sizes[i].gap / unit));
67
+ });
68
+ writeSpans(items, spans);
69
+ return lines;
70
+ }
71
+ function unpack(grid) {
72
+ grid.removeAttribute("data-packed");
73
+ grid.style.removeProperty("grid-auto-rows");
74
+ laid.delete(grid);
75
+ for (const el of Array.from(grid.children)) {
76
+ el.style.removeProperty("grid-row-end");
77
+ if (stretched.delete(el)) el.style.removeProperty("min-height");
78
+ }
79
+ }
80
+ function packGrid(grid) {
81
+ if (typeof grid.checkVisibility === "function" && !grid.checkVisibility()) {
82
+ const was = grid.hasAttribute("data-packed");
83
+ unpack(grid);
84
+ return was;
85
+ }
86
+ const entering = !grid.hasAttribute("data-packed");
87
+ grid.setAttribute("data-packed", "");
88
+ const ratio = grid.offsetWidth > 0 ? grid.getBoundingClientRect().width / grid.offsetWidth : 1;
89
+ const scale = !ratio || Math.abs(ratio - 1) < 0.01 ? 1 : ratio;
90
+ const items = Array.from(grid.children).filter((el) => el instanceof HTMLElement);
91
+ const before = items.map((el) => `${el.style.gridRowEnd}|${el.style.minHeight}`);
92
+ for (const el of items) if (stretched.delete(el)) el.style.removeProperty("min-height");
93
+ const sizes = items.map((el) => measure(el, scale));
94
+ const columns = items.map((el) => {
95
+ const s = getComputedStyle(el);
96
+ return `${s.gridColumnStart}/${s.gridColumnEnd}`;
97
+ });
98
+ const tracks = getComputedStyle(grid).gridTemplateColumns.split(" ").length;
99
+ const key = JSON.stringify([tracks, sizes.map((s) => s ? Math.round(s.outer * 100) : -1), columns]);
100
+ const last = laid.get(grid);
101
+ let spans;
102
+ if (last && last.key === key && grid.style.gridAutoRows === `${last.unit}px`) {
103
+ spans = last.spans;
104
+ writeSpans(items, spans);
105
+ } else {
106
+ let unit = 1;
107
+ spans = [];
108
+ grid.style.gridAutoRows = `${unit}px`;
109
+ for (let lines = lay(items, sizes, unit, spans, scale), tries = 0; lines > MAX_TRACKS && tries < 4; tries++) {
110
+ unit = Math.ceil(lines * unit / MAX_TRACKS);
111
+ grid.style.gridAutoRows = `${unit}px`;
112
+ lines = lay(items, sizes, unit, spans, scale);
113
+ }
114
+ laid.set(grid, { key, unit, spans: spans.slice() });
115
+ }
116
+ const boxes = items.map((el, i) => sizes[i] ? placed(el, scale) : null);
117
+ const foot = Math.max(...boxes.map((b) => b?.bottom ?? -Infinity));
118
+ items.forEach((el, i) => {
119
+ const box = boxes[i];
120
+ if (!box || !stretches(el)) return;
121
+ let floor = foot;
122
+ for (const other of boxes) {
123
+ if (!other || other === box || other.top < box.bottom - 0.5) continue;
124
+ if (other.left < box.right - 1 && other.right > box.left + 1) floor = Math.min(floor, other.top - sizes[i].gap);
125
+ }
126
+ if (floor - box.bottom < 1) return;
127
+ el.style.minHeight = `${floor - box.top}px`;
128
+ stretched.add(el);
129
+ });
130
+ return entering || items.some((el, i) => `${el.style.gridRowEnd}|${el.style.minHeight}` !== before[i]);
131
+ }
132
+ function usePackedGrid(ref, on) {
133
+ const pass = useRef(null);
134
+ useLayoutEffect(() => {
135
+ const grid = ref.current;
136
+ if (!on || !grid || typeof MutationObserver === "undefined") return;
137
+ const watched = /* @__PURE__ */ new Set();
138
+ let frame = 0;
139
+ let sizes = null;
140
+ let mutations = null;
141
+ const run = () => {
142
+ packGrid(grid);
143
+ mutations?.takeRecords();
144
+ if (!sizes) return;
145
+ const children = new Set(Array.from(grid.children));
146
+ for (const el of watched) {
147
+ if (children.has(el)) continue;
148
+ sizes.unobserve(el);
149
+ watched.delete(el);
150
+ }
151
+ for (const el of children) {
152
+ if (watched.has(el)) continue;
153
+ sizes.observe(el);
154
+ watched.add(el);
155
+ }
156
+ };
157
+ const next = () => {
158
+ if (frame !== 0 || typeof requestAnimationFrame === "undefined") return;
159
+ frame = requestAnimationFrame(() => {
160
+ frame = 0;
161
+ run();
162
+ });
163
+ };
164
+ if (typeof ResizeObserver !== "undefined") {
165
+ sizes = new ResizeObserver(next);
166
+ sizes.observe(grid);
167
+ }
168
+ mutations = new MutationObserver(run);
169
+ pass.current = run;
170
+ run();
171
+ mutations.observe(grid, { childList: true, subtree: true, characterData: true, attributes: true });
172
+ window.addEventListener("resize", run);
173
+ return () => {
174
+ pass.current = null;
175
+ mutations?.disconnect();
176
+ sizes?.disconnect();
177
+ if (frame !== 0 && typeof cancelAnimationFrame !== "undefined") cancelAnimationFrame(frame);
178
+ window.removeEventListener("resize", run);
179
+ unpack(grid);
180
+ };
181
+ }, [ref, on]);
182
+ useLayoutEffect(() => pass.current?.());
183
+ }
184
+
185
+ export { ArrangePackContext, usePackedGrid };
@@ -1,5 +1,5 @@
1
- import { SidebarNav, NavItem } from './chunk-5VBMMKTU.js';
2
- import { Select } from './chunk-D5UVJL4I.js';
1
+ import { SidebarNav, NavItem } from './chunk-R2R7IKQ6.js';
2
+ import { Select } from './chunk-657WR3MX.js';
3
3
  import { Card } from './chunk-354NVZ6M.js';
4
4
  import { Text } from './chunk-475DOAWF.js';
5
5
  import './RailList-PXWNLVOJ.css';
@@ -1,12 +1,12 @@
1
- import { Select } from './chunk-D5UVJL4I.js';
1
+ import { Select } from './chunk-657WR3MX.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
3
  import { HueSwatch } from './chunk-PETPFNNE.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
- import { Menu } from './chunk-EUET4PNC.js';
6
5
  import { Checkbox } from './chunk-TGENJXOJ.js';
6
+ import { Menu } from './chunk-EUET4PNC.js';
7
+ import { FormField, Input } from './chunk-XB3ITOJB.js';
7
8
  import { Kbd } from './chunk-VBBLHS2Y.js';
8
9
  import { Button } from './chunk-34K3XN47.js';
9
- import { FormField, Input } from './chunk-XB3ITOJB.js';
10
10
  import { IconButton } from './chunk-XHTQ4X4P.js';
11
11
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
12
12
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,7 +1,7 @@
1
1
  import { Document } from './chunk-I4PBFJGX.js';
2
2
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
4
- import { Composer } from './chunk-7DAKU2OY.js';
4
+ import { Composer } from './chunk-ULZPOVTO.js';
5
5
  import { Button } from './chunk-34K3XN47.js';
6
6
  import { IconButton } from './chunk-XHTQ4X4P.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
@@ -1,4 +1,4 @@
1
- import { EditingStatus } from './chunk-6N53ZWRM.js';
1
+ import { EditingStatus } from './chunk-KRF3GQ63.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
3
  import { Button } from './chunk-34K3XN47.js';
4
4
  import { isComposing } from './chunk-EDPMHSLZ.js';
@@ -0,0 +1,22 @@
1
+ import { usePackedGrid, ArrangePackContext } from './chunk-5U3CPSYD.js';
2
+ import { cx } from './chunk-ODEQTPFM.js';
3
+ import './ArrangeGrid-JOVQJHRU.css';
4
+ import { useRef } from 'react';
5
+ import { jsx } from 'react/jsx-runtime';
6
+
7
+ function ArrangeGrid({ columns = 12, pack = false, className, style, children, ...rest }) {
8
+ const grid = useRef(null);
9
+ usePackedGrid(grid, pack);
10
+ return /* @__PURE__ */ jsx(ArrangePackContext.Provider, { value: pack, children: /* @__PURE__ */ jsx(
11
+ "div",
12
+ {
13
+ ref: grid,
14
+ className: cx("crewlet-arrange-grid", className),
15
+ style: { ...style, "--crewlet-arrange-columns": columns },
16
+ ...rest,
17
+ children
18
+ }
19
+ ) });
20
+ }
21
+
22
+ export { ArrangeGrid };
@@ -1,6 +1,6 @@
1
1
  import { Timeline } from './chunk-XDUXAQIS.js';
2
2
  import { Section } from './chunk-WFCWPXJN.js';
3
- import { Composer } from './chunk-7DAKU2OY.js';
3
+ import { Composer } from './chunk-ULZPOVTO.js';
4
4
  import { Disclosure } from './chunk-D5O64CVE.js';
5
5
  import { ArtifactPanel } from './chunk-W4EWRZU4.js';
6
6
  import { Button } from './chunk-34K3XN47.js';
@@ -1,4 +1,4 @@
1
- import { ValueField } from './chunk-AEFOONLV.js';
1
+ import { ValueField } from './chunk-54R5IINE.js';
2
2
  import { RefusalStrip, ReceiptStrip } from './chunk-3XXFU4XP.js';
3
3
  import { ChangeList } from './chunk-5D7RMXM2.js';
4
4
  import { StatusCard } from './chunk-PGLERBQT.js';
@@ -1,4 +1,4 @@
1
- import { TreeGrid } from './chunk-LJ34CMGR.js';
1
+ import { TreeGrid } from './chunk-4UDI7RRE.js';
2
2
  import { OrgLabel } from './chunk-NIM7LEEI.js';
3
3
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
4
4
  import { AddPill } from './chunk-5CCM3DDA.js';
@@ -1,7 +1,8 @@
1
+ import { ArrangePackContext, usePackedGrid } from './chunk-5U3CPSYD.js';
1
2
  import { Count } from './chunk-Y5CMDLQM.js';
2
3
  import { cx } from './chunk-ODEQTPFM.js';
3
4
  import './ArrangeGroup-KRWWOJKR.css';
4
- import { useId } from 'react';
5
+ import { useId, useRef, useContext } from 'react';
5
6
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
6
7
  import { jsxs, jsx } from 'react/jsx-runtime';
7
8
 
@@ -17,13 +18,17 @@ function ArrangeGroup({
17
18
  bodyProps,
18
19
  empty,
19
20
  columns = 12,
21
+ pack,
20
22
  actions,
21
23
  className,
22
24
  children,
23
25
  ...rest
24
26
  }) {
25
27
  const bodyId = `${useId()}-body`;
26
- const { className: bodyClass, style: bodyStyle, ...body } = bodyProps ?? {};
28
+ const body = useRef(null);
29
+ const inherited = useContext(ArrangePackContext);
30
+ usePackedGrid(body, pack ?? inherited);
31
+ const { className: bodyClass, style: bodyStyle, ...bodyRest } = bodyProps ?? {};
27
32
  const hasChildren = Array.isArray(children) ? children.some(Boolean) : Boolean(children);
28
33
  return /* @__PURE__ */ jsxs(
29
34
  "section",
@@ -72,11 +77,12 @@ function ArrangeGroup({
72
77
  /* @__PURE__ */ jsx(
73
78
  "div",
74
79
  {
80
+ ref: body,
75
81
  id: bodyId,
76
82
  className: cx("crewlet-arrange-grid", "crewlet-arrange-group__body", bodyClass),
77
83
  style: { ...bodyStyle, ["--crewlet-arrange-columns"]: columns },
78
84
  hidden: collapsed,
79
- ...body,
85
+ ...bodyRest,
80
86
  children: hasChildren ? children : empty ? /* @__PURE__ */ jsx("div", { className: "crewlet-arrange-group__empty", children: empty }) : null
81
87
  }
82
88
  )
@@ -1,8 +1,8 @@
1
- import { Select } from './chunk-D5UVJL4I.js';
1
+ import { Select } from './chunk-657WR3MX.js';
2
2
  import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
3
3
  import { Popover } from './chunk-AJFA2XDQ.js';
4
- import { Button } from './chunk-34K3XN47.js';
5
4
  import { Input } from './chunk-XB3ITOJB.js';
5
+ import { Button } from './chunk-34K3XN47.js';
6
6
  import { IconButton } from './chunk-XHTQ4X4P.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
8
  import { useFocusModality } from './chunk-4ITETIGZ.js';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-SH4J3IWI.js';
1
+ import { Combobox } from './chunk-ZJGGXYFS.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-P6UYHDJR.css';
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
9
9
  var engine = null;
10
10
  var loading = null;
11
11
  function loadEngine() {
12
- loading ??= import('./Editor-2MLZ74FV.js').then(
12
+ loading ??= import('./Editor-RDC4N2UZ.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -1,4 +1,4 @@
1
- import { SidebarNav } from './chunk-5VBMMKTU.js';
1
+ import { SidebarNav } from './chunk-R2R7IKQ6.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SectionFrame-M62UUVFQ.css';
@@ -1,4 +1,4 @@
1
- import { useSendOnEnter, SendKeysHint } from './chunk-YUVQUJND.js';
1
+ import { useSendOnEnter, SendKeysHint } from './chunk-UZMXC5T6.js';
2
2
  import { Textarea } from './chunk-XB3ITOJB.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { Select } from './chunk-D5UVJL4I.js';
1
+ import { Select } from './chunk-657WR3MX.js';
2
2
  import { typedNumber, NumberField } from './chunk-VL5MV6JO.js';
3
3
  import { PresetChips } from './chunk-NQG5H34R.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,10 +1,10 @@
1
- import { Select } from './chunk-D5UVJL4I.js';
1
+ import { Select } from './chunk-657WR3MX.js';
2
2
  import { Modal } from './chunk-HHV5WHTT.js';
3
3
  import { CopyButton } from './chunk-HUIAYSOC.js';
4
4
  import { Callout } from './chunk-I4NRQIRF.js';
5
5
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
6
- import { Button } from './chunk-34K3XN47.js';
7
6
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
+ import { Button } from './chunk-34K3XN47.js';
8
8
  import { IconButton } from './chunk-XHTQ4X4P.js';
9
9
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,15 +1,15 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
2
  import { FilterPill } from './chunk-UL7X5F5W.js';
3
- import { DataTable } from './chunk-GSPTEY5A.js';
3
+ import { DataTable } from './chunk-QFGUP7RL.js';
4
4
  import { DateTimePicker } from './chunk-5TQRAZQG.js';
5
5
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
6
6
  import { Toolbar } from './chunk-NPEI2QAN.js';
7
7
  import { Popover } from './chunk-AJFA2XDQ.js';
8
- import { Menu } from './chunk-EUET4PNC.js';
9
8
  import { RelativeTime } from './chunk-GBKBME7Q.js';
9
+ import { Menu } from './chunk-EUET4PNC.js';
10
+ import { Input } from './chunk-XB3ITOJB.js';
10
11
  import { Kbd } from './chunk-VBBLHS2Y.js';
11
12
  import { Button } from './chunk-34K3XN47.js';
12
- import { Input } from './chunk-XB3ITOJB.js';
13
13
  import { IconButton } from './chunk-XHTQ4X4P.js';
14
14
  import { Count } from './chunk-Y5CMDLQM.js';
15
15
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
1
  import { CopyButton } from './chunk-HUIAYSOC.js';
2
- import { ChatThread } from './chunk-37TZXS42.js';
2
+ import { ChatThread } from './chunk-GNNJDQ5J.js';
3
3
  import { Spinner } from './chunk-XSPCITPN.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';