@crewlethq/ui 0.150.1 → 0.152.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 (172) hide show
  1. package/README.md +8 -0
  2. package/dist/AgentHandoffPanel/index.js +11 -11
  3. package/dist/ArrangeFrame/index.js +2 -2
  4. package/dist/ArrangeList/index.js +6 -6
  5. package/dist/ArtifactBar/index.js +4 -4
  6. package/dist/ArtifactCard/index.js +6 -6
  7. package/dist/ArtifactPanel/index.js +3 -3
  8. package/dist/AttentionList/index.js +5 -4
  9. package/dist/AuthLayout/index.js +1 -1
  10. package/dist/AvatarPicker/index.js +6 -6
  11. package/dist/BriefCard/index.js +3 -3
  12. package/dist/Callout/Callout.d.ts +16 -2
  13. package/dist/Callout/index.js +1 -1
  14. package/dist/{Callout-WLZKAFPT.css → Callout-JGEIJSDG.css} +60 -0
  15. package/dist/CheckGrid/index.js +5 -5
  16. package/dist/Checkbox/index.js +4 -4
  17. package/dist/ChipField/index.js +2 -2
  18. package/dist/ColorField/index.js +4 -4
  19. package/dist/Combobox/Combobox.d.ts +2 -0
  20. package/dist/Combobox/index.js +4 -4
  21. package/dist/{Combobox-F5VEJIAO.css → Combobox-GHT43K32.css} +7 -0
  22. package/dist/CommandPalette/index.js +6 -6
  23. package/dist/CommentThread/index.js +7 -7
  24. package/dist/Composer/index.js +4 -4
  25. package/dist/ConfirmField/index.js +4 -4
  26. package/dist/DataGrid/index.js +6 -6
  27. package/dist/DataTable/index.js +7 -7
  28. package/dist/DataView/index.js +10 -10
  29. package/dist/DatasetSource/index.js +1 -1
  30. package/dist/DeepWorkCard/index.js +4 -4
  31. package/dist/DocTabsEditor/index.js +6 -6
  32. package/dist/DurationField/index.js +10 -10
  33. package/dist/EditingStatus/index.js +2 -2
  34. package/dist/{Editor-XAJF2WQ3.js → Editor-FXREHINI.js} +4 -4
  35. package/dist/EmojiPicker/index.js +4 -4
  36. package/dist/EntityList/index.js +1 -1
  37. package/dist/FilterPill/FilterPill.d.ts +6 -1
  38. package/dist/FilterPill/index.js +1 -1
  39. package/dist/{FilterPill-4GMNFZND.css → FilterPill-C6LFYCCA.css} +7 -0
  40. package/dist/FollowBanner/index.js +2 -2
  41. package/dist/HuePicker/index.js +4 -4
  42. package/dist/InboxList/index.js +2 -2
  43. package/dist/InlineEditor/index.js +3 -3
  44. package/dist/Input/index.js +3 -3
  45. package/dist/KeyValueRows/index.js +4 -4
  46. package/dist/LinkInterstitial/index.js +4 -4
  47. package/dist/ListInput/index.js +5 -5
  48. package/dist/MarkdownEditor/index.js +4 -4
  49. package/dist/MemberPicker/index.js +5 -5
  50. package/dist/MergeConflicts/index.js +4 -4
  51. package/dist/MessageActions/index.js +5 -5
  52. package/dist/Modal/index.js +2 -2
  53. package/dist/NoticeList/NoticeList.d.ts +8 -1
  54. package/dist/NoticeList/groupNotices.d.ts +1 -1
  55. package/dist/NoticeList/index.d.ts +1 -0
  56. package/dist/NoticeList/index.js +5 -2
  57. package/dist/{NoticeList-LD5APCDU.css → NoticeList-GHCJRR3Z.css} +93 -0
  58. package/dist/NumberField/index.js +9 -9
  59. package/dist/OpenInAppCard/index.js +4 -4
  60. package/dist/OrgTable/index.js +8 -8
  61. package/dist/PeopleRail/index.js +2 -2
  62. package/dist/PresetChips/index.js +4 -4
  63. package/dist/PrincipalPicker/index.js +5 -5
  64. package/dist/ProposalCard/index.js +9 -9
  65. package/dist/RailList/index.js +2 -2
  66. package/dist/ReactionBar/index.js +5 -5
  67. package/dist/ReadingPane/index.js +2 -2
  68. package/dist/RefusalCard/index.js +1 -1
  69. package/dist/Reorder/index.js +2 -2
  70. package/dist/ResultTableCard/index.js +3 -3
  71. package/dist/RichEditor/index.js +2 -2
  72. package/dist/RunChip/index.js +1 -1
  73. package/dist/SandboxedFrame/index.js +2 -2
  74. package/dist/SegmentedControl/index.js +3 -3
  75. package/dist/SelectionBar/index.js +2 -2
  76. package/dist/SettingForm/index.js +4 -4
  77. package/dist/SettingsTable/index.js +1 -1
  78. package/dist/SetupWizard/index.js +4 -4
  79. package/dist/ShareDialog/index.js +4 -4
  80. package/dist/SheetColumnEditor/index.js +10 -10
  81. package/dist/SheetGrid/index.js +3 -3
  82. package/dist/SidePanel/index.js +2 -2
  83. package/dist/SlideFilmstrip/index.js +3 -3
  84. package/dist/StatusCard/index.js +1 -1
  85. package/dist/Switcher/index.js +5 -5
  86. package/dist/TableCells/index.js +1 -1
  87. package/dist/Tabs/index.js +2 -2
  88. package/dist/TagsInput/index.js +2 -2
  89. package/dist/ThemeSwitcher/index.js +4 -4
  90. package/dist/TimeRangePicker/index.js +10 -10
  91. package/dist/TimeWindowPicker/index.js +4 -4
  92. package/dist/TreeGrid/index.js +7 -7
  93. package/dist/ValueField/ValueField.d.ts +2 -0
  94. package/dist/ValueField/index.js +5 -5
  95. package/dist/VersionCompare/index.js +6 -6
  96. package/dist/{chunk-ABWPMBMX.js → chunk-27NS67UI.js} +1 -1
  97. package/dist/{chunk-FWXAPOMM.js → chunk-27ZF7D3C.js} +1 -1
  98. package/dist/{chunk-VZWRSV4M.js → chunk-3Q5USPLM.js} +1 -1
  99. package/dist/{chunk-VI2ZUOP7.js → chunk-5DLBGF6I.js} +2 -2
  100. package/dist/{chunk-UR3UUHPC.js → chunk-5VTJOVK7.js} +2 -2
  101. package/dist/{chunk-OESG3U7F.js → chunk-6BGD32C5.js} +3 -3
  102. package/dist/{chunk-C7BK32JK.js → chunk-6QWSGM4W.js} +1 -1
  103. package/dist/{chunk-GVD7GVPM.js → chunk-7CVV3DQC.js} +1 -1
  104. package/dist/{chunk-ROE6HKEI.js → chunk-7FWYJCKT.js} +3 -2
  105. package/dist/{chunk-BCOTJM4W.js → chunk-7FY7L6WD.js} +3 -3
  106. package/dist/{chunk-SG3XSUJ5.js → chunk-7XE5TC7X.js} +2 -2
  107. package/dist/{chunk-MALV624H.js → chunk-BRMJPZC4.js} +1 -1
  108. package/dist/{chunk-WTWYN7Z5.js → chunk-CA62YCFK.js} +1 -1
  109. package/dist/{chunk-2QPELDAA.js → chunk-CHUFHUQE.js} +1 -1
  110. package/dist/{chunk-2LTJUWCR.js → chunk-CJAPAIJG.js} +9 -4
  111. package/dist/chunk-CWACQEPP.js +118 -0
  112. package/dist/{chunk-Q5OB4LBX.js → chunk-DDGHRDGV.js} +2 -2
  113. package/dist/{chunk-OIX7B57V.js → chunk-DWXTJWCJ.js} +4 -4
  114. package/dist/chunk-E2XGQAHV.js +184 -0
  115. package/dist/{chunk-VZOGZZCA.js → chunk-E3JUS3CR.js} +1 -1
  116. package/dist/{chunk-SM7NURKY.js → chunk-EDQHZOU3.js} +2 -2
  117. package/dist/{chunk-YLDZ3TXH.js → chunk-F6OYNO7O.js} +1 -1
  118. package/dist/{chunk-SZH7MLBY.js → chunk-FMKQSDBQ.js} +1 -1
  119. package/dist/{chunk-BC4OVFBQ.js → chunk-GFNCMSYS.js} +2 -2
  120. package/dist/{chunk-ANXCMHTP.js → chunk-GMXOZEF5.js} +2 -2
  121. package/dist/{chunk-TBOVJ7RL.js → chunk-GQQMN6O3.js} +3 -1
  122. package/dist/{chunk-3ZSKFZP3.js → chunk-HIDOUXLD.js} +1 -1
  123. package/dist/{chunk-HJ6ZY4UX.js → chunk-HXAPC3AJ.js} +1 -1
  124. package/dist/{chunk-B4QF35QY.js → chunk-ITZAWYRG.js} +1 -1
  125. package/dist/{chunk-NCQBZ7FU.js → chunk-M4VA76JF.js} +3 -3
  126. package/dist/{chunk-LMWDWGPE.js → chunk-MUBJN75T.js} +1 -1
  127. package/dist/{chunk-7NEHBDNS.js → chunk-N3LAAA4R.js} +2 -2
  128. package/dist/{chunk-JGJSCWZY.js → chunk-N3R2POGO.js} +2 -2
  129. package/dist/{chunk-TYZSARP5.js → chunk-NG6GEBSJ.js} +1 -1
  130. package/dist/{chunk-YQHSUUMN.js → chunk-O2J5PSWI.js} +3 -3
  131. package/dist/{chunk-T2457TRX.js → chunk-ODN3LSYW.js} +1 -1
  132. package/dist/{chunk-6DL4HM7T.js → chunk-OMVGWZ3V.js} +1 -1
  133. package/dist/{chunk-7TITGQ3A.js → chunk-OX332RI7.js} +2 -2
  134. package/dist/{chunk-CFSPFFHJ.js → chunk-PW6QXVIX.js} +3 -3
  135. package/dist/{chunk-PQDMYIEJ.js → chunk-Q3SHCEXN.js} +2 -2
  136. package/dist/{chunk-CUU24MKQ.js → chunk-QRUQOITJ.js} +1 -1
  137. package/dist/{chunk-PN6VKDRF.js → chunk-RNVPYDRQ.js} +1 -1
  138. package/dist/{chunk-MWAQEHAF.js → chunk-RUKSDKG5.js} +2 -2
  139. package/dist/{chunk-S7TZH45K.js → chunk-S4ADDFRT.js} +2 -2
  140. package/dist/{chunk-KCFF2MBD.js → chunk-U3ZUZ7VU.js} +4 -4
  141. package/dist/{chunk-2IOI52YU.js → chunk-V67VL3WD.js} +1 -1
  142. package/dist/{chunk-ZEKRJMX5.js → chunk-VXTRPLNB.js} +4 -4
  143. package/dist/{chunk-6VSR7TW7.js → chunk-WAF36OFS.js} +2 -2
  144. package/dist/{chunk-5K7D64VG.js → chunk-X5ZUDJNK.js} +1 -1
  145. package/dist/{chunk-QS5M3A4I.js → chunk-YAUAMQOP.js} +3 -2
  146. package/dist/{chunk-K7C4BIX6.js → chunk-YMBXTGFC.js} +1 -1
  147. package/dist/{chunk-PMS3TIU2.js → chunk-YRNIPS4M.js} +2 -2
  148. package/dist/{chunk-UH6B2HTX.js → chunk-YWPUT6JQ.js} +1 -1
  149. package/dist/{chunk-SIM6FR5B.js → chunk-ZAQ7CEYN.js} +1 -1
  150. package/dist/{chunk-KY6W76V3.js → chunk-ZNEMXLTY.js} +1 -1
  151. package/dist/generated/index.js +119 -119
  152. package/dist/index.js +119 -119
  153. package/dist/styles.css +171 -4
  154. package/dist/utils/index.js +1 -1
  155. package/package.json +3 -3
  156. package/dist/chunk-7J2RIAZ4.js +0 -91
  157. package/dist/chunk-UEO3A76N.js +0 -62
  158. package/dist/{chunk-R76HBPY5.js → chunk-2DZV4PHK.js} +1 -1
  159. package/dist/{chunk-DZPT7P2I.js → chunk-3EL3IF3W.js} +1 -1
  160. package/dist/{chunk-DHYJNBWC.js → chunk-3OZPHFDT.js} +1 -1
  161. package/dist/{chunk-HKRNKAHN.js → chunk-7C6NHVMX.js} +1 -1
  162. package/dist/{chunk-73XXYQC7.js → chunk-7PK2Z5JY.js} +1 -1
  163. package/dist/{chunk-PWRYYOQ4.js → chunk-DGB7R42F.js} +1 -1
  164. package/dist/{chunk-NIOE6ZAL.js → chunk-JMBPMSNI.js} +1 -1
  165. package/dist/{chunk-6N53ZWRM.js → chunk-KRF3GQ63.js} +1 -1
  166. package/dist/{chunk-6VWBIHSJ.js → chunk-UMEK5DHS.js} +1 -1
  167. package/dist/{chunk-V3RQYIZO.js → chunk-XJU53WMW.js} +1 -1
  168. package/dist/{chunk-GTAAOGDQ.js → chunk-XQMRSL7Z.js} +2 -2
  169. package/dist/{chunk-LXPA2SRT.js → chunk-XZ47PWVD.js} +1 -1
  170. package/dist/{chunk-H5CN7YWD.js → chunk-YUW4DD2Z.js} +1 -1
  171. package/dist/{chunk-EDUK7DD5.js → chunk-Z7BA2EVV.js} +1 -1
  172. package/dist/{chunk-RJDRNXDB.js → chunk-ZC73GPA3.js} +1 -1
