@crewlethq/ui 0.151.0 → 0.153.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 (45) hide show
  1. package/README.md +9 -1
  2. package/dist/ChangeList/index.js +2 -2
  3. package/dist/Combobox/Combobox.d.ts +2 -0
  4. package/dist/Combobox/index.js +1 -1
  5. package/dist/{Combobox-F5VEJIAO.css → Combobox-GHT43K32.css} +7 -0
  6. package/dist/DataView/index.js +2 -2
  7. package/dist/DiffList/index.js +1 -1
  8. package/dist/{DiffList-3JNPLQ2E.css → DiffList-57M6YCNS.css} +6 -7
  9. package/dist/DiffView/DiffView.d.ts +60 -35
  10. package/dist/DiffView/diff.d.ts +9 -41
  11. package/dist/DiffView/index.d.ts +7 -3
  12. package/dist/DiffView/index.js +1 -1
  13. package/dist/DiffView/lineDiff.d.ts +58 -0
  14. package/dist/DiffView/wordDiff.d.ts +47 -0
  15. package/dist/DiffView-J55CPJDX.css +224 -0
  16. package/dist/DurationField/index.js +2 -2
  17. package/dist/FilterPill/FilterPill.d.ts +6 -1
  18. package/dist/FilterPill/index.js +1 -1
  19. package/dist/{FilterPill-4GMNFZND.css → FilterPill-C6LFYCCA.css} +7 -0
  20. package/dist/OpenInAppCard/index.js +1 -1
  21. package/dist/PrincipalPicker/index.js +2 -2
  22. package/dist/ProposalCard/index.js +3 -3
  23. package/dist/RailList/index.js +1 -1
  24. package/dist/RichEditor/index.js +1 -1
  25. package/dist/ValueField/ValueField.d.ts +2 -0
  26. package/dist/ValueField/index.js +2 -2
  27. package/dist/VersionCompare/VersionCompare.d.ts +3 -4
  28. package/dist/VersionCompare/index.js +2 -2
  29. package/dist/{chunk-5DLBGF6I.js → chunk-2YAK37D6.js} +1 -1
  30. package/dist/chunk-4YLN5QVL.js +803 -0
  31. package/dist/{chunk-Z6OZNSHF.js → chunk-7FWYJCKT.js} +2 -1
  32. package/dist/{chunk-RGJB34YN.js → chunk-7XUP32RY.js} +1 -1
  33. package/dist/{chunk-TPABM6DW.js → chunk-CJAPAIJG.js} +8 -3
  34. package/dist/{chunk-FCRJAFTU.js → chunk-DWXTJWCJ.js} +1 -1
  35. package/dist/{chunk-TBOVJ7RL.js → chunk-GQQMN6O3.js} +3 -1
  36. package/dist/{chunk-4DUK2TC4.js → chunk-ITZAWYRG.js} +1 -1
  37. package/dist/{chunk-NB53SAL4.js → chunk-NOZD547E.js} +1 -1
  38. package/dist/{chunk-OMVGWZ3V.js → chunk-V3HP2HOI.js} +24 -19
  39. package/dist/generated/index.js +50 -50
  40. package/dist/index.js +50 -50
  41. package/dist/styles.css +191 -44
  42. package/package.json +3 -3
  43. package/dist/DiffView-ZI5C25Q3.css +0 -90
  44. package/dist/chunk-F4CM5KD3.js +0 -187
  45. package/dist/{chunk-CKNDBAQ7.js → chunk-OX332RI7.js} +1 -1
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import './chunk-2DASEYUG.js';
2
2
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
3
+ export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-HHTAGV5R.js';
3
4
  export { TypeSpecimen } from './chunk-JKAFEFFC.js';
4
- export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-TPABM6DW.js';
5
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-OMVGWZ3V.js';
5
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-V3HP2HOI.js';
6
+ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-CJAPAIJG.js';
6
7
  export { VersionTimeline } from './chunk-3RLOH5AR.js';
7
8
  export { WidgetFrame } from './chunk-5ZTH54O6.js';
8
- export { TileGrid } from './chunk-UFID3DSP.js';
9
+ export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
9
10
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-VXTRPLNB.js';
10
- export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-KWHZXFXJ.js';
11
11
  export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-F6OYNO7O.js';
12
- export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-HHTAGV5R.js';
12
+ export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-KWHZXFXJ.js';
13
13
  export { TagsInput } from './chunk-ZC73GPA3.js';
14
14
  export { ThemeGallery } from './chunk-35ALKQC5.js';
15
15
  export { ThemeSwatch } from './chunk-3XQUEF5C.js';
