@crewlethq/ui 0.139.0 → 0.141.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.
package/README.md CHANGED
@@ -208,6 +208,13 @@ places:
208
208
  - A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
209
209
  when the content beneath it moves, and every panel anchored inside follows.
210
210
 
211
+ ## Changes in 0.140.0
212
+
213
+ ### A change drawn as the document it changed
214
+
215
+ - **`DocumentDiff`** draws a save to a page as the page reads: each block rendered in `Document`'s type, a whole new block raised one surface step and marked `+`, a removed one sunk, struck and marked `−`, and a run of blocks left out folded to a count (`{ change: 'skipped', count, of }`: "3 unchanged paragraphs", "4 more paragraphs removed"). The host parses and renders the blocks, as with `Document`.
216
+ - **`DocumentDiffAdded` and `DocumentDiffRemoved`** mark the words a change added and removed inside a block: an underline on the raised step and a strike in the tertiary ink on the sunk one, each with "added:" or "removed:" read first (`DOCUMENT_DIFF_LABELS`). No hue: a removed word is not a failure and an added one is not a success.
217
+
211
218
  ## Changes in 0.137.0
212
219
 
213
220
  ### A passing tab and a reviewer's verdict
@@ -334,12 +334,16 @@ export interface DataGridProps<T> {
334
334
  cols?: string | undefined;
335
335
  /** The way back from a column set: drawn as "Show every column" while one is set. */
336
336
  onColsChange?: ((cols: string) => void) | undefined;
337
- /** What an empty grid says, and the one control that is its next step. */
337
+ /**
338
+ * What an empty grid says, and the one control that is its next step.
339
+ * `size: 'inline'` draws it with no glyph, for a grid that is one part of a full page.
340
+ */
338
341
  empty?: {
339
342
  title: ReactNode;
340
343
  hint?: ReactNode;
341
344
  icon?: ReactNode;
342
345
  action?: ReactNode;
346
+ size?: 'compact' | 'inline' | undefined;
343
347
  } | undefined;
344
348
  footer?: ReactNode;
345
349
  onLoadMore?: (() => void) | undefined;
@@ -1,4 +1,4 @@
1
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-66KLISMP.js';
1
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-GWKMBEKN.js';
2
2
  import '../chunk-WFAJYBLX.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-JMBPMSNI.js';
@@ -7,8 +7,8 @@ import '../chunk-WTLHCUDU.js';
7
7
  import '../chunk-KW7T23RT.js';
8
8
  import '../chunk-STJ7QBC3.js';
9
9
  import '../chunk-DTIW4CHZ.js';
10
- import '../chunk-NPEI2QAN.js';
11
10
  import '../chunk-EE3DJMSQ.js';
11
+ import '../chunk-NPEI2QAN.js';
12
12
  import '../chunk-KDRJZWE3.js';
13
13
  import '../chunk-GBKBME7Q.js';
14
14
  import '../chunk-WGLOH33S.js';
@@ -1,7 +1,7 @@
1
- export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-VJVWCEGC.js';
1
+ export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-MQSJB47C.js';
2
2
  import '../chunk-EHD4CEHK.js';
3
- import '../chunk-MXOT2CWL.js';
4
3
  import '../chunk-XMXIPVOS.js';
4
+ import '../chunk-MXOT2CWL.js';
5
5
  import '../chunk-NWKH5FF7.js';
6
6
  import '../chunk-SJ3EUCFD.js';
7
7
  import '../chunk-E7KRB77B.js';
@@ -0,0 +1,64 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ import { type DocumentSize } from '../Document/index.js';
3
+ export interface DocumentDiffLabels {
4
+ /** The group's accessible name when the caller gives none. */
5
+ region: string;
6
+ /** Said before a block that is new: "Added:". */
7
+ added: string;
8
+ /** Said before a block that is gone: "Removed:". */
9
+ removed: string;
10
+ /** Said before each added run of words, with its own punctuation: "added:". */
11
+ addedWords: string;
12
+ /** Said before each removed run of words: "removed:". */
13
+ removedWords: string;
14
+ /** The row a run of left-out blocks folds into: "3 unchanged paragraphs", "4 more paragraphs removed". */
15
+ skipped: (count: number, of: DocumentDiffChange) => string;
16
+ }
17
+ export declare const DOCUMENT_DIFF_LABELS: DocumentDiffLabels;
18
+ /** What happened to one block of the document. */
19
+ export type DocumentDiffChange = 'same' | 'changed' | 'added' | 'removed';
20
+ /**
21
+ * One block of the diff: a paragraph, a heading, a list item or a table the
22
+ * host rendered. A `changed` block marks its own words with
23
+ * [DocumentDiffAdded] and [DocumentDiffRemoved]; `skipped` stands for a run of
24
+ * blocks left out, unchanged ones unless `of` says otherwise.
25
+ */
26
+ export type DocumentDiffBlock = {
27
+ change: DocumentDiffChange;
28
+ content: ReactNode;
29
+ key?: string | number | undefined;
30
+ } | {
31
+ change: 'skipped';
32
+ count: number;
33
+ of?: DocumentDiffChange | undefined;
34
+ key?: string | number | undefined;
35
+ };
36
+ export interface DocumentDiffProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
37
+ blocks: readonly DocumentDiffBlock[];
38
+ /** The reading size of the document the blocks come from. `sm` by default, a preview's. */
39
+ size?: DocumentSize | undefined;
40
+ labels?: Partial<DocumentDiffLabels> | undefined;
41
+ }
42
+ /**
43
+ * A change to a document, drawn as the document: each block rendered as it
44
+ * reads, the words that changed marked where they stand, and the unchanged
45
+ * stretches folded to a count.
46
+ *
47
+ * NO HUE. A removed word is not a failure and an added one is not a success,
48
+ * so the marks are a strike and an underline, each on a surface step of the
49
+ * diff's own ground, with a word read in their place. A whole new block is
50
+ * raised one step and marked `+`; a whole removed one is sunk, struck and
51
+ * marked `−`.
52
+ *
53
+ * THE HOST RENDERS, as with [Document]: it parses the two versions, decides
54
+ * which blocks changed and wraps the changed words of a block in
55
+ * [DocumentDiffAdded] and [DocumentDiffRemoved].
56
+ */
57
+ export declare function DocumentDiff({ blocks, size, labels: overrides, className, 'aria-label': ariaLabel, ...rest }: DocumentDiffProps): import("react").JSX.Element;
58
+ export interface DocumentDiffWordsProps {
59
+ children?: ReactNode;
60
+ }
61
+ /** Words a change added inside a block: underlined on the raised step, "added:" read first. */
62
+ export declare function DocumentDiffAdded({ children }: DocumentDiffWordsProps): import("react").JSX.Element;
63
+ /** Words a change removed inside a block: struck through in the quiet ink, "removed:" read first. */
64
+ export declare function DocumentDiffRemoved({ children }: DocumentDiffWordsProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './DocumentDiff.css';
2
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './DocumentDiff.js';
3
+ export type { DocumentDiffBlock, DocumentDiffChange, DocumentDiffLabels, DocumentDiffProps, DocumentDiffWordsProps } from './DocumentDiff.js';
@@ -0,0 +1,5 @@
1
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-WBGRXZG2.js';
2
+ import '../chunk-I4PBFJGX.js';
3
+ import '../chunk-4ITETIGZ.js';
4
+ import '../chunk-RRRK2KB6.js';
5
+ import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,114 @@
1
+ /* DocumentDiff: a change drawn as the document it changed (DocumentDiff.tsx).
2
+ No hue: a block's or a run's kind is its mark, a word read in its place, and
3
+ one surface step off the diff's own ground, raised for added and sunk for
4
+ removed. */
5
+ .crewlet-document-diff {
6
+ /* An excerpt's blocks sit closer than a page's. */
7
+ --crewlet-document-gap: var(--spacing-2);
8
+ padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--spacing-1);
9
+ border: 1px solid var(--color-border-default);
10
+ border-radius: var(--radius-sm);
11
+ background: var(--color-surface-subtle);
12
+ }
13
+
14
+ /* The mark's track and the block's own, so every block's words share one edge. */
15
+ .crewlet-document-diff__block,
16
+ .crewlet-document-diff__skip {
17
+ display: grid;
18
+ grid-template-columns: var(--spacing-4) minmax(0, 1fr);
19
+ column-gap: var(--spacing-1);
20
+ align-items: baseline;
21
+ border-radius: var(--radius-xs);
22
+ }
23
+
24
+ .crewlet-document-diff__mark {
25
+ color: var(--color-text-secondary);
26
+ font-family: var(--font-family-mono);
27
+ text-align: center;
28
+ user-select: none;
29
+ }
30
+
31
+ .crewlet-document-diff__content {
32
+ min-width: 0;
33
+ }
34
+
35
+ .crewlet-document-diff__content > * + * {
36
+ margin-block-start: var(--crewlet-document-gap);
37
+ }
38
+
39
+ .crewlet-document-diff__block--added,
40
+ .crewlet-document-diff__block--removed {
41
+ padding-block: var(--spacing-1);
42
+ }
43
+
44
+ .crewlet-document-diff__block--added {
45
+ background: var(--color-surface-elevated);
46
+ }
47
+
48
+ .crewlet-document-diff__block--removed {
49
+ background: var(--color-surface-background);
50
+ }
51
+
52
+ /* Neighbouring blocks of one kind read as one region: no gap, no inner corners. */
53
+ .crewlet-document-diff__block--added + .crewlet-document-diff__block--added,
54
+ .crewlet-document-diff__block--removed + .crewlet-document-diff__block--removed {
55
+ margin-block-start: 0;
56
+ border-start-start-radius: 0;
57
+ border-start-end-radius: 0;
58
+ }
59
+
60
+ .crewlet-document-diff__block--added:has(+ .crewlet-document-diff__block--added),
61
+ .crewlet-document-diff__block--removed:has(+ .crewlet-document-diff__block--removed) {
62
+ border-end-start-radius: 0;
63
+ border-end-end-radius: 0;
64
+ }
65
+
66
+ .crewlet-document-diff__block--removed .crewlet-document-diff__content {
67
+ color: var(--color-text-tertiary);
68
+ text-decoration-line: line-through;
69
+ text-decoration-thickness: from-font;
70
+ }
71
+
72
+ /* What was removed takes the quiet ink throughout: its headings, strong words and links too. */
73
+ .crewlet-document-diff__block--removed .crewlet-document-diff__content *,
74
+ .crewlet-document-diff__removed * {
75
+ color: inherit;
76
+ }
77
+
78
+ /* Changed words inside a block. A run that wraps keeps its ground on every line. */
79
+ .crewlet-document-diff__added,
80
+ .crewlet-document-diff__removed {
81
+ border-radius: var(--radius-xs);
82
+ -webkit-box-decoration-break: clone;
83
+ box-decoration-break: clone;
84
+ }
85
+
86
+ .crewlet-document-diff__added {
87
+ background: var(--color-surface-elevated);
88
+ color: var(--color-text-primary);
89
+ text-decoration-line: underline;
90
+ text-decoration-thickness: from-font;
91
+ text-underline-position: under;
92
+ }
93
+
94
+ .crewlet-document-diff__removed {
95
+ background: var(--color-surface-background);
96
+ color: var(--color-text-tertiary);
97
+ text-decoration-line: line-through;
98
+ text-decoration-thickness: from-font;
99
+ }
100
+
101
+ /* Two runs that touch stand a word space apart, so they never read as one word. */
102
+ .crewlet-document-diff__removed:has(+ :is(.crewlet-document-diff__added, .crewlet-document-diff__removed)) {
103
+ margin-inline-end: var(--spacing-1);
104
+ }
105
+
106
+ .crewlet-document-diff__added + .crewlet-document-diff__removed {
107
+ margin-inline-start: var(--spacing-1);
108
+ }
109
+
110
+ /* A folded run says how many blocks it stands for, and of what kind. */
111
+ .crewlet-document-diff__skip {
112
+ color: var(--color-text-tertiary);
113
+ font-size: var(--font-size-xs);
114
+ }
@@ -1,7 +1,7 @@
1
- export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-MVRTOAOW.js';
1
+ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-NHUQRUCW.js';
2
2
  import '../chunk-KOJPDCGQ.js';