@@ -0,0 +1,184 @@
1
+ import { Button } from './chunk-IMF3CPTY.js';
2
+ import { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
3
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
+ import { cx } from './chunk-ODEQTPFM.js';
5
+ import { useState, useId } from 'react';
6
+ import { CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
7
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
8
+
9
+ function NoticeLineView({
10
+ line,
11
+ shown,
12
+ andMore,
13
+ className
14
+ }) {
15
+ const [open, setOpen] = useState(false);
16
+ const folds = line.items.length > shown + 1 && !open;
17
+ const items = folds ? line.items.slice(0, shown) : line.items;
18
+ return /* @__PURE__ */ jsxs("p", { className: cx("crewlet-notice-list__line", className), children: [
19
+ line.subject != null ? /* @__PURE__ */ jsxs(Fragment, { children: [
20
+ /* @__PURE__ */ jsx("strong", { className: "crewlet-notice-list__subject", children: line.subject }),
21
+ ": "
22
+ ] }) : null,
23
+ items.map((item, i) => /* @__PURE__ */ jsxs("span", { children: [
24
+ i > 0 ? ", " : null,
25
+ item
26
+ ] }, i)),
27
+ folds ? /* @__PURE__ */ jsxs(Fragment, { children: [
28
+ " ",
29
+ /* @__PURE__ */ jsx("button", { type: "button", className: "crewlet-notice-list__and-more", onClick: () => setOpen(true), children: andMore(line.items.length - shown) })
30
+ ] }) : null
31
+ ] });
32
+ }
33
+ var NOTICE_LIST_LABELS = {
34
+ more: (hidden) => `Show ${hidden} more`,
35
+ less: "Show fewer",
36
+ andMore: (hidden) => `and ${hidden} more`,
37
+ tones: { danger: "Problem", warning: "Warning", info: "Note", success: "Done", neutral: "Note" }
38
+ };
39
+ var GLYPHS = {
40
+ neutral: /* @__PURE__ */ jsx(InfoGlyph, { size: "sm" }),
41
+ info: /* @__PURE__ */ jsx(InfoGlyph, { size: "sm" }),
42
+ success: /* @__PURE__ */ jsx(CircleCheckGlyph, { size: "sm" }),
43
+ warning: /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "sm" }),
44
+ danger: /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" })
45
+ };
46
+ function NoticeList({
47
+ notices,
48
+ compact = false,
49
+ collapseAfter = compact ? 5 : 3,
50
+ itemsShown = 4,
51
+ label,
52
+ labels: overrides,
53
+ className
54
+ }) {
55
+ const words = { ...NOTICE_LIST_LABELS, ...overrides, tones: { ...NOTICE_LIST_LABELS.tones, ...overrides?.tones } };
56
+ const [expanded, setExpanded] = useState(false);
57
+ const [openKey, setOpenKey] = useState(null);
58
+ const rid = useId();
59
+ if (notices.length === 0) return null;
60
+ const mixed = new Set(notices.map((n) => n.tone ?? "neutral")).size > 1;
61
+ const folds = notices.length > collapseAfter + 1;
62
+ const shown = folds && !expanded ? notices.slice(0, collapseAfter) : notices;
63
+ return /* @__PURE__ */ jsxs(
64
+ "div",
65
+ {
66
+ className: cx(
67
+ "crewlet-notice-list",
68
+ mixed && "crewlet-notice-list--mixed",
69
+ compact && "crewlet-notice-list--compact",
70
+ className
71
+ ),
72
+ children: [
73
+ /* @__PURE__ */ jsx("ul", { className: "crewlet-notice-list__items", "aria-label": label, children: shown.map(
74
+ (notice, index) => compact ? /* @__PURE__ */ jsx(
75
+ CompactNotice,
76
+ {
77
+ notice,
78
+ id: `${rid}-${index}`,
79
+ open: openKey === notice.key,
80
+ onToggle: () => setOpenKey((k) => k === notice.key ? null : notice.key),
81
+ mixed,
82
+ itemsShown,
83
+ words
84
+ },
85
+ notice.key
86
+ ) : /* @__PURE__ */ jsx(FullNotice, { notice, mixed, itemsShown, words }, notice.key)
87
+ ) }),
88
+ folds ? /* @__PURE__ */ jsx(
89
+ Button,
90
+ {
91
+ variant: "ghost",
92
+ size: "small",
93
+ flush: true,
94
+ className: "crewlet-notice-list__more",
95
+ "aria-expanded": expanded,
96
+ onClick: () => setExpanded((e) => !e),
97
+ children: expanded ? words.less : words.more(notices.length - collapseAfter)
98
+ }
99
+ ) : null
100
+ ]
101
+ }
102
+ );
103
+ }
104
+ function FullNotice({
105
+ notice,
106
+ mixed,
107
+ itemsShown,
108
+ words
109
+ }) {
110
+ const tone = notice.tone ?? "neutral";
111
+ return /* @__PURE__ */ jsxs("li", { className: "crewlet-notice-list__item", children: [
112
+ mixed ? /* @__PURE__ */ jsx("span", { className: cx("crewlet-notice-list__glyph", `is-${tone}`), "aria-hidden": true, children: GLYPHS[tone] }) : null,
113
+ /* @__PURE__ */ jsxs("div", { className: "crewlet-notice-list__text", children: [
114
+ /* @__PURE__ */ jsxs("p", { className: "crewlet-notice-list__title", children: [
115
+ mixed ? /* @__PURE__ */ jsx(VisuallyHidden, { children: `${words.tones[tone]}: ` }) : null,
116
+ notice.subject != null ? /* @__PURE__ */ jsxs(Fragment, { children: [
117
+ /* @__PURE__ */ jsx("strong", { className: "crewlet-notice-list__subject", children: notice.subject }),
118
+ ": "
119
+ ] }) : null,
120
+ notice.title
121
+ ] }),
122
+ notice.lines?.map((line, i) => /* @__PURE__ */ jsx(NoticeLineView, { line, shown: itemsShown, andMore: words.andMore }, i)),
123
+ notice.detail != null ? /* @__PURE__ */ jsx("p", { className: "crewlet-notice-list__detail", children: notice.detail }) : null
124
+ ] }),
125
+ notice.action != null ? /* @__PURE__ */ jsx("div", { className: "crewlet-notice-list__action", children: notice.action }) : null
126
+ ] });
127
+ }
128
+ function CompactNotice({
129
+ notice,
130
+ id,
131
+ open,
132
+ onToggle,
133
+ mixed,
134
+ itemsShown,
135
+ words
136
+ }) {
137
+ const tone = notice.tone ?? "neutral";
138
+ const summary = summaryOf(notice, words.andMore);
139
+ const opens = (notice.lines?.length ?? 0) > 0 || notice.detail != null;
140
+ return /* @__PURE__ */ jsxs("li", { className: "crewlet-notice-list__item", children: [
141
+ /* @__PURE__ */ jsx(
142
+ DisclosureAnatomy,
143
+ {
144
+ open,
145
+ onToggle,
146
+ title: /* @__PURE__ */ jsxs(Fragment, { children: [
147
+ mixed ? /* @__PURE__ */ jsx(VisuallyHidden, { children: `${words.tones[tone]}: ` }) : null,
148
+ /* @__PURE__ */ jsx("span", { className: "crewlet-notice-list__title", children: notice.title }),
149
+ summary != null ? /* @__PURE__ */ jsxs(Fragment, { children: [
150
+ " ",
151
+ /* @__PURE__ */ jsx("span", { className: "crewlet-notice-list__summary", children: summary })
152
+ ] }) : null
153
+ ] }),
154
+ icon: mixed ? /* @__PURE__ */ jsx("span", { className: cx("crewlet-notice-list__glyph", `is-${tone}`), children: GLYPHS[tone] }) : void 0,
155
+ actions: notice.action ?? void 0,
156
+ expandable: opens,
157
+ headingLevel: "none",
158
+ triggerId: `${id}-trigger`,
159
+ panelId: `${id}-panel`,
160
+ triggerClassName: "crewlet-notice-list__toggle"
161
+ }
162
+ ),
163
+ opens ? /* @__PURE__ */ jsxs("div", { id: `${id}-panel`, className: "crewlet-notice-list__panel", hidden: !open, children: [
164
+ notice.lines?.map((line, i) => /* @__PURE__ */ jsx(NoticeLineView, { line, shown: itemsShown, andMore: words.andMore }, i)),
165
+ notice.detail != null ? /* @__PURE__ */ jsx("p", { className: "crewlet-notice-list__detail", children: notice.detail }) : null
166
+ ] }) : null
167
+ ] });
168
+ }
169
+ function summaryOf(notice, andMore) {
170
+ if (notice.summary != null) return notice.summary;
171
+ if (notice.subject != null) return notice.subject;
172
+ const [line, ...others] = notice.lines ?? [];
173
+ if (line === void 0 || others.length > 0) return void 0;
174
+ if (line.subject != null) return line.subject;
175
+ const [first, ...rest] = line.items;
176
+ if (first === void 0) return void 0;
177
+ return rest.length === 0 ? first : /* @__PURE__ */ jsxs(Fragment, { children: [
178
+ first,
179
+ " ",
180
+ andMore(rest.length)
181
+ ] });
182
+ }
183
+
184
+ export { NOTICE_LIST_LABELS, NoticeLineView, NoticeList };
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
2
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,7 +1,7 @@
1
- import { FormField, Label, Input } from './chunk-GTAAOGDQ.js';
2
- import { announce } from './chunk-WGMKERCR.js';
1
+ import { FormField, Label, Input } from './chunk-XQMRSL7Z.js';
3
2
  import { Button } from './chunk-IMF3CPTY.js';
