@crewlethq/ui 0.189.0 → 0.190.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 (162) hide show
  1. package/README.md +18 -2
  2. package/dist/AgentHandoffPanel/index.js +7 -7
  3. package/dist/AgentIdentity/AgentIdentity.d.ts +19 -8
  4. package/dist/AgentIdentity/AgentIdentitySheet.d.ts +50 -0
  5. package/dist/AgentIdentity/index.d.ts +2 -2
  6. package/dist/AgentIdentity/index.js +7 -6
  7. package/dist/AgentIdentitySheet-WLJL3KT7.css +110 -0
  8. package/dist/AppShell/index.js +2 -2
  9. package/dist/ArrangeFrame/index.js +2 -2
  10. package/dist/ArrangeList/index.js +7 -7
  11. package/dist/ArtifactBar/index.js +4 -4
  12. package/dist/ArtifactCard/index.js +6 -6
  13. package/dist/AuthLayout/index.js +1 -1
  14. package/dist/AvatarPicker/index.js +5 -5
  15. package/dist/ChatThread/index.js +3 -3
  16. package/dist/CheckGrid/index.js +4 -4
  17. package/dist/Checkbox/index.js +3 -3
  18. package/dist/ChipField/index.js +2 -2
  19. package/dist/ColorField/index.js +3 -3
  20. package/dist/Combobox/index.js +3 -3
  21. package/dist/CommandPalette/index.js +8 -8
  22. package/dist/CommentThread/index.js +7 -7
  23. package/dist/Composer/index.js +5 -5
  24. package/dist/ConfirmField/index.js +3 -3
  25. package/dist/ConsequenceList/index.js +4 -4
  26. package/dist/ContrastHelp/index.js +1 -1
  27. package/dist/DataGrid/index.js +7 -7
  28. package/dist/DataTable/index.js +7 -7
  29. package/dist/DataView/index.js +10 -10
  30. package/dist/DatasetSource/index.js +2 -2
  31. package/dist/DocTabsEditor/index.js +6 -6
  32. package/dist/DurationField/index.js +8 -8
  33. package/dist/{Editor-2BMSYXKU.js → Editor-5MI2IOFN.js} +2 -2
  34. package/dist/EmojiPicker/index.js +3 -3
  35. package/dist/GraphCanvas/index.js +1 -1
  36. package/dist/HuePicker/index.js +4 -4
  37. package/dist/InboxList/index.js +2 -2
  38. package/dist/InlineEditor/index.js +1 -1
  39. package/dist/Input/index.js +2 -2
  40. package/dist/KeyValueRows/index.js +3 -3
  41. package/dist/LinkInterstitial/index.js +6 -6
  42. package/dist/ListInput/index.js +6 -6
  43. package/dist/MarkdownEditor/index.js +4 -4
  44. package/dist/MemberPicker/index.js +4 -4
  45. package/dist/MergeConflicts/index.js +4 -4
  46. package/dist/MessageActions/index.js +4 -4
  47. package/dist/Modal/index.js +5 -5
  48. package/dist/MoneyField/index.js +3 -3
  49. package/dist/NumberField/index.js +7 -7
  50. package/dist/OrgTable/index.js +10 -10
  51. package/dist/PresetChips/index.js +4 -4
  52. package/dist/PrincipalPicker/index.js +5 -5
  53. package/dist/ProposalCard/index.js +7 -7
  54. package/dist/RailList/index.js +5 -5
  55. package/dist/ReactionBar/index.js +4 -4
  56. package/dist/Reorder/index.js +2 -2
  57. package/dist/RichEditor/index.js +1 -1
  58. package/dist/ScopeList/ScopeList.d.ts +12 -3
  59. package/dist/ScopeList/index.js +5 -4
  60. package/dist/{ScopeList-564YHC7Z.css → ScopeList-4THHOZ46.css} +20 -0
  61. package/dist/SectionFrame/index.js +3 -3
  62. package/dist/SegmentedControl/index.js +3 -3
  63. package/dist/SelectionBar/index.js +2 -2
  64. package/dist/SettingForm/index.js +3 -3
  65. package/dist/SetupWizard/index.js +3 -3
  66. package/dist/ShareDialog/index.js +13 -13
  67. package/dist/SheetColumnEditor/index.js +8 -8
  68. package/dist/SheetGrid/index.js +4 -4
  69. package/dist/SidebarNav/index.js +2 -2
  70. package/dist/SlideFilmstrip/index.js +5 -5
  71. package/dist/Switcher/index.js +9 -9
  72. package/dist/TableCells/index.js +4 -4
  73. package/dist/Tabs/index.js +2 -2
  74. package/dist/TagGroup/index.js +1 -1
  75. package/dist/TagsInput/index.js +2 -2
  76. package/dist/ThemeSwitcher/index.js +4 -4
  77. package/dist/ThreadSummary/index.js +3 -3
  78. package/dist/TimeRangePicker/index.js +10 -10
  79. package/dist/TimeWindowPicker/index.js +3 -3
  80. package/dist/ToolCallLog/index.js +4 -4
  81. package/dist/TreeCanvas/index.js +2 -2
  82. package/dist/TreeGrid/index.js +8 -8
  83. package/dist/ValueField/index.js +4 -4
  84. package/dist/VersionCompare/index.js +4 -4
  85. package/dist/VersionTimeline/index.js +1 -1
  86. package/dist/{chunk-C4BENQB3.js → chunk-2C2U5NKD.js} +2 -2
  87. package/dist/{chunk-OAWECVU2.js → chunk-32VT6MCK.js} +1 -1
  88. package/dist/{chunk-MMW5KBJE.js → chunk-3YBI2YP5.js} +2 -2
  89. package/dist/{chunk-KIPEB2UV.js → chunk-4JSBD7TH.js} +1 -1
  90. package/dist/{chunk-WASYD3IL.js → chunk-4SE6F7JI.js} +1 -1
  91. package/dist/{chunk-6EHQN4KA.js → chunk-4TZHV4K3.js} +1 -1
  92. package/dist/{chunk-2DESFB7K.js → chunk-5VICKSUE.js} +1 -1
  93. package/dist/{chunk-S7MHUIJX.js → chunk-6NRMVNL2.js} +3 -3
  94. package/dist/{chunk-DDVUPYJW.js → chunk-6UCQPS5V.js} +2 -2
  95. package/dist/{chunk-5F62NQON.js → chunk-A4XJHBMM.js} +1 -1
  96. package/dist/{chunk-2XC4MYBB.js → chunk-AWBLC4KR.js} +1 -1
  97. package/dist/{chunk-BD2HPIZ2.js → chunk-CEWVB76M.js} +1 -1
  98. package/dist/{chunk-XKC7EJGR.js → chunk-CKNBTBD2.js} +1 -1
  99. package/dist/{chunk-SETK4FN5.js → chunk-D2JVPQGW.js} +1 -1
  100. package/dist/{chunk-FTOKCN4I.js → chunk-D7T547AR.js} +1 -1
  101. package/dist/{chunk-J6QNUNZD.js → chunk-DU6CBJ6H.js} +1 -1
  102. package/dist/{chunk-4RVDOEJR.js → chunk-DYOAQH7O.js} +2 -2
  103. package/dist/{chunk-WLYNWP34.js → chunk-DZSDUUH6.js} +1 -1
  104. package/dist/{chunk-EPVQ4OZ3.js → chunk-EQJXZVON.js} +1 -1
  105. package/dist/{chunk-Q3VKR72D.js → chunk-EWRVLT5C.js} +2 -2
  106. package/dist/{chunk-4NJQ3KYM.js → chunk-FQX3QHDD.js} +1 -1
  107. package/dist/{chunk-Y5GBXHA6.js → chunk-FZXQ72PH.js} +2 -2
  108. package/dist/chunk-GJPEYOS7.js +110 -0
  109. package/dist/{chunk-C2676ENR.js → chunk-GKKFWPFJ.js} +1 -1
  110. package/dist/{chunk-OVKHRNRD.js → chunk-H2OVGJJ4.js} +129 -8
  111. package/dist/{chunk-7KAWHHZW.js → chunk-HRSCLHZ3.js} +3 -3
  112. package/dist/chunk-JADTOJUL.js +20 -0
  113. package/dist/{chunk-O2JB7YLM.js → chunk-JHZ2EGU3.js} +4 -4
  114. package/dist/{chunk-N3VY4RNR.js → chunk-KDJZ4URB.js} +1 -1
  115. package/dist/{chunk-CUQN6WSD.js → chunk-KRKTIQIT.js} +2 -2
  116. package/dist/{chunk-TDRWUWGV.js → chunk-N2NKUIN5.js} +1 -1
  117. package/dist/{chunk-G6TM7JFC.js → chunk-N3CGQXGJ.js} +1 -1
  118. package/dist/{chunk-IF5RMDDV.js → chunk-NPKMLX6O.js} +3 -3
  119. package/dist/{chunk-YSYORPVE.js → chunk-OOKLFQMR.js} +2 -2
  120. package/dist/{chunk-ZQTEBONP.js → chunk-PCC7D7F4.js} +1 -1
  121. package/dist/{chunk-LUPO23ST.js → chunk-Q3V5HBBU.js} +2 -2
  122. package/dist/{chunk-MFRXKQAF.js → chunk-QHLYZB6Q.js} +1 -1
  123. package/dist/{chunk-ZLHVKPAQ.js → chunk-R6AOD235.js} +2 -2
  124. package/dist/{chunk-NIII72XP.js → chunk-RCXM7KGG.js} +1 -1
  125. package/dist/{chunk-7UYWPNFG.js → chunk-RZEUVQJ7.js} +1 -1
  126. package/dist/{chunk-2KQGMYAQ.js → chunk-SHU6ZR7Z.js} +1 -1
  127. package/dist/{chunk-PDQPSTK2.js → chunk-SW7BVEOI.js} +1 -1
  128. package/dist/{chunk-RAPKKIMQ.js → chunk-T6XER762.js} +1 -1
  129. package/dist/{chunk-U2TENSNB.js → chunk-TDMHM6PK.js} +1 -1
  130. package/dist/{chunk-TBHMGRN6.js → chunk-U4YVKG4N.js} +1 -1
  131. package/dist/{chunk-MFJYXWN5.js → chunk-UCSBAGUH.js} +3 -3
  132. package/dist/{chunk-2OYEVTF4.js → chunk-UG5HYGA4.js} +2 -2
  133. package/dist/{chunk-ERNIXJMN.js → chunk-UP53NPTA.js} +1 -1
  134. package/dist/{chunk-NJBKJF3Q.js → chunk-V7TF64W6.js} +3 -3
  135. package/dist/{chunk-TN5RHSI5.js → chunk-WM2CPCBH.js} +1 -1
  136. package/dist/{chunk-4TLKCRE4.js → chunk-WPFQAF4B.js} +1 -1
  137. package/dist/{chunk-R72QM6WV.js → chunk-WTGAF4R7.js} +1 -1
  138. package/dist/{chunk-YB5XT2BD.js → chunk-XGS77YSD.js} +1 -1
  139. package/dist/{chunk-QR4LRVWK.js → chunk-XLIG6LKN.js} +2 -2
  140. package/dist/{chunk-S6ES6MMW.js → chunk-XVOOO2NU.js} +2 -2
  141. package/dist/generated/index.js +108 -107
  142. package/dist/index.js +108 -107
  143. package/dist/styles.css +104 -2
  144. package/dist/utils/groupInOrder.d.ts +13 -0
  145. package/package.json +3 -3
  146. package/dist/AgentIdentitySheet-QIOWB7XK.css +0 -28
  147. package/dist/chunk-MPVJW5M6.js +0 -92
  148. package/dist/{chunk-SQPT4UZ4.js → chunk-5RJS62VA.js} +1 -1
  149. package/dist/{chunk-2SGJAD7O.js → chunk-66267KAK.js} +1 -1
  150. package/dist/{chunk-UIRMNARM.js → chunk-7RFF2FUG.js} +1 -1
  151. package/dist/{chunk-KF7ZOWJW.js → chunk-D36433LK.js} +1 -1
  152. package/dist/{chunk-XRCMG3GG.js → chunk-J7MBKOCG.js} +2 -2
  153. package/dist/{chunk-V3AWITMI.js → chunk-LIEVAY27.js} +1 -1
  154. package/dist/{chunk-H77NQVS7.js → chunk-MNGQGRH3.js} +1 -1
  155. package/dist/{chunk-ZR276S44.js → chunk-PMMCH542.js} +1 -1
  156. package/dist/{chunk-ZDENBTBY.js → chunk-QO5VU56Z.js} +1 -1
  157. package/dist/{chunk-IMYAUG56.js → chunk-QZ3QUZN7.js} +1 -1
  158. package/dist/{chunk-LR56IYSL.js → chunk-UM2LEJNT.js} +2 -2
  159. package/dist/{chunk-5TMLCOJI.js → chunk-WF76R3V7.js} +1 -1
  160. package/dist/{chunk-M4XBRBZL.js → chunk-WGL3BYU4.js} +1 -1
  161. package/dist/{chunk-Y4A7AYX4.js → chunk-XSJNLTA6.js} +1 -1
  162. package/dist/{chunk-MENY4GKL.js → chunk-Z534PYDT.js} +1 -1
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
1
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -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-ZR276S44.js';
3
+ import { Input } from './chunk-PMMCH542.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './HitArea-QUOS6ZDJ.css';
6
6
  import './Combobox-GHT43K32.css';