3
- import '../chunk-KBZO4B33.js';
4
3
  import '../chunk-VRVNLJUA.js';
4
+ import '../chunk-KBZO4B33.js';
5
5
  import '../chunk-XMXIPVOS.js';
6
6
  import '../chunk-NWKH5FF7.js';
7
7
  import '../chunk-SJ3EUCFD.js';
@@ -1,17 +1,17 @@
1
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-DUYJO6KP.js';
2
- import '../chunk-TKDDIX23.js';
1
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-VC5O7G3A.js';
2
+ import '../chunk-3AFRSZ3K.js';
3
3
  import '../chunk-PFP5HHZF.js';
4
4
  import '../chunk-MY374UUD.js';
5
- import '../chunk-66KLISMP.js';
5
+ import '../chunk-GWKMBEKN.js';
6
6
  import '../chunk-X4HBZSXA.js';
7
7
  import '../chunk-WFAJYBLX.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-JMBPMSNI.js';
10
10
  import '../chunk-XLND4DD6.js';
11
11
  import '../chunk-PPUR46MK.js';
12
+ import '../chunk-5W3EYO5Q.js';
12
13
  import '../chunk-SPCNQUEU.js';
13
14
  import '../chunk-YMFFGPFE.js';
14
- import '../chunk-5W3EYO5Q.js';
15
15
  import '../chunk-NBXUIEKY.js';
16
16
  import '../chunk-NICEDVZM.js';
17
17
  import '../chunk-JLKO7PSK.js';
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-5A6PJL5Z.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-ZOSF3ELM.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-KBZO4B33.js';
@@ -53,7 +53,8 @@ export interface SettingsTableRowProps extends HTMLAttributes<HTMLDivElement> {
53
53
  * The setting's address in the document it is written in
54
54
  * (`turn_engine.max_iterations`), for the reader who will go and change it
55
55
  * there. It is not drawn as words: a copy control after the name shows it
56
- * on hover and focus and puts it on the clipboard.
56
+ * on hover and focus and puts it on the clipboard. Where a pointer can
57
+ * hover, the control itself shows only with its row.
57
58
  */
58
59
  settingKey?: string | undefined;
59
60
  /** The value in force, in its own unit. Drawn in tabular figures. */
@@ -1,4 +1,4 @@
1
- export { SettingsTable, SettingsTableRow } from '../chunk-EXMIQMQ7.js';
1
+ export { SettingsTable, SettingsTableRow } from '../chunk-TTRCEFON.js';
2
2
  import '../chunk-NTBZQISB.js';
3
3
  import '../chunk-STJ7QBC3.js';
4
4
  import '../chunk-DTIW4CHZ.js';
@@ -116,6 +116,24 @@
116
116
  color: var(--color-text-tertiary);
117
117
  }
