@crewlethq/ui 0.103.0 → 0.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/ActivityLine/index.js +1 -1
  2. package/dist/AgentHandoffPanel/index.js +2 -2
  3. package/dist/ArtifactCard/index.js +2 -2
  4. package/dist/ChatDay/index.js +2 -2
  5. package/dist/{ChatDay-CTX2VI6P.css → ChatDay-Z67WTCTN.css} +1 -1
  6. package/dist/ChatDivider/index.js +1 -1
  7. package/dist/ChatMessage/index.js +1 -1
  8. package/dist/{ChatScale-L4SIHSKL.css → ChatScale-AP237LJQ.css} +10 -2
  9. package/dist/CommandPalette/index.js +2 -2
  10. package/dist/CommentThread/index.js +2 -2
  11. package/dist/Composer/index.js +1 -1
  12. package/dist/DataGrid/index.js +2 -2
  13. package/dist/DataTable/index.js +2 -2
  14. package/dist/DataView/index.js +4 -4
  15. package/dist/DeliveryReceipt/index.js +1 -1
  16. package/dist/LinkCard/index.js +1 -1
  17. package/dist/LinkInterstitial/index.js +2 -2
  18. package/dist/MentionMenu/MentionMenu.d.ts +8 -1
  19. package/dist/MentionMenu/index.js +1 -1
  20. package/dist/{MentionMenu-4NAQ45S4.css → MentionMenu-77P7C4F7.css} +7 -0
  21. package/dist/MessageActions/index.js +1 -1
  22. package/dist/Modal/Modal.d.ts +6 -0
  23. package/dist/Modal/index.js +1 -1
  24. package/dist/{Modal-GKUOO7PZ.css → Modal-3KGLG5UU.css} +17 -0
  25. package/dist/OrgTable/index.js +4 -4
  26. package/dist/ReactionBar/index.js +1 -1
  27. package/dist/RichEditor/index.js +2 -2
  28. package/dist/RoomRow/index.js +1 -1
  29. package/dist/SandboxedFrame/index.js +2 -2
  30. package/dist/ShareDialog/index.js +2 -2
  31. package/dist/Skeleton/Skeleton.d.ts +14 -4
  32. package/dist/Skeleton/index.d.ts +1 -0
  33. package/dist/Skeleton/index.js +2 -1
  34. package/dist/{Skeleton-DVJ4IMWA.css → Skeleton-UNQQWMV5.css} +59 -0
  35. package/dist/Switcher/index.js +3 -3
  36. package/dist/ThreadSummary/index.js +1 -1
  37. package/dist/TimeRangePicker/index.js +2 -2
  38. package/dist/TreeGrid/index.js +3 -3
  39. package/dist/WidgetFrame/index.js +3 -2
  40. package/dist/{chunk-JZV4RD4L.js → chunk-2POUISAE.js} +1 -1
  41. package/dist/{chunk-TBJP22E4.js → chunk-3AD6HSUB.js} +1 -1
  42. package/dist/{chunk-AGJBHLPE.js → chunk-3CT7JOVJ.js} +3 -3
  43. package/dist/{chunk-IBMZNQ34.js → chunk-466HHUK4.js} +1 -1
  44. package/dist/{chunk-H4MWPZRS.js → chunk-6HMPYTZB.js} +1 -1
  45. package/dist/{chunk-7YPP6WAT.js → chunk-6ZCW2TV7.js} +1 -1
  46. package/dist/{chunk-C47JZ6HR.js → chunk-ALL5B5YW.js} +1 -1
  47. package/dist/{chunk-OSPZN4OE.js → chunk-ASVV2T3A.js} +1 -1
  48. package/dist/{chunk-6QOW3WT2.js → chunk-DR7TJL55.js} +1 -1
  49. package/dist/{chunk-JGP5MUVT.js → chunk-EJRA2SYP.js} +1 -1
  50. package/dist/{chunk-LH2LQHOX.js → chunk-G33ND472.js} +1 -1
  51. package/dist/{chunk-7ZXUUDWL.js → chunk-GAWG5TU7.js} +1 -1
  52. package/dist/{chunk-LDFVJSKZ.js → chunk-GELMY4I7.js} +3 -1
  53. package/dist/{chunk-QQMVLDKT.js → chunk-H7LRSZ3A.js} +1 -1
  54. package/dist/{chunk-H5XYPVZ7.js → chunk-I5W6I2HN.js} +1 -1
  55. package/dist/{chunk-O2UTMKCD.js → chunk-IDBIU5IK.js} +1 -1
  56. package/dist/{chunk-UDJVDRFY.js → chunk-JUKHV7UH.js} +1 -1
  57. package/dist/{chunk-POOLWQYU.js → chunk-L5FI327J.js} +2 -2
  58. package/dist/{chunk-NODLQBQ4.js → chunk-LBODOY3E.js} +1 -1
  59. package/dist/{chunk-U3Z57D25.js → chunk-LQBSCXVY.js} +1 -1
  60. package/dist/{chunk-V3PIY2B2.js → chunk-M5L5APY2.js} +1 -1
  61. package/dist/{chunk-P5VPD4YZ.js → chunk-MHNISUNZ.js} +38 -5
  62. package/dist/{chunk-LXOITCXH.js → chunk-OC4FHCP4.js} +1 -1
  63. package/dist/{chunk-BINHWCBP.js → chunk-RW6HXWJD.js} +1 -1
  64. package/dist/{chunk-6NGLJRSJ.js → chunk-VOT7YIFH.js} +1 -1
  65. package/dist/{chunk-SSYHV4QE.js → chunk-VZ7DNXCW.js} +15 -3
  66. package/dist/{chunk-SI7QLYPB.js → chunk-WFZ7EPOQ.js} +1 -1
  67. package/dist/{chunk-QNDZY2CZ.js → chunk-WIVLOR42.js} +2 -2
  68. package/dist/{chunk-R7UQRR25.js → chunk-XGX3UMHU.js} +1 -1
  69. package/dist/{chunk-K774LUN3.js → chunk-ZNXTN76G.js} +1 -1
  70. package/dist/generated/index.js +68 -68
  71. package/dist/index.js +68 -68
  72. package/dist/styles.css +99 -8
  73. package/package.json +3 -3
  74. package/dist/{Editor-EIEWKSDE.js → Editor-UZUDGLIY.js} +1 -1