@@ -1,7 +1,7 @@
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-S7MHUIJX.js';
4
+ import { DataTable } from './chunk-6NRMVNL2.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';
@@ -9,7 +9,7 @@ import { Menu } from './chunk-43N4EHFR.js';
9
9
  import { Popover } from './chunk-SWZV6R46.js';
10
10
  import { Kbd } from './chunk-VBBLHS2Y.js';
11
11
  import { Button } from './chunk-YVMIT2OW.js';
12
- import { Input } from './chunk-ZR276S44.js';
12
+ import { Input } from './chunk-PMMCH542.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,4 +1,4 @@
1
- import { ChatThread } from './chunk-V3AWITMI.js';
1
+ import { ChatThread } from './chunk-LIEVAY27.js';
2
2
  import { CopyButton } from './chunk-NAHBGKE7.js';
3
3
  import { Spinner } from './chunk-XSPCITPN.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,7 +1,7 @@
1
1
  import { Select } from './chunk-DPCXOBXN.js';
2
- import { Combobox } from './chunk-EPVQ4OZ3.js';
2
+ import { Combobox } from './chunk-EQJXZVON.js';
3
3
  import { Button } from './chunk-YVMIT2OW.js';
4
- import { FormField, Textarea, InputAffix } from './chunk-ZR276S44.js';
4
+ import { FormField, Textarea, InputAffix } from './chunk-PMMCH542.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './Input-YVCNNTYT.css';
7
7
  import './VisuallyHidden-OUYVMKEH.css';