4
3
  import { IconButton } from './chunk-KM5OKCW6.js';
4
+ import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './KeyValueRows-US5KW7JK.css';
7
7
  import { useId, useRef, useEffect } from 'react';
@@ -1,7 +1,7 @@
1
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 { Input } from './chunk-GTAAOGDQ.js';
4
+ import { Input } from './chunk-XQMRSL7Z.js';
5
5
  import { Button } from './chunk-IMF3CPTY.js';
6
6
  import { IconButton } from './chunk-KM5OKCW6.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
@@ -1,4 +1,4 @@
1
- import { emojiName } from './chunk-K7C4BIX6.js';
1
+ import { emojiName } from './chunk-YMBXTGFC.js';
2
2
  import { Toolbar } from './chunk-NPEI2QAN.js';
3
3
  import { IconButton } from './chunk-KM5OKCW6.js';
4
4
  import { heldHint } from './chunk-TDFLCUBE.js';
@@ -1,5 +1,5 @@
1
1
  import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
- import { Callout } from './chunk-UEO3A76N.js';
2
+ import { Callout } from './chunk-CWACQEPP.js';
3
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
4
  import { Button } from './chunk-IMF3CPTY.js';
5
5
  import './RichEditor-5CF3QV3J.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-XAJF2WQ3.js').then(
12
+ loading ??= import('./Editor-FXREHINI.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -1,7 +1,7 @@
1
- import { tabId } from './chunk-V3RQYIZO.js';
1
+ import { tabId } from './chunk-XJU53WMW.js';
2
2
  import { useRoving, tabStop } from './chunk-7F3OPUM5.js';
3
- import { Count } from './chunk-Y5CMDLQM.js';
4
3
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
+ import { Count } from './chunk-Y5CMDLQM.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import { useState, useId } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { IconButton } from './chunk-KM5OKCW6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './FilterPill-4GMNFZND.css';
3
+ import './FilterPill-C6LFYCCA.css';
4
4
  import { XGlyph } from '@crewlethq/icons/glyphs';
5
5
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
6
6
 
@@ -19,6 +19,7 @@ function FilterPill({
19
19
  field,
20
20
  operator,
21
21
  value,
22
+ valueLeading,
22
23
  onRemove,
23
24
  removeLabel,
24
25
  renderWords,
@@ -39,6 +40,7 @@ function FilterPill({
39
40
  ] }) : null,
40
41
  hasValue ? /* @__PURE__ */ jsxs(Fragment, { children: [
41
42
  " ",
43
+ valueLeading !== void 0 && valueLeading !== null ? /* @__PURE__ */ jsx("span", { className: "crewlet-filter-pill__value-leading", "aria-hidden": "true", children: valueLeading }) : null,
42
44
  /* @__PURE__ */ jsx("span", { className: "crewlet-filter-pill__value", children: value })
43
45
  ] }) : null
44
46
  ] });