@@ -1,4 +1,4 @@
1
- export { ActivityLine } from '../chunk-TBJP22E4.js';
1
+ export { ActivityLine } from '../chunk-3AD6HSUB.js';
2
2
  import '../chunk-DX7ZHO47.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,7 +1,7 @@
1
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-UDJVDRFY.js';
1
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-JUKHV7UH.js';
2
2
  import '../chunk-XDUXAQIS.js';
3
3
  import '../chunk-WFCWPXJN.js';
4
- import '../chunk-H4MWPZRS.js';
4
+ import '../chunk-6HMPYTZB.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-R7UQRR25.js';
2
- import '../chunk-P5VPD4YZ.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-XGX3UMHU.js';
2
+ import '../chunk-MHNISUNZ.js';
3
3
  import '../chunk-HF5L56YQ.js';
4
4
  import '../chunk-GBKBME7Q.js';
5
5
  import '../chunk-WGLOH33S.js';
@@ -1,3 +1,3 @@
1
- export { ChatDay, ChatDayPill } from '../chunk-AGJBHLPE.js';
2
- import '../chunk-K774LUN3.js';
1
+ export { ChatDay, ChatDayPill } from '../chunk-3CT7JOVJ.js';
2
+ import '../chunk-ZNXTN76G.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -38,7 +38,7 @@
38
38
  pointer-events: none;
39
39
  /* A host that raises the pin (a banner arriving) moves the pinned pill
40
40
  down with it rather than jumping it. */