@@ -0,0 +1,110 @@
1
+ import { groupInOrder } from './chunk-JADTOJUL.js';
2
+ import { Text } from './chunk-475DOAWF.js';
3
+ import { Checkbox } from './chunk-5VICKSUE.js';
4
+ import { Button } from './chunk-YVMIT2OW.js';
5
+ import { Input } from './chunk-PMMCH542.js';
6
+ import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
7
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
8
+ import { cx } from './chunk-ODEQTPFM.js';
9
+ import './ScopeList-4THHOZ46.css';
10
+ import { useId, useState } from 'react';
11
+ import { SearchGlyph } from '@crewlethq/icons/glyphs';
12
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
13
+
14
+ var SCOPE_LIST_LABELS = {
15
+ chosen: (chosen, of) => `${chosen.toLocaleString()} of ${of.toLocaleString()} chosen`,
16
+ chooseAll: "Choose all",
17
+ clear: "Clear",
18
+ find: "Find by name or ID",
19
+ noMatch: (term) => `Nothing matches \u201C${term}\u201D.`,
20
+ none: "Nothing to choose from."
21
+ };
22
+ function ScopeList({
23
+ label,
24
+ options,
25
+ value,
26
+ onChange,
27
+ searchFrom = 8,
28
+ bulk = true,
29
+ labels: overrides,
30
+ className
31
+ }) {
32
+ const labels = { ...SCOPE_LIST_LABELS, ...overrides };
33
+ const base = useId();
34
+ const [term, setTerm] = useState("");
35
+ const chosen = new Set(value);
36
+ const searchable = options.length >= searchFrom;
37
+ const find = searchable ? term.trim().toLowerCase() : "";
38
+ const shown = find ? options.filter(
39
+ (o) => `${o.label} ${o.detail ?? ""} ${o.id ?? ""} ${o.value} ${o.group ?? ""}`.toLowerCase().includes(find)
40
+ ) : options;
41
+ const open = shown.filter((o) => !o.disabled);
42
+ const allShown = open.length > 0 && open.every((o) => chosen.has(o.value));
43
+ const toggleShown = () => {
44
+ if (allShown) {
45
+ const off = new Set(open.map((o) => o.value));
46
+ onChange(value.filter((v) => !off.has(v)));
47
+ } else {
48
+ onChange([...value, ...open.map((o) => o.value).filter((v) => !chosen.has(v))]);
49
+ }
50
+ };
51
+ const count = options.filter((o) => chosen.has(o.value)).length;
52
+ const Heading = headingTag(useHeadingLevel());
53
+ const row = (o, i, groupId) => {
54
+ const on = chosen.has(o.value);
55
+ const idId = o.id && o.id !== o.label ? `${base}-id-${i}` : void 0;
56
+ return /* @__PURE__ */ jsxs("li", { className: "crewlet-scope-list__row", "data-chosen": on || void 0, children: [
57
+ /* @__PURE__ */ jsx(
58
+ Checkbox,
59
+ {
60
+ className: "crewlet-scope-list__check",
61
+ label: o.label,
62
+ description: o.detail || o.disabled && o.disabledReason ? /* @__PURE__ */ jsxs(Fragment, { children: [
63
+ o.detail ? /* @__PURE__ */ jsx("span", { className: "crewlet-scope-list__detail", children: o.detail }) : null,
64
+ o.disabled && o.disabledReason ? /* @__PURE__ */ jsx("span", { children: o.disabledReason }) : null
65
+ ] }) : void 0,
66
+ checked: on,
67
+ disabled: o.disabled,
68
+ "aria-describedby": cx(idId, groupId) || void 0,
69
+ onCheckedChange: (next) => onChange(next ? [...value, o.value] : value.filter((v) => v !== o.value))
70
+ }
71
+ ),
72
+ idId ? /* @__PURE__ */ jsx(Text, { id: idId, variant: "caption", tone: "tertiary", mono: true, className: "crewlet-scope-list__id", children: o.id }) : null
73
+ ] }, o.value);
74
+ };
75
+ const at = new Map(shown.map((o, i) => [o.value, i]));
76
+ const visible = new Set(shown);
77
+ const runs = groupInOrder(options).map((run) => ({ ...run, items: run.items.filter((o) => visible.has(o)) })).filter((run) => run.items.length > 0);
78
+ return /* @__PURE__ */ jsxs("fieldset", { className: cx("crewlet-scope-list", className), children: [
79
+ /* @__PURE__ */ jsx(VisuallyHidden, { as: "legend", children: label }),
80
+ bulk ? /* @__PURE__ */ jsxs("div", { className: "crewlet-scope-list__bar", children: [
81
+ /* @__PURE__ */ jsx(Text, { variant: "caption", tone: "secondary", children: labels.chosen(count, options.length) }),
82
+ /* @__PURE__ */ jsx(Button, { size: "small", variant: "ghost", disabled: open.length === 0, onClick: toggleShown, children: allShown ? labels.clear : labels.chooseAll })
83
+ ] }) : null,
84
+ searchable ? /* @__PURE__ */ jsx(
85
+ Input,
86
+ {
87
+ type: "search",
88
+ "aria-label": labels.find,
89
+ placeholder: labels.find,
90
+ inputSize: "sm",
91
+ width: "full",
92
+ leading: /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }),
93
+ value: term,
94
+ onChange: (e) => setTerm(e.target.value)
95
+ }
96
+ ) : null,
97
+ shown.length > 0 ? runs.map((run, r) => {
98
+ if (run.name === void 0) {
99
+ return /* @__PURE__ */ jsx("ul", { className: "crewlet-scope-list__rows", children: run.items.map((o) => row(o, at.get(o.value), void 0)) }, "");
100
+ }
101
+ const groupId = `${base}-group-${r}`;
102
+ return /* @__PURE__ */ jsxs("div", { role: "group", "aria-labelledby": groupId, className: "crewlet-scope-list__group", children: [
103
+ /* @__PURE__ */ jsx(Text, { as: Heading, id: groupId, variant: "label", className: "crewlet-scope-list__group-name", children: run.name }),
104
+ /* @__PURE__ */ jsx("ul", { className: "crewlet-scope-list__rows", children: run.items.map((o) => row(o, at.get(o.value), groupId)) })
105
+ ] }, run.name);
106
+ }) : /* @__PURE__ */ jsx(Text, { as: "p", variant: "caption", tone: "secondary", className: "crewlet-scope-list__empty", children: find ? labels.noMatch(term.trim()) : labels.none })
107
+ ] });
108
+ }
109
+
110
+ export { SCOPE_LIST_LABELS, ScopeList };
@@ -1,4 +1,4 @@
1
- import { consequencesAnswered, ConsequenceList } from './chunk-N3VY4RNR.js';
1
+ import { consequencesAnswered, ConsequenceList } from './chunk-KDJZ4URB.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,25 +1,30 @@
1
+ import { groupInOrder } from './chunk-JADTOJUL.js';
1
2
  import { List, ListItem } from './chunk-Q7ZP6UPU.js';