@@ -1,4 +1,4 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-PWRYYOQ4.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-DGB7R42F.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-W6GA5OO6.css';
@@ -1,4 +1,4 @@
1
- import { Callout } from './chunk-UEO3A76N.js';
1
+ import { Callout } from './chunk-CWACQEPP.js';
2
2
  import { Button } from './chunk-IMF3CPTY.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-ROE6HKEI.js';
1
+ import { Combobox } from './chunk-7FWYJCKT.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';
@@ -1,10 +1,10 @@
1
1
  import { Select } from './chunk-657WR3MX.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-VZOGZZCA.js';
3
+ import { HueSwatch } from './chunk-E3JUS3CR.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
- import { Checkbox } from './chunk-MALV624H.js';
6
- import { FormField, Input } from './chunk-GTAAOGDQ.js';
5
+ import { Checkbox } from './chunk-BRMJPZC4.js';
7
6
  import { Menu } from './chunk-ZMZNKDPO.js';
7
+ import { FormField, Input } from './chunk-XQMRSL7Z.js';
8
8
  import { Kbd } from './chunk-VBBLHS2Y.js';
9
9
  import { Button } from './chunk-IMF3CPTY.js';
10
10
  import { IconButton } from './chunk-KM5OKCW6.js';
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
1
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
2
2
  import { ArtifactIcon } from './chunk-AVL52EME.js';
