@crewlethq/ui 0.112.0 → 0.113.1
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 +1 -1
- package/dist/ActivityLine/ActivityLine.d.ts +16 -22
- package/dist/ActivityLine/index.js +4 -2
- package/dist/ActivityLine-TIMSOQGU.css +32 -0
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AvatarPicker/index.js +3 -3
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/CommentThread/index.js +1 -1
- package/dist/DataGrid/index.js +1 -1
- package/dist/{DataGrid-YNLCEH3E.css → DataGrid-7KUUYSHA.css} +48 -7
- package/dist/OrgTable/index.js +5 -5
- package/dist/RichEditor/index.js +1 -1
- package/dist/ShareDialog/index.js +2 -2
- package/dist/SheetGrid/index.js +3 -3
- package/dist/TableCells/index.js +1 -1
- package/dist/ThreadSummary/ThreadSummary.d.ts +1 -1
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/TreeGrid/index.js +2 -2
- package/dist/WorkingLine/BouncingDots.d.ts +8 -0
- package/dist/WorkingLine/WorkingLine.d.ts +97 -0
- package/dist/WorkingLine/index.d.ts +5 -0
- package/dist/WorkingLine/index.js +5 -0
- package/dist/WorkingLine-NUFSSAOL.css +332 -0
- package/dist/{chunk-ECGYBWRI.js → chunk-32QH3CAO.js} +1 -1
- package/dist/{chunk-45VQPH27.js → chunk-6S2Q4DGN.js} +1 -1
- package/dist/{chunk-RHD46WIZ.js → chunk-R4PZUVPD.js} +1 -1
- package/dist/chunk-RNIPNSCH.js +158 -0
- package/dist/{chunk-Y3FLNQEE.js → chunk-S3ZFYKNS.js} +16 -8
- package/dist/{chunk-DTZ72KVX.js → chunk-TXTYTIIH.js} +1 -1
- package/dist/chunk-ZLCPU4HW.js +17 -0
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +30 -29
- package/dist/index.js +30 -29
- package/dist/styles.css +392 -58
- package/package.json +3 -3
- package/dist/ActivityLine-AMSERTOB.css +0 -74
- package/dist/chunk-5YFQMMTJ.js +0 -29
- package/dist/{Editor-YITN2DWX.js → Editor-XT73VTSJ.js} +1 -1
- package/dist/{chunk-AQMB6ONN.js → chunk-2NUQBD3O.js} +1 -1
- package/dist/{chunk-LNQSNXGJ.js → chunk-S4JRQJEP.js} +1 -1
- package/dist/{chunk-ENYB3HIA.js → chunk-TEOJ7OKD.js} +1 -1
- /package/dist/{chunk-2DYEPDT7.js → chunk-XDBCWSM5.js} +0 -0
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
|
|
|
47
47
|
| List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
|
|
48
48
|
| Feedback and overlays | `Callout`, `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
|
|
49
49
|
| Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`diffLines`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, `MAX_DIFF_LINES`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
|
|
50
|
-
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
|
|
50
|
+
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
|
|
51
51
|
| Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `ActivityStrip`, `TimeSeries`, `Sparkline`, the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
|
|
52
52
|
| Marks | `Count` (with `tone="attention"`), `StatusDot`, `Spinner`, `EmptyValue`, `VisuallyHidden` |
|
|
53
53
|
| Hooks and seams | `useModalLayer`, `usePopupLayer`, `LayerHost`, `useListbox`, `useOptionKeys`, `useHighlightRest` and `HIGHLIGHT_REST_MS`, `useClipboard`, `useDownload`, `downloadText`, `downloadBlob`, `safeFilename`, `toCsv`, `elementToPng` and `ElementToPngError`, `useOutcome`, `useAnnouncer`, `useNow`, `formatRelative`, `HeadingLevelProvider`, `cx`, the node hues (`NODE_HUES`, `NODE_HUE_NAMES`, `isNodeHue`) |
|
|
@@ -1,34 +1,28 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import { type WorkingAgent, type WorkingLineLabels } from '../WorkingLine/index.js';
|
|
2
3
|
export interface ActivityLineProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
3
4
|
/** Who is typing, in words: "Product Manager is typing". Empty or left out, nothing is drawn for it. */
|
|
4
5
|
typing?: string | undefined;
|
|
5
6
|
/**
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* The agents at work, drawn as one `WorkingLine`: their faces, one sentence
|
|
8
|
+
* naming them and, on demand, a line per agent. Empty or left out, nothing
|
|
9
|
+
* is drawn for them.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
* changes with its steps: "Senior Backend Engineer is writing a reply".
|
|
14
|
-
* `working` by default.
|
|
15
|
-
*/
|
|
16
|
-
workingLabel?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The agent has not started on it yet: the request waits behind something
|
|
19
|
-
* it is already doing, and `working` says so ("Product Manager is queued
|
|
20
|
-
* behind its current task"). Drawn as a queued `ThinkingIndicator`, still,
|
|
21
|
-
* until the work starts.
|
|
22
|
-
*/
|
|
23
|
-
queued?: boolean | undefined;
|
|
11
|
+
agents?: readonly WorkingAgent[] | undefined;
|
|
12
|
+
/** The working line's words, for a surface in another language. */
|
|
13
|
+
workingLabels?: Partial<WorkingLineLabels> | undefined;
|
|
24
14
|
}
|
|
25
15
|
/**
|
|
26
|
-
* Who is typing and which
|
|
16
|
+
* Who is typing and which agents are working, in one quiet line under a
|
|
27
17
|
* composer. It keeps one line's height when it is empty, so the box above it
|
|
28
18
|
* never moves as people start and stop.
|
|
29
19
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
20
|
+
* KEPT APART. People typing are words and dots, with no face; agents at work
|
|
21
|
+
* are faces, names under a sweeping band and dots. Both at once stand side by
|
|
22
|
+
* side, and wrap to two lines where the column is too narrow for both.
|
|
23
|
+
*
|
|
24
|
+
* EACH ANNOUNCED ONCE PER CHANGE. Typing is a polite status as it changes;
|
|
25
|
+
* the working line's own region names who starts and stops, never a phrase.
|
|
26
|
+
* Both regions stay mounted while empty, so the first change is heard.
|
|
33
27
|
*/
|
|
34
|
-
export declare function ActivityLine({ typing,
|
|
28
|
+
export declare function ActivityLine({ typing, agents, workingLabels, className, ...rest }: ActivityLineProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { ActivityLine } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ActivityLine } from '../chunk-ZLCPU4HW.js';
|
|
2
|
+
import '../chunk-RNIPNSCH.js';
|
|
3
|
+
import '../chunk-5SMYKL3D.js';
|
|
4
|
+
import '../chunk-XZY6S3UC.js';
|
|
3
5
|
import '../chunk-RRRK2KB6.js';
|
|
4
6
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Who is typing and which agents are working, under a composer, in the meta
|
|
3
|
+
* step and the tertiary ink.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.crewlet-activity-line {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: var(--spacing-1) var(--spacing-4);
|
|
11
|
+
min-height: 20px;
|
|
12
|
+
min-width: 0;
|
|
13
|
+
color: var(--color-text-tertiary);
|
|
14
|
+
font-size: var(--crewlet-chat-meta);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* No piece is wider than the line: a long working line truncates. */
|
|
18
|
+
.crewlet-activity-line > * {
|
|
19
|
+
max-width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.crewlet-activity-line__typing {
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: var(--spacing-1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Nobody typing: the live region stays mounted but out of the flow, so it
|
|
29
|
+
never wraps onto a line of its own beside a long working line. */
|
|
30
|
+
.crewlet-activity-line__typing:empty {
|
|
31
|
+
position: absolute;
|
|
32
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-TEOJ7OKD.js';
|
|
2
2
|
import '../chunk-BMTNY3FK.js';
|
|
3
3
|
import '../chunk-HF5L56YQ.js';
|
|
4
4
|
import '../chunk-GBKBME7Q.js';
|
|
@@ -7,12 +7,12 @@ import '../chunk-3C3TSWRR.js';
|
|
|
7
7
|
import '../chunk-AV2DXAEL.js';
|
|
8
8
|
import '../chunk-XLMURU75.js';
|
|
9
9
|
import '../chunk-WSIJDWUG.js';
|
|
10
|
-
import '../chunk-5SMYKL3D.js';
|
|
11
|
-
import '../chunk-XZY6S3UC.js';
|
|
12
10
|
import '../chunk-W3A6NBUM.js';
|
|
13
11
|
import '../chunk-DTEDUAEW.js';
|
|
14
12
|
import '../chunk-DOY3KC6I.js';
|
|
15
13
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
14
|
+
import '../chunk-5SMYKL3D.js';
|
|
15
|
+
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-TE3OMB3Z.js';
|
|
17
17
|
import '../chunk-NICEDVZM.js';
|
|
18
18
|
import '../chunk-JLKO7PSK.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-32QH3CAO.js';
|
|
2
2
|
import '../chunk-QVNEQSOL.js';
|
|
3
3
|
import '../chunk-KDRJZWE3.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-S4JRQJEP.js';
|
|
5
5
|
import '../chunk-AYKXMIOR.js';
|
|
6
|
-
import '../chunk-XZY6S3UC.js';
|
|
7
6
|
import '../chunk-YD5UCBFV.js';
|
|
8
7
|
import '../chunk-STJPIP3R.js';
|
|
9
8
|
import '../chunk-EGMQURBR.js';
|
|
10
9
|
import '../chunk-QRE6JCHS.js';
|
|
11
10
|
import '../chunk-QHUKJN33.js';
|
|
11
|
+
import '../chunk-XZY6S3UC.js';
|
|
12
12
|
import '../chunk-NPPPQSRU.js';
|
|
13
13
|
import '../chunk-XSPCITPN.js';
|
|
14
14
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-3L5NHASN.js';
|
|
2
|
-
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-
|
|
3
|
-
import '../chunk-XZY6S3UC.js';
|
|
2
|
+
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-S4JRQJEP.js';
|
|
4
3
|
import '../chunk-EGMQURBR.js';
|
|
4
|
+
import '../chunk-XZY6S3UC.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -2,9 +2,9 @@ export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-ZGJCVXFU.js';
|
|
|
2
2
|
import '../chunk-HF5L56YQ.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
|
+
import '../chunk-I4PBFJGX.js';
|
|
5
6
|
import '../chunk-5SMYKL3D.js';
|
|
6
7
|
import '../chunk-XZY6S3UC.js';
|
|
7
|
-
import '../chunk-I4PBFJGX.js';
|
|
8
8
|
import '../chunk-KVNVLBCB.js';
|
|
9
9
|
import '../chunk-TE3OMB3Z.js';
|
|
10
10
|
import '../chunk-NICEDVZM.js';
|
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-
|
|
1
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-S3ZFYKNS.js';
|
|
2
2
|
import '../chunk-BMTNY3FK.js';
|
|
3
3
|
import '../chunk-WSIJDWUG.js';
|
|
4
4
|
import '../chunk-JMBPMSNI.js';
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
that of every band that spans it (a band's head and foot, the foot). The
|
|
22
22
|
cells' own step on a grid standing alone; the card's own in a card. */
|
|
23
23
|
--crewlet-data-grid-edge: var(--spacing-3);
|
|
24
|
+
/* THE STICKY STACK: the column heads at the application's offset, then one
|
|
25
|
+
band head per level of grouping under them. Both heights are definite, so
|
|
26
|
+
each level sticks exactly under the one above it. */
|
|
27
|
+
--crewlet-data-grid-head-height: var(--size-row-md);
|
|
28
|
+
--crewlet-data-grid-band-head-height: calc(var(--spacing-2) * 2 + var(--font-size-xs) * var(--font-line-height-normal));
|
|
24
29
|
|
|
25
30
|
display: grid;
|
|
26
31
|
min-width: 0;
|
|
@@ -81,7 +86,7 @@
|
|
|
81
86
|
*/
|
|
82
87
|
.crewlet-data-grid__head {
|
|
83
88
|
align-items: center;
|
|
84
|
-
min-height: var(--
|
|
89
|
+
min-height: var(--crewlet-data-grid-head-height);
|
|
85
90
|
border-bottom: 1px solid var(--color-border-hover);
|
|
86
91
|
background: var(--color-surface-elevated);
|
|
87
92
|
position: sticky;
|
|
@@ -289,6 +294,9 @@
|
|
|
289
294
|
cursor: pointer;
|
|
290
295
|
/* The containing block for the row's link. */
|
|
291
296
|
position: relative;
|
|
297
|
+
/* A row keeps whatever it holds to itself: a cell's control raised with a
|
|
298
|
+
z-index of its own still paints under the sticky heads, never over them. */
|
|
299
|
+
isolation: isolate;
|
|
292
300
|
transition: background var(--motion-duration-fast) var(--motion-easing-default);
|
|
293
301
|
}
|
|
294
302
|
|
|
@@ -392,6 +400,8 @@ button.crewlet-data-grid__row-link {
|
|
|
392
400
|
grid-template-columns: subgrid;
|
|
393
401
|
grid-column: 1 / -1;
|
|
394
402
|
border-bottom: 1px solid var(--color-border-default);
|
|
403
|
+
/* Under the sticky heads, as a row is. */
|
|
404
|
+
isolation: isolate;
|
|
395
405
|
}
|
|
396
406
|
|
|
397
407
|
.crewlet-data-grid__subrow:not(:last-child):has(+ .crewlet-data-grid__subrow) {
|
|
@@ -578,7 +588,10 @@ button.crewlet-data-grid__row-link {
|
|
|
578
588
|
* every row, for a grid in a drawer or a side panel read beside something
|
|
579
589
|
* else. The type stays; only the rows' height and their air give.
|
|
580
590
|
*/
|
|
581
|
-
.crewlet-data-grid[data-density='compact']
|
|
591
|
+
.crewlet-data-grid[data-density='compact'] {
|
|
592
|
+
--crewlet-data-grid-head-height: var(--size-row-sm);
|
|
593
|
+
}
|
|
594
|
+
|
|
582
595
|
.crewlet-data-grid[data-density='compact'] .crewlet-data-grid__row {
|
|
583
596
|
min-height: var(--size-row-sm);
|
|
584
597
|
}
|
|
@@ -622,16 +635,37 @@ button.crewlet-data-grid__row-link {
|
|
|
622
635
|
display: flex;
|
|
623
636
|
align-items: center;
|
|
624
637
|
gap: var(--spacing-2);
|
|
638
|
+
box-sizing: border-box;
|
|
639
|
+
height: var(--crewlet-data-grid-band-head-height);
|
|
625
640
|
padding: var(--spacing-2) var(--crewlet-data-grid-edge);
|
|
626
641
|
background: var(--color-surface-elevated);
|
|
627
642
|
font-size: var(--font-size-xs);
|
|
643
|
+
line-height: var(--font-line-height-normal);
|
|
628
644
|
font-weight: var(--font-weight-semibold);
|
|
645
|
+
/* One line, so it never outgrows its height onto the rows under it. */
|
|
646
|
+
white-space: nowrap;
|
|
629
647
|
position: sticky;
|
|
630
|
-
/* Under the column heads
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
648
|
+
/* Under the column heads and under the head of every band it is inside: its
|
|
649
|
+
level of grouping (`--crewlet-data-grid-band-depth`, which DataGrid.tsx
|
|
650
|
+
writes on a sub-band's head) counts them. Confined to its own band, so it
|
|
651
|
+
leaves with the band. */
|
|
652
|
+
top: calc(
|
|
653
|
+
var(--crewlet-data-grid-sticky-top, var(--spacing-0)) + var(--crewlet-data-grid-head-height) +
|
|
654
|
+
var(--crewlet-data-grid-band-head-height) * var(--crewlet-data-grid-band-depth, 0)
|
|
655
|
+
);
|
|
656
|
+
/* Above the rows (which isolate), below the column heads, and a level under
|
|
657
|
+
the head of the band it is inside, which it slides beneath as it leaves. */
|
|
658
|
+
z-index: calc(var(--z-index-sticky) - 1 - var(--crewlet-data-grid-band-depth, 0));
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/* THE NAME GIVES WAY, the mark and the count keep their size: the name ends
|
|
662
|
+
in an ellipsis and carries its whole text as its title while it is cut. */
|
|
663
|
+
.crewlet-data-grid__band-head > .crewlet-data-grid__band-cell > * {
|
|
664
|
+
flex: none;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.crewlet-data-grid__band-head > .crewlet-data-grid__band-cell > .crewlet-data-grid__truncate {
|
|
668
|
+
flex: 0 1 auto;
|
|
635
669
|
}
|
|
636
670
|
|
|
637
671
|
/* A SECOND AXIS IS A BAND INSIDE A BAND, inset and quieter, so it does not
|
|
@@ -802,6 +836,13 @@ button.crewlet-data-grid__row-link {
|
|
|
802
836
|
display: none;
|
|
803
837
|
}
|
|
804
838
|
|
|
839
|
+
/* WITH NO COLUMN HEADS DRAWN, the band heads stick at the application's offset
|
|
840
|
+
itself, not a hidden head's height under it, where rows showed through the
|
|
841
|
+
gap. As specific as the compact rule and after it, so it wins there too. */
|
|
842
|
+
.crewlet-data-grid[data-stacked] {
|
|
843
|
+
--crewlet-data-grid-head-height: 0px;
|
|
844
|
+
}
|
|
845
|
+
|
|
805
846
|
:where(.crewlet-data-grid[data-stacked]) .crewlet-data-grid__body,
|
|
806
847
|
:where(.crewlet-data-grid[data-stacked]) .crewlet-data-grid__band,
|
|
807
848
|
:where(.crewlet-data-grid[data-stacked]) .crewlet-data-grid__subrow {
|
package/dist/OrgTable/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-R4PZUVPD.js';
|
|
2
|
+
import '../chunk-TXTYTIIH.js';
|
|
3
3
|
import '../chunk-MY374UUD.js';
|
|
4
4
|
import '../chunk-DEVO45TG.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-S3ZFYKNS.js';
|
|
6
6
|
import '../chunk-X4HBZSXA.js';
|
|
7
7
|
import '../chunk-BMTNY3FK.js';
|
|
8
8
|
import '../chunk-WSIJDWUG.js';
|
|
9
|
-
import '../chunk-5SMYKL3D.js';
|
|
10
|
-
import '../chunk-XZY6S3UC.js';
|
|
11
9
|
import '../chunk-JMBPMSNI.js';
|
|
12
10
|
import '../chunk-DTEDUAEW.js';
|
|
13
11
|
import '../chunk-SK4BIFTG.js';
|
|
14
12
|
import '../chunk-COS6LJ4K.js';
|
|
15
13
|
import '../chunk-PPUR46MK.js';
|
|
14
|
+
import '../chunk-5SMYKL3D.js';
|
|
15
|
+
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-5W3EYO5Q.js';
|
|
17
17
|
import '../chunk-TE3OMB3Z.js';
|
|
18
18
|
import '../chunk-NICEDVZM.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-6S2Q4DGN.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
@@ -7,10 +7,10 @@ import '../chunk-STJ7QBC3.js';
|
|
|
7
7
|
import '../chunk-DTIW4CHZ.js';
|
|
8
8
|
import '../chunk-BPCY7ZID.js';
|
|
9
9
|
import '../chunk-HF5L56YQ.js';
|
|
10
|
-
import '../chunk-5SMYKL3D.js';
|
|
11
|
-
import '../chunk-XZY6S3UC.js';
|
|
12
10
|
import '../chunk-SK4BIFTG.js';
|
|
13
11
|
import '../chunk-COS6LJ4K.js';
|
|
12
|
+
import '../chunk-5SMYKL3D.js';
|
|
13
|
+
import '../chunk-XZY6S3UC.js';
|
|
14
14
|
import '../chunk-JLKO7PSK.js';
|
|
15
15
|
import '../chunk-NPPPQSRU.js';
|
|
16
16
|
import '../chunk-XSPCITPN.js';
|
package/dist/SheetGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-
|
|
1
|
+
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-2NUQBD3O.js';
|
|
2
2
|
import '../chunk-FOUIZS7Q.js';
|
|
3
3
|
import '../chunk-CENOOTAV.js';
|
|
4
4
|
import '../chunk-MMCYH5LB.js';
|
|
@@ -9,10 +9,10 @@ import '../chunk-Z7JYG5TF.js';
|
|
|
9
9
|
import '../chunk-SJ3EUCFD.js';
|
|
10
10
|
import '../chunk-KDRJZWE3.js';
|
|
11
11
|
import '../chunk-AYKXMIOR.js';
|
|
12
|
-
import '../chunk-5SMYKL3D.js';
|
|
13
|
-
import '../chunk-XZY6S3UC.js';
|
|
14
12
|
import '../chunk-QRE6JCHS.js';
|
|
15
13
|
import '../chunk-QHUKJN33.js';
|
|
14
|
+
import '../chunk-5SMYKL3D.js';
|
|
15
|
+
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-NPPPQSRU.js';
|
|
17
17
|
import '../chunk-XSPCITPN.js';
|
|
18
18
|
import '../chunk-BF2BXM6V.js';
|
package/dist/TableCells/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import '../chunk-GBKBME7Q.js';
|
|
|
5
5
|
import '../chunk-WGLOH33S.js';
|
|
6
6
|
import '../chunk-XLMURU75.js';
|
|
7
7
|
import '../chunk-WSIJDWUG.js';
|
|
8
|
+
import '../chunk-QRE6JCHS.js';
|
|
8
9
|
import '../chunk-5SMYKL3D.js';
|
|
9
10
|
import '../chunk-XZY6S3UC.js';
|
|
10
|
-
import '../chunk-QRE6JCHS.js';
|
|
11
11
|
import '../chunk-RRRK2KB6.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -24,7 +24,7 @@ export interface ThreadSummaryProps {
|
|
|
24
24
|
last: string;
|
|
25
25
|
/** Replies the reader has not read; none by default. */
|
|
26
26
|
unread?: number | undefined;
|
|
27
|
-
/** Under the line:
|
|
27
|
+
/** Under the line: the agents writing replies in the thread, as a `WorkingLine`. */
|
|
28
28
|
working?: ReactNode;
|
|
29
29
|
/** The thread is open beside the room (`aria-expanded`). */
|
|
30
30
|
open?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-ZUFV7753.js';
|
|
2
2
|
import '../chunk-SJ3EUCFD.js';
|
|
3
|
+
import '../chunk-QRE6JCHS.js';
|
|
3
4
|
import '../chunk-5SMYKL3D.js';
|
|
4
5
|
import '../chunk-XZY6S3UC.js';
|
|
5
|
-
import '../chunk-QRE6JCHS.js';
|
|
6
6
|
import '../chunk-ODEQTPFM.js';
|
package/dist/TreeGrid/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { TreeGrid } from '../chunk-
|
|
1
|
+
export { TreeGrid } from '../chunk-TXTYTIIH.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-S3ZFYKNS.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
5
|
import '../chunk-BMTNY3FK.js';
|
|
6
6
|
import '../chunk-WSIJDWUG.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Three small dots bouncing in turn, in the ink around them: somebody typing,
|
|
3
|
+
* or agents at work. Decoration only; the words beside them say what is
|
|
4
|
+
* happening. Still under reduced motion.
|
|
5
|
+
*/
|
|
6
|
+
export declare function BouncingDots({ className }: {
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { type AvatarStackMember } from '../Avatar/index.js';
|
|
3
|
+
/** One agent on the line: its face, as a stack draws it, and what it is doing. */
|
|
4
|
+
export interface WorkingAgent extends AvatarStackMember {
|
|
5
|
+
/**
|
|
6
|
+
* The words after its name: "is thinking", "is mulling it over...". A
|
|
7
|
+
* trailing ellipsis is dropped, because the line draws its own dots. Left
|
|
8
|
+
* out, a working agent "is working" and a queued one "is queued".
|
|
9
|
+
*/
|
|
10
|
+
status?: string | undefined;
|
|
11
|
+
/** It has not started: the request waits behind something it is already doing. */
|
|
12
|
+
queued?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
/** Every word the line prints or announces, for a surface in another language. */
|
|
15
|
+
export interface WorkingLineLabels {
|
|
16
|
+
/** After two or more names at work. */
|
|
17
|
+
working: string;
|
|
18
|
+
/** After two or more names, all queued. */
|
|
19
|
+
queued: string;
|
|
20
|
+
/** After one name at work with no status of its own. */
|
|
21
|
+
workingOne: string;
|
|
22
|
+
/** After one queued name with no status of its own. */
|
|
23
|
+
queuedOne: string;
|
|
24
|
+
/** The names past the first two, after them: "and 4 others". */
|
|
25
|
+
others: (count: number) => string;
|
|
26
|
+
/** The first two of three or more names, before `others`: "A, B". */
|
|
27
|
+
series: (names: readonly string[]) => string;
|
|
28
|
+
/** Queued agents beside the ones at work: "1 queued". */
|
|
29
|
+
queuedCount: (count: number) => string;
|
|
30
|
+
/** Names a list: "A, B and C". */
|
|
31
|
+
list: (names: readonly string[]) => string;
|
|
32
|
+
/** The toggle that opens one line per agent. */
|
|
33
|
+
detail: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const WORKING_LINE_LABELS: WorkingLineLabels;
|
|
36
|
+
export interface WorkingLineProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
37
|
+
/** Every agent at work on the request, in the order they started. Empty, the line draws nothing and keeps its live region. */
|
|
38
|
+
agents: readonly WorkingAgent[];
|
|
39
|
+
/** How many faces are drawn before the rest are counted in a chip. Three by default. */
|
|
40
|
+
max?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Say who is at work through the line's own polite region. On by default;
|
|
43
|
+
* off where another line on screen already announces the same agents.
|
|
44
|
+
*/
|
|
45
|
+
announce?: boolean | undefined;
|
|
46
|
+
/** The per-agent lines start open (a story, a screenshot). */
|
|
47
|
+
defaultExpanded?: boolean | undefined;
|
|
48
|
+
labels?: Partial<WorkingLineLabels> | undefined;
|
|
49
|
+
}
|
|
50
|
+
/** The pieces of the line as it is drawn: whose names, the words after them, and how many wait. */
|
|
51
|
+
export interface WorkingSentence {
|
|
52
|
+
/** The names printed: "Backend Engineer", "Backend Engineer and App Engineer", or "Backend Engineer, App Engineer" before `others`. */
|
|
53
|
+
names: string;
|
|
54
|
+
/** "and 4 others" after three or more names; empty otherwise. Drawn whole where the names truncate. */
|
|
55
|
+
others: string;
|
|
56
|
+
/** "is thinking", "are working", "are queued". */
|
|
57
|
+
verb: string;
|
|
58
|
+
/** "1 queued", beside agents at work; empty otherwise. */
|
|
59
|
+
queued: string;
|
|
60
|
+
/** Whether `names` prints every agent on the line. */
|
|
61
|
+
everyone: boolean;
|
|
62
|
+
/** Nothing on the line has started. */
|
|
63
|
+
waiting: boolean;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The line in words. The agents at work lead; queued ones are counted after
|
|
67
|
+
* them, and lead only when none has started. One leading agent keeps its own
|
|
68
|
+
* phrase, so its variety shows; two or more share one verb.
|
|
69
|
+
*/
|
|
70
|
+
export declare function workingSentence(agents: readonly WorkingAgent[], overrides?: Partial<WorkingLineLabels>): WorkingSentence;
|
|
71
|
+
/**
|
|
72
|
+
* What the line's region says: every name, at work and queued, and never a
|
|
73
|
+
* phrase, so a reader hears who starts and stops rather than every step.
|
|
74
|
+
*/
|
|
75
|
+
export declare function workingAnnouncement(agents: readonly WorkingAgent[], overrides?: Partial<WorkingLineLabels>): string;
|
|
76
|
+
/**
|
|
77
|
+
* Every agent at work on a request, on one line: their faces in a small
|
|
78
|
+
* stack, each in its own character's colour, then one sentence. "Backend
|
|
79
|
+
* Engineer is thinking", "Backend Engineer and App Engineer are working",
|
|
80
|
+
* "Backend Engineer, App Engineer and 4 others are working".
|
|
81
|
+
*
|
|
82
|
+
* ALIVE WHILE IT WORKS. A lighter band sweeps across the names and rests, a
|
|
83
|
+
* single agent's phrase fades in as it changes, and three dots bounce after
|
|
84
|
+
* the verb. Queued agents are counted, still; a line of nothing but queued
|
|
85
|
+
* agents does not move at all. Under reduced motion every part holds still
|
|
86
|
+
* and the words carry the meaning.
|
|
87
|
+
*
|
|
88
|
+
* DETAIL ON DEMAND. With more than one agent, a chevron at the line's end
|
|
89
|
+
* (its target the whole line) opens one compact line per agent, its face,
|
|
90
|
+
* name and own phrase, queued agents included.
|
|
91
|
+
*
|
|
92
|
+
* ONE ANNOUNCEMENT. A polite region names who is at work and who waits, and
|
|
93
|
+
* changes only when that does: a phrase changing is never read out. The
|
|
94
|
+
* region stays mounted while the line is empty, so the first agent to start
|
|
95
|
+
* is heard. Where the names are counted, the stack names every face.
|
|
96
|
+
*/
|
|
97
|
+
export declare function WorkingLine({ agents, max, announce, defaultExpanded, labels: overrides, className, ...rest }: WorkingLineProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '../ChatMessage/ChatScale.css';
|
|
2
|
+
import './WorkingLine.css';
|
|
3
|
+
export { WorkingLine, WORKING_LINE_LABELS, workingAnnouncement, workingSentence } from './WorkingLine.js';
|
|
4
|
+
export type { WorkingAgent, WorkingLineLabels, WorkingLineProps, WorkingSentence } from './WorkingLine.js';
|
|
5
|
+
export { BouncingDots } from './BouncingDots.js';
|