2
3
  import { FileDrop, FilePickButton } from './chunk-ICIWCUDN.js';
3
4
  import { StepList, Stepper } from './chunk-2MN3RNRM.js';
4
5
  import { Copyable } from './chunk-ISM47T7P.js';
5
- import { Modal } from './chunk-C2676ENR.js';
6
+ import { Modal } from './chunk-GKKFWPFJ.js';
6
7
  import { Callout } from './chunk-XJLGQ7U7.js';
7
8
  import { Tag } from './chunk-ASBBB5AJ.js';
8
9
  import { Text } from './chunk-475DOAWF.js';
9
10
  import { Disclosure } from './chunk-RUROK3EU.js';
10
11
  import { Button, ButtonLink } from './chunk-YVMIT2OW.js';
11
- import { FormField, Input } from './chunk-ZR276S44.js';
12
+ import { FormField, Input } from './chunk-PMMCH542.js';
13
+ import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
12
14
  import { cx } from './chunk-ODEQTPFM.js';
13
15
  import './AgentIdentity-KQWGKBNT.css';
14
- import './AgentIdentitySheet-QIOWB7XK.css';
15
- import { useId, useState, useRef, useEffect } from 'react';
16
+ import './AgentIdentitySheet-WLJL3KT7.css';
17
+ import { useId, useState, useRef, useEffect, Children, isValidElement } from 'react';
16
18
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
19
+ import { ExternalLinkGlyph } from '@crewlethq/icons/glyphs';
17
20
 
