@crewlethq/ui 0.128.0 → 0.128.2

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 (116) hide show
  1. package/dist/AgentHandoffPanel/index.js +7 -7
  2. package/dist/AppShell/index.js +4 -4
  3. package/dist/ArtifactBar/index.js +4 -4
  4. package/dist/ArtifactCard/index.js +2 -2
  5. package/dist/ArtifactMakeRow/index.js +1 -1
  6. package/dist/AvatarPicker/index.js +5 -5
  7. package/dist/ChatThread/index.js +3 -3
  8. package/dist/CodeBlock/index.js +3 -2
  9. package/dist/ColorSwatch/index.js +3 -2
  10. package/dist/Combobox/index.js +2 -2
  11. package/dist/CommandPalette/index.js +6 -6
  12. package/dist/CommentThread/index.js +6 -6
  13. package/dist/Composer/index.js +3 -3
  14. package/dist/Copyable/index.js +2 -1
  15. package/dist/DataGrid/index.js +3 -3
  16. package/dist/DataTable/index.js +5 -5
  17. package/dist/DataView/index.js +7 -7
  18. package/dist/DocTabsEditor/index.js +4 -4
  19. package/dist/DockColumn/index.js +1 -1
  20. package/dist/{Editor-UIBCHECM.js → Editor-2TWJE7OR.js} +4 -4
  21. package/dist/HuePicker/index.js +4 -4
  22. package/dist/KeyValueRows/index.js +3 -3
  23. package/dist/LinkInterstitial/index.js +2 -2
  24. package/dist/ListInput/index.js +4 -4
  25. package/dist/MarkdownEditor/index.js +4 -4
  26. package/dist/MentionMenu/MentionMenu.d.ts +4 -3
  27. package/dist/Menu/Menu.d.ts +4 -0
  28. package/dist/Menu/index.js +1 -1
  29. package/dist/MergeConflicts/index.js +4 -4
  30. package/dist/Modal/Modal.d.ts +5 -1
  31. package/dist/Modal/index.js +1 -1
  32. package/dist/{Modal-ENCXGQKV.css → Modal-45OKI6BE.css} +9 -0
  33. package/dist/OrgTable/index.js +6 -6
  34. package/dist/PrincipalPicker/index.js +3 -3
  35. package/dist/ProposalCard/index.js +3 -3
  36. package/dist/RailList/index.js +5 -5
  37. package/dist/RichEditor/index.js +1 -1
  38. package/dist/SearchTrigger/SearchTrigger.d.ts +15 -7
  39. package/dist/SearchTrigger/index.js +1 -1
  40. package/dist/{SearchTrigger-SE4GKNAY.css → SearchTrigger-MME7NIHX.css} +13 -1
  41. package/dist/SectionFrame/index.js +3 -3
  42. package/dist/SegmentedControl/index.js +3 -3
  43. package/dist/Select/index.js +2 -2
  44. package/dist/SendKeys/index.js +2 -2
  45. package/dist/SettingsTable/SettingsTable.d.ts +3 -2
  46. package/dist/SettingsTable/index.js +15 -1
  47. package/dist/{SettingsTable-6DUFAFXG.css → SettingsTable-CBB56SMP.css} +12 -8
  48. package/dist/SetupWizard/index.js +1 -1
  49. package/dist/ShareDialog/index.js +8 -7
  50. package/dist/SheetColumnEditor/index.js +11 -11
  51. package/dist/SheetGrid/index.js +2 -2
  52. package/dist/SidebarNav/index.js +2 -2
  53. package/dist/SlideFilmstrip/index.js +4 -4
  54. package/dist/Switcher/index.js +4 -4
  55. package/dist/Tabs/index.js +2 -2
  56. package/dist/ThemeSwitcher/index.js +4 -4
  57. package/dist/TimeRangePicker/index.js +8 -8
  58. package/dist/TimeWindowPicker/index.js +5 -5
  59. package/dist/TreeCanvas/index.js +2 -2
  60. package/dist/TreeGrid/index.js +4 -4
  61. package/dist/ValueField/index.js +4 -4
  62. package/dist/VersionCompare/index.js +4 -4
  63. package/dist/chunk-2MEBMWNO.js +50 -0
  64. package/dist/{chunk-RA5FPMPE.js → chunk-36XKE7MH.js} +1 -1
  65. package/dist/{chunk-7MKWQ3ZL.js → chunk-3DAIOPAV.js} +1 -1
  66. package/dist/{chunk-26TNM64L.js → chunk-3DGNF2EH.js} +3 -3
  67. package/dist/{chunk-FXKRSBUM.js → chunk-3P24SMTI.js} +3 -3
  68. package/dist/{chunk-HGL7HMBZ.js → chunk-3WSDAVE6.js} +1 -1
  69. package/dist/{chunk-7AAM3PCB.js → chunk-7FSIBX4S.js} +1 -1
  70. package/dist/{chunk-5EOOS2VG.js → chunk-A3SQWUWG.js} +2 -3
  71. package/dist/{chunk-ORBM3IHQ.js → chunk-AIYSPVVZ.js} +1 -1
  72. package/dist/{chunk-Y54H5NJO.js → chunk-BF3PFRBE.js} +1 -1
  73. package/dist/{chunk-7GGX7TDB.js → chunk-DL6Y7SVB.js} +2 -2
  74. package/dist/{chunk-CMS5MLTU.js → chunk-E3AFQTWT.js} +1 -1
  75. package/dist/{chunk-LPP2PMKP.js → chunk-EFY7R766.js} +1 -1
  76. package/dist/{chunk-FIQGLZ5Q.js → chunk-EGHOU7U2.js} +7 -3
  77. package/dist/{chunk-AVK7RRQ4.js → chunk-FO4OY4RV.js} +3 -46
  78. package/dist/{chunk-Y7F23SAX.js → chunk-FPCTHIV6.js} +1 -1
  79. package/dist/{chunk-SOYPCCSJ.js → chunk-FRXOUBN2.js} +32 -2
  80. package/dist/{chunk-NKYBXVYQ.js → chunk-GPEXCG5K.js} +1 -1
  81. package/dist/{chunk-ELV2BL4R.js → chunk-GQPKDPMS.js} +2 -2
  82. package/dist/{chunk-KANE3PVJ.js → chunk-H2QSDZTX.js} +1 -1
  83. package/dist/{chunk-L2N7SZFY.js → chunk-JY6WSDUG.js} +1 -1
  84. package/dist/{chunk-ERNT3UTB.js → chunk-K5WTII2H.js} +3 -4
  85. package/dist/{chunk-ICIJUGKK.js → chunk-MNACKUBB.js} +4 -4
  86. package/dist/{chunk-UL46NV3X.js → chunk-NLGRDKCK.js} +2 -2
  87. package/dist/{chunk-4VQYVWPU.js → chunk-NMBGVHGQ.js} +2 -2
  88. package/dist/{chunk-LETSZEMX.js → chunk-NSUMHNUS.js} +1 -1
  89. package/dist/{chunk-AVH6XN2O.js → chunk-NZFYX5UF.js} +1 -1
  90. package/dist/{chunk-2JXILC4H.js → chunk-O43SIR3W.js} +1 -1
  91. package/dist/{chunk-GHRCG45F.js → chunk-PFTUWDZN.js} +1 -1
  92. package/dist/{chunk-56WQTRIW.js → chunk-Q6QKY7EZ.js} +1 -1
  93. package/dist/{chunk-PCSIMBUQ.js → chunk-QDXSBVZR.js} +2 -2
  94. package/dist/{chunk-W25SEC3I.js → chunk-SG2M6SBD.js} +1 -1
  95. package/dist/{chunk-FODDW4BC.js → chunk-V2FD4RPS.js} +1 -1
  96. package/dist/{chunk-RE6MXNIM.js → chunk-V47JOO72.js} +2 -2
  97. package/dist/{chunk-BZVQ7KTX.js → chunk-VCFV7FTE.js} +1 -1
  98. package/dist/{chunk-NB2QYDYA.js → chunk-VIS6DKGQ.js} +1 -1
  99. package/dist/{chunk-IU7QVXHA.js → chunk-VSD3536L.js} +5 -4
  100. package/dist/{chunk-6LG6JJSW.js → chunk-WZ5TDJ2K.js} +4 -4
  101. package/dist/{chunk-6RMR2YYQ.js → chunk-XYZA7OSE.js} +2 -2
  102. package/dist/{chunk-LLPDEZT5.js → chunk-Y7FPSBCN.js} +2 -2
  103. package/dist/{chunk-66TVD3RU.js → chunk-YNREHSBZ.js} +1 -1
  104. package/dist/generated/index.js +84 -83
  105. package/dist/index.js +84 -83
  106. package/dist/styles.css +37 -12
  107. package/package.json +3 -3
  108. package/dist/{chunk-YKCLV77Z.js → chunk-6ZFQ6TAM.js} +1 -1
  109. package/dist/{chunk-COPAHZHK.js → chunk-CPWSBK3F.js} +1 -1
  110. package/dist/{chunk-CRXNGDYG.js → chunk-KTKPC3CV.js} +1 -1
  111. package/dist/{chunk-U56B2BAX.js → chunk-Q7WKCU2U.js} +1 -1
  112. package/dist/{chunk-BS5DASEB.js → chunk-SM2MM4DQ.js} +1 -1
  113. package/dist/{chunk-YUVQUJND.js → chunk-UZMXC5T6.js} +1 -1
  114. package/dist/{chunk-CWGZE3JW.js → chunk-WUJ54OTI.js} +1 -1
  115. package/dist/{chunk-PAK2FUDN.js → chunk-XZB53C7U.js} +1 -1
  116. package/dist/{chunk-2ZO7WP3T.js → chunk-Z64KEJ3N.js} +2 -2
