@crewlethq/ui 0.113.2 → 0.115.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/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  import './chunk-XDBCWSM5.js';
2
2
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-76LJUPDA.js';
3
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-CJRWESDZ.js';
3
4
  export { VersionTimeline } from './chunk-FC4T5ILA.js';
4
5
  export { WidgetFrame } from './chunk-DF5B4QO5.js';
5
6
  export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from './chunk-YHDJ22UB.js';
6
7
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-25CL7J4J.js';
7
8
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-BJEWRSV7.js';
8
9
  export { TypeSpecimen } from './chunk-JKAFEFFC.js';
9
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-CJRWESDZ.js';
10
+ export { ThemeGallery } from './chunk-4VKFZZHS.js';
10
11
  export { DensitySwitcher, ThemeSwitcher } from './chunk-GFOPTRRY.js';
11
12
  export { ThemeToggle } from './chunk-GBX5Y3P2.js';
12
13
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
@@ -17,7 +18,6 @@ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRange
17
18
  export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-YE76GTQU.js';
18
19
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-V3ZKGVC2.js';
19
20
  export { TagsInput } from './chunk-2ILQUAB7.js';
20
- export { ThemeGallery } from './chunk-4VKFZZHS.js';
21
21
  export { ThemeSwatch } from './chunk-3XQUEF5C.js';
22
22
  export { StatusLegend } from './chunk-5LIWAA7S.js';
23
23
  export { StatusLine } from './chunk-435WY2WT.js';
@@ -55,10 +55,10 @@ export { Table } from './chunk-YGN4SBNP.js';
55
55
  export { ReviewList } from './chunk-AGVGX52B.js';
56
56
  export { RichEditor, preloadRichEditor } from './chunk-6S2Q4DGN.js';
57
57
  export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
58
- export { PropertyList } from './chunk-DVCTHAIF.js';
59
58
  export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-QCJ3UBCZ.js';
60
- export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
59
+ export { PropertyList } from './chunk-DVCTHAIF.js';
61
60
  export { Prose } from './chunk-DVVP27OD.js';
61
+ export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
62
62
  export { RAIL_LIST_LABELS, RailList } from './chunk-3AUFRPG3.js';
63
63
  export { Select } from './chunk-JUZOMYOZ.js';
64
64
  export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-7GUZSA5U.js';
@@ -88,47 +88,47 @@ export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-HHRYI
88
88
  export { MentionChip } from './chunk-PX5BOALQ.js';
89
89
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-47V3ASMW.js';
90
90
  export { PersonRow } from './chunk-XROJ6XQ3.js';
91
- export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-BBE656JU.js';
92
91
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-D7NXK77P.js';
92
+ export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-BBE656JU.js';
93
93
  export { MessageBubble } from './chunk-KAQ2L74F.js';
94
94
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
95
95
  export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from './chunk-CQFQGAZI.js';
96
96
  export { LogoSlot, LogoSlotGroup } from './chunk-TCNTMTPI.js';
97
97
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-KG3PHAUX.js';
98
+ export { LAYERS_LIST_LABELS, LayersList } from './chunk-VUYNNILP.js';
98
99
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
99
100
  export { Link } from './chunk-JZI7SIM6.js';
100
101
  export { LinkCard } from './chunk-6QLMET36.js';
101
102
  import './chunk-KOJPDCGQ.js';
102
103
  export { LinkInterstitial, openExternal } from './chunk-Y4L7WNWU.js';
103
- export { ListDetail } from './chunk-P33VNG7Q.js';
104
104
  export { List, ListItem } from './chunk-VY37HWFV.js';
105
+ export { ListDetail, ListDetailBack } from './chunk-VKN64EEL.js';
105
106
  export { ListInput, withDraft } from './chunk-5G3KASPV.js';
106
107
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-O3DHDBTW.js';
107
108
  export { InlineRef } from './chunk-FXPBUMPL.js';
108
109
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
109
110
  export { KeyValueRows, keyValueRowsLabels } from './chunk-J4OL6KHY.js';
110
- export { LAYERS_LIST_LABELS, LayersList } from './chunk-VUYNNILP.js';
111
111
  export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
112
112
  import './chunk-MICRGE3J.js';
113
113
  import './chunk-FFMCMSJB.js';
114
114
  export { IconTile } from './chunk-3LI4TRUR.js';
115
115
  export { ImageUpload } from './chunk-K6Y6CDEZ.js';