18
21
  var AGENT_IDENTITY_STATES = [
19
22
  "company",
20
23
  "none",
24
+ "preparing",
21
25
  "checking",
22
26
  "ready",
27
+ "unchecked",
23
28
  "wrong_role",
24
29
  "wrong_team",
25
30
  "refused",
@@ -28,8 +33,10 @@ var AGENT_IDENTITY_STATES = [
28
33
  var AGENT_IDENTITY_CHIPS = {
29
34
  company: { label: "Company's", tone: "neutral" },
30
35
  none: { label: "Not set up", tone: "warning" },
36
+ preparing: { label: "Getting ready", tone: "info" },
31
37
  checking: { label: "Checking", tone: "info" },
32
38
  ready: { label: "Ready", tone: "success" },
39
+ unchecked: { label: "Role not checked", tone: "info" },
33
40
  wrong_role: { label: "Wrong role", tone: "warning" },
34
41
  wrong_team: { label: "Wrong team", tone: "danger" },
35
42
  refused: { label: "Refused", tone: "danger" },
@@ -46,7 +53,7 @@ function agentIdentityNeedsSetUp(state) {
46
53
  return state === "company" || state === "none" || state === "wrong_role" || state === "wrong_team" || state === "refused";
47
54
  }
48
55
  function agentIdentityNeedsYou(state, perAgent) {
49
- return perAgent && state !== "ready";
56
+ return perAgent && state !== "ready" && state !== "preparing" && state !== "unchecked";
50
57
  }
51
58
  function AgentIdentity({
52
59
  vendor,
@@ -64,9 +71,10 @@ function AgentIdentity({
64
71
  const titleId = useId();
65
72
  const chip = AGENT_IDENTITY_CHIPS[state];
66
73
  const setUp = perAgent && agentIdentityNeedsSetUp(state);
67
- const replace = perAgent && state === "ready";
74
+ const replace = perAgent && (state === "ready" || state === "unchecked");
68
75
  const primary = onSetUp && (setUp || replace) ? setUp ? AGENT_IDENTITY_WORDS.setUp : AGENT_IDENTITY_WORDS.replace : null;
69
76
  const company = perAgent && onUseCompany && state === "refused";
77
+ const calm = state === "preparing" || state === "unchecked";
70
78
  return /* @__PURE__ */ jsxs(
71
79
  "section",
72
80
  {
@@ -109,11 +117,35 @@ function AgentIdentity({
109
117
  ] }) : null
110
118
  ] }),
111
119
  /* @__PURE__ */ jsx(Text, { as: "p", variant: "caption", tone: "secondary", className: "crewlet-agent-identity__summary", children: summary }),
112
- problem ? /* @__PURE__ */ jsx(Callout, { variant: chip.tone === "danger" ? "danger" : "warning", title: problem.title, action: problem.action, children: problem.body }) : null
120
+ problem ? /* @__PURE__ */ jsx(
121
+ Callout,
122
+ {
123
+ variant: chip.tone === "danger" ? "danger" : calm ? "info" : "warning",
124
+ title: problem.title,
125
+ action: problem.action,
126
+ children: problem.body
127
+ }
128
+ ) : null
113
129
  ]
114
130
  }
115
131
  );
116
132
  }
133
+ function agentIdentityEntryChip(state, vendor) {
134
+ switch (state) {
135
+ case "missing":
136
+ return { label: "Not added yet", tone: "warning" };
137
+ case "added":
138
+ return { label: "Added", tone: "success" };
139
+ case "applying":
140
+ return { label: `${vendor} is applying it`, tone: "info" };
141
+ case "wrong_role":
142
+ return AGENT_IDENTITY_CHIPS.wrong_role;
143
+ case "unchecked":
144
+ return AGENT_IDENTITY_CHIPS.unchecked;
145
+ case "unknown":
146
+ return null;
147
+ }
148
+ }
117
149
  function AgentIdentitySheet(props) {
118
150
  return props.open ? /* @__PURE__ */ jsx(Walk, { ...props }) : null;
119
151
  }
@@ -137,6 +169,10 @@ function Walk({
137
169
  link,
138
170
  note,
139
171
  caution,
172
+ entries,
173
+ entryAction = "Open",
174
+ wider,
175
+ notReady: notYet,
140
176
  make,
141
177
  handIn,
142
178
  reads,
@@ -264,8 +300,10 @@ function Walk({
264
300
  };
265
301
  });
266
302
  const vendorSteps = /* @__PURE__ */ jsx(VendorSteps, { steps, link });
303
+ const held = shownNode(notYet) ? plainText(notYet) || "Not ready yet." : void 0;
267
304
  const content = {
268
305
  vendor: /* @__PURE__ */ jsxs(Fragment, { children: [
306
+ shownNode(notYet) ? /* @__PURE__ */ jsx(Callout, { variant: "info", children: notYet }) : null,
269
307
  caution,
270
308
  make ? /* @__PURE__ */ jsx(
271
309
  Callout,
@@ -277,6 +315,11 @@ function Walk({
277
315
  }
278
316
  ) : null,
279
317
  makeable ? /* @__PURE__ */ jsx(Disclosure, { title: `Or make it by hand at ${vendor}`, size: "compact", children: vendorSteps }) : vendorSteps,
318
+ entries && entries.length > 0 ? /* @__PURE__ */ jsx(Entries, { entries, vendor, action: entryAction, held }) : null,
319
+ wider ? /* @__PURE__ */ jsxs(Callout, { variant: "neutral", appearance: "quiet", title: wider.title, children: [
320
+ /* @__PURE__ */ jsx("div", { children: wider.body }),
321
+ wider.links.length > 0 ? /* @__PURE__ */ jsx("div", { className: "crewlet-agent-identity-sheet__wider-links", children: wider.links.map((l) => /* @__PURE__ */ jsx(VendorLink, { href: l.href, held, children: l.label }, l.href)) }) : null
322
+ ] }) : null,
280
323
  note ? /* @__PURE__ */ jsx(Text, { as: "p", variant: "caption", tone: "secondary", className: "crewlet-agent-identity-sheet__note", children: note }) : null
281
324
  ] }),
282
325
  back: handIn.kind === "file" ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -412,5 +455,83 @@ function VendorSteps({
412
455
  link ? /* @__PURE__ */ jsx("span", { className: "crewlet-agent-identity-sheet__link", children: /* @__PURE__ */ jsx(ButtonLink, { size: "small", variant: "secondary", href: link.href, external: true, children: link.label }) }) : null
413
456
  ] });
414
457
  }
458
+ function shownNode(node) {
459
+ return node !== null && node !== void 0 && typeof node !== "boolean" && node !== "";
460
+ }
461
+ function plainText(node) {
462
+ const words = (n) => Children.toArray(n).map(
463
+ (child) => typeof child === "string" || typeof child === "number" ? String(child) : isValidElement(child) ? words(child.props.children) : ""
464
+ ).join("");
465
+ return words(node).replace(/\s+/g, " ").trim();
466
+ }
467
+ function VendorLink({
468
+ href,
469
+ held,
470
+ children,
471
+ ...aria
472
+ }) {
473
+ return held === void 0 ? /* @__PURE__ */ jsx(ButtonLink, { size: "small", variant: "secondary", href, external: true, ...aria, children }) : /* @__PURE__ */ jsx(
474
+ Button,
475
+ {
476
+ size: "small",
477
+ variant: "secondary",
478
+ disabledReason: held,
479
+ tooltip: true,
480
+ trailingIcon: /* @__PURE__ */ jsx(ExternalLinkGlyph, { size: "sm" }),
481
+ ...aria,
482
+ children
483
+ }
484
+ );
485
+ }
486
+ function Entries({
487
+ entries,
488
+ vendor,
489
+ action,
490
+ held
491
+ }) {
492
+ const base = useId();
493
+ const Heading = headingTag(useHeadingLevel());
494
+ const at = new Map(entries.map((e, i) => [e, i]));
495
+ return /* @__PURE__ */ jsx("div", { className: "crewlet-agent-identity-sheet__entries", children: groupInOrder(entries).map((run, r) => {
496
+ const groupId = run.name === void 0 ? void 0 : `${base}-group-${r}`;
497
+ const rows = /* @__PURE__ */ jsx("ul", { className: "crewlet-agent-identity-sheet__entry-rows", children: run.items.map((entry) => {
498
+ const idId = `${base}-id-${at.get(entry)}`;
499
+ const chip = agentIdentityEntryChip(entry.state, vendor);
500
+ return /* @__PURE__ */ jsxs("li", { className: "crewlet-agent-identity-sheet__entry", "data-state": entry.state, children: [
501
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-agent-identity-sheet__entry-words", children: [
502
+ /* @__PURE__ */ jsx(Text, { className: "crewlet-agent-identity-sheet__entry-name", children: entry.name }),
503
+ /* @__PURE__ */ jsx(Text, { id: idId, variant: "caption", tone: "tertiary", mono: true, className: "crewlet-agent-identity-sheet__entry-id", children: entry.id }),
504
+ shownNode(entry.note) ? /* @__PURE__ */ jsx(Text, { variant: "caption", tone: "secondary", children: entry.note }) : null
505
+ ] }),
506
+ chip || entry.state !== "added" && entry.href ? /* @__PURE__ */ jsxs("span", { className: "crewlet-agent-identity-sheet__entry-end", children: [
507
+ chip ? /* @__PURE__ */ jsx(Tag, { size: "sm", variant: chip.tone, children: chip.label }) : null,
508
+ entry.state !== "added" && entry.href ? /* @__PURE__ */ jsx(
509
+ VendorLink,
510
+ {
511
+ href: entry.href,
512
+ held,
513
+ "aria-label": `${action}: ${entry.name}`,
514
+ "aria-describedby": cx(idId, groupId),
515
+ children: action
516
+ }
517
+ ) : null
518
+ ] }) : null
519
+ ] }, entry.id);
520
+ }) });
521
+ return groupId === void 0 ? /* @__PURE__ */ jsx("div", { className: "crewlet-agent-identity-sheet__entry-group", children: rows }, "") : /* @__PURE__ */ jsxs(
522
+ "div",
523
+ {
524
+ role: "group",
525
+ "aria-labelledby": groupId,
526
+ className: "crewlet-agent-identity-sheet__entry-group",
527
+ children: [
528
+ /* @__PURE__ */ jsx(Text, { as: Heading, id: groupId, variant: "label", className: "crewlet-agent-identity-sheet__entry-group-name", children: run.name }),
529
+ rows
530
+ ]
531
+ },
532
+ run.name
533
+ );
534
+ }) });
535
+ }
415
536
 