41
- transition: top var(--motion-duration-fast) var(--motion-easing-default);
41
+ transition: top var(--crewlet-chat-travel) var(--crewlet-chat-ease);
42
42
  }
43
43
 
44
44
  /*
@@ -1,2 +1,2 @@
1
- export { ChatDivider } from '../chunk-K774LUN3.js';
1
+ export { ChatDivider } from '../chunk-ZNXTN76G.js';
2
2
  import '../chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-NODLQBQ4.js';
1
+ export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-LBODOY3E.js';
2
2
  import '../chunk-RTHWXAXT.js';
3
3
  import '../chunk-XSPCITPN.js';
4
4
  import '../chunk-TDFLCUBE.js';
@@ -16,10 +16,11 @@
16
16
  /* Times, counts, reactions and second lines: one step down. */
17
17
  --crewlet-chat-meta: var(--font-size-xs);
18
18
  /* The row's side inset, the face column, the gap after it, and the space
19
- between the pieces stacked under a message's words. */
19
+ between the pieces stacked under a message's words. The words start
20
+ 64px in (20 + 36 + 8), so a group reads as one column close to its face. */
20
21
  --crewlet-chat-pad-x: var(--spacing-5);
21
22
  --crewlet-chat-avatar: 36px;
22
- --crewlet-chat-gap: var(--spacing-3);
23
+ --crewlet-chat-gap: var(--spacing-2);
23
24
  --crewlet-chat-stack: 6px;
24
25
  /* One width for every link preview, so a stack of them shares both edges. */
25
26
  --crewlet-chat-card: 440px;
@@ -39,4 +40,11 @@
39
40
  --crewlet-chat-ground: var(--color-surface-background);
40
41
  /* A row that names the reader: a light wash of the warning hue. */
41
42
  --crewlet-chat-mention: var(--color-feedback-warning-soft);
43
+ /* Motion. Feedback (a colour, an opacity, a border) takes the instant step
44
+ and anything that travels (a pinned pill moving) the base step, both
45
+ decelerating. A row's hover surface takes neither: it snaps, because a
46
+ fade lags behind a pointer sweeping down the list. */
47
+ --crewlet-chat-feedback: var(--motion-duration-instant);
48
+ --crewlet-chat-travel: var(--motion-duration-base);
49
+ --crewlet-chat-ease: var(--motion-easing-out);
42
50
  }
@@ -1,5 +1,5 @@
1
- export { CommandPalette } from '../chunk-O2UTMKCD.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { CommandPalette } from '../chunk-IDBIU5IK.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-DKFBBOVE.js';
5
5
  import '../chunk-NICEDVZM.js';
@@ -1,11 +1,11 @@
1
- export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-QQMVLDKT.js';
1
+ export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-H7LRSZ3A.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-H4MWPZRS.js';
8
+ import '../chunk-6HMPYTZB.js';
9
9
  import '../chunk-DKFBBOVE.js';
10
10
  import '../chunk-NICEDVZM.js';
11
11
  import '../chunk-JLKO7PSK.js';
@@ -1,4 +1,4 @@
1
- export { COMPOSER_COUNTER_AT, Composer } from '../chunk-H4MWPZRS.js';
1
+ export { COMPOSER_COUNTER_AT, Composer } from '../chunk-6HMPYTZB.js';
2
2
  import '../chunk-DKFBBOVE.js';
3
3
  import '../chunk-NICEDVZM.js';
4
4
  import '../chunk-JLKO7PSK.js';
@@ -1,5 +1,5 @@
1
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-LH2LQHOX.js';
2
- import '../chunk-P5VPD4YZ.js';
1
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-G33ND472.js';
2
+ import '../chunk-MHNISUNZ.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-4S2AN5W4.js';
5
5
  import '../chunk-AR4K6L4X.js';
@@ -1,5 +1,5 @@
1
- export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-BINHWCBP.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-RW6HXWJD.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-STJ7QBC3.js';
4
4
  import '../chunk-DTIW4CHZ.js';