@@ -17,73 +17,74 @@ export { DensitySwitcher, ThemeSwitcher } from './chunk-ODN3LSYW.js';
17
17
  export { ThemeToggle } from './chunk-CXJMWEZC.js';
18
18
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
19
19
  export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
20
- export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
20
+ export { TileGrid } from './chunk-UFID3DSP.js';
21
21
  export { Switcher } from './chunk-O2J5PSWI.js';
22
22
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-Q3J23Q6P.js';
23
+ export { StatCard } from './chunk-2YADDY4A.js';
23
24
  export { StatGroup } from './chunk-OUD75UB2.js';
24
25
  export { Statement } from './chunk-MZJKPTA5.js';
25
26
  export { StatusLegend } from './chunk-CXFMNOPV.js';
26
27
  export { StatusLine } from './chunk-LZ3TKYAY.js';
28
+ export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-KQUENZR3.js';
27
29
  export { SlideFilmstrip } from './chunk-7CVV3DQC.js';
28
30
  export { SlideGrid } from './chunk-73L3774J.js';
29
- export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-KQUENZR3.js';
30
31
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
31
- export { StatCard } from './chunk-2YADDY4A.js';
32
+ export { SetupWizard } from './chunk-2DZV4PHK.js';
33
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-6BGD32C5.js';
32
34
  export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-M4VA76JF.js';
33
35
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-7C6NHVMX.js';
34
36
  export { TagGroup } from './chunk-FOUIZS7Q.js';
35
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-6BGD32C5.js';
36
37
  export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
37
38
  import './chunk-ZZMXJTII.js';
39
+ export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
38
40
  export { SelectionBar } from './chunk-3EL3IF3W.js';
39
41
  export { SEND_BUTTON_LABELS, SendButton } from './chunk-2W2KAF7D.js';
40
42
  export { SETTING_FORM_LABELS, SettingForm } from './chunk-NG6GEBSJ.js';
41
43
  export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-BQMDD2FD.js';
42
- export { SetupWizard } from './chunk-2DZV4PHK.js';
43
44
  export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
44
45
  import './chunk-7CSTEH5I.js';
46
+ export { RichEditor, preloadRichEditor } from './chunk-JUZKRHQB.js';
47
+ export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
45
48
  export { RoomRow } from './chunk-45OOFAL6.js';
46
49
  export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
47
50
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-CHUFHUQE.js';
48
51
  export { SearchTrigger } from './chunk-U67UM3VS.js';
49
52
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-D33K2BCZ.js';
50
- export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
51
53
  export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
52
54
  export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-HW7QJS2C.js';
53
55
  export { RelatedRow } from './chunk-ZPLAR53E.js';
54
56
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-IZH5DCOQ.js';
55
57
  export { Table } from './chunk-YGN4SBNP.js';
56
58
  export { ReviewList } from './chunk-7XYU5PSQ.js';
57
- export { RichEditor, preloadRichEditor } from './chunk-JUZKRHQB.js';
58
- export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
59
+ export { PrincipalPicker } from './chunk-ITZAWYRG.js';
59
60
  export { PropertyList } from './chunk-N2DCSSYC.js';
60
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-5DLBGF6I.js';
61
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-2YAK37D6.js';
61
62
  export { Prose } from './chunk-DVVP27OD.js';
62
63
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
63
64
  export { RAIL_LIST_LABELS, RailList } from './chunk-ECYA6XZL.js';
64
65
  export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-TTUFOH2Y.js';
65
- export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-27ZF7D3C.js';
66
66
  export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
67
+ export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-27ZF7D3C.js';
67
68
  export { PresenceStack } from './chunk-LL5H2Q5B.js';
68
69
  export { PresenterView, formatStopwatch } from './chunk-BJE7TPO6.js';
69
70
  export { SLIDE_NAV_LABELS, SlideNav } from './chunk-WSKVFRKK.js';
70
71
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
71
72
  export { PricingCard } from './chunk-O2XAJDK6.js';
72
- export { PrincipalPicker } from './chunk-4DUK2TC4.js';
73
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
74
+ export { TreeGrid } from './chunk-RUKSDKG5.js';
73
75
  export { PageNote } from './chunk-CV4NES3P.js';
76
+ export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-JNDZGQGS.js';
74
77
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-Z7BA2EVV.js';
75
78
  import './chunk-CENOOTAV.js';
76
- export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-JNDZGQGS.js';
77
79
  export { PinTile } from './chunk-ZFSKRN6D.js';
78
80
  export { groupNotices } from './chunk-YAUAMQOP.js';
79
81
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
80
82
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-AH7R777J.js';
81
83
  export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-CRKFCTOR.js';
