@crewlethq/ui 0.193.0 → 0.195.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 (140) hide show
  1. package/README.md +11 -3
  2. package/dist/AgentHandoffPanel/index.js +10 -10
  3. package/dist/AgentIdentity/index.js +10 -10
  4. package/dist/AppShell/index.js +3 -3
  5. package/dist/ArrangeList/index.js +4 -4
  6. package/dist/ArtifactCard/index.js +5 -5
  7. package/dist/BriefCard/index.js +1 -1
  8. package/dist/CheckGrid/index.js +4 -4
  9. package/dist/Checkbox/index.js +3 -3
  10. package/dist/ColorField/index.js +3 -3
  11. package/dist/Combobox/index.js +3 -3
  12. package/dist/CommandPalette/index.js +8 -8
  13. package/dist/CommentThread/index.js +10 -10
  14. package/dist/Composer/index.js +9 -9
  15. package/dist/ConfirmField/index.js +3 -3
  16. package/dist/ConsequenceList/index.js +4 -4
  17. package/dist/DataGrid/index.js +6 -6
  18. package/dist/DataTable/index.js +8 -8
  19. package/dist/DataView/index.js +9 -9
  20. package/dist/DeepWorkCard/index.js +5 -3
  21. package/dist/Dictation/fake.d.ts +4 -0
  22. package/dist/Dictation/index.js +2 -2
  23. package/dist/Dictation/machine.d.ts +16 -2
  24. package/dist/Dictation/session.d.ts +2 -2
  25. package/dist/Dictation/slot.d.ts +5 -3
  26. package/dist/DocTabsEditor/index.js +6 -6
  27. package/dist/DockColumn/index.js +1 -1
  28. package/dist/DurationField/index.js +6 -6
  29. package/dist/{Editor-JKKN2X7Z.js → Editor-FORDIRIB.js} +4 -4
  30. package/dist/EmojiPicker/index.js +3 -3
  31. package/dist/EntityList/index.js +1 -1
  32. package/dist/FieldSpotlight/FieldSpotlight.d.ts +38 -0
  33. package/dist/FieldSpotlight/index.d.ts +3 -0
  34. package/dist/FieldSpotlight/index.js +4 -0
  35. package/dist/FieldSpotlight-HRZJERTW.css +86 -0
  36. package/dist/Input/index.js +2 -2
  37. package/dist/KeyValueRows/index.js +5 -5
  38. package/dist/LinkInterstitial/index.js +8 -8
  39. package/dist/ListInput/index.js +7 -7
  40. package/dist/MemberPicker/index.js +4 -4
  41. package/dist/MessageActions/index.js +4 -4
  42. package/dist/Modal/index.js +7 -7
  43. package/dist/MoneyField/index.js +3 -3
  44. package/dist/NumberField/index.js +5 -5
  45. package/dist/OpenInAppCard/index.js +2 -2
  46. package/dist/OrgTable/index.js +8 -8
  47. package/dist/PrincipalPicker/index.js +4 -4
  48. package/dist/ProposalCard/index.js +9 -9
  49. package/dist/RailList/index.js +4 -4
  50. package/dist/ReactionBar/index.js +4 -4
  51. package/dist/RefusalCard/index.js +1 -1
  52. package/dist/ResultTableCard/index.js +1 -1
  53. package/dist/RichEditor/index.js +1 -1
  54. package/dist/RunChip/index.js +6 -2
  55. package/dist/ScopeList/index.js +6 -6
  56. package/dist/SectionFrame/index.js +3 -3
  57. package/dist/SelectionBar/index.js +3 -3
  58. package/dist/SendKeys/index.js +3 -3
  59. package/dist/SettingForm/index.js +5 -5
  60. package/dist/SetupWizard/index.js +6 -2
  61. package/dist/ShareDialog/index.js +9 -9
  62. package/dist/SheetColumnEditor/index.js +6 -6
  63. package/dist/SheetGrid/index.js +2 -2
  64. package/dist/SidebarNav/index.js +2 -2
  65. package/dist/SlideFilmstrip/index.js +4 -4
  66. package/dist/StatusCard/index.js +1 -1
  67. package/dist/Stepper/Stepper.d.ts +30 -2
  68. package/dist/Stepper/StepperPlan.d.ts +28 -0
  69. package/dist/Stepper/index.d.ts +3 -1
  70. package/dist/Stepper/index.js +5 -1
  71. package/dist/{Stepper-BRWYNQAC.css → Stepper-OZ6HP72G.css} +101 -0
  72. package/dist/Switcher/index.js +9 -9
  73. package/dist/TableCells/index.js +1 -1
  74. package/dist/TimeRangePicker/index.js +8 -8
  75. package/dist/TimeWindowPicker/index.js +5 -5
  76. package/dist/TreeCanvas/index.js +2 -2
  77. package/dist/TreeGrid/index.js +7 -7
  78. package/dist/ValueField/index.js +6 -6
  79. package/dist/{chunk-SQQSMYAK.js → chunk-2SSTJDRV.js} +1 -1
  80. package/dist/{chunk-ACFQLY2Y.js → chunk-2ZNOHIT4.js} +2 -2
  81. package/dist/{chunk-5QOATK65.js → chunk-3ZPBG7CZ.js} +1 -1
  82. package/dist/{chunk-MENY4GKL.js → chunk-4NBADPFB.js} +1 -1
  83. package/dist/{chunk-5TRZSIUJ.js → chunk-5PCC5XTZ.js} +1 -1
  84. package/dist/{chunk-FA3NHWSM.js → chunk-6AU73W3Y.js} +1 -1
  85. package/dist/{chunk-WMOER32I.js → chunk-6EJS374X.js} +1 -1
  86. package/dist/{chunk-G6TM7JFC.js → chunk-6FHN76QP.js} +1 -1
  87. package/dist/{chunk-VOVZS7TB.js → chunk-7CLO6XZ6.js} +1 -1
  88. package/dist/{chunk-3XW3ZD7S.js → chunk-ANCFMQBV.js} +1 -1
  89. package/dist/{chunk-JWXF7ZWQ.js → chunk-B4TAERAM.js} +1 -1
  90. package/dist/{chunk-6GLTUEHI.js → chunk-CNKQ4TVM.js} +1 -1
  91. package/dist/{chunk-DVTFVZEG.js → chunk-CVNUXLMI.js} +1 -1
  92. package/dist/{chunk-GI7TT5VZ.js → chunk-D5PENLAM.js} +1 -1
  93. package/dist/{chunk-LZAXPGTP.js → chunk-DEQM77O7.js} +2 -2
  94. package/dist/{chunk-S5YAPC7Q.js → chunk-DN2P7HJL.js} +2 -2
  95. package/dist/{chunk-EBMU5KWN.js → chunk-EEDTDHAX.js} +2 -2
  96. package/dist/{chunk-G2KDXOW6.js → chunk-EJDWUXFJ.js} +2 -2
  97. package/dist/{chunk-HOR5M3EP.js → chunk-EZO5MYII.js} +1 -1
  98. package/dist/{chunk-ITRT36AQ.js → chunk-GI446L5L.js} +1 -1
  99. package/dist/{chunk-ZVCKMHT7.js → chunk-IFL6DM5K.js} +1 -1
  100. package/dist/{chunk-M3NUWL5L.js → chunk-IFRKD6YP.js} +1 -1
  101. package/dist/{chunk-YB5XT2BD.js → chunk-KFG43OLH.js} +1 -1
  102. package/dist/{chunk-5XBQS642.js → chunk-L63OLY2D.js} +2 -2
  103. package/dist/{chunk-SAER5A5P.js → chunk-LDCHU4SB.js} +3 -3
  104. package/dist/chunk-LM4TJV2S.js +61 -0
  105. package/dist/{chunk-6M3GVYTI.js → chunk-MKOWEHDH.js} +1 -1
  106. package/dist/{chunk-N6TWNLF3.js → chunk-MMMO7HHQ.js} +2 -2
  107. package/dist/{chunk-UHAGUNRC.js → chunk-MX5UU2H3.js} +2 -2
  108. package/dist/{chunk-5XW45VZX.js → chunk-MZAMX65M.js} +1 -1
  109. package/dist/{chunk-EJC6MRHK.js → chunk-N2AIHIYX.js} +2 -2
  110. package/dist/{chunk-ZGUUXVSY.js → chunk-NCAKCLQE.js} +2 -2
  111. package/dist/{chunk-CI4HUVNI.js → chunk-OOH3GW7F.js} +19 -10
  112. package/dist/{chunk-BDVXG75B.js → chunk-ORX3PYX3.js} +1 -1
  113. package/dist/{chunk-CB6MUWCA.js → chunk-Q3GLZ272.js} +21 -13
  114. package/dist/{chunk-KOXHGF55.js → chunk-QGQYMKCP.js} +2 -2
  115. package/dist/{chunk-2MN3RNRM.js → chunk-SK3RTU5M.js} +182 -4
  116. package/dist/{chunk-EQI3QDPR.js → chunk-T2DGBIFD.js} +1 -1
  117. package/dist/{chunk-J4JT2OSY.js → chunk-V5CRLYEY.js} +1 -1
  118. package/dist/{chunk-6XBDBCCB.js → chunk-VNCKUYYT.js} +1 -1
  119. package/dist/{chunk-ZYOS3VXQ.js → chunk-W47E4PT4.js} +6 -7
  120. package/dist/{chunk-TR6724R3.js → chunk-XHQ6BRGS.js} +1 -1
  121. package/dist/{chunk-IWYNBJBG.js → chunk-XKFZBWXA.js} +1 -1
  122. package/dist/{chunk-Z4WUD5N3.js → chunk-XLB7QIXK.js} +2 -2
  123. package/dist/{chunk-SVI2275S.js → chunk-YER6BEBM.js} +1 -1
  124. package/dist/{chunk-O5V4YD4A.js → chunk-YOGPQDXA.js} +1 -1
  125. package/dist/{chunk-MYYIWUJG.js → chunk-YW3IH3EU.js} +1 -1
  126. package/dist/{chunk-6SW4NH2E.js → chunk-YXRMGI4B.js} +1 -1
  127. package/dist/{chunk-G6QKTJRY.js → chunk-ZFPNNBG7.js} +2 -2
  128. package/dist/{chunk-ZS4KUY2F.js → chunk-ZH45BDTS.js} +1 -1
  129. package/dist/generated/index.d.ts +1 -0
  130. package/dist/generated/index.js +99 -98
  131. package/dist/index.js +99 -98
  132. package/dist/{session-XDRRVFVE.js → session-NK2VB5MB.js} +42 -13
  133. package/dist/styles.css +191 -1
  134. package/package.json +3 -3
  135. package/dist/{chunk-SXUKSA6U.js → chunk-2Q4U57SU.js} +1 -1
  136. package/dist/{chunk-IMYAUG56.js → chunk-AHJI2VH3.js} +1 -1
  137. package/dist/{chunk-Y3VQQUOL.js → chunk-NLYURJUF.js} +1 -1
  138. package/dist/{chunk-QGZPXZHE.js → chunk-SB2QSRS7.js} +1 -1
  139. package/dist/{chunk-JJEGPEV7.js → chunk-VCMO7KK3.js} +0 -0
  140. package/dist/{chunk-K657TVMA.js → chunk-X242LRUF.js} +1 -1