116
- export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-V35GTX74.js';
116
+ export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-24IQTYWE.js';
117
117
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
118
118
  export { FileList } from './chunk-FQBSYMEW.js';
119
119
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
120
120
  export { FindingList } from './chunk-NEPNJMTD.js';
121
- export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-PFZKJXEA.js';
122
121
  export { FollowBanner } from './chunk-WNVUN3LJ.js';
122
+ export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-PFZKJXEA.js';
123
123
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from './chunk-F6V2PTN6.js';
124
124
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
125
125
  export { IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-W5XCNEZC.js';
126
126
  export { EntityChip } from './chunk-VDQGWPGQ.js';
127
127
  export { EntityList } from './chunk-VRDLNMST.js';
128
- export { ErrorBoundary } from './chunk-T63HK6T5.js';
129
128
  export { Eyebrow } from './chunk-RK4XPHVG.js';
130
- export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-BLFHFMXQ.js';
129
+ export { ErrorBoundary } from './chunk-T63HK6T5.js';
131
130
  export { FactList } from './chunk-OYV7BFRC.js';
131
+ export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-BLFHFMXQ.js';
132
132
  export { Divider } from './chunk-6KWNXIDE.js';
133
133
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-7TLM7E5N.js';
134
134
  export { DockColumn } from './chunk-UXTW4GOT.js';
@@ -146,7 +146,7 @@ export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
146
146
  export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-U3LHWQQK.js';
147
147
  export { DirectoryList } from './chunk-5KTLQ436.js';
148
148
  export { ContrastHelp } from './chunk-TP7PRSGX.js';
149
- export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-AXMXXAGB.js';
149
+ export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-3YOLD7WG.js';
150
150
  export { CursorFlag } from './chunk-MMCYH5LB.js';
151
151
  export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
152
152
  export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-S3ZFYKNS.js';
@@ -159,20 +159,20 @@ export { Combobox } from './chunk-PBDMJHXV.js';
159
159
  export { CommandPalette } from './chunk-Y36N7TB7.js';
160
160
  export { ConfirmModal, Modal } from './chunk-A2TYEOB4.js';
161
161
  export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
162
+ export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-ZGJCVXFU.js';
162
163
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
163
164
  export { LockedLabel } from './chunk-TODOBUXO.js';
164
- export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-ZGJCVXFU.js';
165
165
  export { ConfirmField, confirmMatches } from './chunk-WEZU4DX2.js';
166
166
  export { InlineCode } from './chunk-OBFEL5KH.js';
167
+ export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-AXMXXAGB.js';
167
168
  export { Container } from './chunk-HJO4WCH6.js';
168
- export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-3YOLD7WG.js';
169
169
  export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
170
170
  export { ChoiceButtons } from './chunk-AHW3K3SH.js';
171
171
  export { ChoiceCards } from './chunk-FHPHRIPO.js';
172
172
  export { ChoiceList } from './chunk-XU7RQNT6.js';
173
173
  export { CodeBlock } from './chunk-3GF2PTYZ.js';
174
- export { ColorField } from './chunk-M7EALYXZ.js';
175
174
  export { ColorChip } from './chunk-C6T4VBEY.js';
175
+ export { ColorField } from './chunk-M7EALYXZ.js';
176
176
  export { ColorSwatch } from './chunk-2D7IVGEV.js';
177
177
  export { CopyButton, Copyable } from './chunk-T2RRTICC.js';
178
178
  export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
@@ -200,12 +200,12 @@ export { BrandSample } from './chunk-IJCMOAM3.js';
200
200
  export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
201
201
  import './chunk-5SGHW42B.js';
202
202
  import './chunk-7W3LYIOC.js';
203
- export { Breadcrumb } from './chunk-LHCEPSWP.js';
204
- export { KeyChip } from './chunk-HBDA76EZ.js';
205
203
  export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-P5AOTCGQ.js';
206
204
  export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
207
205
  import './chunk-6C7GQOBV.js';
208
206
  export { StatusCard } from './chunk-7L75YB57.js';
207
+ export { Breadcrumb } from './chunk-NNW5MZGO.js';
208
+ export { KeyChip } from './chunk-HBDA76EZ.js';
209
209
  export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
210
210
  export { Callout } from './chunk-BPCY7ZID.js';
211
211
  export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-DKDSBI75.js';
@@ -236,6 +236,9 @@ export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js
236
236
  export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
237
237
  export { ArtifactMakeRow } from './chunk-5EOOS2VG.js';
238
238
  export { ArtifactNameCell } from './chunk-3SCASXQH.js';
239
+ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-PWB2LWBE.js';
240
+ export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
241
+ import './chunk-JLOESTT2.js';
239
242
  export { ArrangeBoard } from './chunk-QO7QEQKV.js';
240
243
  export { ArrangeFrame, useGridResize } from './chunk-QFSPIYCM.js';
241
244
  export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
@@ -244,9 +247,6 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-CTIJTW4R.js';
244
247
  export { Switch } from './chunk-6YYRFGXO.js';
245
248
  export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-JMBPMSNI.js';
246
249
  export { Checkbox, CheckboxGroup } from './chunk-DTEDUAEW.js';
247
- export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-PWB2LWBE.js';
248
- export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
249
- import './chunk-JLOESTT2.js';
250
250
  import './chunk-SK4BIFTG.js';
251
251
  export { REDUCED_MOTION_QUERY, prefersReducedMotion, useMediaMatch } from './chunk-COS6LJ4K.js';
252
252
  export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
@@ -268,20 +268,20 @@ export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, wo
268
268
  export { AvatarStack, avatarStackLabel } from './chunk-5SMYKL3D.js';
269
269
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-XZY6S3UC.js';
270
270
  export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
271
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-5SBMYPWG.js';
271
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-25XEWYFH.js';
272
272
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
273
273
  export { Section } from './chunk-WFCWPXJN.js';
274
274
  export { COMPOSER_COUNTER_AT, Composer } from './chunk-KVNVLBCB.js';
275
275
  export { Disclosure } from './chunk-D5O64CVE.js';
276
- export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './chunk-LSVX4DTF.js';
277
- export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from './chunk-4VHRO7HZ.js';
276
+ export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './chunk-UPDR54P5.js';
277
+ export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from './chunk-7L446LBC.js';
278
+ export { useAppShellAside, useAppShellPeek } from './chunk-MBEZOURR.js';
279
+ export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
278
280
  export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from './chunk-TE3OMB3Z.js';
279
281
  export { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
280
282
  import './chunk-JLKO7PSK.js';
281
283
  export { caretPoint } from './chunk-PJV5HVZY.js';
282
284
  export { CHARACTER_COUNT_LABELS, CHARACTER_COUNT_NEAR, CharacterCount, characterCountState, countCharacters } from './chunk-TEXK4RK6.js';
283
- export { useAppShellAside, useAppShellPeek } from './chunk-MBEZOURR.js';
284
- export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
285
285
  export { Kbd, ariaKeyshortcuts, isApplePlatform, keyGlyph } from './chunk-VBBLHS2Y.js';
286
286
  export { Button, ButtonLink } from './chunk-NPPPQSRU.js';
287
287
  export { Spinner } from './chunk-XSPCITPN.js';
package/dist/styles.css CHANGED
@@ -6408,7 +6408,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
6408
6408
  }
6409
6409
 
6410
6410
 
6411
- /* Breadcrumb-4RWP72R6.css */
6411
+ /* Breadcrumb-SENMIAG2.css */
6412
6412
  /*
6413
6413
  * The trail in a top bar.
6414
6414
  *
@@ -6580,6 +6580,13 @@ a.crewlet-breadcrumb__crumb:focus-visible {
6580
6580
  line-height: inherit;
6581
6581
  }
6582
6582
 
6583
+ /* A READING POSITION, focused by script only (see Breadcrumb.tsx): no ring,
6584
+ since a ring says a reader can act on it. The outline stays, transparent,
6585
+ so forced colours still paints one. */
6586
+ .crewlet-breadcrumb__here:focus-visible {
6587
+ outline-color: transparent;
6588
+ }
6589
+
6583
6590
  /*
6584
6591
  * AND IT NEVER COLLAPSES TO NOTHING: a floor of a few characters keeps an
6585
6592
  * ellipsised stub, which is what tells a reader the trail has a last part at
@@ -23586,7 +23593,7 @@ a.crewlet-icon-btn {
23586
23593
  }
23587
23594
 
23588
23595
 
23589
- /* InboxList-G627C2OQ.css */
23596
+ /* InboxList-PKF6XXTA.css */
23590
23597
  /*
23591
23598
  * The inbox's column: groups of rows, each row a control with the task it is
23592
23599
  * about under it, and the quiet toggles at the end.
@@ -23967,10 +23974,11 @@ a.crewlet-icon-btn {
23967
23974
  }
23968
23975
 
23969
23976
  /*
23970
- * What came of the row: a glyph in the tone's ink, then words in the
23971
- * secondary ink, on one line that wraps rather than cuts.
23977
+ * A line under the words: what came of the row (`outcome`), or why it
23978
+ * reached the reader (`context`). A glyph, then words in the secondary ink,
23979
+ * on one line that wraps rather than cuts.
23972
23980
  */
23973
- .crewlet-inbox-row__outcome {
23981
+ .crewlet-inbox-row__line {
23974
23982
  display: flex;
23975
23983
  align-items: flex-start;
23976
23984
  gap: var(--spacing-1);
@@ -23982,7 +23990,7 @@ a.crewlet-icon-btn {
23982
23990
  overflow-wrap: anywhere;
23983
23991
  }
23984
23992
 
23985
- .crewlet-inbox-row__outcome-icon {
23993
+ .crewlet-inbox-row__line-icon {
23986
23994
  display: inline-flex;
23987
23995
  flex: none;
23988
23996
  align-items: center;
@@ -24010,11 +24018,11 @@ a.crewlet-icon-btn {
24010
24018
  color: var(--color-brand-accent);
24011
24019
  }
24012
24020
 
24013
- .crewlet-inbox-row__outcome-text {
24021
+ .crewlet-inbox-row__line-text {
24014
24022
  min-width: 0;
24015
24023
  }
24016
24024
 
24017
- .crewlet-inbox-row__outcome-text strong {
24025
+ .crewlet-inbox-row__line-text strong {
24018
24026
  font-weight: var(--font-weight-medium);
24019
24027
  color: var(--color-text-primary);
24020
24028
  }
@@ -24040,6 +24048,142 @@ a.crewlet-icon-btn {
24040
24048
  padding-inline-start: var(--spacing-2);
24041
24049
  }
24042
24050
 
24051
+ /*
24052
+ * HOW MANY LINES THE WORDS TAKE: three by default, two beside an open detail,
24053
+ * all of them for a row read in full where it stands.
24054
+ */
24055
+ .crewlet-inbox-row__text--lines-2 {
24056
+ -webkit-line-clamp: 2;
24057
+ line-clamp: 2;
24058
+ }
24059
+
24060
+ .crewlet-inbox-row__text--lines-all {
24061
+ display: block;
24062
+ -webkit-line-clamp: none;
24063
+ line-clamp: none;
24064
+ overflow: visible;
24065
+ }
24066
+
24067
+ /*
24068
+ * THE QUICK ACTIONS FLOAT, never reflow: lifted over the end of the first
24069
+ * line (the time) while the row is hovered or holds focus, and taking no room
24070
+ * otherwise. Shown by opacity rather than display, so Tab still reaches them
24071
+ * from the row and focus brings them up.
24072
+ */
24073
+ .crewlet-inbox-row--actions {
24074
+ position: relative;
24075
+ }
24076
+
24077
+ .crewlet-inbox-row__actions {
24078
+ position: absolute;
24079
+ top: var(--crewlet-inbox-row-actions-top, 0px);
24080
+ inset-inline-end: var(--spacing-2);
24081
+ z-index: 1;
24082
+ opacity: 0;
24083
+ pointer-events: none;
24084
+ }
24085
+
24086
+ .crewlet-inbox-row:hover > .crewlet-inbox-row__actions,
24087
+ .crewlet-inbox-row:focus-within > .crewlet-inbox-row__actions,
24088
+ .crewlet-inbox-row__actions:has([aria-expanded='true']) {
24089
+ opacity: 1;
24090
+ pointer-events: auto;
24091
+ }
24092
+
24093
+ /* ---- Chat density -------------------------------------------------------- */
24094
+
24095
+ /*
24096
+ * A LIST OF MESSAGES, at a conversation's scale (ChatScale.css): the face,
24097
+ * the name and the words at the transcript's sizes, the conversation's side
24098
+ * inset, 16px above and below each row and a hairline between rows. A row runs
24099
+ * the list's full width and the open one is a flat wash, so the column reads
24100
+ * as a list of messages rather than a stack of cards.
24101
+ */
24102
+ .crewlet-inbox-list--chat,
24103
+ .crewlet-inbox-list--chat .crewlet-inbox-list__group,
24104
+ .crewlet-inbox-list--chat .crewlet-inbox-list__rows {
24105
+ gap: 0;
24106
+ }
24107
+
24108
+ .crewlet-inbox-list--chat {
24109
+ font-size: var(--crewlet-chat-text);
24110
+ line-height: var(--crewlet-chat-line);
24111
+ }
24112
+
24113
+ /* A group's label is a day: the words' own case, a step down, on the page's
24114
+ ground, set on the row's inset so it starts over the faces. */
24115
+ .crewlet-inbox-list--chat .crewlet-inbox-list__label {
24116
+ padding: var(--spacing-4) var(--crewlet-chat-pad-x) var(--spacing-2);
24117
+ font-size: var(--crewlet-chat-meta);
24118
+ line-height: var(--font-line-height-snug);
24119
+ }
24120
+
24121
+ .crewlet-inbox-list__day {
24122
+ font-weight: var(--font-weight-semibold);
24123
+ color: var(--color-text-secondary);
24124
+ }
24125
+
24126
+ .crewlet-inbox-list--chat .crewlet-inbox-row,
24127
+ .crewlet-inbox-list--chat .crewlet-inbox-row__control {
24128
+ border-radius: 0;
24129
+ }
24130
+
24131
+ .crewlet-inbox-list--chat .crewlet-inbox-row {
24132
+ border-bottom: 1px solid var(--color-border-default);
24133
+ /* The tray sits on the name's line: its middle on the line's middle. */
24134
+ --crewlet-inbox-row-actions-top: calc(var(--spacing-4) + var(--crewlet-chat-line) * var(--crewlet-chat-text) / 2 - var(--crewlet-chat-toolbar) / 2);
24135
+ }
24136
+
24137
+ .crewlet-inbox-list--chat .crewlet-inbox-row__actions {
24138
+ inset-inline-end: var(--spacing-3);
24139
+ }
24140
+
24141
+ /* The face hangs from the row's top pad, beside the name's line and the one
24142
+ under it; the words start the face and the gap in, as in a transcript. */
24143
+ .crewlet-inbox-list--chat .crewlet-inbox-row__control,
24144
+ .crewlet-inbox-list--chat .crewlet-inbox-row__control--leading,
24145
+ .crewlet-inbox-list--chat .crewlet-inbox-row__control:only-child {
24146
+ gap: var(--crewlet-chat-gap);
24147
+ padding: var(--spacing-4) var(--crewlet-chat-pad-x);
24148
+ }
24149
+
24150
+ .crewlet-inbox-list--chat .crewlet-inbox-row__control--leading > .crewlet-inbox-row__main {
24151
+ padding-top: 0;
24152
+ }
24153
+
24154
+ .crewlet-inbox-list--chat .crewlet-inbox-row__leading {
24155
+ align-items: flex-start;
24156
+ min-width: var(--crewlet-chat-avatar);
24157
+ min-height: var(--crewlet-chat-avatar);
24158
+ }
24159
+
24160
+ .crewlet-inbox-list--chat .crewlet-inbox-row__main {
24161
+ gap: 2px;
24162
+ }
24163
+
24164
+ .crewlet-inbox-list--chat .crewlet-inbox-row__head {
24165
+ -webkit-line-clamp: 1;
24166
+ line-clamp: 1;
24167
+ }
24168
+
24169
+ .crewlet-inbox-list--chat .crewlet-inbox-row__meta {
24170
+ font-size: var(--crewlet-chat-meta);
24171
+ }
24172
+
24173
+ .crewlet-inbox-list--chat .crewlet-inbox-row__text {
24174
+ line-height: var(--crewlet-chat-line);
24175
+ }
24176
+
24177
+ .crewlet-inbox-list--chat .crewlet-inbox-row__line {
24178
+ padding-top: var(--spacing-1);
24179
+ font-size: var(--crewlet-chat-meta);
24180
+ color: var(--color-text-tertiary);
24181
+ }
24182
+
24183
+ .crewlet-inbox-list--chat .crewlet-inbox-row__aside {
24184
+ padding-inline: calc(var(--crewlet-chat-pad-x) + var(--crewlet-chat-avatar) + var(--crewlet-chat-gap)) var(--crewlet-chat-pad-x);
24185
+ }
24186
+
24043
24187
  /* ---- The end of the list ---------------------------------------------- */
24044
24188
 
24045
24189
  .crewlet-inbox-list__more {
@@ -26415,7 +26559,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26415
26559
  }
26416
26560
 
26417
26561
 
26418
- /* ListDetail-WXBCLONL.css */
26562
+ /* ListDetail-KFYCYZWI.css */
26419
26563
  /*
26420
26564
  * ListDetail: a list beside the detail of what is chosen in it, each scrolling
26421
26565
  * on its own in the height it is given, one pane where it is narrow
@@ -26507,10 +26651,49 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26507
26651
  list pane holding one gives its end inset back, and the lines run to the
26508
26652
  hairline as the rail's run to its edge. Folded to one pane, the pane takes
26509
26653
  the screen's inset again (below). */
26510
- .crewlet-list-detail__list:has(> .crewlet-directory) {
26654
+ /* AND SO DOES AN INBOX, however the host wraps it: an InboxList's rows draw
26655
+ their own inset and fills just as a directory's lines do. Matched as a
26656
+ child only, a list a host wrapped in a box of its own kept the gutter, and
26657
+ every row's fill stopped 32px short of the hairline. */
26658
+ .crewlet-list-detail__list:has(.crewlet-directory, .crewlet-inbox-list) {
26659
+ padding-right: 0;
26660
+ }
26661
+
26662
+ /* NOTHING CHOSEN: the list is the whole width, with no hairline after it. */
26663
+ .crewlet-list-detail--alone .crewlet-list-detail__panes,
26664
+ .crewlet-list-detail--alone.crewlet-list-detail--half .crewlet-list-detail__panes {
26665
+ grid-template-columns: minmax(0, 1fr);
26666
+ }
26667
+
26668
+ .crewlet-list-detail--alone .crewlet-list-detail__list {
26669
+ padding-right: 0;
26670
+ border-right: 0;
26671
+ }
26672
+
26673
+ /* HALF: the list and the detail share the width evenly. */
26674
+ .crewlet-list-detail--half .crewlet-list-detail__panes {
26675
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
26676
+ }
26677
+
26678
+ /* FLUSH: the panes meet at the hairline, and each insets its own content. */
26679
+ .crewlet-list-detail--flush .crewlet-list-detail__panes {
26680
+ gap: 0;
26681
+ }
26682
+
26683
+ .crewlet-list-detail--flush .crewlet-list-detail__list {
26511
26684
  padding-right: 0;
26512
26685
  }
26513
26686
 
26687
+ .crewlet-list-detail--flush .crewlet-list-detail__detail {
26688
+ gap: 0;
26689
+ }
26690
+
26691
+ /* The way back to the list is drawn only while the panes are folded (below). */
26692
+ .crewlet-list-detail__back {
26693
+ display: none;
26694
+ flex: none;
26695
+ }
26696
+
26514
26697
  .crewlet-list-detail__detail {
26515
26698
  display: flex;
26516
26699
  flex-direction: column;
@@ -26524,7 +26707,8 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26524
26707
  both fit, so the pane `showing` names takes the whole width and keeps its
26525
26708
  own scroller, which is what lets it sit in a screen that fills the window. */
26526
26709
  @container crewlet-list-detail (width < 640px) {
26527
- .crewlet-list-detail__panes {
26710
+ /* Two classes, so a half split folds as well. */
26711
+ .crewlet-list-detail .crewlet-list-detail__panes {
26528
26712
  grid-template-columns: minmax(0, 1fr);
26529
26713
  }
26530
26714
 
@@ -26546,6 +26730,10 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26546
26730
  .crewlet-list-detail--showing-detail .crewlet-list-detail__list {
26547
26731
  display: none;
26548
26732
  }
26733
+
26734
+ .crewlet-list-detail__back {
26735
+ display: inline-flex;
26736
+ }
26549
26737
  }
26550
26738
 
26551
26739
  /* ON A PHONE THE PAGE SCROLLS AS A WHOLE, as tall as its content. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.113.2",
3
+ "version": "0.115.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.113.2",
46
- "@crewlethq/tokens": "0.113.2",
45
+ "@crewlethq/icons": "0.115.0",
46
+ "@crewlethq/tokens": "0.115.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,12 +0,0 @@
1
- import { cx } from './chunk-ODEQTPFM.js';
2
- import './ListDetail-WXBCLONL.css';
3
- import { jsx, jsxs } from 'react/jsx-runtime';
4
-
5
- function ListDetail({ list, children, showing = "list", className, ...rest }) {
6
- return /* @__PURE__ */ jsx("div", { ...rest, className: cx("crewlet-list-detail", `crewlet-list-detail--showing-${showing}`, className), children: /* @__PURE__ */ jsxs("div", { className: "crewlet-list-detail__panes", children: [
7
- /* @__PURE__ */ jsx("div", { className: "crewlet-list-detail__list", children: list }),
8
- /* @__PURE__ */ jsx("div", { className: "crewlet-list-detail__detail", children })
9
- ] }) });
10
- }
11
-
12
- export { ListDetail };