@@ -1,8 +1,8 @@
1
- import { Modal } from './chunk-IU7QVXHA.js';
1
+ import { Modal } from './chunk-VSD3536L.js';
2
2
  import { Callout } from './chunk-RCQLXOGS.js';
3
- import { SegmentedControl } from './chunk-FODDW4BC.js';
4
- import { Button } from './chunk-M2M6ZD7P.js';
3
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
5
4
  import { FormField, Input } from './chunk-NN44J7BP.js';
5
+ import { Button } from './chunk-M2M6ZD7P.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';
@@ -1,5 +1,5 @@
1
- import { Menu } from './chunk-FIQGLZ5Q.js';
2
1
  import { useReorder } from './chunk-JMBPMSNI.js';
2
+ import { Menu } from './chunk-EGHOU7U2.js';
3
3
  import { Input } from './chunk-NN44J7BP.js';
4
4
  import { IconButton } from './chunk-X5YI6E5X.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,6 +1,6 @@
1
1
  import { SlideStage } from './chunk-7O53SWKI.js';
2
- import { Menu } from './chunk-FIQGLZ5Q.js';
3
2
  import { useReorder } from './chunk-JMBPMSNI.js';
3
+ import { Menu } from './chunk-EGHOU7U2.js';
4
4
  import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -35,7 +35,7 @@ function MakeItem({ item }) {
35
35
  /* @__PURE__ */ jsx("span", { className: cx("crewlet-make-row__mark", `crewlet-kind--${kind}`), "aria-hidden": "true", children: /* @__PURE__ */ jsx(ArtifactKindGlyph, { kind, size: "sm" }) }),
36
36
  /* @__PURE__ */ jsxs("span", { className: "crewlet-make-row__words", children: [
37
37
  /* @__PURE__ */ jsx("span", { className: "crewlet-make-row__name", children: label }),
38
- detail ? /* @__PURE__ */ jsx("span", { id: detailId, className: "crewlet-make-row__detail", children: detail }) : null
38
+ detail ? /* @__PURE__ */ jsx("span", { id: detailId, className: "crewlet-make-row__detail", "aria-hidden": "true", children: detail }) : null
39
39
  ] })
40
40
  ] });