118
118
 
119
+ /* Where a pointer can hover, the key shows with its row, its focus or a copy's outcome, and keeps its place unseen otherwise. */
120
+ @media (hover: hover) {
121
+ .crewlet-settings-table__key {
122
+ opacity: 0;
123
+ }
124
+
125
+ .crewlet-settings-table__row:is(:hover, :focus-within) .crewlet-settings-table__key,
126
+ .crewlet-settings-table__key:not([data-copy='idle']) {
127
+ opacity: 1;
128
+ }
129
+ }
130
+
131
+ @media (hover: hover) and (prefers-reduced-motion: no-preference) {
132
+ .crewlet-settings-table__key {
133
+ transition: opacity var(--motion-duration-fast) var(--motion-easing-default);
134
+ }
135
+ }
136
+
119
137
  /* Tabular figures, so a column of numbers reads down its digits. */
120
138
  .crewlet-settings-table__value {
121
139
  min-width: 0;
@@ -1,6 +1,6 @@
1
- export { TreeGrid } from '../chunk-TKDDIX23.js';
1
+ export { TreeGrid } from '../chunk-3AFRSZ3K.js';
2
2
  import '../chunk-MY374UUD.js';
3
- import '../chunk-66KLISMP.js';
3
+ import '../chunk-GWKMBEKN.js';
4
4
  import '../chunk-X4HBZSXA.js';
5
5
  import '../chunk-WFAJYBLX.js';
6
6
  import '../chunk-WSIJDWUG.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-66KLISMP.js';
2
+ import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-GWKMBEKN.js';
3
3
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
4
4
  import { Checkbox } from './chunk-XLND4DD6.js';
5
5
  import { EmptyState } from './chunk-PPUR46MK.js';
@@ -671,7 +671,7 @@ function DataGrid({
671
671
  return /* @__PURE__ */ jsx("div", { className: cx("crewlet-data-grid", className), "data-flush": flush || void 0, children: /* @__PURE__ */ jsx(
672
672
  EmptyState,
673
673
  {
674
- size: "compact",
674
+ size: empty.size ?? "compact",
675
675
  icon: empty.icon,
676
676
  title: empty.title,
677
677
  description: empty.hint,
@@ -3,7 +3,7 @@ import { useClipboard } from './chunk-STJ7QBC3.js';
3
3
  import { StatusDot } from './chunk-QRE6JCHS.js';
4
4
  import { IconButton } from './chunk-P5HNBRIS.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './SettingsTable-CBB56SMP.css';
6
+ import './SettingsTable-MTZJTKA6.css';
7
7
  import { jsxs, jsx } from 'react/jsx-runtime';
8
8
 
9
9
  var COLUMNS = { setting: "Setting", value: "Value", source: "Source" };
@@ -65,7 +65,7 @@ function SettingsTableRow({
65
65
  SettingsTable.Row = SettingsTableRow;
66
66
  function SettingKey({ settingKey }) {
67
67
  const { state, attempt, copy } = useClipboard({ failedResetMs: null });
68
- return /* @__PURE__ */ jsxs("span", { className: "crewlet-settings-table__key", children: [
68
+ return /* @__PURE__ */ jsxs("span", { className: "crewlet-settings-table__key", "data-copy": state, children: [
69
69
  /* @__PURE__ */ jsx(
70
70
  IconButton,
71
71
  {
@@ -1,4 +1,4 @@
1
- import { TreeGrid } from './chunk-TKDDIX23.js';
1
+ import { TreeGrid } from './chunk-3AFRSZ3K.js';
2
2
  import { OrgLabel } from './chunk-PFP5HHZF.js';
3
3
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
4
4
  import { AddPill } from './chunk-5W3EYO5Q.js';
@@ -0,0 +1,81 @@
1
+ import { Document } from './chunk-I4PBFJGX.js';
2
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
+ import { cx } from './chunk-ODEQTPFM.js';
4
+ import './DocumentDiff-UXBGVIJK.css';
5
+ import { createContext, useContext } from 'react';
6
+ import { jsx, jsxs } from 'react/jsx-runtime';
7
+
8
+ var DOCUMENT_DIFF_LABELS = {
9
+ region: "Changes",
10
+ added: "Added:",
11
+ removed: "Removed:",
12
+ addedWords: "added:",
13
+ removedWords: "removed:",
14
+ skipped: (count, of) => {
15
+ const n = count.toLocaleString();
16
+ if (of === "same") return count === 1 ? "1 unchanged paragraph" : `${n} unchanged paragraphs`;
17
+ return `${count === 1 ? "1 more paragraph" : `${n} more paragraphs`} ${of}`;
18
+ }
19
+ };
20
+ var LabelsContext = createContext(DOCUMENT_DIFF_LABELS);
21
+ function DocumentDiff({ blocks, size = "sm", labels: overrides, className, "aria-label": ariaLabel, ...rest }) {
22
+ const labels = overrides ? { ...DOCUMENT_DIFF_LABELS, ...overrides } : DOCUMENT_DIFF_LABELS;
23
+ return /* @__PURE__ */ jsx(LabelsContext.Provider, { value: labels, children: /* @__PURE__ */ jsx(
24
+ Document,
25
+ {
26
+ ...rest,
27
+ role: "group",
28
+ "aria-label": ariaLabel ?? labels.region,
29
+ size,
30
+ measure: "none",
31
+ className: cx("crewlet-document-diff", className),
32
+ children: blocks.map((block, index) => {
33
+ const key = block.key ?? index;
34
+ if (block.change === "skipped") {
35
+ const of = block.of ?? "same";
36
+ return /* @__PURE__ */ jsxs("p", { className: "crewlet-document-diff__skip", children: [
37
+ /* @__PURE__ */ jsx("span", { className: "crewlet-document-diff__mark", "aria-hidden": "true", children: of === "added" ? "+" : of === "removed" ? "\u2212" : "" }),
38
+ /* @__PURE__ */ jsx("span", { children: labels.skipped(block.count, of) })
39
+ ] }, key);
40
+ }
41
+ return /* @__PURE__ */ jsxs(
42
+ "div",
43
+ {
44
+ className: cx(
45
+ "crewlet-document-diff__block",
46
+ block.change === "same" && "crewlet-document-diff__block--same",
47
+ block.change === "changed" && "crewlet-document-diff__block--changed",
48
+ block.change === "added" && "crewlet-document-diff__block--added",
49
+ block.change === "removed" && "crewlet-document-diff__block--removed"
50
+ ),
51
+ children: [
52
+ /* @__PURE__ */ jsx("span", { className: "crewlet-document-diff__mark", "aria-hidden": "true", children: block.change === "added" ? "+" : block.change === "removed" ? "\u2212" : "" }),
53
+ /* @__PURE__ */ jsxs("div", { className: "crewlet-document-diff__content", children: [
54
+ block.change === "added" && /* @__PURE__ */ jsx(VisuallyHidden, { children: labels.added }),
55
+ block.change === "removed" && /* @__PURE__ */ jsx(VisuallyHidden, { children: labels.removed }),
56
+ block.content
57
+ ] })
58
+ ]
59
+ },
60
+ key
61
+ );
62
+ })
63
+ }
64
+ ) });
65
+ }
66
+ function DocumentDiffAdded({ children }) {
67
+ const labels = useContext(LabelsContext);
68
+ return /* @__PURE__ */ jsxs("ins", { className: "crewlet-document-diff__added", children: [
69
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: `${labels.addedWords} ` }),
70
+ children
71
+ ] });
72
+ }
73
+ function DocumentDiffRemoved({ children }) {
74
+ const labels = useContext(LabelsContext);
75
+ return /* @__PURE__ */ jsxs("del", { className: "crewlet-document-diff__removed", children: [
76
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: `${labels.removedWords} ` }),
77
+ children
78
+ ] });
79
+ }
80
+
81
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved };
@@ -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-QN5CCBIW.js').then(
12
+ loading ??= import('./Editor-IYK5WBKC.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -92,6 +92,7 @@ export * from '../Divider/index.js';
92
92
  export * from '../DocTabsEditor/index.js';
93
93
  export * from '../DockColumn/index.js';
94
94
  export * from '../Document/index.js';
95
+ export * from '../DocumentDiff/index.js';
95
96
  export * from '../DownloadButton/index.js';
96
97
  export * from '../EditingStatus/index.js';
97
98
  export * from '../EmojiPicker/index.js';
@@ -1,4 +1,4 @@
1
- import '../chunk-ZCNYTD7Q.js';
1
+ import '../chunk-K6N75QSD.js';
2
2
  export { WidgetFrame } from '../chunk-5ZTH54O6.js';
3
3
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
4
4
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-UTI3RTXP.js';
@@ -6,6 +6,7 @@ export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
6
6
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-5BOPXR7R.js';
7
7
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-EDS3WKC5.js';
8
8
  export { VersionTimeline } from '../chunk-SLJ5REZM.js';
9
+ export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
9
10
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-BPCXMQMB.js';
10
11
  export { TileGrid } from '../chunk-UFID3DSP.js';
11
12
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-TIGY46IQ.js';
@@ -17,7 +18,7 @@ export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
17
18
  export { DensitySwitcher, ThemeSwitcher } from '../chunk-B5UQICQ6.js';
18
19
  export { ThemeToggle } from '../chunk-SF6VUTGG.js';
19
20
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
20
- export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
21
+ export { StatusLine } from '../chunk-CKPFMBBH.js';
21
22
  export { Switcher } from '../chunk-C4TJTJVU.js';
22
23
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-Q3J23Q6P.js';
23
24
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
@@ -25,18 +26,18 @@ export { StatCard } from '../chunk-2YADDY4A.js';
25
26
  export { StatGroup } from '../chunk-OUD75UB2.js';
26
27
  export { Statement } from '../chunk-MZJKPTA5.js';
27
28
  export { StatusLegend } from '../chunk-CXFMNOPV.js';
28
- export { StatusLine } from '../chunk-CKPFMBBH.js';
29
+ import '../chunk-ZZMXJTII.js';
29
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-BCHGCSI7.js';
30
31
  export { SlideFilmstrip } from '../chunk-GUOOAY2K.js';
31
32
  export { SlideGrid } from '../chunk-73L3774J.js';
32
- export { SettingsTable, SettingsTableRow } from '../chunk-EXMIQMQ7.js';
33
+ export { SettingsTable, SettingsTableRow } from '../chunk-TTRCEFON.js';
33
34
  export { SetupWizard } from '../chunk-2DZV4PHK.js';
34
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-RHQWN7DT.js';
35
35
  export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-6BGDOVTX.js';
36
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-RHQWN7DT.js';
36
37
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-ANER6FP5.js';
37
38
  export { TagGroup } from '../chunk-FOUIZS7Q.js';
38
39
  export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
39
- import '../chunk-ZZMXJTII.js';
40
+ export { SearchTrigger } from '../chunk-U67UM3VS.js';
40
41
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-PRDFJS2A.js';
41
42
  export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
42
43
  export { SelectionBar } from '../chunk-B3IYNEIL.js';
@@ -44,37 +45,37 @@ export { SEND_BUTTON_LABELS, SendButton } from '../chunk-FEMKMGQS.js';
44
45
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-IHG5SQTX.js';
45
46
  export { Table } from '../chunk-YGN4SBNP.js';
46
47
  export { ReviewList } from '../chunk-7XYU5PSQ.js';
47
- export { RichEditor, preloadRichEditor } from '../chunk-5A6PJL5Z.js';
48
- export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
49
48
  export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
50
49
  import '../chunk-7CSTEH5I.js';
50
+ export { RichEditor, preloadRichEditor } from '../chunk-ZOSF3ELM.js';
51
+ export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
51
52
  export { RoomRow } from '../chunk-45OOFAL6.js';
52
53
  export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
53
54
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-YRFUJI6W.js';
54
- export { SearchTrigger } from '../chunk-U67UM3VS.js';
55
+ export { RAIL_LIST_LABELS, RailList } from '../chunk-3MT6K5VU.js';
56
+ export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-ER2AGTXQ.js';
57
+ export { Select } from '../chunk-OU22GKZK.js';
55
58
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-IRJWEFO7.js';
56
59
  export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
57
60
  export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
58
61
  export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-HW7QJS2C.js';
59
62
  export { RelatedRow } from '../chunk-ZPLAR53E.js';
60
- export { PrincipalPicker } from '../chunk-BNUHDX7F.js';
61
63
  export { PresenterView, formatStopwatch } from '../chunk-QWDVFV45.js';
62
64
  export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-MPWHYZTN.js';
63
65
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
66
+ export { PricingCard } from '../chunk-O2XAJDK6.js';
67
+ export { PrincipalPicker } from '../chunk-BNUHDX7F.js';
64
68
  export { PropertyList } from '../chunk-N2DCSSYC.js';
65
69
  export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-LGC2Q4IO.js';
66
70
  export { Prose } from '../chunk-DVVP27OD.js';
67
71
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
68
- export { RAIL_LIST_LABELS, RailList } from '../chunk-3MT6K5VU.js';
69
- export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-ER2AGTXQ.js';
70
- export { Select } from '../chunk-OU22GKZK.js';
72
+ export { List, ListItem } from '../chunk-GAQU5V5R.js';
71
73
  export { PinTile } from '../chunk-432Y4HML.js';
72
74
  export { PresenceStack } from '../chunk-LL5H2Q5B.js';
73
- export { PricingCard } from '../chunk-O2XAJDK6.js';
75
+ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-NHUQRUCW.js';
74
76
  export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-CRKFCTOR.js';
75
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-DUYJO6KP.js';
76
- export { TreeGrid } from '../chunk-TKDDIX23.js';
77
- export { OrgLabel } from '../chunk-PFP5HHZF.js';
77
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-VC5O7G3A.js';
78
+ export { TreeGrid } from '../chunk-3AFRSZ3K.js';
78
79
  export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
79
80
  export { PageNote } from '../chunk-CV4NES3P.js';
80
81
  export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-JZSG4N2Q.js';
@@ -84,14 +85,15 @@ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../
84
85
  export { MessageBubble } from '../chunk-KAQ2L74F.js';
85
86
  export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
86
87
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
87
- export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-MVRTOAOW.js';
88
+ export { OrgLabel } from '../chunk-PFP5HHZF.js';
88
89
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-KFQ4F4R7.js';
89
90
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-TFJCQWHW.js';
90
91
  export { MentionChip } from '../chunk-SYOMUNKU.js';
91
92
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
92
93
  export { PersonRow } from '../chunk-42I2VSZZ.js';
93
94
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-3ZURY4PP.js';
94
- export { List, ListItem } from '../chunk-GAQU5V5R.js';
95
+ export { LinkCard } from '../chunk-346EXHOR.js';
96
+ import '../chunk-KOJPDCGQ.js';
95
97
  export { ListDetail, ListDetailBack } from '../chunk-TYFQMHJG.js';
96
98
  export { ListInput, withDraft } from '../chunk-UAO27FG7.js';
97
99
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
@@ -101,15 +103,15 @@ export { KeyValueRows, keyValueRowsLabels } from '../chunk-KMNTQM74.js';
101
103
  export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
102
104
  export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
103
105
  export { Link } from '../chunk-UTKI2SAM.js';
104
- export { LinkCard } from '../chunk-346EXHOR.js';
105
- import '../chunk-KOJPDCGQ.js';
106
106
  export { LinkInterstitial, openExternal } from '../chunk-PUXIGS42.js';
107
+ export { IconTile } from '../chunk-VRVNLJUA.js';
107
108
  export { ImageUpload } from '../chunk-4QWTD6JO.js';
108
109
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-UMEK5DHS.js';
109
110
  export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
110
111
  export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-U43FRT4V.js';
111
112
  export { InlineRef } from '../chunk-ACXYNJZR.js';
112
113
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
114
+ export { FollowBanner } from '../chunk-Z5V6SJSI.js';
113
115
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from '../chunk-F6V2PTN6.js';
114
116
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
115
117
  export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-KK7FYYED.js';
@@ -118,37 +120,36 @@ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscree
118
120
  export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
119
121
  import '../chunk-MICRGE3J.js';
120
122
  import '../chunk-FFMCMSJB.js';
121
- export { IconTile } from '../chunk-VRVNLJUA.js';
123
+ export { Eyebrow } from '../chunk-RK4XPHVG.js';
122
124
  export { FactList } from '../chunk-3ZESUOY5.js';
123
125
  export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-ELKYSKJY.js';
124
126
  export { FileList } from '../chunk-FQBSYMEW.js';
125
127
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
126
128
  export { FindingList } from '../chunk-J2GRBRGK.js';
127
129
  export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-4VJ5UZIK.js';
128
- export { FollowBanner } from '../chunk-Z5V6SJSI.js';
130
+ export { DownloadButton } from '../chunk-7UPCNLUR.js';
131
+ export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
129
132
  export { EditingStatus } from '../chunk-KRF3GQ63.js';
130
133
  export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-53QCDJJS.js';
131
134
  export { EntityChip } from '../chunk-OPN5Q3OL.js';
132
135
  export { EntityList } from '../chunk-776LNKD2.js';
133
136
  export { ErrorBoundary } from '../chunk-BCDTFB7Q.js';
134
- export { Eyebrow } from '../chunk-RK4XPHVG.js';
135
137
  export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from '../chunk-F4CM5KD3.js';
136
138
  export { DirectoryList } from '../chunk-5KTLQ436.js';
137
139
  export { Divider } from '../chunk-6KWNXIDE.js';
138
140
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-HHD75S2V.js';
139
141
  export { DockColumn } from '../chunk-UXTW4GOT.js';
140
- export { DownloadButton } from '../chunk-7UPCNLUR.js';
141
- export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
142
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-WBGRXZG2.js';
142
143
  export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-VMYFLZFW.js';
143
144
  export { PageHeader } from '../chunk-FPDIHEM4.js';
144
145
  export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-JL27TIRV.js';
145
146
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-DPAC4WAI.js';
146
147
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
147
148
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-POQCQ6OX.js';
148
- export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-VJVWCEGC.js';
149
+ export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-MQSJB47C.js';
149
150
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
150
- export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
151
151
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-XMXIPVOS.js';
152
+ export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
152
153
  export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-GTNXDLYH.js';
153
154
  export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
154
155
  export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-GHRZZI7S.js';
@@ -157,7 +158,7 @@ export { ContrastHelp } from '../chunk-UKXISBSG.js';
157
158
  export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-3YOLD7WG.js';
158
159
  export { CursorFlag } from '../chunk-MMCYH5LB.js';
159
160
  export { PresenceRing, presenceHueClass } from '../chunk-EFX2YC5T.js';
160
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-66KLISMP.js';
161
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-GWKMBEKN.js';
161
162
  export { ColorSwatch } from '../chunk-OTATFJJX.js';
162
163
  export { Combobox } from '../chunk-HHBAQK2U.js';
163
164
  export { CommandPalette } from '../chunk-U7G5N5QN.js';
@@ -169,6 +170,7 @@ export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, group
169
170
  export { LockedLabel } from '../chunk-TODOBUXO.js';
170
171
  export { ConfirmField, confirmMatches } from '../chunk-DTK7NYY4.js';
171
172
  export { InlineCode } from '../chunk-W4UJWFCZ.js';
173
+ export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
172
174
  export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
173
175
  export { ChoiceCards } from '../chunk-FHPHRIPO.js';
174
176
  export { ChoiceList } from '../chunk-XU7RQNT6.js';
@@ -189,12 +191,7 @@ import '../chunk-5QJNA7KD.js';
189
191
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-OFPLROMQ.js';
190
192
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-M4HK73RP.js';
191
193
  export { CheckGrid } from '../chunk-IS5OCYFF.js';
192
- export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
193
- export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-KIZMSNL3.js';
194
- export { Note } from '../chunk-YJPQJVRJ.js';
195
194
  export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
196
- export { CanvasToolbar, toolForKey } from '../chunk-LRK7SHXN.js';
197
- export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
198
195
  export { CatalogTile } from '../chunk-JKEGFDBG.js';
199
196
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NB53SAL4.js';
200
197
  export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
@@ -207,12 +204,16 @@ import '../chunk-5SGHW42B.js';
207
204
  import '../chunk-7W3LYIOC.js';
208
205
  export { Breadcrumb } from '../chunk-CN2EDXAW.js';
209
206
  export { KeyChip } from '../chunk-HBDA76EZ.js';
207
+ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
210
208
  export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-TWI7SVRY.js';
211
209
  export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
212
210
  import '../chunk-6C7GQOBV.js';
213
211
  export { StatusCard } from '../chunk-NWKH5FF7.js';
214
- export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
215
212
  export { Callout } from '../chunk-RCQLXOGS.js';
213
+ export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-KIZMSNL3.js';
214
+ export { Note } from '../chunk-YJPQJVRJ.js';
215
+ export { CanvasToolbar, toolForKey } from '../chunk-LRK7SHXN.js';
216
+ export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
216
217
  export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-22NUGFHZ.js';
217
218
  import '../chunk-X4HBZSXA.js';
218
219
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
@@ -265,12 +266,12 @@ export { Menu } from '../chunk-XHEM234A.js';
265
266
  export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
266
267
  export { EmptyState } from '../chunk-PPUR46MK.js';
267
268
  export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
269
+ export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
270
+ export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
268
271
  export { ActivityLine } from '../chunk-GYVL23ZK.js';
269
272
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-TCQIJ2VO.js';
270
273
  export { AvatarStack, avatarStackLabel } from '../chunk-SPCNQUEU.js';
271
274
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, AVATAR_VERDICTS, AVATAR_VERDICT_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-YMFFGPFE.js';
272
- export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
273
- export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
274
275
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-B64FGEK5.js';
275
276
  export { Timeline, TimelineItem } from '../chunk-XDUXAQIS.js';
276
277
  export { Section } from '../chunk-WFCWPXJN.js';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './chunk-ZCNYTD7Q.js';
1
+ import './chunk-K6N75QSD.js';
2
2
  export { WidgetFrame } from './chunk-5ZTH54O6.js';
3
3
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
4
4
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-UTI3RTXP.js';
@@ -6,6 +6,7 @@ export { TypeSpecimen } from './chunk-JKAFEFFC.js';
6
6
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-5BOPXR7R.js';
7
7
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-EDS3WKC5.js';
8
8
  export { VersionTimeline } from './chunk-SLJ5REZM.js';
9
+ export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
9
10
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-BPCXMQMB.js';
10
11
  export { TileGrid } from './chunk-UFID3DSP.js';
11
12
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-TIGY46IQ.js';
@@ -17,7 +18,7 @@ export { ThemeSwatch } from './chunk-3XQUEF5C.js';
17
18
  export { DensitySwitcher, ThemeSwitcher } from './chunk-B5UQICQ6.js';
18
19
  export { ThemeToggle } from './chunk-SF6VUTGG.js';
19
20
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
20
- export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
21
+ export { StatusLine } from './chunk-CKPFMBBH.js';
21
22
  export { Switcher } from './chunk-C4TJTJVU.js';
22
23
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-Q3J23Q6P.js';
23
24
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
@@ -25,18 +26,18 @@ export { StatCard } from './chunk-2YADDY4A.js';
25
26
  export { StatGroup } from './chunk-OUD75UB2.js';
26
27
  export { Statement } from './chunk-MZJKPTA5.js';
27
28
  export { StatusLegend } from './chunk-CXFMNOPV.js';
28
- export { StatusLine } from './chunk-CKPFMBBH.js';
29
+ import './chunk-ZZMXJTII.js';
29
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-BCHGCSI7.js';
30
31
  export { SlideFilmstrip } from './chunk-GUOOAY2K.js';
31
32
  export { SlideGrid } from './chunk-73L3774J.js';
32
- export { SettingsTable, SettingsTableRow } from './chunk-EXMIQMQ7.js';
33
+ export { SettingsTable, SettingsTableRow } from './chunk-TTRCEFON.js';
33
34
  export { SetupWizard } from './chunk-2DZV4PHK.js';
34
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-RHQWN7DT.js';
35
35
  export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-6BGDOVTX.js';
36
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-RHQWN7DT.js';
36
37
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-ANER6FP5.js';
37
38
  export { TagGroup } from './chunk-FOUIZS7Q.js';
38
39
  export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
39
- import './chunk-ZZMXJTII.js';
40
+ export { SearchTrigger } from './chunk-U67UM3VS.js';
40
41
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-PRDFJS2A.js';
41
42
  export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
42
43
  export { SelectionBar } from './chunk-B3IYNEIL.js';
@@ -44,37 +45,37 @@ export { SEND_BUTTON_LABELS, SendButton } from './chunk-FEMKMGQS.js';
44
45
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-IHG5SQTX.js';
45
46
  export { Table } from './chunk-YGN4SBNP.js';
46
47
  export { ReviewList } from './chunk-7XYU5PSQ.js';
47
- export { RichEditor, preloadRichEditor } from './chunk-5A6PJL5Z.js';
48
- export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
49
48
  export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
50
49
  import './chunk-7CSTEH5I.js';
50
+ export { RichEditor, preloadRichEditor } from './chunk-ZOSF3ELM.js';
51
+ export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
51
52
  export { RoomRow } from './chunk-45OOFAL6.js';
52
53
  export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
53
54
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-YRFUJI6W.js';
54
- export { SearchTrigger } from './chunk-U67UM3VS.js';
55
+ export { RAIL_LIST_LABELS, RailList } from './chunk-3MT6K5VU.js';
56
+ export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-ER2AGTXQ.js';
57
+ export { Select } from './chunk-OU22GKZK.js';
55
58
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-IRJWEFO7.js';
56
59
  export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
57
60
  export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
58
61
  export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-HW7QJS2C.js';
59
62
  export { RelatedRow } from './chunk-ZPLAR53E.js';
60
- export { PrincipalPicker } from './chunk-BNUHDX7F.js';
61
63
  export { PresenterView, formatStopwatch } from './chunk-QWDVFV45.js';
62
64
  export { SLIDE_NAV_LABELS, SlideNav } from './chunk-MPWHYZTN.js';
63
65
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
66
+ export { PricingCard } from './chunk-O2XAJDK6.js';
67
+ export { PrincipalPicker } from './chunk-BNUHDX7F.js';
64
68
  export { PropertyList } from './chunk-N2DCSSYC.js';
65
69
  export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-LGC2Q4IO.js';
66
70
  export { Prose } from './chunk-DVVP27OD.js';
67
71
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
68
- export { RAIL_LIST_LABELS, RailList } from './chunk-3MT6K5VU.js';
69
- export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-ER2AGTXQ.js';
70
- export { Select } from './chunk-OU22GKZK.js';
72
+ export { List, ListItem } from './chunk-GAQU5V5R.js';
71
73
  export { PinTile } from './chunk-432Y4HML.js';
72
74
  export { PresenceStack } from './chunk-LL5H2Q5B.js';
73
- export { PricingCard } from './chunk-O2XAJDK6.js';
75
+ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-NHUQRUCW.js';
74
76
  export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-CRKFCTOR.js';
75
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-DUYJO6KP.js';
76
- export { TreeGrid } from './chunk-TKDDIX23.js';
77
- export { OrgLabel } from './chunk-PFP5HHZF.js';
77
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-VC5O7G3A.js';
78
+ export { TreeGrid } from './chunk-3AFRSZ3K.js';
78
79
  export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
79
80
  export { PageNote } from './chunk-CV4NES3P.js';
80
81
  export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-JZSG4N2Q.js';
@@ -84,14 +85,15 @@ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './c
84
85
  export { MessageBubble } from './chunk-KAQ2L74F.js';
85
86
  export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
86
87
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
87
- export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-MVRTOAOW.js';
88
+ export { OrgLabel } from './chunk-PFP5HHZF.js';
88
89
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-KFQ4F4R7.js';
89
90
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-TFJCQWHW.js';
90
91
  export { MentionChip } from './chunk-SYOMUNKU.js';
91
92
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
92
93
  export { PersonRow } from './chunk-42I2VSZZ.js';
93
94
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-3ZURY4PP.js';
94
- export { List, ListItem } from './chunk-GAQU5V5R.js';
95
+ export { LinkCard } from './chunk-346EXHOR.js';
96
+ import './chunk-KOJPDCGQ.js';
95
97
  export { ListDetail, ListDetailBack } from './chunk-TYFQMHJG.js';
96
98
  export { ListInput, withDraft } from './chunk-UAO27FG7.js';
97
99
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
@@ -101,15 +103,15 @@ export { KeyValueRows, keyValueRowsLabels } from './chunk-KMNTQM74.js';
101
103
  export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
102
104
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
103
105
  export { Link } from './chunk-UTKI2SAM.js';
104
- export { LinkCard } from './chunk-346EXHOR.js';
105
- import './chunk-KOJPDCGQ.js';
106
106
  export { LinkInterstitial, openExternal } from './chunk-PUXIGS42.js';
107
+ export { IconTile } from './chunk-VRVNLJUA.js';
107
108
  export { ImageUpload } from './chunk-4QWTD6JO.js';
108
109
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-UMEK5DHS.js';
109
110
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
110
111
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-U43FRT4V.js';
111
112
  export { InlineRef } from './chunk-ACXYNJZR.js';
112
113
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
114
+ export { FollowBanner } from './chunk-Z5V6SJSI.js';
113
115
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from './chunk-F6V2PTN6.js';
114
116
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
115
117
  export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-KK7FYYED.js';
@@ -118,37 +120,36 @@ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscree
118
120
  export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
119
121
  import './chunk-MICRGE3J.js';
120
122
  import './chunk-FFMCMSJB.js';
121
- export { IconTile } from './chunk-VRVNLJUA.js';
123
+ export { Eyebrow } from './chunk-RK4XPHVG.js';
122
124
  export { FactList } from './chunk-3ZESUOY5.js';
123
125
  export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-ELKYSKJY.js';
124
126
  export { FileList } from './chunk-FQBSYMEW.js';
125
127
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
126
128
  export { FindingList } from './chunk-J2GRBRGK.js';
127
129
  export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-4VJ5UZIK.js';
128
- export { FollowBanner } from './chunk-Z5V6SJSI.js';
130
+ export { DownloadButton } from './chunk-7UPCNLUR.js';
131
+ export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
129
132
  export { EditingStatus } from './chunk-KRF3GQ63.js';
130
133
  export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-53QCDJJS.js';
131
134
  export { EntityChip } from './chunk-OPN5Q3OL.js';
132
135
  export { EntityList } from './chunk-776LNKD2.js';
133
136
  export { ErrorBoundary } from './chunk-BCDTFB7Q.js';
134
- export { Eyebrow } from './chunk-RK4XPHVG.js';
135
137
  export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-F4CM5KD3.js';
136
138
  export { DirectoryList } from './chunk-5KTLQ436.js';
137
139
  export { Divider } from './chunk-6KWNXIDE.js';
138
140
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-HHD75S2V.js';
139
141
  export { DockColumn } from './chunk-UXTW4GOT.js';
140
- export { DownloadButton } from './chunk-7UPCNLUR.js';
141
- export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
142
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-WBGRXZG2.js';
142
143
  export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-VMYFLZFW.js';
143
144
  export { PageHeader } from './chunk-FPDIHEM4.js';
144
145
  export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-JL27TIRV.js';
145
146
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-DPAC4WAI.js';
146
147
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
147
148
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-POQCQ6OX.js';
148
- export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-VJVWCEGC.js';
149
+ export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-MQSJB47C.js';
149
150
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
150
- export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
151
151
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-XMXIPVOS.js';
152
+ export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
152
153
  export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-GTNXDLYH.js';
153
154
  export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
154
155
  export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-GHRZZI7S.js';
@@ -157,7 +158,7 @@ export { ContrastHelp } from './chunk-UKXISBSG.js';
157
158
  export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-3YOLD7WG.js';
158
159
  export { CursorFlag } from './chunk-MMCYH5LB.js';
159
160
  export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
160
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-66KLISMP.js';
161
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-GWKMBEKN.js';
161
162
  export { ColorSwatch } from './chunk-OTATFJJX.js';
162
163
  export { Combobox } from './chunk-HHBAQK2U.js';
163
164
  export { CommandPalette } from './chunk-U7G5N5QN.js';
@@ -169,6 +170,7 @@ export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, group
169
170
  export { LockedLabel } from './chunk-TODOBUXO.js';
170
171
  export { ConfirmField, confirmMatches } from './chunk-DTK7NYY4.js';
171
172
  export { InlineCode } from './chunk-W4UJWFCZ.js';
173
+ export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
172
174
  export { ChoiceButtons } from './chunk-AHW3K3SH.js';
173
175
  export { ChoiceCards } from './chunk-FHPHRIPO.js';
174
176
  export { ChoiceList } from './chunk-XU7RQNT6.js';
@@ -189,12 +191,7 @@ import './chunk-5QJNA7KD.js';
189
191
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-OFPLROMQ.js';
190
192
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-M4HK73RP.js';
191
193
  export { CheckGrid } from './chunk-IS5OCYFF.js';
192
- export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
193
- export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-KIZMSNL3.js';
194
- export { Note } from './chunk-YJPQJVRJ.js';
195
194
  export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
196
- export { CanvasToolbar, toolForKey } from './chunk-LRK7SHXN.js';
197
- export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
198
195
  export { CatalogTile } from './chunk-JKEGFDBG.js';
199
196
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NB53SAL4.js';
200
197
  export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
@@ -207,12 +204,16 @@ import './chunk-5SGHW42B.js';
207
204
  import './chunk-7W3LYIOC.js';
208
205
  export { Breadcrumb } from './chunk-CN2EDXAW.js';
209
206
  export { KeyChip } from './chunk-HBDA76EZ.js';
207
+ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
210
208
  export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-TWI7SVRY.js';
211
209
  export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
212
210
  import './chunk-6C7GQOBV.js';
213
211
  export { StatusCard } from './chunk-NWKH5FF7.js';
214
- export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
215
212
  export { Callout } from './chunk-RCQLXOGS.js';
213
+ export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-KIZMSNL3.js';
214
+ export { Note } from './chunk-YJPQJVRJ.js';
215
+ export { CanvasToolbar, toolForKey } from './chunk-LRK7SHXN.js';
216
+ export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
216
217
  export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-22NUGFHZ.js';
217
218
  import './chunk-X4HBZSXA.js';
218
219
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
@@ -265,12 +266,12 @@ export { Menu } from './chunk-XHEM234A.js';
265
266
  export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
266
267
  export { EmptyState } from './chunk-PPUR46MK.js';
267
268
  export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
269
+ export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
270
+ export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
268
271
  export { ActivityLine } from './chunk-GYVL23ZK.js';
269
272
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-TCQIJ2VO.js';
270
273
  export { AvatarStack, avatarStackLabel } from './chunk-SPCNQUEU.js';
271
274
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, AVATAR_VERDICTS, AVATAR_VERDICT_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-YMFFGPFE.js';
272
- export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
273
- export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
274
275
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-B64FGEK5.js';
275
276
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
276
277
  export { Section } from './chunk-WFCWPXJN.js';
package/dist/styles.css CHANGED
@@ -21452,6 +21452,123 @@ svg.crewlet-datetime__chevron {
21452
21452
  }
21453
21453
 
21454
21454
 
21455
+ /* DocumentDiff-UXBGVIJK.css */
21456
+ /* DocumentDiff: a change drawn as the document it changed (DocumentDiff.tsx).
21457
+ No hue: a block's or a run's kind is its mark, a word read in its place, and
21458
+ one surface step off the diff's own ground, raised for added and sunk for
21459
+ removed. */
21460
+ .crewlet-document-diff {
21461
+ /* An excerpt's blocks sit closer than a page's. */
21462
+ --crewlet-document-gap: var(--spacing-2);
21463
+ padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--spacing-1);
21464
+ border: 1px solid var(--color-border-default);
21465
+ border-radius: var(--radius-sm);
21466
+ background: var(--color-surface-subtle);
21467
+ }
21468
+
21469
+ /* The mark's track and the block's own, so every block's words share one edge. */
21470
+ .crewlet-document-diff__block,
21471
+ .crewlet-document-diff__skip {
21472
+ display: grid;
21473
+ grid-template-columns: var(--spacing-4) minmax(0, 1fr);
21474
+ column-gap: var(--spacing-1);
21475
+ align-items: baseline;
21476
+ border-radius: var(--radius-xs);
21477
+ }
21478
+
21479
+ .crewlet-document-diff__mark {
21480
+ color: var(--color-text-secondary);
21481
+ font-family: var(--font-family-mono);
21482
+ text-align: center;
21483
+ user-select: none;
21484
+ }
21485
+
21486
+ .crewlet-document-diff__content {
21487
+ min-width: 0;
21488
+ }
21489
+
21490
+ .crewlet-document-diff__content > * + * {
21491
+ margin-block-start: var(--crewlet-document-gap);
21492
+ }
21493
+
21494
+ .crewlet-document-diff__block--added,
21495
+ .crewlet-document-diff__block--removed {
21496
+ padding-block: var(--spacing-1);
21497
+ }
21498
+
21499
+ .crewlet-document-diff__block--added {
21500
+ background: var(--color-surface-elevated);
21501
+ }
21502
+
21503
+ .crewlet-document-diff__block--removed {
21504
+ background: var(--color-surface-background);
21505
+ }
21506
+
21507
+ /* Neighbouring blocks of one kind read as one region: no gap, no inner corners. */
21508
+ .crewlet-document-diff__block--added + .crewlet-document-diff__block--added,
21509
+ .crewlet-document-diff__block--removed + .crewlet-document-diff__block--removed {
21510
+ margin-block-start: 0;
21511
+ border-start-start-radius: 0;
21512
+ border-start-end-radius: 0;
21513
+ }
21514
+
21515
+ .crewlet-document-diff__block--added:has(+ .crewlet-document-diff__block--added),
21516
+ .crewlet-document-diff__block--removed:has(+ .crewlet-document-diff__block--removed) {
21517
+ border-end-start-radius: 0;
21518
+ border-end-end-radius: 0;
21519
+ }
21520
+
21521
+ .crewlet-document-diff__block--removed .crewlet-document-diff__content {
21522
+ color: var(--color-text-tertiary);
21523
+ text-decoration-line: line-through;
21524
+ text-decoration-thickness: from-font;
21525
+ }
21526
+
21527
+ /* What was removed takes the quiet ink throughout: its headings, strong words and links too. */
21528
+ .crewlet-document-diff__block--removed .crewlet-document-diff__content *,
21529
+ .crewlet-document-diff__removed * {
21530
+ color: inherit;
21531
+ }
21532
+
21533
+ /* Changed words inside a block. A run that wraps keeps its ground on every line. */
21534
+ .crewlet-document-diff__added,
21535
+ .crewlet-document-diff__removed {
21536
+ border-radius: var(--radius-xs);
21537
+ -webkit-box-decoration-break: clone;
21538
+ box-decoration-break: clone;
21539
+ }
21540
+
21541
+ .crewlet-document-diff__added {
21542
+ background: var(--color-surface-elevated);
21543
+ color: var(--color-text-primary);
21544
+ text-decoration-line: underline;
21545
+ text-decoration-thickness: from-font;
21546
+ text-underline-position: under;
21547
+ }
21548
+
21549
+ .crewlet-document-diff__removed {
21550
+ background: var(--color-surface-background);
21551
+ color: var(--color-text-tertiary);
21552
+ text-decoration-line: line-through;
21553
+ text-decoration-thickness: from-font;
21554
+ }
21555
+
21556
+ /* Two runs that touch stand a word space apart, so they never read as one word. */
21557
+ .crewlet-document-diff__removed:has(+ :is(.crewlet-document-diff__added, .crewlet-document-diff__removed)) {
21558
+ margin-inline-end: var(--spacing-1);
21559
+ }
21560
+
21561
+ .crewlet-document-diff__added + .crewlet-document-diff__removed {
21562
+ margin-inline-start: var(--spacing-1);
21563
+ }
21564
+
21565
+ /* A folded run says how many blocks it stands for, and of what kind. */
21566
+ .crewlet-document-diff__skip {
21567
+ color: var(--color-text-tertiary);
21568
+ font-size: var(--font-size-xs);
21569
+ }
21570
+
21571
+
21455
21572
  /* EditingStatus-TMGT265J.css */
21456
21573
  /*
21457
21574
  * The editing status (EditingStatus.tsx): a word and a dot, in the bar's own
@@ -37880,7 +37997,7 @@ svg.crewlet-select__chevron {
37880
37997
  }
37881
37998
 
37882
37999
 
37883
- /* SettingsTable-CBB56SMP.css */
38000
+ /* SettingsTable-MTZJTKA6.css */
37884
38001
  /*
37885
38002
  * SettingsTable: a read-only table of settings, one row each, on one grid.
37886
38003
  *
@@ -37999,6 +38116,24 @@ svg.crewlet-select__chevron {
37999
38116
  color: var(--color-text-tertiary);
38000
38117
  }
38001
38118
 
38119
+ /* Where a pointer can hover, the key shows with its row, its focus or a copy's outcome, and keeps its place unseen otherwise. */
38120
+ @media (hover: hover) {
38121
+ .crewlet-settings-table__key {
38122
+ opacity: 0;
38123
+ }
38124
+
38125
+ .crewlet-settings-table__row:is(:hover, :focus-within) .crewlet-settings-table__key,
38126
+ .crewlet-settings-table__key:not([data-copy='idle']) {
38127
+ opacity: 1;
38128
+ }
38129
+ }
38130
+
38131
+ @media (hover: hover) and (prefers-reduced-motion: no-preference) {
38132
+ .crewlet-settings-table__key {
38133
+ transition: opacity var(--motion-duration-fast) var(--motion-easing-default);
38134
+ }
38135
+ }
38136
+
38002
38137
  /* Tabular figures, so a column of numbers reads down its digits. */
38003
38138
  .crewlet-settings-table__value {
38004
38139
  min-width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.139.0",
3
+ "version": "0.141.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.139.0",
46
- "@crewlethq/tokens": "0.139.0",
45
+ "@crewlethq/icons": "0.141.0",
46
+ "@crewlethq/tokens": "0.141.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,5 +1,5 @@
1
- import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
1
  import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
2
+ import { richEditorLabels } from './chunk-2DMTW2Y3.js';
3
3
  import './chunk-KOJPDCGQ.js';
4
4
  import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
5
5
  import { Toolbar } from './chunk-NPEI2QAN.js';
File without changes
@@ -1,6 +1,6 @@
1
1
  import { StepList } from './chunk-EHD4CEHK.js';
2
- import { Meter } from './chunk-MXOT2CWL.js';
3
2
  import { ReceiptStrip } from './chunk-XMXIPVOS.js';
3
+ import { Meter } from './chunk-MXOT2CWL.js';
4
4
  import { StatusCard } from './chunk-NWKH5FF7.js';
5
5
  import { Disclosure } from './chunk-D5O64CVE.js';
6
6
  import { Spinner } from './chunk-XSPCITPN.js';
@@ -1,5 +1,5 @@
1
- import { safeHref } from './chunk-KBZO4B33.js';
2
1
  import { IconTile } from './chunk-VRVNLJUA.js';
2
+ import { safeHref } from './chunk-KBZO4B33.js';
3
3
  import { ReceiptStrip } from './chunk-XMXIPVOS.js';
4
4
  import { StatusCard } from './chunk-NWKH5FF7.js';
5
5
  import { ButtonLink, Button } from './chunk-CYF22JOT.js';