416
- export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, AgentIdentitySheet, agentIdentityNeedsSetUp, agentIdentityNeedsYou };
537
+ export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, AgentIdentitySheet, agentIdentityEntryChip, agentIdentityNeedsSetUp, agentIdentityNeedsYou };
@@ -1,8 +1,8 @@
1
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
2
- import { Modal } from './chunk-C2676ENR.js';
1
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
2
+ import { Modal } from './chunk-GKKFWPFJ.js';
3
3
  import { Callout } from './chunk-XJLGQ7U7.js';
4
4
  import { Button } from './chunk-YVMIT2OW.js';
5
- import { FormField, Input } from './chunk-ZR276S44.js';
5
+ import { FormField, Input } from './chunk-PMMCH542.js';
6
6
  import { useState } from 'react';
7
7
  import { ClockGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -0,0 +1,20 @@
1
+ // src/utils/groupInOrder.ts
2
+ function groupInOrder(items) {
3
+ const loose = [];
4
+ const runs = /* @__PURE__ */ new Map();
5
+ for (const item of items) {
6
+ if (item.group === void 0 || item.group === "") {
7
+ loose.push(item);
8
+ continue;
9
+ }
10
+ const run = runs.get(item.group);
11
+ if (run) run.push(item);
12
+ else runs.set(item.group, [item]);
13
+ }
14
+ return [
15
+ ...loose.length > 0 ? [{ name: void 0, items: loose }] : [],
16
+ ...[...runs].map(([name, run]) => ({ name, items: run }))
17
+ ];
18
+ }
19
+
20
+ export { groupInOrder };
@@ -1,14 +1,14 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
2
2
  import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
3
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
+ import { Modal } from './chunk-GKKFWPFJ.js';
5
+ import { Text } from './chunk-475DOAWF.js';
4
6
  import { Popover } from './chunk-SWZV6R46.js';
7
+ import { Input } from './chunk-PMMCH542.js';
5
8
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
- import { Modal } from './chunk-C2676ENR.js';
7
- import { Text } from './chunk-475DOAWF.js';
8
- import { Input } from './chunk-ZR276S44.js';
9
- import { announce } from './chunk-WGMKERCR.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,6 +1,6 @@
1
1
  import { Eyebrow } from './chunk-RK4XPHVG.js';
2
2
  import { InlineCode } from './chunk-W4UJWFCZ.js';
3
- import { Checkbox } from './chunk-2DESFB7K.js';
3
+ import { Checkbox } from './chunk-5VICKSUE.js';
4
4
  import { titleWhenCut } from './chunk-WSIJDWUG.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './ConsequenceList-EEXTCT6J.css';
@@ -1,6 +1,6 @@
1
1
  import { Menu } from './chunk-43N4EHFR.js';
2
- import { useReorder } from './chunk-H77NQVS7.js';
3
- import { Input } from './chunk-ZR276S44.js';
2
+ import { useReorder } from './chunk-MNGQGRH3.js';
3
+ import { Input } from './chunk-PMMCH542.js';
4
4
  import { IconButton } from './chunk-66H4BC5Z.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
2
  import { Popover } from './chunk-SWZV6R46.js';
3
- import { Input } from './chunk-ZR276S44.js';
3
+ import { Input } from './chunk-PMMCH542.js';
4
4
  import { Tooltip } from './chunk-ZF5ELYJ3.js';
5
5
  import { isComposing } from './chunk-EDPMHSLZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { SidebarNav } from './chunk-IMYAUG56.js';
1
+ import { SidebarNav } from './chunk-QZ3QUZN7.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SectionFrame-M62UUVFQ.css';
@@ -1,12 +1,12 @@
1
1
  import { Select } from './chunk-DPCXOBXN.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-5F62NQON.js';
3
+ import { HueSwatch } from './chunk-A4XJHBMM.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
5
  import { Menu } from './chunk-43N4EHFR.js';
6
+ import { Checkbox } from './chunk-5VICKSUE.js';
6
7
  import { Kbd } from './chunk-VBBLHS2Y.js';
7
- import { Checkbox } from './chunk-2DESFB7K.js';
8
8
  import { Button } from './chunk-YVMIT2OW.js';
9
- import { FormField, Input } from './chunk-ZR276S44.js';
9
+ import { FormField, Input } from './chunk-PMMCH542.js';
10
10
  import { IconButton } from './chunk-66H4BC5Z.js';
11
11
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
12
12
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
3
- import { tabId } from './chunk-Y4A7AYX4.js';
2
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
3
+ import { tabId } from './chunk-XSJNLTA6.js';
4
4
  import { IconButton } from './chunk-66H4BC5Z.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './MarkdownEditor-BLCJRGDC.css';
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
2
- import { FormField, Input, InputAffix } from './chunk-ZR276S44.js';
2
+ import { FormField, Input, InputAffix } from './chunk-PMMCH542.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 { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
2
+ import { useScrollerFocus, Modal } from './chunk-GKKFWPFJ.js';
2
3
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
- import { useScrollerFocus, Modal } from './chunk-C2676ENR.js';
5
- import { Input } from './chunk-ZR276S44.js';
5
+ import { Input } from './chunk-PMMCH542.js';
6
6
  import { Count } from './chunk-6YKTRAWI.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
8
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,4 +1,4 @@
1
- import { Checkbox } from './chunk-2DESFB7K.js';
1
+ import { Checkbox } from './chunk-5VICKSUE.js';
2
2
  import { IconButton } from './chunk-66H4BC5Z.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
@@ -1,5 +1,5 @@
1
- import { PresetChips } from './chunk-WLYNWP34.js';
2
- import { Input } from './chunk-ZR276S44.js';
1
+ import { PresetChips } from './chunk-DZSDUUH6.js';
2
+ import { Input } from './chunk-PMMCH542.js';
3
3
  import { useFieldError } from './chunk-JLKO7PSK.js';
4
4
  import { IconButton } from './chunk-66H4BC5Z.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
1
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
2
2
  import { ArtifactIcon } from './chunk-AVL52EME.js';
3
3
  import { Menu } from './chunk-43N4EHFR.js';
4
4
  import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
@@ -1,5 +1,5 @@
1
1
  import { DiffView } from './chunk-4YLN5QVL.js';
2
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
2
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
3
3
  import { EmptyState } from './chunk-HG7J6I65.js';
4
4
  import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { HuePicker } from './chunk-5F62NQON.js';
1
+ import { HuePicker } from './chunk-A4XJHBMM.js';
2
2
  import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
3
3
  import { CharacterPicker } from './chunk-CBUAKPF7.js';
4
4
  import { Popover } from './chunk-SWZV6R46.js';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-2XC4MYBB.js';
2
+ import { SegmentedControl } from './chunk-AWBLC4KR.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,4 +1,4 @@
1
- import { ConfirmModal } from './chunk-C2676ENR.js';
1
+ import { ConfirmModal } from './chunk-GKKFWPFJ.js';
2
2
  import { Callout } from './chunk-XJLGQ7U7.js';
3
3
  import { InlineCode } from './chunk-W4UJWFCZ.js';
4
4
  import './LinkInterstitial-ET4MSVSV.css';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-EPVQ4OZ3.js';
1
+ import { Combobox } from './chunk-EQJXZVON.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,5 +1,5 @@
1
1
  import { InlineCode } from './chunk-W4UJWFCZ.js';
2
- import { FormField, Input } from './chunk-ZR276S44.js';
2
+ import { FormField, Input } from './chunk-PMMCH542.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
5
5
  function confirmMatches(typed, phrase) {
@@ -1,11 +1,11 @@
1
- import { useReorder } from './chunk-H77NQVS7.js';
1
+ import { useReorder } from './chunk-MNGQGRH3.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
3
  import { Button } from './chunk-YVMIT2OW.js';
4
- import { FormField, Textarea } from './chunk-ZR276S44.js';
4
+ import { FormField, Textarea } from './chunk-PMMCH542.js';
5
5
  import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
6
- import { announce } from './chunk-WGMKERCR.js';
7
6
  import { IconButton } from './chunk-66H4BC5Z.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,10 +1,10 @@
1
1
  import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
2
- import { fitGridColumns } from './chunk-NJBKJF3Q.js';
2
+ import { fitGridColumns } from './chunk-V7TF64W6.js';
3
3
  import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-T76E2NIF.js';
4
4
  import { LayerNodeBridge } from './chunk-DFFQGGAD.js';
5
+ import { Checkbox } from './chunk-5VICKSUE.js';
5
6
  import { EmptyState } from './chunk-HG7J6I65.js';
6
7
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
- import { Checkbox } from './chunk-2DESFB7K.js';
8
8
  import { IconButton } from './chunk-66H4BC5Z.js';
9
9
  import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-NCM4VYRF.js';
10
10
  import { focusables } from './chunk-EDPMHSLZ.js';
@@ -1,5 +1,5 @@
1
1
  import { Button } from './chunk-YVMIT2OW.js';
2
- import { FormField } from './chunk-ZR276S44.js';
2
+ import { FormField } from './chunk-PMMCH542.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SettingForm-ODVZZ7JZ.css';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';