@crewlethq/ui 0.102.3 → 0.104.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/dist/AgentHandoffPanel/index.js +2 -2
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AvatarPicker/index.js +2 -2
- package/dist/CanvasBoard/index.js +3 -3
- package/dist/CanvasToolbar/index.js +2 -2
- package/dist/CommentThread/index.js +2 -2
- package/dist/Composer/index.js +1 -1
- package/dist/{Composer-ZEGHEAFE.css → Composer-XVQFBCIB.css} +38 -6
- package/dist/DataGrid/index.js +2 -2
- package/dist/DataView/index.js +2 -2
- package/dist/{Editor-EWIMNQUZ.js → Editor-UZUDGLIY.js} +1 -1
- package/dist/MarkdownEditor/index.js +2 -2
- package/dist/MessageActions/index.js +2 -2
- package/dist/OrgTable/index.js +4 -4
- package/dist/RichEditor/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/Skeleton/Skeleton.d.ts +14 -4
- package/dist/Skeleton/index.d.ts +1 -0
- package/dist/Skeleton/index.js +2 -1
- package/dist/{Skeleton-DVJ4IMWA.css → Skeleton-UNQQWMV5.css} +59 -0
- package/dist/Switcher/index.js +2 -2
- package/dist/Toolbar/Toolbar.d.ts +22 -4
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-HUOSMNTH.css → Toolbar-DRFD6TQW.css} +29 -0
- package/dist/TreeGrid/index.js +3 -3
- package/dist/WidgetFrame/index.js +3 -2
- package/dist/{chunk-WYZMETET.js → chunk-5QKNXTIC.js} +1 -1
- package/dist/{chunk-LXOITCXH.js → chunk-62WELD77.js} +1 -1
- package/dist/{chunk-POOLWQYU.js → chunk-ASNOL5SF.js} +1 -1
- package/dist/{chunk-LH2LQHOX.js → chunk-FXXJL3G3.js} +1 -1
- package/dist/{chunk-7YPP6WAT.js → chunk-GIE7KH3D.js} +1 -1
- package/dist/{chunk-VVIT4AIE.js → chunk-H4MWPZRS.js} +2 -1
- package/dist/{chunk-OPWSOIAW.js → chunk-JZV4RD4L.js} +1 -1
- package/dist/{chunk-VJSTBDIB.js → chunk-K6HBEWRI.js} +1 -1
- package/dist/{chunk-P5VPD4YZ.js → chunk-NOG3W26H.js} +38 -5
- package/dist/{chunk-OIM3CIA2.js → chunk-NPEI2QAN.js} +22 -4
- package/dist/{chunk-Y4OWRIQ3.js → chunk-OJ7NHII2.js} +1 -1
- package/dist/{chunk-AHTIZ7RU.js → chunk-QQMVLDKT.js} +1 -1
- package/dist/{chunk-JEHW3FEB.js → chunk-SI7QLYPB.js} +1 -1
- package/dist/{chunk-U3Z57D25.js → chunk-SZMBO3QU.js} +1 -1
- package/dist/{chunk-EHZP27H5.js → chunk-T6NV4SKG.js} +2 -2
- package/dist/{chunk-ASU2MEI3.js → chunk-UDJVDRFY.js} +1 -1
- package/dist/{chunk-R7UQRR25.js → chunk-UJJG2ME5.js} +2 -2
- package/dist/{chunk-PPQELBN3.js → chunk-V464L4IL.js} +1 -1
- package/dist/{chunk-JGP5MUVT.js → chunk-ZHQZZ3IX.js} +1 -1
- package/dist/generated/index.js +49 -49
- package/dist/index.js +49 -49
- package/dist/styles.css +129 -9
- package/package.json +3 -3
- package/dist/{chunk-LIU2AUNJ.js → chunk-CJXDCURD.js} +1 -1
- package/dist/{chunk-LLI6B5XR.js → chunk-QIWQFXKX.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-
|
|
1
|
+
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-UDJVDRFY.js';
|
|
2
2
|
import '../chunk-XDUXAQIS.js';
|
|
3
3
|
import '../chunk-WFCWPXJN.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-H4MWPZRS.js';
|
|
5
5
|
import '../chunk-D5O64CVE.js';
|
|
6
6
|
import '../chunk-2ES6LAV2.js';
|
|
7
7
|
import '../chunk-5KAADF4G.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-UJJG2ME5.js';
|
|
2
|
+
import '../chunk-NOG3W26H.js';
|
|
3
3
|
import '../chunk-HF5L56YQ.js';
|
|
4
4
|
import '../chunk-GBKBME7Q.js';
|
|
5
5
|
import '../chunk-WGLOH33S.js';
|
|
@@ -11,8 +11,8 @@ import '../chunk-WUCRLA25.js';
|
|
|
11
11
|
import '../chunk-XZY6S3UC.js';
|
|
12
12
|
import '../chunk-W3A6NBUM.js';
|
|
13
13
|
import '../chunk-AR4K6L4X.js';
|
|
14
|
-
import '../chunk-DOY3KC6I.js';
|
|
15
14
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
15
|
+
import '../chunk-DOY3KC6I.js';
|
|
16
16
|
import '../chunk-DKFBBOVE.js';
|
|
17
17
|
import '../chunk-NICEDVZM.js';
|
|
18
18
|
import '../chunk-JLKO7PSK.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-CJXDCURD.js';
|
|
2
2
|
import '../chunk-IQELH56T.js';
|
|
3
3
|
import '../chunk-VYUEAMA4.js';
|
|
4
|
-
import '../chunk-AYKXMIOR.js';
|
|
5
4
|
import '../chunk-LNQSNXGJ.js';
|
|
5
|
+
import '../chunk-AYKXMIOR.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-VJ4OGNS7.js';
|
|
8
8
|
import '../chunk-Y7KBBP2M.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-V464L4IL.js';
|
|
2
2
|
import '../chunk-5SZGKSGL.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-OJ7NHII2.js';
|
|
4
|
+
import '../chunk-NPEI2QAN.js';
|
|
5
5
|
import '../chunk-KAHTBXQ7.js';
|
|
6
6
|
import '../chunk-X4HBZSXA.js';
|
|
7
7
|
import '../chunk-VBBLHS2Y.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CanvasToolbar, toolForKey } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { CanvasToolbar, toolForKey } from '../chunk-OJ7NHII2.js';
|
|
2
|
+
import '../chunk-NPEI2QAN.js';
|
|
3
3
|
import '../chunk-KAHTBXQ7.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
5
|
import '../chunk-VBBLHS2Y.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-
|
|
1
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-QQMVLDKT.js';
|
|
2
2
|
import '../chunk-HF5L56YQ.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
5
|
import '../chunk-WUCRLA25.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-I4PBFJGX.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-H4MWPZRS.js';
|
|
9
9
|
import '../chunk-DKFBBOVE.js';
|
|
10
10
|
import '../chunk-NICEDVZM.js';
|
|
11
11
|
import '../chunk-JLKO7PSK.js';
|
package/dist/Composer/index.js
CHANGED
|
@@ -256,15 +256,42 @@
|
|
|
256
256
|
box-shadow: var(--shadow-xs);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
/* One line to start, a line's height per line after it, and at most
|
|
260
|
+
fourteen lines or half the window, whichever is less, before the words
|
|
261
|
+
scroll inside the field and the rows above and below stay put. Stated on
|
|
262
|
+
the textarea's own class so its auto-resize inset cannot outrank it. */
|
|
263
|
+
.crewlet-composer--chat .crewlet-composer__field.crewlet-textarea {
|
|
264
|
+
--crewlet-composer-line: calc(var(--crewlet-chat-line) * var(--crewlet-chat-text));
|
|
265
|
+
|
|
260
266
|
min-height: 0;
|
|
267
|
+
max-height: min(calc(var(--crewlet-composer-line) * 14 + 2 * var(--spacing-2)), 50dvh);
|
|
261
268
|
padding: var(--spacing-2) var(--spacing-3);
|
|
262
269
|
font-size: var(--crewlet-chat-text);
|
|
263
270
|
line-height: var(--crewlet-chat-line);
|
|
264
271
|
}
|
|
265
272
|
|
|
273
|
+
/* The placeholder names where the words go on one line, cut rather than
|
|
274
|
+
wrapped, so it never makes an empty box taller. */
|
|
275
|
+
.crewlet-composer--chat .crewlet-composer__field::placeholder {
|
|
276
|
+
overflow: hidden;
|
|
277
|
+
text-overflow: ellipsis;
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* THE FORMATTING ROW AS A BAND the height of the footer, its glyphs on the
|
|
282
|
+
footer's inset from the box's edge, the controls a step apart, as the
|
|
283
|
+
footer's tools are. */
|
|
284
|
+
.crewlet-composer--chat .crewlet-composer__toolbar {
|
|
285
|
+
padding-block-start: calc(var(--spacing-1) + (var(--size-control-md) - var(--size-control-sm)) / 2);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.crewlet-composer--chat .crewlet-composer__toolbar .crewlet-toolbar {
|
|
289
|
+
gap: var(--spacing-1);
|
|
290
|
+
padding: 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
266
293
|
.crewlet-composer--chat .crewlet-composer__footer {
|
|
267
|
-
gap:
|
|
294
|
+
gap: var(--spacing-1);
|
|
268
295
|
padding: var(--spacing-1);
|
|
269
296
|
padding-inline-start: var(--spacing-3);
|
|
270
297
|
border-top: 0;
|
|
@@ -277,9 +304,14 @@
|
|
|
277
304
|
color: var(--color-text-primary);
|
|
278
305
|
}
|
|
279
306
|
|
|
280
|
-
/* The formatting row's glyphs rest in the tertiary ink while the box is
|
|
281
|
-
in use, so the row reads as part of the field rather than as
|
|
282
|
-
competing with the conversation
|
|
283
|
-
|
|
307
|
+
/* The formatting row's glyphs rest in the tertiary ink while the box is
|
|
308
|
+
empty and not in use, so the row reads as part of the field rather than as
|
|
309
|
+
a toolbar competing with the conversation. Focus or words bring their own
|
|
310
|
+
ink back; the footer's tools never dim. */
|
|
311
|
+
.crewlet-composer--chat.is-empty:not(:focus-within) .crewlet-composer__toolbar :is(button, [role='button']):not(:hover) {
|
|
284
312
|
color: var(--color-text-tertiary);
|
|
285
313
|
}
|
|
314
|
+
|
|
315
|
+
.crewlet-composer--chat .crewlet-composer__tools {
|
|
316
|
+
gap: var(--spacing-1);
|
|
317
|
+
}
|
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-FXXJL3G3.js';
|
|
2
|
+
import '../chunk-NOG3W26H.js';
|
|
3
3
|
import '../chunk-WSIJDWUG.js';
|
|
4
4
|
import '../chunk-4S2AN5W4.js';
|
|
5
5
|
import '../chunk-AR4K6L4X.js';
|
package/dist/DataView/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-
|
|
1
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-SI7QLYPB.js';
|
|
2
2
|
import '../chunk-FPDIHEM4.js';
|
|
3
3
|
import '../chunk-J76ZZ6U2.js';
|
|
4
4
|
import '../chunk-KPB4ZUBI.js';
|
|
@@ -7,7 +7,7 @@ import '../chunk-LDFVJSKZ.js';
|
|
|
7
7
|
import '../chunk-KW7T23RT.js';
|
|
8
8
|
import '../chunk-STJ7QBC3.js';
|
|
9
9
|
import '../chunk-DTIW4CHZ.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-NPEI2QAN.js';
|
|
11
11
|
import '../chunk-EE3DJMSQ.js';
|
|
12
12
|
import '../chunk-VYUEAMA4.js';
|
|
13
13
|
import '../chunk-GBKBME7Q.js';
|
|
@@ -2,7 +2,7 @@ import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
|
2
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
|
-
import { Toolbar } from './chunk-
|
|
5
|
+
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
6
6
|
import { Menu } from './chunk-B7WZADFX.js';
|
|
7
7
|
import { FormField, Input } from './chunk-DKFBBOVE.js';
|
|
8
8
|
import './chunk-NICEDVZM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-K6HBEWRI.js';
|
|
2
|
+
import '../chunk-NPEI2QAN.js';
|
|
3
3
|
import '../chunk-XOVSHJTZ.js';
|
|
4
4
|
import '../chunk-VJ4OGNS7.js';
|
|
5
5
|
import '../chunk-Y7KBBP2M.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-
|
|
1
|
+
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-JZV4RD4L.js';
|
|
2
2
|
import '../chunk-6YQRCPJ3.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-NPEI2QAN.js';
|
|
4
4
|
import '../chunk-VYUEAMA4.js';
|
|
5
5
|
import '../chunk-DKFBBOVE.js';
|
|
6
6
|
import '../chunk-NICEDVZM.js';
|
package/dist/OrgTable/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-GIE7KH3D.js';
|
|
2
|
+
import '../chunk-62WELD77.js';
|
|
3
3
|
import '../chunk-MY374UUD.js';
|
|
4
4
|
import '../chunk-DEVO45TG.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-FXXJL3G3.js';
|
|
6
6
|
import '../chunk-X4HBZSXA.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-NOG3W26H.js';
|
|
8
8
|
import '../chunk-WSIJDWUG.js';
|
|
9
9
|
import '../chunk-WUCRLA25.js';
|
|
10
10
|
import '../chunk-XZY6S3UC.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-T6NV4SKG.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
5
5
|
import '../chunk-BPCY7ZID.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-NOG3W26H.js';
|
|
7
7
|
import '../chunk-RTHWXAXT.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-
|
|
1
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-ZHQZZ3IX.js';
|
|
2
2
|
import '../chunk-F6V2PTN6.js';
|
|
3
3
|
import '../chunk-ZXXDZJQN.js';
|
|
4
4
|
import '../chunk-BPCY7ZID.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-NOG3W26H.js';
|
|
6
6
|
import '../chunk-RTHWXAXT.js';
|
|
7
7
|
import '../chunk-XSPCITPN.js';
|
|
8
8
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { SelectionBar } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SelectionBar } from '../chunk-5QKNXTIC.js';
|
|
2
|
+
import '../chunk-NPEI2QAN.js';
|
|
3
3
|
import '../chunk-RTHWXAXT.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
5
5
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { SetupWizard } from '../chunk-
|
|
2
|
-
import '../chunk-FPDIHEM4.js';
|
|
1
|
+
export { SetupWizard } from '../chunk-QIWQFXKX.js';
|
|
3
2
|
import '../chunk-EHD4CEHK.js';
|
|
3
|
+
import '../chunk-FPDIHEM4.js';
|
|
4
4
|
import '../chunk-YJQXESOJ.js';
|
|
5
5
|
import '../chunk-QRE6JCHS.js';
|
|
6
6
|
import '../chunk-D5O64CVE.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export type SkeletonVariant = 'box' | 'text' | 'card' | 'grid' | 'list' | 'table' | 'info-grid' | 'pricing-card';
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
export type SkeletonVariant = 'box' | 'text' | 'card' | 'grid' | 'list' | 'table' | 'info-grid' | 'pricing-card' | 'chat';
|
|
3
3
|
export interface SkeletonProps {
|
|
4
4
|
variant?: SkeletonVariant;
|
|
5
|
-
/** Row count for `text`, `grid`, `list`, `table` and `info-grid`. */
|
|
5
|
+
/** Row count for `text`, `grid`, `list`, `table` and `info-grid`, and the message count for `chat`. */
|
|
6
6
|
rows?: number;
|
|
7
7
|
/**
|
|
8
8
|
* How tall each line of the `text` variant is. A number of px, or a CSS
|
|
@@ -24,6 +24,12 @@ export interface SkeletonProps {
|
|
|
24
24
|
* the element its caller puts `aria-busy` on.
|
|
25
25
|
*/
|
|
26
26
|
label?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Holds the placeholder and its label back for the first moments of a load
|
|
29
|
+
* (the slow and base steps, 450ms), so an answer that arrives quickly never
|
|
30
|
+
* flashes a placeholder on the way in.
|
|
31
|
+
*/
|
|
32
|
+
held?: boolean;
|
|
27
33
|
/** Applied to the root element of every variant. */
|
|
28
34
|
className?: string;
|
|
29
35
|
/** Applied to the root element of every variant. */
|
|
@@ -44,6 +50,10 @@ export interface SkeletonProps {
|
|
|
44
50
|
/**
|
|
45
51
|
* Loading placeholder.
|
|
46
52
|
*
|
|
53
|
+
* `chat` is a transcript's: message rows on the conversation scale
|
|
54
|
+
* (`--crewlet-chat-*`), standing at the foot of the space it is given, where
|
|
55
|
+
* the newest messages will land.
|
|
56
|
+
*
|
|
47
57
|
* ONLY WHERE CONTENT OF KNOWN SHAPE IS COMING. A spinner in place of a screen
|
|
48
58
|
* tells a reader nothing about what to expect; a placeholder that matches the
|
|
49
59
|
* shape of what will arrive tells them how much of it there is and stops the
|
|
@@ -54,4 +64,4 @@ export interface SkeletonProps {
|
|
|
54
64
|
* it belongs on the region whose content has not arrived, which is the
|
|
55
65
|
* caller's own element rather than this one.
|
|
56
66
|
*/
|
|
57
|
-
export declare const Skeleton: ({ label, ...placeholder }: SkeletonProps) => import("react").JSX.Element;
|
|
67
|
+
export declare const Skeleton: ({ label, held, ...placeholder }: SkeletonProps) => import("react").JSX.Element | null;
|
package/dist/Skeleton/index.d.ts
CHANGED
package/dist/Skeleton/index.js
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* table A header and rows.
|
|
9
9
|
* info-grid Label and value pairs with row separators.
|
|
10
10
|
* pricing-card A row of cards laid out like PricingCard.Grid.
|
|
11
|
+
* chat Message rows on the conversation scale, at the foot.
|
|
11
12
|
*
|
|
12
13
|
* Every class is namespaced under .crewlet-skeleton, so a placeholder never
|
|
13
14
|
* matches an application's own `.skeleton-line`.
|
|
@@ -161,6 +162,64 @@
|
|
|
161
162
|
min-width: 0;
|
|
162
163
|
}
|
|
163
164
|
|
|
165
|
+
/* ── chat ───────────────────────────────────────────────────────── */
|
|
166
|
+
/*
|
|
167
|
+
* A TRANSCRIPT'S ROWS on the conversation scale, so nothing moves sideways
|
|
168
|
+
* when the messages land: the face at the side inset, the words after the
|
|
169
|
+
* gap, each bar centred in a line of the transcript's text. The rows stand at
|
|
170
|
+
* the foot of the space, where a room opens on its newest message.
|
|
171
|
+
*/
|
|
172
|
+
.crewlet-skeleton--chat {
|
|
173
|
+
--crewlet-skeleton-chat-line: calc(var(--crewlet-chat-text) * var(--crewlet-chat-line));
|
|
174
|
+
display: flex;
|
|
175
|
+
flex: 1 1 auto;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
justify-content: flex-end;
|
|
178
|
+
min-height: 0;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
padding-bottom: var(--spacing-2);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.crewlet-skeleton__message {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex: none;
|
|
186
|
+
gap: var(--crewlet-chat-gap);
|
|
187
|
+
padding: var(--spacing-1) var(--crewlet-chat-pad-x);
|
|
188
|
+
padding-left: calc(var(--crewlet-chat-pad-x) + var(--crewlet-chat-avatar) + var(--crewlet-chat-gap));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.crewlet-skeleton__message--first {
|
|
192
|
+
padding-top: var(--spacing-2);
|
|
193
|
+
padding-left: var(--crewlet-chat-pad-x);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.crewlet-skeleton__message .crewlet-skeleton__avatar {
|
|
197
|
+
width: var(--crewlet-chat-avatar);
|
|
198
|
+
height: var(--crewlet-chat-avatar);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.crewlet-skeleton__message-words {
|
|
202
|
+
flex: 1;
|
|
203
|
+
min-width: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Bars a step under the type, centred in the line each stands for. */
|
|
207
|
+
.crewlet-skeleton__line--name,
|
|
208
|
+
.crewlet-skeleton__line--words {
|
|
209
|
+
height: var(--crewlet-chat-meta);
|
|
210
|
+
margin: calc((var(--crewlet-skeleton-chat-line) - var(--crewlet-chat-meta)) / 2) 0;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.crewlet-skeleton__line--name {
|
|
214
|
+
width: 22%;
|
|
215
|
+
min-width: 80px;
|
|
216
|
+
max-width: 160px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.crewlet-skeleton .crewlet-skeleton__message-words .crewlet-skeleton__line:last-child {
|
|
220
|
+
margin-bottom: calc((var(--crewlet-skeleton-chat-line) - var(--crewlet-chat-meta)) / 2);
|
|
221
|
+
}
|
|
222
|
+
|
|
164
223
|
/* ── table ──────────────────────────────────────────────────────── */
|
|
165
224
|
.crewlet-skeleton--table {
|
|
166
225
|
width: 100%;
|
package/dist/Switcher/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Switcher } from '../chunk-
|
|
1
|
+
export { Switcher } from '../chunk-ASNOL5SF.js';
|
|
2
2
|
import '../chunk-LDFVJSKZ.js';
|
|
3
3
|
import '../chunk-KW7T23RT.js';
|
|
4
4
|
import '../chunk-HBDA76EZ.js';
|
|
5
5
|
import '../chunk-VYUEAMA4.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-NOG3W26H.js';
|
|
7
7
|
import '../chunk-XLMURU75.js';
|
|
8
8
|
import '../chunk-WSIJDWUG.js';
|
|
9
9
|
import '../chunk-YJQXESOJ.js';
|
|
@@ -23,6 +23,15 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
25
25
|
export type ToolbarMode = 'toolbar' | 'group';
|
|
26
|
+
/**
|
|
27
|
+
* Where `Toolbar.Wide` folds into `Toolbar.Overflow`. `screen`: at the shell's
|
|
28
|
+
* breakpoint, as a page's toolbar folds with the shell. `container`: where the
|
|
29
|
+
* row itself is narrower than [TOOLBAR_FOLD_WIDTH], for a row inside a box
|
|
30
|
+
* whose width is not the window's (a composer in a side panel).
|
|
31
|
+
*/
|
|
32
|
+
export type ToolbarFold = 'screen' | 'container';
|
|
33
|
+
/** The row width under which a `fold="container"` toolbar folds, as its stylesheet states it. */
|
|
34
|
+
export declare const TOOLBAR_FOLD_WIDTH = "20rem";
|
|
26
35
|
export interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
27
36
|
/**
|
|
28
37
|
* Names the row. REQUIRED: a toolbar is announced by its name, and a page
|
|
@@ -37,12 +46,15 @@ export interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role
|
|
|
37
46
|
mode?: ToolbarMode | undefined;
|
|
38
47
|
/** Sticks under the top of the scroller, so filters stay reachable in a long list. */
|
|
39
48
|
sticky?: boolean | undefined;
|
|
49
|
+
/** Where `Toolbar.Wide` folds into `Toolbar.Overflow`; see `ToolbarFold`. */
|
|
50
|
+
fold?: ToolbarFold | undefined;
|
|
40
51
|
children?: ReactNode;
|
|
41
52
|
}
|
|
42
|
-
export declare function Toolbar({ label, mode, sticky, className, children, ...rest }: ToolbarProps): import("react").JSX.Element;
|
|
53
|
+
export declare function Toolbar({ label, mode, sticky, fold, className, children, ...rest }: ToolbarProps): import("react").JSX.Element;
|
|
43
54
|
export declare namespace Toolbar {
|
|
44
55
|
var Wide: typeof ToolbarWide;
|
|
45
56
|
var Overflow: typeof ToolbarOverflow;
|
|
57
|
+
var Separator: typeof ToolbarSeparator;
|
|
46
58
|
}
|
|
47
59
|
export interface ToolbarSlotProps extends HTMLAttributes<HTMLDivElement> {
|
|
48
60
|
children?: ReactNode;
|
|
@@ -55,8 +67,14 @@ export declare function ToolbarWide({ className, children, ...rest }: ToolbarSlo
|
|
|
55
67
|
/**
|
|
56
68
|
* What stands in for them: a Menu holding the same actions, drawn only below
|
|
57
69
|
* the breakpoint. Two elements rather than one that measures itself, because a
|
|
58
|
-
* row whose contents change as it is measured is a row that can oscillate
|
|
59
|
-
*
|
|
60
|
-
*
|
|
70
|
+
* row whose contents change as it is measured is a row that can oscillate. The
|
|
71
|
+
* width that decides is the shell's breakpoint, or with `fold="container"` the
|
|
72
|
+
* row's own, which its contents cannot move: the row takes its width from the
|
|
73
|
+
* box it stands in.
|
|
61
74
|
*/
|
|
62
75
|
export declare function ToolbarOverflow({ className, children, ...rest }: ToolbarSlotProps): import("react").JSX.Element;
|
|
76
|
+
/**
|
|
77
|
+
* A thin upright rule between groups of controls. Decorative: the controls
|
|
78
|
+
* each carry their own name, and a separator is not a stop the arrows land on.
|
|
79
|
+
*/
|
|
80
|
+
export declare function ToolbarSeparator({ className, ...rest }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './Toolbar.css';
|
|
2
|
-
export { Toolbar, ToolbarOverflow, ToolbarWide } from './Toolbar.js';
|
|
3
|
-
export type { ToolbarMode, ToolbarProps, ToolbarSlotProps } from './Toolbar.js';
|
|
2
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './Toolbar.js';
|
|
3
|
+
export type { ToolbarFold, ToolbarMode, ToolbarProps, ToolbarSlotProps } from './Toolbar.js';
|
package/dist/Toolbar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Toolbar, ToolbarOverflow, ToolbarWide } from '../chunk-
|
|
1
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
2
2
|
import '../chunk-FIX72ZEC.js';
|
|
3
3
|
import '../chunk-EDPMHSLZ.js';
|
|
4
4
|
import '../chunk-4ITETIGZ.js';
|
|
@@ -40,6 +40,25 @@
|
|
|
40
40
|
/* Under the shell's breakpoint, strictly, as the shell switches: the wide
|
|
41
41
|
controls fold into the overflow where the rail becomes a drawer. */
|
|
42
42
|
@media (width < 1024px) {
|
|
43
|
+
:where(.crewlet-toolbar:not(.crewlet-toolbar--fold-container)) .crewlet-toolbar__wide {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:where(.crewlet-toolbar:not(.crewlet-toolbar--fold-container)) .crewlet-toolbar__overflow {
|
|
48
|
+
display: flex;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* FOLDED BY ITS OWN WIDTH: the row is its own query container and takes the
|
|
53
|
+
width of the box it stands in, so what folds never changes what decides.
|
|
54
|
+
The width is TOOLBAR_FOLD_WIDTH (Toolbar.tsx). */
|
|
55
|
+
.crewlet-toolbar--fold-container {
|
|
56
|
+
container: crewlet-toolbar / inline-size;
|
|
57
|
+
flex: 1 1 auto;
|
|
58
|
+
flex-wrap: nowrap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@container crewlet-toolbar (width < 20rem) {
|
|
43
62
|
.crewlet-toolbar__wide {
|
|
44
63
|
display: none;
|
|
45
64
|
}
|
|
@@ -48,3 +67,13 @@
|
|
|
48
67
|
display: flex;
|
|
49
68
|
}
|
|
50
69
|
}
|
|
70
|
+
|
|
71
|
+
/* A thin upright rule between groups, a small control's half height. */
|
|
72
|
+
.crewlet-toolbar__separator {
|
|
73
|
+
flex: none;
|
|
74
|
+
align-self: center;
|
|
75
|
+
width: 1px;
|
|
76
|
+
height: var(--spacing-5);
|
|
77
|
+
margin: 0 var(--spacing-1);
|
|
78
|
+
background: var(--color-border-default);
|
|
79
|
+
}
|
package/dist/TreeGrid/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { TreeGrid } from '../chunk-
|
|
1
|
+
export { TreeGrid } from '../chunk-62WELD77.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-FXXJL3G3.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-NOG3W26H.js';
|
|
6
6
|
import '../chunk-WSIJDWUG.js';
|
|
7
7
|
import '../chunk-4S2AN5W4.js';
|
|
8
8
|
import '../chunk-AR4K6L4X.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { WidgetFrame } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { WidgetFrame } from '../chunk-SZMBO3QU.js';
|
|
2
|
+
import '../chunk-NOG3W26H.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
|
+
import '../chunk-HTS5RJ7S.js';
|
|
5
6
|
import '../chunk-RRRK2KB6.js';
|
|
6
7
|
import '../chunk-ODEQTPFM.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-
|
|
2
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-FXXJL3G3.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
4
|
import { Checkbox } from './chunk-AR4K6L4X.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
@@ -2,7 +2,7 @@ import { Modal } from './chunk-LDFVJSKZ.js';
|
|
|
2
2
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
3
3
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { Popover } from './chunk-VYUEAMA4.js';
|
|
5
|
-
import { Skeleton } from './chunk-
|
|
5
|
+
import { Skeleton } from './chunk-NOG3W26H.js';
|
|
6
6
|
import { Text } from './chunk-XLMURU75.js';
|
|
7
7
|
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
8
8
|
import { Input } from './chunk-DKFBBOVE.js';
|
|
@@ -4,7 +4,7 @@ import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChatScale-L4SIHSKL.css';
|
|
7
|
-
import './Composer-
|
|
7
|
+
import './Composer-XVQFBCIB.css';
|
|
8
8
|
import { forwardRef, useId } from 'react';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -55,6 +55,7 @@ var Composer = forwardRef(function Composer2({
|
|
|
55
55
|
"crewlet-composer",
|
|
56
56
|
appearance === "chat" && "crewlet-composer--chat",
|
|
57
57
|
inline && "crewlet-composer--inline",
|
|
58
|
+
value === "" && "is-empty",
|
|
58
59
|
disabled && "is-disabled",
|
|
59
60
|
className
|
|
60
61
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { emojiName } from './chunk-6YQRCPJ3.js';
|
|
2
|
-
import { Toolbar } from './chunk-
|
|
2
|
+
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
3
3
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
4
4
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
5
5
|
import { Tooltip } from './chunk-4SKN3BLH.js';
|