41
41
  const describedBy = detail ? detailId : void 0;
@@ -46,7 +46,6 @@ function MakeItem({ item }) {
46
46
  {
47
47
  role: "link",
48
48
  tabIndex: 0,
49
- "aria-label": label,
50
49
  "aria-disabled": "true",
51
50
  "aria-describedby": disabledReason ? reasonId : describedBy,
52
51
  title: disabledReason,
@@ -57,7 +56,7 @@ function MakeItem({ item }) {
57
56
  disabledReason ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason }) : null
58
57
  ] });
59
58
  }
60
- return /* @__PURE__ */ jsx("a", { href, "aria-label": label, "aria-describedby": describedBy, className: cx("crewlet-make-row__item", HIT_AREA_CLASS), children: body });
59
+ return /* @__PURE__ */ jsx("a", { href, "aria-describedby": describedBy, className: cx("crewlet-make-row__item", HIT_AREA_CLASS), children: body });
61
60
  }
62
61
 
63
62
  export { ArtifactMakeRow };
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-FODDW4BC.js';
2
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
2
2
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
3
3
  import { Document } from './chunk-I4PBFJGX.js';
4
- import { Composer } from './chunk-66TVD3RU.js';
4
+ import { Composer } from './chunk-YNREHSBZ.js';
5
5
  import { Button } from './chunk-M2M6ZD7P.js';