82
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
83
- export { TreeGrid } from './chunk-RUKSDKG5.js';
84
84
  export { OrgLabel } from './chunk-PFP5HHZF.js';
85
85
  export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
86
- export { MentionChip } from './chunk-SYOMUNKU.js';
86
+ export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
87
+ export { PersonRow } from './chunk-42I2VSZZ.js';
87
88
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-ZAQ7CEYN.js';
88
89
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-FMKQSDBQ.js';
89
90
  export { MessageBubble } from './chunk-KAQ2L74F.js';
@@ -92,9 +93,7 @@ export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREV
92
93
  export { LogoSlot, LogoSlotGroup } from './chunk-ECHQLOWI.js';
93
94
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-N3LAAA4R.js';
94
95
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-27NS67UI.js';
95
- export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
96
- export { PersonRow } from './chunk-42I2VSZZ.js';
97
- export { Link } from './chunk-UTKI2SAM.js';
96
+ export { MentionChip } from './chunk-SYOMUNKU.js';
98
97
  export { LinkCard } from './chunk-346EXHOR.js';
99
98
  import './chunk-KOJPDCGQ.js';
100
99
  export { LinkInterstitial, openExternal } from './chunk-7XE5TC7X.js';
@@ -105,20 +104,22 @@ export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DP
105
104
  export { KeyValueRows, keyValueRowsLabels } from './chunk-EDQHZOU3.js';
106
105
  export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
107
106
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
107
+ export { Link } from './chunk-UTKI2SAM.js';
108
108
  import './chunk-FFMCMSJB.js';
109
109
  export { IconTile } from './chunk-VRVNLJUA.js';
110
110
  export { ImageUpload } from './chunk-4QWTD6JO.js';
111
111
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-UMEK5DHS.js';
112
112
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
113
113
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-CA62YCFK.js';
114
+ export { FindingList } from './chunk-J2GRBRGK.js';
114
115
  export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-4VJ5UZIK.js';
115
116
  export { FollowBanner } from './chunk-HXAPC3AJ.js';
116
117
  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';
117
118
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
118
- export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
119
119
  export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-IRLHICS4.js';
120
120
  export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, layoutConnectors, layoutForest, placeGroups, treeAllExpandable, treeAncestors, treeCollapseOrAscend, treeExpandOrDescend, treeExpandTo, treeExpandable, treeFirst, treeFirstChild, treeItemAction, treeLast, treeLevel, treeNext, treeParent, treePosInSet, treePrevious, treeSetSize, treeStep, treeTypeAhead, treeVisible, typeAheadBuffer, useLayoutAnchor, useMeasuredSizes, useTreeState } from './chunk-MY374UUD.js';
121
121
  export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-HYUO2RHC.js';
122
+ export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
122
123
  import './chunk-MICRGE3J.js';
123
124
  export { EntityList } from './chunk-776LNKD2.js';
124
125
  export { ErrorBoundary } from './chunk-CC5NUAOF.js';
@@ -127,30 +128,29 @@ export { FactList } from './chunk-EO64FXVL.js';
127
128
  export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-AU4EKD2G.js';
128
129
  export { FileList } from './chunk-FQBSYMEW.js';
129
130
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
130
- export { FindingList } from './chunk-J2GRBRGK.js';
131
- export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
132
131
  export { DownloadButton } from './chunk-VFC7KVCW.js';
133
132
  export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
134
- export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from './chunk-CKNDBAQ7.js';
135
- export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from './chunk-DDGHRDGV.js';
133
+ export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from './chunk-OX332RI7.js';
136
134
  export { Select } from './chunk-657WR3MX.js';
135
+ export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from './chunk-DDGHRDGV.js';
137
136
  export { PresetChips } from './chunk-6QWSGM4W.js';
138
137
  export { EditingStatus } from './chunk-KRF3GQ63.js';
138
+ export { CONTEXT_LINES, DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_COMPARE_LINES, MAX_EDITS, WINDOW_BLOCK_ROWS, WINDOW_FROM_ROWS, changedRuns, collapseDiff, compareLines, compareSequences, diffStat, distanceFloor, firstChangedLines, lineTokens, notComparedReason, segments, splitLines } from './chunk-4YLN5QVL.js';
139
139
  export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-YMBXTGFC.js';
140
140
  export { EntityChip } from './chunk-OPN5Q3OL.js';
141
- export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-F4CM5KD3.js';
142
141
  export { DirectoryList } from './chunk-5KTLQ436.js';
143
- export { Divider } from './chunk-6KWNXIDE.js';
144
142
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-N3R2POGO.js';
143
+ export { Divider } from './chunk-6KWNXIDE.js';
145
144
  export { DockColumn } from './chunk-UXTW4GOT.js';