5
5
  import '../chunk-WGLOH33S.js';
@@ -1,14 +1,14 @@
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';
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-WFZ7EPOQ.js';
2
2
  import '../chunk-FPDIHEM4.js';
3
3
  import '../chunk-J76ZZ6U2.js';
4
4
  import '../chunk-KPB4ZUBI.js';
5
- import '../chunk-BINHWCBP.js';
6
- import '../chunk-LDFVJSKZ.js';
5
+ import '../chunk-RW6HXWJD.js';
6
+ import '../chunk-GELMY4I7.js';
7
7
  import '../chunk-STJ7QBC3.js';
8
8
  import '../chunk-DTIW4CHZ.js';
9
9
  import '../chunk-KW7T23RT.js';
10
- import '../chunk-EE3DJMSQ.js';
11
10
  import '../chunk-NPEI2QAN.js';
11
+ import '../chunk-EE3DJMSQ.js';
12
12
  import '../chunk-VYUEAMA4.js';
13
13
  import '../chunk-GBKBME7Q.js';
14
14
  import '../chunk-WGLOH33S.js';
@@ -1,3 +1,3 @@
1
- export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-C47JZ6HR.js';
1
+ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-ALL5B5YW.js';
2
2
  import '../chunk-RRRK2KB6.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- export { LinkCard } from '../chunk-IBMZNQ34.js';
1
+ export { LinkCard } from '../chunk-466HHUK4.js';
2
2
  import '../chunk-KOJPDCGQ.js';
3
3
  import '../chunk-KBZO4B33.js';
4
4
  import '../chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
- export { LinkInterstitial, openExternal } from '../chunk-V3PIY2B2.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { LinkInterstitial, openExternal } from '../chunk-M5L5APY2.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-OBFEL5KH.js';
4
4
  import '../chunk-BPCY7ZID.js';
5
5
  import '../chunk-RTHWXAXT.js';
@@ -40,6 +40,13 @@ export interface MentionMenuProps {
40
40
  * in view as the arrows move and a press outside the list closes it.
41
41
  */
42
42
  listRef?: Ref<HTMLUListElement> | undefined;
43
+ /**
44
+ * Whether the reader has taken the list over with the arrow keys. Until then
45
+ * the active row is drawn quietly, as what Enter or Tab would take, and the
46
+ * strong highlight arrives with the first arrow press, which commits to that
47
+ * row rather than moving past it. True by default.
48
+ */
49
+ keyed?: boolean | undefined;
43
50
  /** The foot. Left out, it carries the keyboard hints; `null` draws none. */
44
51
  footer?: ReactNode;
45
52
  labels?: Partial<MentionMenuLabels> | undefined;
@@ -65,7 +72,7 @@ export interface MentionMenuProps {
65
72
  * ITS ROWS ARE `PersonRow`s, so a face, a name and its detail sit where every
66
73
  * other list of people in the product puts them.
67
74
  */
68
- export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, footer, labels: overrides, className }: MentionMenuProps): import("react").JSX.Element;
75
+ export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, keyed, footer, labels: overrides, className, }: MentionMenuProps): import("react").JSX.Element;
69
76
  /** The mention being typed at the caret. */
70
77
  export interface MentionQuery {
71
78
  trigger: '@' | '#';
@@ -1,4 +1,4 @@
1
- export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-SSYHV4QE.js';
1
+ export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-VZ7DNXCW.js';
2
2
  import '../chunk-XROJ6XQ3.js';
3
3
  import '../chunk-XLMURU75.js';
4
4
  import '../chunk-WSIJDWUG.js';
@@ -41,6 +41,13 @@
41
41
  list-style: none;
42
42
  }
43
43
 
44
+ /* RESTING, before the arrows: the active row takes the hover fill alone, a
45
+ quiet "Enter takes this", and the accent tint and bar wait for the keys. */
46
+ .crewlet-mention-menu--resting .crewlet-person-row.is-selected {
47
+ background: var(--color-surface-hover);
48
+ box-shadow: none;
49
+ }
50
+
44
51
  /* The panel's corner less its inset, so each row's curve runs parallel. */