@@ -1,13 +1,173 @@
1
+ import { Tag } from './chunk-ASBBB5AJ.js';
1
2
  import { StatusDot } from './chunk-QRE6JCHS.js';
3
+ import { useAnnouncer } from './chunk-AZQBGKPR.js';
2
4
  import { Spinner } from './chunk-XSPCITPN.js';
3
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
6
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './Stepper-BRWYNQAC.css';
7
+ import './Stepper-OZ6HP72G.css';
6
8
  import './StepList-MQVJ3DZF.css';
7
- import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
9
+ import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph, ChevronDownGlyph, ChevronRightGlyph, MinusGlyph, XGlyph } from '@crewlethq/icons/glyphs';
10
+ import { useMemo, useId, useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
8
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
- import { Fragment as Fragment$1 } from 'react';
10
12
 
13
+ var STEPPER_PLAN_STATES = [
14
+ "done",
15
+ "next",
16
+ "waiting",
17
+ "in-progress",
18
+ "checking",
19
+ "failed",
20
+ "optional",
21
+ "skipped"
22
+ ];
23
+ var STEPPER_PLAN_LABELS = {
24
+ done: "Done",
25
+ next: "Next",
26
+ waiting: "Waiting",
27
+ "in-progress": "In progress",
28
+ checking: "Checking",
29
+ failed: "Failed",
30
+ optional: "Optional",
31
+ skipped: "Skipped"
32
+ };
33
+ var ACTIVE = /* @__PURE__ */ new Set(["next", "in-progress", "checking", "failed"]);
34
+ var TAG_TONE = {
35
+ done: "success",
36
+ next: "brand",
37
+ waiting: "neutral",
38
+ "in-progress": "info",
39
+ checking: "info",
40
+ failed: "danger",
41
+ optional: "neutral",
42
+ skipped: "neutral"
43
+ };
44
+ function planStates(steps, at) {
45
+ return steps.map((step, index) => step.state ?? (index < at ? "done" : index === at ? "next" : "waiting"));
46
+ }
47
+ function checkPlanCurrent(steps, at) {
48
+ const state = at < steps.length ? planStates(steps, at)[at] : void 0;
49
+ if (state !== void 0 && !ACTIVE.has(state)) {
50
+ throw new RangeError(
51
+ `Stepper plan step "${steps[at].id}" is current, so it must be next, in-progress, checking or failed; it is ${state}`
52
+ );
53
+ }
54
+ }
55
+ function PlanMark({ state, index }) {
56
+ switch (state) {
57
+ case "done":
58
+ return /* @__PURE__ */ jsx(CheckGlyph, { size: "xs", className: "crewlet-stepper__check" });
59
+ case "next":
60
+ return /* @__PURE__ */ jsx(StatusDot, { tone: "brand", className: "crewlet-stepper__dot" });
61
+ case "in-progress":
62
+ return /* @__PURE__ */ jsx(StatusDot, { tone: "info", pulse: true, className: "crewlet-stepper__dot" });
63
+ case "checking":
64
+ return /* @__PURE__ */ jsx(Spinner, { size: "xs" });
65
+ case "failed":
66
+ return /* @__PURE__ */ jsx(XGlyph, { size: "xs" });
67
+ case "skipped":
68
+ return /* @__PURE__ */ jsx(MinusGlyph, { size: "xs" });
69
+ default:
70
+ return /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__number", children: index + 1 });
71
+ }
72
+ }
73
+ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }) {
74
+ const words = useMemo(() => stateLabels ? { ...STEPPER_PLAN_LABELS, ...stateLabels } : STEPPER_PLAN_LABELS, [stateLabels]);
75
+ const states = useMemo(() => planStates(steps, at), [steps, at]);
76
+ const base = useId();
77
+ const [open, setOpen] = useState(() => /* @__PURE__ */ new Set());
78
+ const labels = useRef(/* @__PURE__ */ new Map());
79
+ const said = useRef(null);
80
+ const announce = useAnnouncer();
81
+ useEffect(() => {
82
+ const now = new Map(steps.map((step, index) => [step.id, states[index]]));
83
+ const before = said.current;
84
+ said.current = now;
85
+ if (before === null) return;
86
+ const lines = [];
87
+ for (const [id, state] of now) {
88
+ const was = before.get(id);
89
+ if (was === void 0 || was === state) continue;
90
+ const text = labels.current.get(id)?.textContent?.trim();
91
+ if (text) lines.push(`${text}, ${words[state]}`);
92
+ }
93
+ if (lines.length > 0) announce(lines.join(". "));
94
+ }, [steps, states, words, announce]);
95
+ const toggle = (id) => setOpen((was) => {
96
+ const next = new Set(was);
97
+ if (!next.delete(id)) next.add(id);
98
+ return next;
99
+ });
100
+ return (
101
+ // The role is restated for WebKit, which drops it from a list with no markers.
102
+ // eslint-disable-next-line jsx-a11y/no-redundant-roles
103
+ /* @__PURE__ */ jsx(
104
+ "ol",
105
+ {
106
+ ...attributes,
107
+ role: "list",
108
+ className: cx("crewlet-stepper", "crewlet-stepper--vertical", "crewlet-stepper--plan", attributes.className),
109
+ "aria-label": label,
110
+ children: steps.map((step, index) => {
111
+ const state = states[index];
112
+ const current = index === at;
113
+ const id = `${base}-${index}`;
114
+ const hasBody = step.body !== void 0 && step.body !== null && step.body !== false;
115
+ const collapsible = collapseDone && state === "done" && hasBody;
116
+ const shown = !collapsible || open.has(step.id);
117
+ const title = /* @__PURE__ */ jsxs(Fragment, { children: [
118
+ /* @__PURE__ */ jsxs("span", { id: `${id}-name`, className: "crewlet-stepper__label", children: [
119
+ /* @__PURE__ */ jsx(
120
+ "span",
121
+ {
122
+ ref: (element) => {
123
+ if (element) labels.current.set(step.id, element);
124
+ else labels.current.delete(step.id);
125
+ },
126
+ children: step.label
127
+ }
128
+ ),
129
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: "," })
130
+ ] }),
131
+ /* @__PURE__ */ jsx("span", { id: `${id}-state`, className: "crewlet-stepper__state", children: /* @__PURE__ */ jsx(Tag, { size: "xs", variant: TAG_TONE[state], children: words[state] }) }),
132
+ collapsible ? shown ? /* @__PURE__ */ jsx(ChevronDownGlyph, { size: "xs", className: "crewlet-stepper__chevron" }) : /* @__PURE__ */ jsx(ChevronRightGlyph, { size: "xs", className: "crewlet-stepper__chevron" }) : null
133
+ ] });
134
+ return /* @__PURE__ */ jsx(
135
+ "li",
136
+ {
137
+ className: cx(
138
+ "crewlet-stepper__step",
139
+ `crewlet-stepper__step--${state}`,
140
+ current && "crewlet-stepper__step--current"
141
+ ),
142
+ "aria-current": current ? "step" : void 0,
143
+ "aria-labelledby": `${id}-name ${id}-state`,
144
+ children: /* @__PURE__ */ jsxs("div", { className: "crewlet-stepper__row", children: [
145
+ /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__mark", "aria-hidden": "true", children: /* @__PURE__ */ jsx(PlanMark, { state, index }) }),
146
+ /* @__PURE__ */ jsxs("div", { className: "crewlet-stepper__text", children: [
147
+ collapsible ? /* @__PURE__ */ jsx(
148
+ "button",
149
+ {
150
+ type: "button",
151
+ className: "crewlet-stepper__title crewlet-stepper__toggle",
152
+ "aria-labelledby": `${id}-name ${id}-state`,
153
+ "aria-expanded": shown,
154
+ "aria-controls": `${id}-body`,
155
+ onClick: () => toggle(step.id),
156
+ children: title
157
+ }
158
+ ) : /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__title", children: title }),
159
+ step.description ? /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__description", children: step.description }) : null,
160
+ hasBody ? /* @__PURE__ */ jsx("div", { id: `${id}-body`, className: "crewlet-stepper__body", hidden: !shown, children: step.body }) : null
161
+ ] })
162
+ ] })
163
+ },
164
+ step.id
165
+ );
166
+ })
167
+ }
168
+ )
169
+ );
170
+ }
11
171
  function Stepper({
12
172
  steps,
13
173
  current,
@@ -20,6 +180,9 @@ function Stepper({
20
180
  doneLabel = "Done",
21
181
  optionalLabel = "Optional",
22
182
  attentionLabel = "Needs attention",
183
+ variant = "sequence",
184
+ stateLabels,
185
+ collapseDone = false,
23
186
  className,
24
187
  ...rest
25
188
  }) {
@@ -35,6 +198,21 @@ function Stepper({
35
198
  `Stepper current must be the id of one of its steps, or null once every step is done; "${current}" is not one of ${ids()}`
36
199
  );
37
200
  }
201
+ if (variant === "plan") {
202
+ checkPlanCurrent(steps, at);
203
+ if (steps.length === 0) return null;
204
+ return /* @__PURE__ */ jsx(
205
+ StepperPlan,
206
+ {
207
+ steps,
208
+ at,
209
+ label,
210
+ stateLabels,
211
+ collapseDone,
212
+ attributes: { ...rest, className }
213
+ }
214
+ );
215
+ }
38
216
  const furthest = reached === void 0 ? at : steps.findIndex((step) => step.id === reached);
39
217
  if (furthest < 0) throw new RangeError(`Stepper reached must be the id of one of its steps; "${reached}" is not one of ${ids()}`);
40
218
  for (const [index, step] of steps.entries()) {
@@ -198,4 +376,4 @@ function StepList({ steps, label, summary, labels: overrides, className, ...rest
198
376
  ] });
199
377
  }
200
378
 
201
- export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces };
379
+ export { STEPPER_PLAN_LABELS, STEPPER_PLAN_STATES, STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces };
@@ -1,5 +1,5 @@
1
1
  import { InlineCode } from './chunk-E3XKFND2.js';
2
- import { FormField, Input } from './chunk-Y3VQQUOL.js';
2
+ import { FormField, Input } from './chunk-NLYURJUF.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
5
5
  function confirmMatches(typed, phrase) {
@@ -1,7 +1,7 @@
1
1
  import { ReceiptStrip } from './chunk-GMY4DMLJ.js';
2
2
  import { Meter } from './chunk-JEFGH3AQ.js';
3
3
  import { StatusCard } from './chunk-WLIODLUL.js';
4
- import { StepList } from './chunk-2MN3RNRM.js';
4
+ import { StepList } from './chunk-SK3RTU5M.js';
5
5
  import { Disclosure } from './chunk-RUROK3EU.js';
6
6
  import { Spinner } from './chunk-XSPCITPN.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
2
- import { FormField, Input, InputAffix } from './chunk-Y3VQQUOL.js';
2
+ import { FormField, Input, InputAffix } from './chunk-NLYURJUF.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ColorField-2OIOWT3Z.css';
5
5
  import { useId, useState } from 'react';
@@ -1,6 +1,6 @@
1
- import { useSendOnEnter, SendKeysHint } from './chunk-K657TVMA.js';
2
- import { useDictationSlot } from './chunk-CI4HUVNI.js';
3
- import { Textarea } from './chunk-Y3VQQUOL.js';
1
+ import { useSendOnEnter, SendKeysHint } from './chunk-X242LRUF.js';
2
+ import { useDictationSlot } from './chunk-OOH3GW7F.js';
3
+ import { Textarea } from './chunk-NLYURJUF.js';
4
4
  import { useComposedRef } from './chunk-L72URIHR.js';
5
5
  import { isComposing } from './chunk-EDPMHSLZ.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -59,7 +59,6 @@ var Composer = forwardRef(function Composer2({
59
59
  heldReason: disabled ? disabledReason ?? "" : void 0
60
60
  });