3
3
  import { Menu } from './chunk-ZMZNKDPO.js';
4
4
  import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
3
- import { tabId } from './chunk-V3RQYIZO.js';
2
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
3
+ import { tabId } from './chunk-XJU53WMW.js';
4
4
  import { IconButton } from './chunk-KM5OKCW6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './MarkdownEditor-BLCJRGDC.css';
@@ -1,6 +1,6 @@
1
- import { useReorder } from './chunk-NIOE6ZAL.js';
2
- import { Input } from './chunk-GTAAOGDQ.js';
1
+ import { useReorder } from './chunk-JMBPMSNI.js';
3
2
  import { Menu } from './chunk-ZMZNKDPO.js';
3
+ import { Input } from './chunk-XQMRSL7Z.js';
4
4
  import { IconButton } from './chunk-KM5OKCW6.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { FormField } from './chunk-GTAAOGDQ.js';
1
+ import { FormField } from './chunk-XQMRSL7Z.js';
2
2
  import { Button } from './chunk-IMF3CPTY.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SettingForm-ODVZZ7JZ.css';
@@ -1,14 +1,14 @@
1
- import { Modal } from './chunk-73XXYQC7.js';
1
+ import { Modal } from './chunk-7PK2Z5JY.js';
2
2
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
3
3
  import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