145
+ export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
146
146
  export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-Q3SHCEXN.js';
147
147
  export { nextGridSort, parseGridSort } from './chunk-HU56GCZ7.js';
148
- export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-FCRJAFTU.js';
148
+ export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-DWXTJWCJ.js';
149
149
  export { PageHeader } from './chunk-FPDIHEM4.js';
150
- export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-TBOVJ7RL.js';
150
+ export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-GQQMN6O3.js';
151
151
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-WAF36OFS.js';
152
- export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
153
152
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-7SXCCVUR.js';
153
+ export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
154
154
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-4LNSURYZ.js';
155
155
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
156
156
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-OAD4AXYJ.js';
@@ -167,31 +167,31 @@ export { CursorFlag } from './chunk-MMCYH5LB.js';
167
167
  export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
168
168
  export { ColorField } from './chunk-RNVPYDRQ.js';
169
169
  export { ColorSwatch } from './chunk-V4CGY2CI.js';
170
- export { Combobox } from './chunk-Z6OZNSHF.js';
171
170
  export { CommandPalette } from './chunk-7FY7L6WD.js';
172
171
  export { ConfirmModal, Modal } from './chunk-7PK2Z5JY.js';
173
- export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
174
172
  export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from './chunk-ML4E6FFN.js';
175
173
  export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-U3ZUZ7VU.js';
176
174
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-DF3LU2RW.js';
177
175
  export { LockedLabel } from './chunk-TODOBUXO.js';
176
+ export { Combobox } from './chunk-7FWYJCKT.js';
177
+ export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
178
178
  export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
179
179
  export { ChoiceButtons } from './chunk-AHW3K3SH.js';
180
180
  export { ChoiceCards } from './chunk-FHPHRIPO.js';
181
181
  export { ChoiceList } from './chunk-XU7RQNT6.js';
182
182
  export { CLAMP_LABELS, Clamp } from './chunk-QULAFXL3.js';
183
+ export { ColorChip } from './chunk-C6T4VBEY.js';
183
184
  export { CodeBlock } from './chunk-NZHWGKPW.js';
184
185
  export { Copyable } from './chunk-GR6XGA5V.js';
185
186
  export { CopyButton } from './chunk-IRGS5FEC.js';
186
187
  export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
187
188
  export { useOutcome } from './chunk-DTIW4CHZ.js';
188
189
  import './chunk-HZXS5CEL.js';
189
- export { ColorChip } from './chunk-C6T4VBEY.js';
190
190
  import './chunk-3L5NHASN.js';
191
191
  export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-TQ6ZPQI4.js';
192
192
  export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
193
- import './chunk-5QJNA7KD.js';
194
193
  export { ChatDivider } from './chunk-EI242VTX.js';
194
+ import './chunk-5QJNA7KD.js';
195
195
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-RXHY5T2Z.js';
196
196
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-6RBE5RVG.js';
197
197
  export { CheckGrid } from './chunk-ZNEMXLTY.js';
@@ -200,11 +200,10 @@ export { Note } from './chunk-YJPQJVRJ.js';
200
200
  export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
201
201
  export { CanvasToolbar, toolForKey } from './chunk-M2USLODI.js';
202
202
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
203
- 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-JD5K6Y7Q.js';
204
- import './chunk-CUEPPDBC.js';
203
+ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
205
204
  export { CatalogTile } from './chunk-JKEGFDBG.js';
206
- export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NB53SAL4.js';
207
- export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
205
+ export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NOZD547E.js';
206
+ export { DIFF_LIST_LABELS, DiffList } from './chunk-7XUP32RY.js';
208
207
  export { ChangeMark } from './chunk-Z6HWOPI7.js';
209
208
  export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from './chunk-LFSIKGRQ.js';
210
209
  export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
@@ -218,18 +217,16 @@ export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRI
218
217
  export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
219
218
  import './chunk-6C7GQOBV.js';
220
219
  export { StatusCard } from './chunk-NWKH5FF7.js';
221
- export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
222
220
  export { Callout } from './chunk-CWACQEPP.js';
223
- export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-QNSAFNGT.js';
224
- export { InlineRef } from './chunk-6KCQXKFQ.js';
225
- export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
221
+ 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-JD5K6Y7Q.js';
222
+ import './chunk-CUEPPDBC.js';
226
223
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
227
224
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
228
225
  export { Tag } from './chunk-SJ3EUCFD.js';
229
- export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-5VTJOVK7.js';
230
- export { NOTICE_LIST_LABELS, NoticeList } from './chunk-E2XGQAHV.js';
231
226
  export { AuthLayout } from './chunk-HHYFL2GH.js';