61
61
  const live = dictate?.live ?? false;
62
- const active = dictate?.active ?? false;
63
62
  const hasActions = present(actions) || present(tools) || dictate !== null && !inline;
64
63
  const send = useSendOnEnter({
65
64
  // One line has no line to write: its Enter is answered below, and no keys are described.
@@ -67,7 +66,7 @@ var Composer = forwardRef(function Composer2({
67
66
  canSend: canSubmit ?? value.trim() !== "",
68
67
  labels: sendLabels
69
68
  });
70
- const hint = sendHint && send.describedBy !== void 0 && !active;
69
+ const hint = sendHint && send.describedBy !== void 0 && !live;
71
70
  const keyDown = (event) => {
72
71
  if (dictate?.keyDown(event)) return;
73
72
  onKeyDown?.(event);
@@ -106,7 +105,7 @@ var Composer = forwardRef(function Composer2({
106
105
  "aria-label": label,
107
106
  role,
108
107
  "aria-multiline": singleLine ? false : role === void 0 || role === "textbox" ? true : void 0,
109
- "aria-describedby": cx(describedBy, !active && send.describedBy, disabledReason === void 0 ? void 0 : reasonId, live && dictatingId) || void 0,
108
+ "aria-describedby": cx(describedBy, !live && send.describedBy, disabledReason === void 0 ? void 0 : reasonId, live && dictatingId) || void 0,
110
109
  value,
111
110
  onChange: (event) => change(event.target.value),
112
111
  onKeyDown: keyDown,
@@ -117,7 +116,7 @@ var Composer = forwardRef(function Composer2({
117
116
  placeholder: live ? "" : disabledReason ?? placeholder,
118
117
  autoResize: true,
119
118
  ...rest,
120
- readOnly: active || rest.readOnly
119
+ readOnly: live || rest.readOnly
121
120
  }
122
121
  ),
123
122
  dictate?.layer,
@@ -1,4 +1,4 @@
1
- import { Checkbox } from './chunk-SVI2275S.js';
1
+ import { Checkbox } from './chunk-YER6BEBM.js';
2
2
  import { IconButton } from './chunk-66H4BC5Z.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
@@ -3,7 +3,7 @@ import { Skeleton } from './chunk-WFAJYBLX.js';
3
3
  import { useReorder } from './chunk-ETWGKTMC.js';
4
4
  import { EmptyState } from './chunk-HG7J6I65.js';
5
5
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
- import { Checkbox } from './chunk-SVI2275S.js';
6
+ import { Checkbox } from './chunk-YER6BEBM.js';
7
7
  import { titleWhenCut } from './chunk-WSIJDWUG.js';
8
8
  import { IconButton } from './chunk-66H4BC5Z.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -3,9 +3,9 @@ import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
3
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
4
  import { Popover } from './chunk-SWZV6R46.js';
5
5
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
- import { Modal } from './chunk-O5V4YD4A.js';
6
+ import { Modal } from './chunk-YOGPQDXA.js';
7
7
  import { Text } from './chunk-475DOAWF.js';
8
- import { Input } from './chunk-Y3VQQUOL.js';
8
+ import { Input } from './chunk-NLYURJUF.js';
9
9
  import { announce } from './chunk-AZQBGKPR.js';
10
10
  import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
11
11
  import { returnFocus } from './chunk-4ITETIGZ.js';
@@ -1,4 +1,4 @@
1
- import { FormField } from './chunk-Y3VQQUOL.js';
1
+ import { FormField } from './chunk-NLYURJUF.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Checkbox-GAMV2XD7.css';
@@ -1,4 +1,4 @@
1
- import { consequencesAnswered, ConsequenceList } from './chunk-HOR5M3EP.js';
1
+ import { consequencesAnswered, ConsequenceList } from './chunk-EZO5MYII.js';
2
2
  import { ChangeGroups } from './chunk-XXHIU65G.js';
3
3
  import { Button } from './chunk-YVMIT2OW.js';
4
4
  import { IconButton } from './chunk-66H4BC5Z.js';
@@ -1,4 +1,4 @@
1
- import { emojiName } from './chunk-SQQSMYAK.js';
1
+ import { emojiName } from './chunk-2SSTJDRV.js';
2
2
  import { Toolbar } from './chunk-NPEI2QAN.js';
3
3
  import { IconButton } from './chunk-66H4BC5Z.js';
4
4
  import { heldHint } from './chunk-TDFLCUBE.js';
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
2
2
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
- import { Input } from './chunk-Y3VQQUOL.js';
3
+ import { Input } from './chunk-NLYURJUF.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './HitArea-QUOS6ZDJ.css';
6
6
  import './Combobox-GHT43K32.css';
@@ -1,15 +1,15 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
2
  import { FilterPill } from './chunk-GR6Y53EC.js';
3
3
  import { DateTimePicker } from './chunk-LY7XCIMS.js';
4
- import { DataTable } from './chunk-ACFQLY2Y.js';
4
+ import { DataTable } from './chunk-2ZNOHIT4.js';
5
5
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
6
6
  import { Toolbar } from './chunk-NPEI2QAN.js';
7
7
  import { RelativeTime } from './chunk-5ZL3PXEL.js';
8
8
  import { Popover } from './chunk-SWZV6R46.js';
9
9
  import { Kbd } from './chunk-25LIX6UI.js';
10
10
  import { Menu } from './chunk-43N4EHFR.js';
11
+ import { Input } from './chunk-NLYURJUF.js';
11
12
  import { Button } from './chunk-YVMIT2OW.js';
12
- import { Input } from './chunk-Y3VQQUOL.js';
13
13
  import { IconButton } from './chunk-66H4BC5Z.js';
14
14
  import { Count } from './chunk-6YKTRAWI.js';
15
15
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
1
  import { Select } from './chunk-DPCXOBXN.js';
2
- import { typedNumber, NumberField } from './chunk-5TRZSIUJ.js';
2
+ import { typedNumber, NumberField } from './chunk-5PCC5XTZ.js';
3
3
  import { PresetChips } from './chunk-WLYNWP34.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './DurationField-TJFIAUMW.css';
@@ -110,6 +110,7 @@ export * from '../EntityList/index.js';
110
110
  export * from '../ErrorBoundary/index.js';
111
111
  export * from '../Eyebrow/index.js';
112
112
  export * from '../FactList/index.js';
113
+ export * from '../FieldSpotlight/index.js';
113
114
  export * from '../FileDrop/index.js';
114
115
  export * from '../FileList/index.js';
115
116
  export * from '../FilterChip/index.js';