4
4
  import { Popover } from './chunk-AJFA2XDQ.js';
5
5
  import { Skeleton } from './chunk-WFAJYBLX.js';
6
6
  import { Text } from './chunk-475DOAWF.js';
7
- import { Input } from './chunk-GTAAOGDQ.js';
8
- import { announce } from './chunk-WGMKERCR.js';
7
+ import { Input } from './chunk-XQMRSL7Z.js';
9
8
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
10
9
  import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
11
10
  import { returnFocus } from './chunk-4ITETIGZ.js';
11
+ import { announce } from './chunk-WGMKERCR.js';
12
12
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
13
13
  import { cx } from './chunk-ODEQTPFM.js';
14
14
  import './Switcher-MWHFBIWS.css';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
2
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-F4CM5KD3.js';
2
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
2
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
3
3
  import { EmptyState } from './chunk-PPUR46MK.js';
4
4
  import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { Select } from './chunk-657WR3MX.js';
2
- import { typedNumber, NumberField } from './chunk-Q5OB4LBX.js';
3
- import { PresetChips } from './chunk-C7BK32JK.js';
2
+ import { typedNumber, NumberField } from './chunk-DDGHRDGV.js';
3
+ import { PresetChips } from './chunk-6QWSGM4W.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './DurationField-TJFIAUMW.css';
6
6
  import { useId } from 'react';