232
227
  export { BrandLockup } from './chunk-KXWJJWBD.js';
228
+ export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-5VTJOVK7.js';
229
+ export { NOTICE_LIST_LABELS, NoticeList } from './chunk-E2XGQAHV.js';
233
230
  export { AvatarPicker } from './chunk-X5ZUDJNK.js';
234
231
  export { HuePicker, HueSwatch } from './chunk-E3JUS3CR.js';
235
232
  export { Popover } from './chunk-AJFA2XDQ.js';
@@ -248,14 +245,17 @@ import './chunk-WSIJDWUG.js';
248
245
  export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
249
246
  export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
250
247
  export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
251
- export { ArtifactNameCell } from './chunk-3SCASXQH.js';
252
248
  export { ArtifactMakeRow } from './chunk-A3SQWUWG.js';
249
+ export { ArtifactNameCell } from './chunk-3SCASXQH.js';
250
+ export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-QNSAFNGT.js';
251
+ export { InlineRef } from './chunk-6KCQXKFQ.js';
252
+ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
253
253
  export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-5ORAUELE.js';
254
254
  export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
255
255
  import './chunk-JLOESTT2.js';
256
- export { ArrangeBoard } from './chunk-QO7QEQKV.js';
257
256
  export { ArrangeFrame, useGridResize } from './chunk-3OZPHFDT.js';
258
257
  export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
258
+ export { ArrangeBoard } from './chunk-QO7QEQKV.js';
259
259
  export { ArrangeGroup } from './chunk-N3WS3XDV.js';
260
260
  export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-YRNIPS4M.js';
261
261
  export { Switch } from './chunk-6YYRFGXO.js';
@@ -278,7 +278,6 @@ export { ActivityLine } from './chunk-DLYYW77C.js';
278
278
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-CRGYWLP6.js';
279
279
  export { AvatarStack, avatarStackLabel } from './chunk-2PSOUDCS.js';
280
280
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, AVATAR_VERDICTS, AVATAR_VERDICT_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-YMFFGPFE.js';
281
- export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
282
281
  export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
283
282
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-S4ADDFRT.js';
284
283
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
@@ -312,6 +311,7 @@ export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, ret
312
311
  export { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
313
312
  export { Count } from './chunk-Y5CMDLQM.js';
314
313
  export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from './chunk-PQADV6P6.js';
314
+ export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
315
315
  export { Announcer, announce, useAnnouncer } from './chunk-WGMKERCR.js';
316
316
  export { VisuallyHidden } from './chunk-RRRK2KB6.js';
317
317
  export { cx } from './chunk-ODEQTPFM.js';
package/dist/styles.css CHANGED
@@ -13732,7 +13732,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13732
13732
  }
13733
13733
 
13734
13734
 