6
6
  import { IconButton } from './chunk-X5YI6E5X.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
@@ -1,5 +1,5 @@
1
- import { Select } from './chunk-YKCLV77Z.js';
2
- import { SidebarNav, NavItem } from './chunk-BS5DASEB.js';
1
+ import { Select } from './chunk-6ZFQ6TAM.js';
2
+ import { SidebarNav, NavItem } from './chunk-SM2MM4DQ.js';
3
3
  import { Card } from './chunk-RABEMWTA.js';
4
4
  import { Text } from './chunk-475DOAWF.js';
5
5
  import './RailList-N2ZBPRM2.css';
@@ -7,7 +7,7 @@ import { presenceLabels } from './chunk-Z7JYG5TF.js';
7
7
  import { Tag } from './chunk-SJ3EUCFD.js';
8
8
  import { Popover } from './chunk-KDRJZWE3.js';
9
9
  import { StatusDot } from './chunk-QRE6JCHS.js';
10
- import { Menu } from './chunk-FIQGLZ5Q.js';
10
+ import { Menu } from './chunk-EGHOU7U2.js';
11
11
  import { Avatar } from './chunk-XZY6S3UC.js';
12
12
  import { Button } from './chunk-M2M6ZD7P.js';
13
13
  import { IconButton } from './chunk-X5YI6E5X.js';
@@ -1,4 +1,4 @@
1
- import { SidebarNav } from './chunk-BS5DASEB.js';
1
+ import { SidebarNav } from './chunk-SM2MM4DQ.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SectionFrame-M62UUVFQ.css';
@@ -5,6 +5,7 @@ import { useComposedRef } from './chunk-L72URIHR.js';
5
5
  import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
6
6
  import { usePopupLayer } from './chunk-EDPMHSLZ.js';
7
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
8
9
  import { cx } from './chunk-ODEQTPFM.js';
9
10
  import './Menu-M32ZXT6N.css';
10
11
  import { useId, useState, useRef, useCallback, useLayoutEffect, useEffect } from 'react';
@@ -358,18 +359,21 @@ function Menu({
358
359
  }
359
360
  )