45
52
  .crewlet-mention-menu__list > .crewlet-person-row {
46
53
  --crewlet-person-row-radius: calc(var(--radius-lg) - var(--spacing-1));
@@ -1,4 +1,4 @@
1
- export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-JZV4RD4L.js';
1
+ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-2POUISAE.js';
2
2
  import '../chunk-6YQRCPJ3.js';
3
3
  import '../chunk-NPEI2QAN.js';
4
4
  import '../chunk-VYUEAMA4.js';
@@ -149,6 +149,12 @@ export interface ModalProps extends FrameAttributes {
149
149
  stackBody?: boolean | undefined;
150
150
  /** Drops the body's padding, for content that owns its own edges. */
151
151
  flush?: boolean | undefined;
152
+ /**
153
+ * The body's one child fills it and does its own scrolling: a panel with a
154
+ * pinned head, a scroller and a pinned foot. The body itself no longer
155
+ * scrolls, so the head and the foot stay on the sheet's edges at every height.
156
+ */
157
+ fill?: boolean | undefined;
152
158
  className?: string | undefined;
153
159
  /** Names a surface that draws no title. Ignored when `title` is given. */
154
160
  ariaLabel?: string | undefined;
@@ -1,4 +1,4 @@
1
- export { ConfirmModal, Modal } from '../chunk-LDFVJSKZ.js';
1
+ export { ConfirmModal, Modal } from '../chunk-GELMY4I7.js';
2
2
  import '../chunk-RTHWXAXT.js';
3
3
  import '../chunk-XSPCITPN.js';
4
4
  import '../chunk-PNYANWZ6.js';
@@ -537,6 +537,23 @@
537
537
  padding: 0;
538
538
  }
539
539
 
540
+ /*
541
+ * A BODY ITS CONTENT FILLS (`fill`): a column that does not scroll, whose one
542
+ * child takes its whole height and scrolls itself. As a block scroller the
543
+ * body sized that child to its content, so a panel's pinned foot floated above
544
+ * a tall sheet's edge and hung below a short one, and its head scrolled away.
545
+ */
546
+ .crewlet-modal__body--fill {
547
+ display: flex;
548
+ flex-direction: column;
549
+ overflow: hidden;
550
+ }
551
+
552
+ .crewlet-modal__body--fill > * {
553
+ flex: 1 1 auto;
554
+ min-height: 0;
555
+ }
556
+
540
557
  /*
541
558
  * Paragraphs stack without the browser's own margins fighting the body
542
559
  * padding, which is what left dialogs uneven at the top and the bottom. Not in
@@ -1,10 +1,10 @@
1
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-7YPP6WAT.js';
2
- import '../chunk-LXOITCXH.js';
1
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-6ZCW2TV7.js';
2
+ import '../chunk-OC4FHCP4.js';
3
3
  import '../chunk-MY374UUD.js';
4
4
  import '../chunk-DEVO45TG.js';
5
- import '../chunk-LH2LQHOX.js';
5
+ import '../chunk-G33ND472.js';
6
6
  import '../chunk-X4HBZSXA.js';
7
- import '../chunk-P5VPD4YZ.js';
7
+ import '../chunk-MHNISUNZ.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-WUCRLA25.js';
10
10
  import '../chunk-XZY6S3UC.js';
@@ -1,4 +1,4 @@
1
- export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-H5XYPVZ7.js';
1
+ export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-I5W6I2HN.js';
2
2
  import '../chunk-6YQRCPJ3.js';
3
3
  import '../chunk-VYUEAMA4.js';
4
4
  import '../chunk-DKFBBOVE.js';
@@ -1,9 +1,9 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-QNDZY2CZ.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-WIVLOR42.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-P5VPD4YZ.js';
6
+ import '../chunk-MHNISUNZ.js';
7
7
  import '../chunk-RTHWXAXT.js';
8
8
  import '../chunk-XSPCITPN.js';
9
9
  import '../chunk-TDFLCUBE.js';
@@ -1,4 +1,4 @@
1
- export { RoomRow } from '../chunk-OSPZN4OE.js';
1
+ export { RoomRow } from '../chunk-ASVV2T3A.js';
2
2
  import '../chunk-VY37HWFV.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,8 +1,8 @@
1
- export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-JGP5MUVT.js';
1
+ export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-EJRA2SYP.js';
2
2
  import '../chunk-F6V2PTN6.js';
3
3
  import '../chunk-ZXXDZJQN.js';
4
4
  import '../chunk-BPCY7ZID.js';
5
- import '../chunk-P5VPD4YZ.js';
5
+ import '../chunk-MHNISUNZ.js';
6
6
  import '../chunk-RTHWXAXT.js';
7
7
  import '../chunk-XSPCITPN.js';
8
8
  import '../chunk-TDFLCUBE.js';
@@ -1,6 +1,6 @@
1
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-6QOW3WT2.js';
1
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-DR7TJL55.js';
2
2
  import '../chunk-JUZOMYOZ.js';
3
- import '../chunk-LDFVJSKZ.js';
3
+ import '../chunk-GELMY4I7.js';
4
4
  import '../chunk-NNO5GSIB.js';
5
5
  import '../chunk-STJ7QBC3.js';
6
6
  import '../chunk-DTIW4CHZ.js';
@@ -1,8 +1,8 @@
1
- import type { CSSProperties } from 'react';
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;
@@ -1,3 +1,4 @@
1
+ import '../ChatMessage/ChatScale.css';
1
2
  import './Skeleton.css';
2
3
  export { Skeleton } from './Skeleton.js';
3
4
  export type { SkeletonProps, SkeletonVariant } from './Skeleton.js';
@@ -1,3 +1,4 @@
1
- export { Skeleton } from '../chunk-P5VPD4YZ.js';
1
+ export { Skeleton } from '../chunk-MHNISUNZ.js';
2
+ import '../chunk-HTS5RJ7S.js';
2
3
  import '../chunk-RRRK2KB6.js';
3
4
  import '../chunk-ODEQTPFM.js';
@@ -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%;
@@ -1,9 +1,9 @@
1
- export { Switcher } from '../chunk-POOLWQYU.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { Switcher } from '../chunk-L5FI327J.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-HBDA76EZ.js';
5
5
  import '../chunk-VYUEAMA4.js';
6
- import '../chunk-P5VPD4YZ.js';
6
+ import '../chunk-MHNISUNZ.js';
7
7
  import '../chunk-XLMURU75.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-YJQXESOJ.js';
@@ -1,4 +1,4 @@
1
- export { THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7ZXUUDWL.js';
1
+ export { THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-GAWG5TU7.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
3
  import '../chunk-WUCRLA25.js';
4
4
  import '../chunk-XZY6S3UC.js';
@@ -1,5 +1,5 @@
1
- export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-6NGLJRSJ.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-VOT7YIFH.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-BPCY7ZID.js';
4
4
  import '../chunk-XOVSHJTZ.js';
5
5
  import '../chunk-VJ4OGNS7.js';
@@ -1,8 +1,8 @@
1
- export { TreeGrid } from '../chunk-LXOITCXH.js';
1
+ export { TreeGrid } from '../chunk-OC4FHCP4.js';
2
2
  import '../chunk-MY374UUD.js';
3
- import '../chunk-LH2LQHOX.js';
3
+ import '../chunk-G33ND472.js';
4
4
  import '../chunk-X4HBZSXA.js';
5
- import '../chunk-P5VPD4YZ.js';
5
+ import '../chunk-MHNISUNZ.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-U3Z57D25.js';
2
- import '../chunk-P5VPD4YZ.js';
1
+ export { WidgetFrame } from '../chunk-LQBSCXVY.js';
2
+ import '../chunk-MHNISUNZ.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';
@@ -4,7 +4,7 @@ import { IconButton } from './chunk-PNYANWZ6.js';
4
4
  import { heldHint } from './chunk-TDFLCUBE.js';
5
5
  import { Tooltip } from './chunk-4SKN3BLH.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
- import './ChatScale-L4SIHSKL.css';
7
+ import './ChatScale-AP237LJQ.css';
8
8
  import './MessageActions-Q4F5UH3S.css';
9
9
  import { forwardRef } from 'react';
10
10
  import { jsx } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  import { ThinkingIndicator } from './chunk-DX7ZHO47.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChatScale-L4SIHSKL.css';
3
+ import './ChatScale-AP237LJQ.css';
4
4
  import './ActivityLine-AMSERTOB.css';
5
5
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
6
6
 
@@ -1,8 +1,8 @@
1
- import { ChatDivider } from './chunk-K774LUN3.js';
1
+ import { ChatDivider } from './chunk-ZNXTN76G.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChatScale-L4SIHSKL.css';
3
+ import './ChatScale-AP237LJQ.css';
4
4
  import './ChatDivider-7ZNDL2PZ.css';
5
- import './ChatDay-CTX2VI6P.css';
5
+ import './ChatDay-Z67WTCTN.css';
6
6
  import { forwardRef } from 'react';
7
7
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
- import './ChatScale-L4SIHSKL.css';
4
+ import './ChatScale-AP237LJQ.css';
5
5
  import './VisuallyHidden-OUYVMKEH.css';
6
6
  import './LinkCard-5I4MYU6I.css';
7
7
  import { useId } from 'react';
@@ -3,7 +3,7 @@ import { Kbd } from './chunk-VBBLHS2Y.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './ChatScale-L4SIHSKL.css';
6
+ import './ChatScale-AP237LJQ.css';
7
7
  import './Composer-XVQFBCIB.css';
8
8
  import { forwardRef, useId } from 'react';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { TreeGrid } from './chunk-LXOITCXH.js';
1
+ import { TreeGrid } from './chunk-OC4FHCP4.js';
2
2
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
3
3
  import { OrgLabel } from './chunk-DEVO45TG.js';
4
4
  import { AddPill } from './chunk-5W3EYO5Q.js';
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChatScale-L4SIHSKL.css';
3
+ import './ChatScale-AP237LJQ.css';
4
4
  import './DeliveryReceipt-G55ILD6O.css';
5
5
  import { useState } from 'react';
6
6
  import { CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
@@ -1,6 +1,6 @@
1
1
  import { ListItem } from './chunk-VY37HWFV.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChatScale-L4SIHSKL.css';
3
+ import './ChatScale-AP237LJQ.css';
4
4
  import './RoomRow-O53P7Z5I.css';
5
5
  import { Fragment as Fragment$1 } from 'react';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { Select } from './chunk-JUZOMYOZ.js';
2
- import { Modal } from './chunk-LDFVJSKZ.js';
2
+ import { Modal } from './chunk-GELMY4I7.js';
3
3
  import { CopyButton } from './chunk-NNO5GSIB.js';
4
4
  import { Callout } from './chunk-BPCY7ZID.js';
5
5
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
@@ -1,6 +1,6 @@
1
1
  import { frameThemeMessage, readFrameHello, frameOriginMatches, negotiateBridge, FRAME_MESSAGE, portTargetOrigin, checkFrameSandbox, httpOrigin, isFrameNonce, frameFragment, readOpenLink, externalUrl, isFocusExit } from './chunk-F6V2PTN6.js';
2
2
  import { Callout } from './chunk-BPCY7ZID.js';
3
- import { Skeleton } from './chunk-P5VPD4YZ.js';
3
+ import { Skeleton } from './chunk-MHNISUNZ.js';
4
4
  import { Button } from './chunk-RTHWXAXT.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './SandboxedFrame-P5NASXB7.css';