13735
- /* Combobox-F5VEJIAO.css */
13735
+ /* Combobox-GHT43K32.css */
13736
13736
  /*
13737
13737
  * Combobox: a field that offers completions.
13738
13738
  *
@@ -13892,6 +13892,13 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13892
13892
  color: var(--color-text-primary);
13893
13893
  }
13894
13894
 
13895
+ /* An option's face or glyph (`leading`), on the label's line and never shrunk. */
13896
+ .crewlet-combobox__leading {
13897
+ display: inline-flex;
13898
+ align-items: center;
13899
+ flex: none;
13900
+ }
13901
+
13895
13902
  .crewlet-combobox__check {
13896
13903
  display: inline-flex;
13897
13904
  flex: none;
@@ -20176,12 +20183,11 @@ svg.crewlet-datetime__chevron {
20176
20183
  }
20177
20184
 
20178
20185
 
20179
- /* DiffList-3JNPLQ2E.css */
20186
+ /* DiffList-57M6YCNS.css */
20180
20187
  /* DiffList: one path per row, with its mark, its word and its tint.
20181
20188
 
20182
- The tint is the soft step of the state the row is in and the text is the
20183
- matching ink step, which is the pairing the palette suite measures: a fill
20184
- is never text and an ink step is never a background. */
20189
+ An added or removed row takes the diff family's row and sign, as a line of
20190
+ DiffView does; a changed one the warning soft step and its ink. */
20185
20191
  /*
20186
20192
  * HALF A STEP, between the rows and inside them. A diff row is a LINE OF A
20187
20193
  * DOCUMENT rather than an item in a list: at the full 4px step a fifty-line
@@ -20214,13 +20220,13 @@ svg.crewlet-datetime__chevron {
20214
20220
  this replaces read add, remove and replace, which no answer has ever
20215
20221
  carried, so every diff row rendered untinted. */
20216
20222
  .crewlet-diff-list__row--added {
20217
- background: var(--color-feedback-success-soft);
20218
- color: var(--color-feedback-success-ink);
20223
+ background: var(--color-diff-added-row);
20224
+ color: var(--color-diff-added-sign);
20219
20225
  }
20220
20226
 
20221
20227
  .crewlet-diff-list__row--removed {
20222
- background: var(--color-feedback-danger-soft);
20223
- color: var(--color-feedback-danger-ink);
20228
+ background: var(--color-diff-removed-row);
20229
+ color: var(--color-diff-removed-sign);
20224
20230
  }
20225
20231
 
20226
20232
  .crewlet-diff-list__row--changed {
@@ -20336,75 +20342,209 @@ svg.crewlet-datetime__chevron {
20336
20342
  }
20337
20343
 
20338
20344
 
20339
- /* DiffView-ZI5C25Q3.css */
20340
- /* DiffView: a line diff, monospace and line-numbered on both sides.
20341
-
20342
- A changed line is marked three ways, a tint, a drawn mark and a word read
20343
- in its place, because colour alone is not a signal and a printed or
20344
- forced-colours render loses the tint entirely. The tint and the mark are
20345
- the diff family's row and sign, which the palette suite measures together. */
20345
+ /* DiffView-J55CPJDX.css */
20346
+ /* DiffView: a line diff in the diff family's colours, on every surface. A
20347
+ changed line is said three ways, each enough alone: its tint, its glyph with
20348
+ the word read in its place, and the underline on the run an edit changed. */
20346
20349
  .crewlet-diff-view {
20350
+ container: crewlet-diff-view / inline-size;
20351
+ display: flex;
20352
+ flex-direction: column;
20353
+ gap: var(--spacing-2);
20354
+ min-width: 0;
20355
+ }
20356
+
20357
+ /* The diff's own ground: the card rung, which the palette measures its tints over. */
20358
+ .crewlet-diff-view__body {
20347
20359
  overflow: hidden;
20348
20360
  border: 1px solid var(--color-border-default);
20349
20361
  border-radius: var(--radius-sm);
20362
+ background: var(--color-surface-subtle);
20363
+ color: var(--color-text-primary);
20350
20364
  font-family: var(--font-family-mono);
20351
- font-size: var(--font-size-xs);
20352
- line-height: var(--font-line-height-normal);
20365
+ font-size: var(--font-size-compact);
20366
+ line-height: var(--font-line-height-body);
20353
20367
  }
20354
20368
 
20355
- .crewlet-diff-view__section + .crewlet-diff-view__section,
20356
- .crewlet-diff-view__skip + .crewlet-diff-view__line {
20357
- border-top: 1px solid var(--color-border-default);
20369
+ /* A line's tracks: numbers (or a path), the mark, the text. Widths come from
20370
+ the counts the component publishes, so every window block lands on them. */
20371
+ .crewlet-diff-view__line {
20372
+ display: grid;
20373
+ grid-template-columns: 2ch minmax(0, 1fr);
20374
+ column-gap: var(--spacing-2);
20375
+ padding: calc(var(--spacing-1) / 4) var(--spacing-3) calc(var(--spacing-1) / 4) var(--spacing-2);
20358
20376
  }
20359
20377
 
20360
- /* A GAP SAYS WHAT IT STANDS FOR. Silently closed, a document edited at both
20361
- ends looks like one rewritten in the middle. */
20362
- .crewlet-diff-view__skip {
20363
- padding: var(--spacing-1) var(--spacing-3);
20364
- background: var(--color-surface-elevated);
20365
- color: var(--color-text-tertiary);
20366
- font-family: var(--font-family-sans);
20367
- font-size: var(--font-size-xs);
20378
+ .crewlet-diff-view--numbered .crewlet-diff-view__line {
20379
+ --crewlet-diff-gutter: calc(var(--spacing-2) * 2.5 + var(--crewlet-diff-digits) * 2ch);
20380
+
20381
+ grid-template-columns: calc(var(--crewlet-diff-digits) * 1ch) calc(var(--crewlet-diff-digits) * 1ch) 2ch minmax(0, 1fr);
20368
20382
  }
20369
20383
 
20370
- .crewlet-diff-view__line {
20371
- display: grid;
20372
- grid-template-columns: 3.5ch 3.5ch 2ch minmax(0, 1fr);
20373
- gap: var(--spacing-2);
20374
- padding: calc(var(--spacing-1) / 4) var(--spacing-3) calc(var(--spacing-1) / 4) var(--spacing-2);
20384
+ .crewlet-diff-view--numbered.crewlet-diff-view--split .crewlet-diff-view__line {
20385
+ --crewlet-diff-gutter: calc(var(--spacing-2) * 1.5 + var(--crewlet-diff-digits) * 1ch);
20386
+
20387
+ grid-template-columns: calc(var(--crewlet-diff-digits) * 1ch) 2ch minmax(0, 1fr);
20388
+ }
20389
+
20390
+ /* A path takes up to 40% of the line; the value keeps its own track, so a
20391
+ line that continues the setting above (and draws no path) lines up under it. */
20392
+ .crewlet-diff-view--keyed .crewlet-diff-view__line {
20393
+ grid-template-columns: 2ch min(calc(var(--crewlet-diff-path) * 1ch), 40%) minmax(0, 1fr);
20394
+ }
20395
+
20396
+ .crewlet-diff-view--keyed .crewlet-diff-view__text {
20397
+ grid-column: 3;
20398
+ }
20399
+
20400
+ /* The tints, with the numbers on a band in the sign's ink. The band is an
20401
+ inset shadow, so forced colours drop it with the tint and keep the glyph. */
20402
+ .crewlet-diff-view__line--add {
20403
+ background: var(--color-diff-added-row);
20404
+ box-shadow: inset var(--crewlet-diff-gutter, 0) 0 0 var(--color-diff-added-gutter);
20405
+ }
20406
+
20407
+ .crewlet-diff-view__line--remove {
20408
+ background: var(--color-diff-removed-row);
20409
+ box-shadow: inset var(--crewlet-diff-gutter, 0) 0 0 var(--color-diff-removed-gutter);
20375
20410
  }
20376
20411
 
20377
20412
  .crewlet-diff-view__number {
20378
20413
  color: var(--color-text-tertiary);
20379
20414
  text-align: right;
20380
- user-select: none;
20381
20415
  font-variant-numeric: tabular-nums;
20416
+ user-select: none;
20417
+ }
20418
+
20419
+ .crewlet-diff-view__line--add .crewlet-diff-view__mark,
20420
+ .crewlet-diff-view__line--add .crewlet-diff-view__number {
20421
+ color: var(--color-diff-added-sign);
20422
+ }
20423
+
20424
+ .crewlet-diff-view__line--remove .crewlet-diff-view__mark,
20425
+ .crewlet-diff-view__line--remove .crewlet-diff-view__number {
20426
+ color: var(--color-diff-removed-sign);
20427
+ }
20428
+
20429
+ /* A number that picks its line: the number, pressable, its underline answering the pointer. */
20430
+ .crewlet-diff-view__pick {
20431
+ padding: 0;
20432
+ border: 0;
20433
+ background: none;
20434
+ font: inherit;
20435
+ cursor: pointer;
20436
+ }
20437
+
20438
+ .crewlet-diff-view__pick:hover {
20439
+ text-decoration-line: underline;
20440
+ }
20441
+
20442
+ /* A picked line: the selected tint in place of its tints and band, an accent
20443
+ bar at its start; its glyph and its run's underline stay. */
20444
+ .crewlet-diff-view__line--picked {
20445
+ background: var(--color-surface-selected);
20446
+ box-shadow: inset 2px 0 0 var(--color-brand-accent);
20447
+ outline: 2px solid transparent;
20448
+ outline-offset: -2px;
20449
+ }
20450
+
20451
+ .crewlet-diff-view__line--picked .crewlet-diff-view__number {
20452
+ color: var(--color-text-tertiary);
20382
20453
  }
20383
20454
 
20384
20455
  .crewlet-diff-view__mark {
20456
+ color: var(--color-text-secondary);
20385
20457
  text-align: center;
20386
20458
  user-select: none;
20387
20459
  }
20388
20460
 
20461
+ .crewlet-diff-view__path {
20462
+ min-width: 0;
20463
+ overflow-wrap: anywhere;
20464
+ }
20465
+
20466
+ /* Nothing is cut: a line wraps and keeps its own spacing. */
20389
20467
  .crewlet-diff-view__text {
20468
+ min-width: 0;
20390
20469
  white-space: pre-wrap;
20391
20470
  overflow-wrap: anywhere;
20392
20471
  }
20393
20472
 
20394
- .crewlet-diff-view__line--add {
20395
- background: var(--color-diff-added-row);
20473
+ /* Where an edited line changed: its word tint under the line's own ink, underlined. */
20474
+ .crewlet-diff-view__run {
20475
+ text-decoration-line: underline;
20476
+ text-decoration-thickness: from-font;
20477
+ text-underline-position: under;
20396
20478
  }
20397
20479
 
20398
- .crewlet-diff-view__line--add .crewlet-diff-view__mark {
20399
- color: var(--color-diff-added-sign);
20480
+ .crewlet-diff-view__line--add .crewlet-diff-view__run {
20481
+ background: var(--color-diff-added-word);
20482
+ color: var(--color-text-primary);
20400
20483
  }
20401
20484
 
20402
- .crewlet-diff-view__line--remove {
20403
- background: var(--color-diff-removed-row);
20485
+ .crewlet-diff-view__line--remove .crewlet-diff-view__run {
20486
+ background: var(--color-diff-removed-word);
20487
+ color: var(--color-text-primary);
20404
20488
  }
20405
20489
 
20406
- .crewlet-diff-view__line--remove .crewlet-diff-view__mark {
20407
- color: var(--color-diff-removed-sign);
20490
+ .crewlet-diff-view__line--picked .crewlet-diff-view__run {
20491
+ background: none;
20492
+ }
20493
+
20494
+ /* What a host draws under a line, on the diff's ground in the body's face. */
20495
+ .crewlet-diff-view__notes {
20496
+ display: flex;
20497
+ flex-direction: column;
20498
+ gap: var(--spacing-2);
20499
+ padding: var(--spacing-2) var(--spacing-3);
20500
+ border-block: 1px solid var(--color-border-default);
20501
+ font-family: var(--font-family-sans);
20502
+ }
20503
+
20504
+ /* A gap says what it stands for, on the hunk row. */
20505
+ .crewlet-diff-view__skip {
20506
+ padding: var(--spacing-1) var(--spacing-3);
20507
+ border-block: 1px solid var(--color-border-default);
20508
+ background: var(--color-diff-hunk-row);
20509
+ color: var(--color-text-tertiary);
20510
+ font-family: var(--font-family-sans);
20511
+ font-size: var(--font-size-xs);
20512
+ }
20513
+
20514
+ .crewlet-diff-view__block:first-child > .crewlet-diff-view__skip:first-child {
20515
+ border-block-start: none;
20516
+ }
20517
+
20518
+ /* Split: the older text on the left, the newer on the right. */
20519
+ .crewlet-diff-view__pair {
20520
+ display: grid;
20521
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
20522
+ }
20523
+
20524
+ .crewlet-diff-view__pair > :last-child {
20525
+ border-inline-start: 1px solid var(--color-border-default);
20526
+ }
20527
+
20528
+ /* A comparison not made is said in place of every row; "Nothing changed" is quieter. */
20529
+ .crewlet-diff-view__said {
20530
+ margin: 0;
20531
+ color: var(--color-text-secondary);
20532
+ font-size: var(--font-size-compact);
20533
+ }
20534
+
20535
+ .crewlet-diff-view__said--quiet {
20536
+ color: var(--color-text-tertiary);
20537
+ }
20538
+
20539
+ /* On a narrow diff a setting's value takes the row under its path. */
20540
+ @container crewlet-diff-view (width < 640px) {
20541
+ .crewlet-diff-view--keyed .crewlet-diff-view__line {
20542
+ grid-template-columns: 2ch minmax(0, 1fr);
20543
+ }
20544
+
20545
+ .crewlet-diff-view--keyed .crewlet-diff-view__text {
20546
+ grid-column: 2;
20547
+ }
20408
20548
  }
20409
20549
 
20410
20550
  /* DiffSummary: the size of the change, in the same inks as its lines. */
@@ -22867,7 +23007,7 @@ svg.crewlet-datetime__chevron {
22867
23007
  }
22868
23008
 
22869
23009
 
22870
- /* FilterPill-4GMNFZND.css */
23010
+ /* FilterPill-C6LFYCCA.css */
22871
23011
  /*
22872
23012
  * The filter pill: one filter in force, as a sentence on the accent ground.
22873
23013
  *
@@ -22953,6 +23093,13 @@ button.crewlet-filter-pill__words {
22953
23093
  color: var(--color-text-secondary);
22954
23094
  }
22955
23095
 
23096
+ /* A face before the value (`valueLeading`), never shrunk by a long value. */
23097
+ .crewlet-filter-pill__value-leading {
23098
+ display: inline-flex;
23099
+ align-items: center;
23100
+ flex: none;
23101
+ }
23102
+
22956
23103
  .crewlet-filter-pill__value {
22957
23104
  min-width: 0;
22958
23105
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.151.0",
3
+ "version": "0.153.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.151.0",
46
- "@crewlethq/tokens": "0.151.0",
45
+ "@crewlethq/icons": "0.153.0",
46
+ "@crewlethq/tokens": "0.153.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",