@@ -1,11 +1,11 @@
1
- import { useReorder } from './chunk-NIOE6ZAL.js';
2
- import { FormField, Textarea } from './chunk-GTAAOGDQ.js';
1
+ import { useReorder } from './chunk-JMBPMSNI.js';
2
+ import { FormField, Textarea } from './chunk-XQMRSL7Z.js';
3
3
  import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
4
- import { announce } from './chunk-WGMKERCR.js';
5
4
  import { Kbd } from './chunk-VBBLHS2Y.js';
6
5
  import { Button } from './chunk-IMF3CPTY.js';
7
6
  import { IconButton } from './chunk-KM5OKCW6.js';
8
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
+ import { announce } from './chunk-WGMKERCR.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './ListInput-L6XJUDTB.css';
11
11
  import { forwardRef, useState, useRef, useImperativeHandle, useLayoutEffect, useId } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-HU56GCZ7.js';
2
- import { useReorder } from './chunk-NIOE6ZAL.js';
3
2
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
3
  import { titleWhenCut } from './chunk-WSIJDWUG.js';
5
- import { Checkbox } from './chunk-MALV624H.js';
4
+ import { useReorder } from './chunk-JMBPMSNI.js';
5
+ import { Checkbox } from './chunk-BRMJPZC4.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
7
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
8
8
  import { IconButton } from './chunk-KM5OKCW6.js';
@@ -1,5 +1,5 @@
1
1
  import { useSendOnEnter, SendKeysHint } from './chunk-UZMXC5T6.js';
2
- import { Textarea } from './chunk-GTAAOGDQ.js';
2
+ import { Textarea } from './chunk-XQMRSL7Z.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ChatScale-LGESYXCO.css';
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
2
- import { FormField, Input, InputAffix } from './chunk-GTAAOGDQ.js';
2
+ import { FormField, Input, InputAffix } from './chunk-XQMRSL7Z.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ColorField-2OIOWT3Z.css';
5
5
  import { useId, useState } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
2
- import { fitGridColumns } from './chunk-PQDMYIEJ.js';
2
+ import { fitGridColumns } from './chunk-Q3SHCEXN.js';
3
3
  import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-HU56GCZ7.js';
4
4
  import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
5
- import { Checkbox } from './chunk-MALV624H.js';
5
+ import { Checkbox } from './chunk-BRMJPZC4.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
7
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
8
8
  import { IconButton } from './chunk-KM5OKCW6.js';
@@ -1,8 +1,8 @@
1
1
  import { Timeline } from './chunk-XDUXAQIS.js';
2
2
  import { Section } from './chunk-WFCWPXJN.js';
3
- import { Composer } from './chunk-CUU24MKQ.js';
3
+ import { Composer } from './chunk-QRUQOITJ.js';
4
4
  import { Disclosure } from './chunk-D5O64CVE.js';
5
- import { ArtifactPanel } from './chunk-3ZSKFZP3.js';
5
+ import { ArtifactPanel } from './chunk-HIDOUXLD.js';
6
6
  import { Button } from './chunk-IMF3CPTY.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './AgentHandoffPanel-AIU7YWWB.css';
@@ -1,11 +1,11 @@
1
- import { Document } from './chunk-I4PBFJGX.js';
2
1
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
2
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
4
- import { Composer } from './chunk-CUU24MKQ.js';
5
- import { Count } from './chunk-Y5CMDLQM.js';
6
- import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
3
+ import { Document } from './chunk-I4PBFJGX.js';
4
+ import { Composer } from './chunk-QRUQOITJ.js';
7
5
  import { Button } from './chunk-IMF3CPTY.js';