360
361
  ) : withTip(
361
- /* @__PURE__ */ jsx(
362
+ /* @__PURE__ */ jsxs(
362
363
  Button,
363
364
  {
364
365
  ...shared,
365
- "aria-label": label,
366
+ "aria-label": valueTrigger ? void 0 : label,
366
367
  variant: triggerVariant,
367
368
  size: "small",
368
369
  flush: valueTrigger,
369
370
  className: valueTrigger ? "crewlet-menu__value-trigger" : void 0,
370
371
  leadingIcon: icon,
371
372
  trailingIcon,
372
- children: trigger
373
+ children: [
374
+ trigger,
375
+ valueTrigger ? /* @__PURE__ */ jsx(VisuallyHidden, { children: `, ${label}` }) : null
376
+ ]
373
377
  }
374
378
  )
375
379
  ),
@@ -1,54 +1,11 @@
1
+ import { copyGlyph, CopyStatus } from './chunk-2MEBMWNO.js';
1
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
2
- import { Button } from './chunk-M2M6ZD7P.js';
3
3
  import { IconButton } from './chunk-X5YI6E5X.js';
4
- import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
4
  import { cx } from './chunk-ODEQTPFM.js';
6
5
  import './Copyable-P5AMRHFX.css';
7
6
  import { useCallback } from 'react';
8
- import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
9
- import { jsx, jsxs } from 'react/jsx-runtime';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
10
8
 
11
- function copyGlyph(state) {
12
- if (state === "copied") return /* @__PURE__ */ jsx(CheckGlyph, { size: "sm" });
13
- if (state === "failed") return /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" });
14
- return /* @__PURE__ */ jsx(CopyGlyph, { size: "sm" });
15
- }
16
- function CopyStatus({ state, copiedMessage, failedMessage, attempt = 0 }) {
17
- return /* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx("span", { role: "status", children: /* @__PURE__ */ jsx("span", { children: state === "copied" ? copiedMessage : state === "failed" ? failedMessage : "" }, attempt) }) });
18
- }
19
- function CopyButton({
20
- text,
21
- label = "Copy",
22
- copiedLabel = "Copied",
23
- failedLabel = "Copy failed",
24
- copiedMessage = "copied to the clipboard",
25
- failedMessage = "the browser refused the clipboard",
26
- size = "small",
27
- variant = "ghost",
28
- title,
29
- resetMs,
30
- failedResetMs = null,
31
- className
32
- }) {
33
- const { state, attempt, copy } = useClipboard({ resetMs, failedResetMs });
34
- const onClick = useCallback(() => {
35
- void copy(text);
36
- }, [copy, text]);
37
- return /* @__PURE__ */ jsxs("span", { className, children: [
38
- /* @__PURE__ */ jsx(
39
- Button,
40
- {
41
- size,
42
- variant,
43
- leadingIcon: copyGlyph(state),
44
- onClick,
45
- title: state === "failed" ? failedMessage : title,
46
- children: state === "copied" ? copiedLabel : state === "failed" ? failedLabel : label
47
- }
48
- ),
49
- /* @__PURE__ */ jsx(CopyStatus, { state, attempt, copiedMessage, failedMessage })
50
- ] });
51
- }
52
9
  var truncateValue = (text, length, variant) => {
53
10
  if (text.length <= length) return text;
54
11
  if (variant === "chip") {
@@ -113,4 +70,4 @@ var Copyable = ({
113
70
  );
114
71
  };
115
72
 
116
- export { CopyButton, CopyStatus, Copyable, copyGlyph };
73
+ export { Copyable };
@@ -1,4 +1,4 @@
1
- import { CopyButton, copyGlyph, CopyStatus } from './chunk-AVK7RRQ4.js';
1
+ import { CopyButton, copyGlyph, CopyStatus } from './chunk-2MEBMWNO.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
3
  import { IconButton } from './chunk-X5YI6E5X.js';
4
4
  import { Tooltip } from './chunk-HXVMXH6U.js';
@@ -1,6 +1,9 @@
1
+ import { copyGlyph, CopyStatus } from './chunk-2MEBMWNO.js';
2
+ import { useClipboard } from './chunk-STJ7QBC3.js';
1
3
  import { StatusDot } from './chunk-QRE6JCHS.js';
4
+ import { IconButton } from './chunk-X5YI6E5X.js';
2
5
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './SettingsTable-6DUFAFXG.css';
6
+ import './SettingsTable-CBB56SMP.css';
4
7
  import { jsxs, jsx } from 'react/jsx-runtime';
5
8
 
6
9
  var COLUMNS = { setting: "Setting", value: "Value", source: "Source" };
@@ -41,7 +44,7 @@ function SettingsTableRow({
41
44
  children: [
42
45
  /* @__PURE__ */ jsxs("span", { role: "rowheader", className: "crewlet-settings-table__setting", children: [
43
46
  /* @__PURE__ */ jsx("span", { className: "crewlet-settings-table__label", children: label }),
44
- settingKey === void 0 ? null : /* @__PURE__ */ jsx("code", { className: "crewlet-settings-table__key", children: settingKey })
47
+ settingKey === void 0 ? null : /* @__PURE__ */ jsx(SettingKey, { settingKey })
45
48
  ] }),
46
49
  /* @__PURE__ */ jsx("span", { role: "cell", className: "crewlet-settings-table__value", children }),
47
50
  /* @__PURE__ */ jsxs(
@@ -60,5 +63,32 @@ function SettingsTableRow({
60
63
  );
61
64
  }
62
65
  SettingsTable.Row = SettingsTableRow;
66
+ function SettingKey({ settingKey }) {
67
+ const { state, attempt, copy } = useClipboard({ failedResetMs: null });
68
+ return /* @__PURE__ */ jsxs("span", { className: "crewlet-settings-table__key", children: [
69
+ /* @__PURE__ */ jsx(
70
+ IconButton,
71
+ {
72
+ size: "sm",
73
+ variant: "ghost",
74
+ icon: copyGlyph(state),
75
+ label: `Copy the setting's key, ${settingKey}`,
76
+ tooltip: settingKey,
77
+ onClick: () => {
78
+ void copy(settingKey);
79
+ }
80
+ }
81
+ ),
82
+ /* @__PURE__ */ jsx(
83
+ CopyStatus,
84
+ {
85
+ state,
86
+ attempt,
87
+ copiedMessage: `${settingKey} copied to the clipboard`,
88
+ failedMessage: "the browser refused the clipboard"
89
+ }
90
+ )
91
+ ] });
92
+ }
63
93
 
64
94
  export { SettingsTable, SettingsTableRow };
@@ -1,4 +1,4 @@
1
- import { Modal } from './chunk-IU7QVXHA.js';
1
+ import { Modal } from './chunk-VSD3536L.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-KDRJZWE3.js';
@@ -1,8 +1,8 @@
1
- import { Select } from './chunk-YKCLV77Z.js';
1
+ import { Select } from './chunk-6ZFQ6TAM.js';
2
2
  import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
3
3
  import { Popover } from './chunk-KDRJZWE3.js';
4
- import { Button } from './chunk-M2M6ZD7P.js';
5
4
  import { Input } from './chunk-NN44J7BP.js';
5
+ import { Button } from './chunk-M2M6ZD7P.js';
6
6
  import { IconButton } from './chunk-X5YI6E5X.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
8
  import { useFocusModality } from './chunk-4ITETIGZ.js';
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-FODDW4BC.js';
1
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
2
2
  import { Button } from './chunk-M2M6ZD7P.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MergeConflicts-HCXPRQVR.css';
@@ -1,6 +1,6 @@
1
1
  import { useRoving, tabStop, revealInRow } from './chunk-7F3OPUM5.js';
2
2
  import { StatusDot } from './chunk-QRE6JCHS.js';
3
- import { Menu } from './chunk-FIQGLZ5Q.js';
3
+ import { Menu } from './chunk-EGHOU7U2.js';
4
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
5
  import { Count } from './chunk-Y5CMDLQM.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
1
  import { cx } from './chunk-ODEQTPFM.js';
2
- import './SearchTrigger-SE4GKNAY.css';
2
+ import './SearchTrigger-MME7NIHX.css';
3
3
  import { forwardRef } from 'react';
4
4
  import { SearchGlyph } from '@crewlethq/icons/glyphs';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -12,12 +12,11 @@ var SearchTrigger = forwardRef(function SearchTrigger2({ label = "Search", varia
12
12
  ref,
13
13
  type,
14
14
  className: cx("crewlet-search-trigger", `crewlet-search-trigger--${variant}`, className),
15
- "aria-label": label,
16
15
  "aria-keyshortcuts": keyshortcuts,
17
16
  children: [
18
- /* @__PURE__ */ jsx("span", { className: "crewlet-search-trigger__icon", children: icon ?? /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }) }),
17
+ /* @__PURE__ */ jsx("span", { className: "crewlet-search-trigger__icon", "aria-hidden": "true", children: icon ?? /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }) }),
19
18
  /* @__PURE__ */ jsx("span", { className: "crewlet-search-trigger__label", children: label }),
20
- shortcut ? /* @__PURE__ */ jsx("span", { className: "crewlet-search-trigger__shortcut", children: shortcut }) : null
19
+ shortcut ? /* @__PURE__ */ jsx("span", { className: "crewlet-search-trigger__shortcut", "aria-hidden": "true", children: shortcut }) : null
21
20
  ]
22
21
  }
23
22
  );
@@ -1,12 +1,12 @@
1
- import { Select } from './chunk-YKCLV77Z.js';
1
+ import { Select } from './chunk-6ZFQ6TAM.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-GHRCG45F.js';
3
+ import { HueSwatch } from './chunk-PFTUWDZN.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
- import { Menu } from './chunk-FIQGLZ5Q.js';
6
5
  import { Checkbox } from './chunk-KFTVPWG2.js';
6
+ import { Menu } from './chunk-EGHOU7U2.js';
7
+ import { FormField, Input } from './chunk-NN44J7BP.js';
7
8
  import { Kbd } from './chunk-VBBLHS2Y.js';
8
9
  import { Button } from './chunk-M2M6ZD7P.js';
9
- import { FormField, Input } from './chunk-NN44J7BP.js';
10
10
  import { IconButton } from './chunk-X5YI6E5X.js';
11
11
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
12
12
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
- import { SegmentedControl } from './chunk-FODDW4BC.js';
1
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
2
2
  import { ArtifactIcon } from './chunk-AVL52EME.js';
3
- import { Menu } from './chunk-FIQGLZ5Q.js';
3
+ import { Menu } from './chunk-EGHOU7U2.js';
4
4
  import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
5
5
  import { Button } from './chunk-M2M6ZD7P.js';
6
6
  import { IconButton } from './chunk-X5YI6E5X.js';
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { SegmentedControl } from './chunk-FODDW4BC.js';
3
- import { tabId } from './chunk-L2N7SZFY.js';
2
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
3
+ import { tabId } from './chunk-JY6WSDUG.js';
4
4
  import { IconButton } from './chunk-X5YI6E5X.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './MarkdownEditor-BLCJRGDC.css';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-CWGZE3JW.js';
1
+ import { Combobox } from './chunk-WUJ54OTI.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-HF5L56YQ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-P6UYHDJR.css';
@@ -1,6 +1,6 @@
1
1
  import { Timeline } from './chunk-XDUXAQIS.js';
2
2
  import { Section } from './chunk-WFCWPXJN.js';
3
- import { Composer } from './chunk-66TVD3RU.js';
3
+ import { Composer } from './chunk-YNREHSBZ.js';
4
4
  import { Disclosure } from './chunk-D5O64CVE.js';
5
5
  import { ArtifactPanel } from './chunk-6IBFWV6U.js';
6
6
  import { Button } from './chunk-M2M6ZD7P.js';
@@ -1,4 +1,4 @@
1
- import { HuePicker } from './chunk-GHRCG45F.js';
1
+ import { HuePicker } from './chunk-PFTUWDZN.js';
2
2
  import { Popover } from './chunk-KDRJZWE3.js';
3
3
  import { CharacterPicker } from './chunk-ZIL6MTMZ.js';
4
4
  import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-FODDW4BC.js';
2
+ import { SegmentedControl } from './chunk-V2FD4RPS.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -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-UIBCHECM.js').then(
12
+ loading ??= import('./Editor-2TWJE7OR.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -1,5 +1,5 @@
1
- import { Select } from './chunk-YKCLV77Z.js';
2
- import { Combobox } from './chunk-CWGZE3JW.js';
1
+ import { Select } from './chunk-6ZFQ6TAM.js';
2
+ import { Combobox } from './chunk-WUJ54OTI.js';
3
3
  import { FormField, Textarea, InputAffix } from './chunk-NN44J7BP.js';
4
4
  import './Input-YVCNNTYT.css';
5
5
  import './VisuallyHidden-OUYVMKEH.css';
@@ -1,4 +1,4 @@
1
- import { Copyable } from './chunk-AVK7RRQ4.js';
1
+ import { Copyable } from './chunk-FO4OY4RV.js';
2
2
  import { normalizeHex } from './chunk-7W3LYIOC.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ColorSwatch-HBNYO6EK.css';
@@ -1,4 +1,4 @@
1
- import { tabId } from './chunk-L2N7SZFY.js';
1
+ import { tabId } from './chunk-JY6WSDUG.js';
2
2
  import { useRoving, tabStop } from './chunk-7F3OPUM5.js';
3
3
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
4
  import { Count } from './chunk-Y5CMDLQM.js';
@@ -1,11 +1,11 @@
1
1
  import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
2
2
  import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
3
- import { Menu } from './chunk-FIQGLZ5Q.js';
3
+ import { Menu } from './chunk-EGHOU7U2.js';
4
4
  import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
5
5
  import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
6
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
7
  import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
7
8
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
8
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
9
9
  import { IconButton } from './chunk-X5YI6E5X.js';
10
10
  import { Tooltip } from './chunk-HXVMXH6U.js';
11
11
  import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
@@ -1,4 +1,4 @@
1
- import { TreeGrid } from './chunk-NB2QYDYA.js';
1
+ import { TreeGrid } from './chunk-VIS6DKGQ.js';
2
2
  import { OrgLabel } from './chunk-SYMLWDV6.js';
3
3
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
4
4
  import { AddPill } from './chunk-5W3EYO5Q.js';
@@ -1,5 +1,5 @@
1
1
  import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
2
- import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-COPAHZHK.js';
2
+ import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-CPWSBK3F.js';
3
3
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
4
4
  import { Checkbox } from './chunk-KFTVPWG2.js';
5
5
  import { EmptyState } from './chunk-PPUR46MK.js';
@@ -5,7 +5,7 @@ import { useLayerContainer } from './chunk-FIX72ZEC.js';
5
5
  import { focusables, useModalLayer, useBodyScrollLock } from './chunk-EDPMHSLZ.js';
6
6
  import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
- import './Modal-ENCXGQKV.css';
8
+ import './Modal-45OKI6BE.css';
9
9
  import { useState, useLayoutEffect, useId, useRef, useCallback } from 'react';
10
10
  import { createPortal } from 'react-dom';
11
11
  import { ChevronLeftGlyph, XGlyph } from '@crewlethq/icons/glyphs';
@@ -167,7 +167,7 @@ function ModalFrame({
167
167
  };
168
168
  const closes = banded && showCloseButton;
169
169
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
170
- banded && (given(title) || given(subtitle) || given(headerActions) || closes || onBack) ? /* @__PURE__ */ jsxs(
170
+ banded && (given(title) || given(subtitle) && !sheet || given(headerActions) || closes || onBack) ? /* @__PURE__ */ jsxs(
171
171
  "div",
172
172
  {
173
173
  className: cx(
@@ -194,7 +194,7 @@ function ModalFrame({
194
194
  children: title
195
195
  }
196
196
  ) : null,
197
- given(subtitle) ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__subtitle", id: subtitleId, children: subtitle }) : null
197
+ given(subtitle) && !sheet ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__subtitle", id: subtitleId, children: subtitle }) : null
198
198
  ] }),
199
199
  given(headerActions) ? /* @__PURE__ */ jsx("div", { className: "crewlet-modal__actions", children: headerActions }) : null,
200
200
  closes ? /* @__PURE__ */ jsx(
@@ -210,7 +210,7 @@ function ModalFrame({
210
210
  ]
211
211
  }
212
212
  ) : null,
213
- given(children) || prompt && given(title) ? /* @__PURE__ */ jsxs(
213
+ given(children) || prompt && given(title) || sheet && given(subtitle) ? /* @__PURE__ */ jsxs(
214
214
  "div",
215
215
  {
216
216
  ref: bodyRef,
@@ -229,6 +229,7 @@ function ModalFrame({
229
229
  ),
230
230
  children: [
231
231
  prompt && given(title) ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__prompt-title", id: titleId, children: title }) : null,
232
+ sheet && given(subtitle) ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__lead", id: subtitleId, children: subtitle }) : null,
232
233
  /* @__PURE__ */ jsx(HeadingLevelProvider, { level: 2, children })
233
234
  ]
234
235
  }
@@ -1,10 +1,10 @@
1
- import { Select } from './chunk-YKCLV77Z.js';
2
- import { Modal } from './chunk-IU7QVXHA.js';
3
- import { CopyButton } from './chunk-AVK7RRQ4.js';
1
+ import { Select } from './chunk-6ZFQ6TAM.js';
2
+ import { Modal } from './chunk-VSD3536L.js';
3
+ import { CopyButton } from './chunk-2MEBMWNO.js';
4
4
  import { Callout } from './chunk-RCQLXOGS.js';
5
5
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
6
- import { Button } from './chunk-M2M6ZD7P.js';
7
6
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
+ import { Button } from './chunk-M2M6ZD7P.js';
8
8
  import { IconButton } from './chunk-X5YI6E5X.js';
9
9
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,8 +1,8 @@
1
- import { useScrollerFocus, Modal } from './chunk-IU7QVXHA.js';
1
+ import { useScrollerFocus, Modal } from './chunk-VSD3536L.js';
2
2
  import { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
3
+ import { Input } from './chunk-NN44J7BP.js';
3
4
  import { Kbd } from './chunk-VBBLHS2Y.js';
4
5
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
- import { Input } from './chunk-NN44J7BP.js';
6
6
  import { isComposing } from './chunk-EDPMHSLZ.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
8
8
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,9 +1,9 @@
1
- import { Modal } from './chunk-IU7QVXHA.js';
1
+ import { Modal } from './chunk-VSD3536L.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 { Menu } from './chunk-FIQGLZ5Q.js';
6
5
  import { Checkbox } from './chunk-KFTVPWG2.js';
6
+ import { Menu } from './chunk-EGHOU7U2.js';
7
7
  import { Button } from './chunk-M2M6ZD7P.js';
8
8
  import { IconButton } from './chunk-X5YI6E5X.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,4 +1,4 @@
1
- import { useSendOnEnter, SendKeysHint } from './chunk-YUVQUJND.js';
1
+ import { useSendOnEnter, SendKeysHint } from './chunk-UZMXC5T6.js';
2
2
  import { Textarea } from './chunk-NN44J7BP.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';