8
6
  import { IconButton } from './chunk-KM5OKCW6.js';
7
+ import { Count } from './chunk-Y5CMDLQM.js';
8
+ import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './CommentThread-YU6VSVS4.css';
11
11
  import { useState, useRef, useId, useMemo, useEffect } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { InlineCode } from './chunk-W4UJWFCZ.js';
2
- import { FormField, Input } from './chunk-GTAAOGDQ.js';
2
+ import { FormField, Input } from './chunk-XQMRSL7Z.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
5
5
  function confirmMatches(typed, phrase) {
@@ -1,7 +1,7 @@
1
- import { Modal } from './chunk-73XXYQC7.js';
2
- import { Callout } from './chunk-UEO3A76N.js';
3
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
4
- import { FormField, Input } from './chunk-GTAAOGDQ.js';
1
+ import { Modal } from './chunk-7PK2Z5JY.js';
2
+ import { Callout } from './chunk-CWACQEPP.js';
3
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
4
+ import { FormField, Input } from './chunk-XQMRSL7Z.js';
5
5
  import { Button } from './chunk-IMF3CPTY.js';
6
6
  import { useState } from 'react';
7
7
  import { ClockGlyph } from '@crewlethq/icons/glyphs';
@@ -1,8 +1,8 @@
1
- import { Modal } from './chunk-73XXYQC7.js';
1
+ import { Modal } from './chunk-7PK2Z5JY.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
3
  import { EmptyValue } from './chunk-WGLOH33S.js';
4
4
  import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
5
- import { Checkbox } from './chunk-MALV624H.js';
5
+ import { Checkbox } from './chunk-BRMJPZC4.js';
6
6
  import { Menu } from './chunk-ZMZNKDPO.js';
7
7
  import { Button } from './chunk-IMF3CPTY.js';
8
8
  import { IconButton } from './chunk-KM5OKCW6.js';
@@ -1,4 +1,4 @@
1
- import { HuePicker } from './chunk-VZOGZZCA.js';
1
+ import { HuePicker } from './chunk-E3JUS3CR.js';
2
2
  import { Popover } from './chunk-AJFA2XDQ.js';
3
3
  import { CharacterPicker } from './chunk-CBUAKPF7.js';
4
4
  import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
@@ -1,4 +1,5 @@
1
- import './NoticeList-LD5APCDU.css';
1
+ import './Disclosure-RJSKKO7Z.css';
2
+ import './NoticeList-GHCJRR3Z.css';
2
3
 
3
4
  // src/NoticeList/index.ts
4
5
 
@@ -29,7 +30,7 @@ function groupNotices(entries, { count }) {
29
30
  const lines = [...subjects.entries()].map(
30
31
  ([subject, items]) => subject === "" ? { items } : { subject, items }
31
32
  );
32
- return withLines(base, lines);
33
+ return withLines({ ...base, summary: count(named) }, lines);
33
34
  });
34
35
  return notices.map((notice, index) => ({ notice, index })).sort((a, b) => TONE_ORDER[a.notice.tone ?? "neutral"] - TONE_ORDER[b.notice.tone ?? "neutral"] || a.index - b.index).map(({ notice }) => notice);
35
36
  }
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
2
  import { Popover } from './chunk-AJFA2XDQ.js';
3
- import { Input } from './chunk-GTAAOGDQ.js';
3
+ import { Input } from './chunk-XQMRSL7Z.js';
4
4
  import { Tooltip } from './chunk-BFZAGIXR.js';
5
5
  import { isComposing } from './chunk-EDPMHSLZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { Switch } from './chunk-6YYRFGXO.js';
2
- import { useReorder } from './chunk-NIOE6ZAL.js';
3
- import { Checkbox } from './chunk-MALV624H.js';
2
+ import { useReorder } from './chunk-JMBPMSNI.js';
3
+ import { Checkbox } from './chunk-BRMJPZC4.js';
4
4
  import { IconButton } from './chunk-KM5OKCW6.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -3,7 +3,7 @@ import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { RelativeTime } from './chunk-GBKBME7Q.js';
4
4
  import { Card } from './chunk-E7KRB77B.js';
5
5
  import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
6
- import { Checkbox } from './chunk-MALV624H.js';
6
+ import { Checkbox } from './chunk-BRMJPZC4.js';
7
7
  import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
8
8
  import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
9
9
  import { AvatarStack } from './chunk-2PSOUDCS.js';
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-ANXCMHTP.js';
1
+ import { SegmentedControl } from './chunk-GMXOZEF5.js';
2
2
  import { Button } from './chunk-IMF3CPTY.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MergeConflicts-HCXPRQVR.css';
@@ -1,4 +1,4 @@
1
- import { Checkbox } from './chunk-MALV624H.js';
1
+ import { Checkbox } from './chunk-BRMJPZC4.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './CheckGrid-B3SRTHOJ.css';
4
4
  import { useId } from 'react';