@crewlethq/ui 0.72.0 → 0.74.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 (81) hide show
  1. package/README.md +10 -2
  2. package/dist/AgentHandoffPanel/index.js +4 -4
  3. package/dist/ArrangeFrame/index.js +2 -2
  4. package/dist/ArrangeList/index.js +4 -4
  5. package/dist/ArtifactCard/index.js +4 -4
  6. package/dist/Checkbox/index.js +3 -3
  7. package/dist/ColorField/index.js +3 -3
  8. package/dist/Combobox/index.js +3 -3
  9. package/dist/CommandPalette/index.js +3 -3
  10. package/dist/CommentThread/index.js +4 -4
  11. package/dist/Composer/index.js +3 -3
  12. package/dist/ConfirmField/index.js +3 -3
  13. package/dist/DataGrid/index.js +4 -4
  14. package/dist/DataTable/index.js +4 -4
  15. package/dist/DataView/index.js +5 -5
  16. package/dist/DocTabsEditor/index.js +3 -3
  17. package/dist/{Editor-6PBP444G.js → Editor-WZ5L4BI2.js} +3 -3
  18. package/dist/Input/index.js +2 -2
  19. package/dist/ListInput/index.js +3 -3
  20. package/dist/PrincipalPicker/index.js +4 -4
  21. package/dist/ProposalCard/index.js +4 -4
  22. package/dist/ReadingPane/ReadingPane.d.ts +13 -3
  23. package/dist/ReadingPane/index.js +1 -1
  24. package/dist/{ReadingPane-5UOLPWY5.css → ReadingPane-VLYOWMCM.css} +5 -0
  25. package/dist/RecordChip/RecordChip.d.ts +46 -0
  26. package/dist/RecordChip/RecordChipList.d.ts +17 -0
  27. package/dist/RecordChip/index.d.ts +5 -0
  28. package/dist/RecordChip/index.js +6 -0
  29. package/dist/RecordChip-53J66RA6.css +184 -0
  30. package/dist/ResultTableCard/index.js +2 -2
  31. package/dist/RichEditor/index.js +1 -1
  32. package/dist/SelectionBar/index.js +2 -2
  33. package/dist/SheetColumnEditor/index.js +4 -4
  34. package/dist/SheetGrid/index.js +1 -1
  35. package/dist/SlideFilmstrip/index.js +1 -1
  36. package/dist/Switcher/index.js +3 -3
  37. package/dist/Table/Table.d.ts +29 -2
  38. package/dist/Table/index.js +1 -1
  39. package/dist/{Table-RUYMMWXT.css → Table-MN3FIA2O.css} +28 -0
  40. package/dist/TagsInput/index.js +2 -2
  41. package/dist/TimeRangePicker/index.js +3 -3
  42. package/dist/TimeWindowPicker/index.js +3 -3
  43. package/dist/ValueField/index.js +4 -4
  44. package/dist/{chunk-4HCYBQ6B.js → chunk-3EETQFAM.js} +1 -1
  45. package/dist/{chunk-OSMR6TSC.js → chunk-3EY5SEGH.js} +1 -1
  46. package/dist/{chunk-H6S6NRZL.js → chunk-4MVLED6E.js} +1 -1
  47. package/dist/{chunk-NATDVYEY.js → chunk-5OFRDX66.js} +1 -1
  48. package/dist/{chunk-EKZFB34W.js → chunk-6C6YK75K.js} +1 -1
  49. package/dist/chunk-75NQV4R4.js +72 -0
  50. package/dist/{chunk-BW6MQO2B.js → chunk-75S74BBK.js} +1 -1
  51. package/dist/{chunk-J7INWERB.js → chunk-7LSSYHOT.js} +1 -1
  52. package/dist/{chunk-I7YQNRTQ.js → chunk-ADSOY7UM.js} +1 -1
  53. package/dist/chunk-BFM5G2Z6.js +60 -0
  54. package/dist/{chunk-YAL6VBRK.js → chunk-BWAUL5MB.js} +2 -2
  55. package/dist/{chunk-HGWHIUZ5.js → chunk-BWFJB5JD.js} +1 -1
  56. package/dist/{chunk-LEM3ZY35.js → chunk-FURJVZCT.js} +1 -1
  57. package/dist/{chunk-52D5EFHL.js → chunk-H32JW6CZ.js} +2 -2
  58. package/dist/{chunk-AMYU5W2H.js → chunk-J5WWMC35.js} +2 -2
  59. package/dist/{chunk-LQXYAB2Q.js → chunk-JVII5264.js} +1 -1
  60. package/dist/{chunk-SO5SXSTP.js → chunk-JXJNX7QQ.js} +1 -1
  61. package/dist/{chunk-AWQQ5I34.js → chunk-KAA3GFTP.js} +2 -2
  62. package/dist/{chunk-F5QBQP63.js → chunk-LQWORB5B.js} +2 -2
  63. package/dist/{chunk-IXPC5D36.js → chunk-MFQPGMJT.js} +1 -1
  64. package/dist/{chunk-SPWBT7FE.js → chunk-NXNLAZPK.js} +1 -1
  65. package/dist/{chunk-FFWMTIMH.js → chunk-PBCNINMB.js} +1 -1
  66. package/dist/{chunk-ZAJHGDAW.js → chunk-Q7N2ATMC.js} +26 -7
  67. package/dist/{chunk-YZSG3JIY.js → chunk-TWJERLT3.js} +1 -1
  68. package/dist/{chunk-O4NQVNO5.js → chunk-W5AXJWOW.js} +1 -1
  69. package/dist/{chunk-FX7FDPCM.js → chunk-YGWIWDXE.js} +1 -1
  70. package/dist/{chunk-OFARYSWS.js → chunk-ZUBFVK6B.js} +1 -1
  71. package/dist/generated/index.d.ts +1 -0
  72. package/dist/generated/index.js +51 -50
  73. package/dist/index.js +51 -50
  74. package/dist/styles.css +222 -2
  75. package/package.json +3 -3
  76. package/dist/chunk-5DJMFRSZ.js +0 -58
  77. package/dist/{chunk-ABZC3NLM.js → chunk-ABGLGAFJ.js} +0 -0
  78. package/dist/{chunk-ZMML6NRS.js → chunk-ETSF7SU6.js} +1 -1
  79. package/dist/{chunk-5VMAJAVF.js → chunk-HEIOLITO.js} +1 -1
  80. package/dist/{chunk-V2EV56MY.js → chunk-L4HHWG4V.js} +1 -1
  81. package/dist/{chunk-I4IO56EY.js → chunk-PLNJEDGI.js} +1 -1
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
- import './chunk-ABZC3NLM.js';
1
+ import './chunk-ABGLGAFJ.js';
2
+ export { WidgetFrame } from './chunk-S5QJZOPL.js';
2
3
  export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from './chunk-FEJANUZK.js';
3
4
  export { TreeCanvas } from './chunk-JQEXAH7G.js';
4
5
  export { TypeSpecimen } from './chunk-JKAFEFFC.js';
5
- export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-YAL6VBRK.js';
6
+ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-BWAUL5MB.js';
6
7
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-EOXI3CRG.js';
7
8
  export { VersionTimeline } from './chunk-O3HCFM3D.js';
8
- export { WidgetFrame } from './chunk-S5QJZOPL.js';
9
+ export { ThinkingIndicator } from './chunk-M73MMEZY.js';
9
10
  export { TileGrid } from './chunk-Q6CQMS6R.js';
10
- export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-H6S6NRZL.js';
11
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-I7YQNRTQ.js';
11
+ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-4MVLED6E.js';
12
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-ADSOY7UM.js';
12
13
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-JIBWNHTC.js';
13
- export { TagsInput } from './chunk-5VMAJAVF.js';
14
+ export { TagsInput } from './chunk-HEIOLITO.js';
14
15
  export { ThemeGallery } from './chunk-LWFOX3PB.js';
15
16
  export { ThemeSwatch } from './chunk-3XQUEF5C.js';
16
- export { ThemeToggle } from './chunk-IPMJGK2Q.js';
17
- export { ThinkingIndicator } from './chunk-M73MMEZY.js';
18
17
  export { DensitySwitcher, ThemeSwitcher } from './chunk-VWMB3CJN.js';
18
+ export { ThemeToggle } from './chunk-IPMJGK2Q.js';
19
19
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
20
- export { Switcher } from './chunk-F5QBQP63.js';
20
+ export { Switcher } from './chunk-LQWORB5B.js';
21
21
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell } from './chunk-AGLONIVV.js';
22
22
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-4TMBAOXK.js';
23
23
  export { StatCard } from './chunk-G5IZGAWS.js';
@@ -28,40 +28,42 @@ import './chunk-73GUXYYE.js';
28
28
  export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-DV5L2GRY.js';
29
29
  export { SlideFilmstrip } from './chunk-TPCBPGSB.js';
30
30
  export { SlideGrid } from './chunk-7MGXHCVK.js';
31
- export { SelectionBar } from './chunk-V2EV56MY.js';
31
+ export { SelectionBar } from './chunk-L4HHWG4V.js';
32
32
  export { SEND_BUTTON_LABELS, SendButton } from './chunk-T2GC7UAP.js';
33
33
  export { SettingsTable, SettingsTableRow } from './chunk-4RKTZSEW.js';
34
34
  export { SetupWizard } from './chunk-SBHAKX2T.js';
35
35
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-73SAOOR5.js';
36
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-AWQQ5I34.js';
36
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-KAA3GFTP.js';
37
+ export { Select } from './chunk-VK45YJLH.js';
37
38
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-EN4UJQ63.js';
38
39
  export { TagGroup } from './chunk-UEOEBOBR.js';
40
+ export { canonicalMarkdown, roundTripMarkdown } from './chunk-SWD4QBL6.js';
41
+ import './chunk-QH6VYJ3X.js';
39
42
  export { RUN_STATES, RunChip } from './chunk-PIAGTZY3.js';
40
43
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-DGSK4LLS.js';
41
44
  export { SearchTrigger } from './chunk-ERNT3UTB.js';
42
45
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-G4CGDUCP.js';
43
46
  export { NavGroup, NavItem, SidebarNav } from './chunk-WCDPFTJZ.js';
44
47
  export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
45
- export { Select } from './chunk-VK45YJLH.js';
48
+ export { RecordChip, RecordChipList } from './chunk-BFM5G2Z6.js';
46
49
  export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-RQHN4J5P.js';
47
50
  export { RelatedRow } from './chunk-CNEHFH2A.js';
48
51
  export { Text } from './chunk-QP2P6GDQ.js';
49
- export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-SO5SXSTP.js';
50
- export { Table } from './chunk-5DJMFRSZ.js';
52
+ export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-JXJNX7QQ.js';
53
+ export { Table } from './chunk-75NQV4R4.js';
51
54
  export { ReviewList } from './chunk-DO4J4TBZ.js';
52
- export { RichEditor, preloadRichEditor } from './chunk-BW6MQO2B.js';
55
+ export { RichEditor, preloadRichEditor } from './chunk-75S74BBK.js';
53
56
  export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-CSQTDGTS.js';
54
- export { canonicalMarkdown, roundTripMarkdown } from './chunk-SWD4QBL6.js';
55
- import './chunk-QH6VYJ3X.js';
57
+ export { PrincipalPicker } from './chunk-MFQPGMJT.js';
56
58
  export { PropertyList } from './chunk-HIWPPWNY.js';
57
- export { PrincipalPicker } from './chunk-IXPC5D36.js';
58
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-OSMR6TSC.js';
59
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-3EY5SEGH.js';
59
60
  export { Prose } from './chunk-DVVP27OD.js';
60
61
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
61
- export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-ZAJHGDAW.js';
62
+ export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-Q7N2ATMC.js';
63
+ export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-SMZPUHBL.js';
62
64
  export { PinTile } from './chunk-LJ3KWQLP.js';
63
- 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-CDNZTCP2.js';
64
65
  export { PresenceStack } from './chunk-EVXXY75R.js';
66
+ import './chunk-CENOOTAV.js';
65
67
  export { PresenterView, formatStopwatch } from './chunk-PRN5IP2R.js';
66
68
  export { SLIDE_NAV_LABELS, SlideNav } from './chunk-5AJR6X75.js';
67
69
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-RMEBFYL7.js';
@@ -74,8 +76,7 @@ export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, lay
74
76
  export { OrgLabel } from './chunk-ONQKKHON.js';
75
77
  export { Outline, scrollToHeading, useActiveHeading } from './chunk-A5YKNRG6.js';
76
78
  export { PageNote } from './chunk-CV4NES3P.js';
77
- export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-SMZPUHBL.js';
78
- import './chunk-CENOOTAV.js';
79
+ 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-CDNZTCP2.js';
79
80
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-3WN5HUAK.js';
80
81
  export { MessageBubble } from './chunk-KAQ2L74F.js';
81
82
  export { NewItemsNotice } from './chunk-463DNZXI.js';
@@ -83,8 +84,8 @@ export { FactLine, ObjectHeader, SetByLine } from './chunk-S7WG53JB.js';
83
84
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
84
85
  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';
85
86
  export { LockedLabel } from './chunk-TEV5REGB.js';
86
- export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-BAKPMH3S.js';
87
87
  export { LogoSlot, LogoSlotGroup } from './chunk-YUHKRRWO.js';
88
+ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-BAKPMH3S.js';
88
89
  export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-ERFXYGRF.js';
89
90
  export { LAYERS_LIST_LABELS, LayersList } from './chunk-VUYNNILP.js';
90
91
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
@@ -92,8 +93,8 @@ export { Link } from './chunk-QF5UNP4T.js';
92
93
  export { LinkInterstitial, openExternal } from './chunk-JD7P2GJP.js';
93
94
  export { List, ListItem } from './chunk-PS5ZYIA6.js';
94
95
  export { ListDetail } from './chunk-YBC2CYPD.js';
95
- export { ListInput, withDraft } from './chunk-52D5EFHL.js';
96
- export { IconTile } from './chunk-3LI4TRUR.js';
96
+ export { ListInput, withDraft } from './chunk-H32JW6CZ.js';
97
+ export { ImageUpload } from './chunk-56IFLQGF.js';
97
98
  export { InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-QPHD4UUG.js';
98
99
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
99
100
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-4DL2BQJE.js';
@@ -104,7 +105,7 @@ export { IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-W5XCNEZC.js';
104
105
  export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
105
106
  import './chunk-MICRGE3J.js';
106
107
  import './chunk-FFMCMSJB.js';
107
- export { ImageUpload } from './chunk-56IFLQGF.js';
108
+ export { IconTile } from './chunk-3LI4TRUR.js';
108
109
  export { Eyebrow } from './chunk-RK4XPHVG.js';
109
110
  export { FactList } from './chunk-CSXJIIO4.js';
110
111
  export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-KQWJWTED.js';
@@ -112,9 +113,8 @@ export { FileList } from './chunk-5WRWBDML.js';
112
113
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-IWZG7NPV.js';
113
114
  export { FindingList } from './chunk-LSRQ2A6B.js';
114
115
  export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-WTXCK46H.js';
115
- export { DownloadButton } from './chunk-EHFQMY3B.js';
116
- export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
117
116
  export { EditingStatus } from './chunk-VLGGLLKH.js';
117
+ export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-AOFVXE6V.js';
118
118
  export { EntityChip } from './chunk-OSKJZNBT.js';
119
119
  export { EntityList } from './chunk-7IW3P6FH.js';
120
120
  export { ErrorBoundary } from './chunk-IJ7KLXUZ.js';
@@ -123,23 +123,24 @@ export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepD
123
123
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-ZWCK4N4L.js';
124
124
  export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-RQFRRPV6.js';
125
125
  export { DescriptionList, DescriptionListItem } from './chunk-MFS6F2P7.js';
126
- export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-AOFVXE6V.js';
127
126
  export { DirectoryList } from './chunk-SRDNGGZE.js';
128
127
  export { Divider } from './chunk-6KWNXIDE.js';
129
- export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-O4NQVNO5.js';
128
+ export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-W5AXJWOW.js';
129
+ export { DownloadButton } from './chunk-EHFQMY3B.js';
130
+ export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
130
131
  export { CursorFlag } from './chunk-MMCYH5LB.js';
131
132
  export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
132
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, useAnyDataGridDriving, useDataGridDriving } from './chunk-LEM3ZY35.js';
133
- export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-AMYU5W2H.js';
133
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, useAnyDataGridDriving, useDataGridDriving } from './chunk-FURJVZCT.js';
134
+ export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-R6K62EXV.js';
135
+ export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-J5WWMC35.js';
134
136
  export { PageHeader } from './chunk-FPDIHEM4.js';
135
137
  export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-K4LZXSKZ.js';
136
- export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-HGWHIUZ5.js';
137
- export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-R6K62EXV.js';
138
+ export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-BWFJB5JD.js';
138
139
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-HPI5J6AR.js';
139
- export { CommandPalette } from './chunk-SPWBT7FE.js';
140
+ export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-YGWIWDXE.js';
141
+ export { CommandPalette } from './chunk-NXNLAZPK.js';
140
142
  export { ConfirmModal, Modal } from './chunk-C667GCU7.js';
141
- export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-FX7FDPCM.js';
142
- export { ConfirmField, confirmMatches } from './chunk-LQXYAB2Q.js';
143
+ export { ConfirmField, confirmMatches } from './chunk-JVII5264.js';
143
144
  export { InlineCode } from './chunk-PLL7ZJHY.js';
144
145
  export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-B3PK2LND.js';
145
146
  export { Container } from './chunk-HJO4WCH6.js';
@@ -149,12 +150,12 @@ export { ChoiceButtons } from './chunk-7SYEOJLP.js';
149
150
  export { ChoiceList } from './chunk-NQABJAUY.js';
150
151
  export { CodeBlock } from './chunk-QSWQJX27.js';
151
152
  export { ColorChip } from './chunk-6GTTRJWJ.js';
152
- export { ColorField } from './chunk-J7INWERB.js';
153
+ export { ColorField } from './chunk-7LSSYHOT.js';
153
154
  export { ColorSwatch } from './chunk-6FBPFG3C.js';
154
155
  export { CopyButton, Copyable } from './chunk-T5GBTXNC.js';
155
156
  export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
156
157
  export { useOutcome } from './chunk-DTIW4CHZ.js';
157
- export { Combobox } from './chunk-OFARYSWS.js';
158
+ export { Combobox } from './chunk-ZUBFVK6B.js';
158
159
  export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
159
160
  export { CatalogTile } from './chunk-QE4OIE3Q.js';
160
161
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-WQRSZMN4.js';
@@ -168,8 +169,8 @@ export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chu
168
169
  export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BriefCard } from './chunk-4KSCGXLJ.js';
169
170
  export { SuggestionList, SuggestionRow } from './chunk-Y7PVLEZJ.js';
170
171
  export { StatusCard } from './chunk-NTQPJJAN.js';
171
- export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
172
172
  export { Callout } from './chunk-BPCY7ZID.js';
173
+ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
173
174
  export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-FQI62PIZ.js';
174
175
  export { Note } from './chunk-5SZGKSGL.js';
175
176
  export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
@@ -196,10 +197,10 @@ export { ArtifactNameCell } from './chunk-4MRFLHJC.js';
196
197
  export { AsideLayout } from './chunk-QOXLP5PE.js';
197
198
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-3N36CYTU.js';
198
199
  export { Tag } from './chunk-I5OIKDX2.js';
199
- export { ArrangeFrame, useGridResize } from './chunk-I4IO56EY.js';
200
+ export { ArrangeFrame, useGridResize } from './chunk-PLNJEDGI.js';
200
201
  export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
201
202
  export { ArrangeGroup } from './chunk-CYYBE2MM.js';
202
- export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-YZSG3JIY.js';
203
+ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-TWJERLT3.js';
203
204
  export { Switch } from './chunk-3XDT5ZWL.js';
204
205
  export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-MPVMB2DV.js';
205
206
  export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from './chunk-TKBFRGUV.js';
@@ -210,7 +211,7 @@ export { TabPanel, Tabs, tabId } from './chunk-IPUEVTRJ.js';
210
211
  import './chunk-EGMQURBR.js';
211
212
  export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from './chunk-AVL52EME.js';
212
213
  export { StatusDot } from './chunk-WIATRXEJ.js';
213
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-4HCYBQ6B.js';
214
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-3EETQFAM.js';
214
215
  export { Skeleton } from './chunk-BRLZXYPA.js';
215
216
  export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-CI3VPIJN.js';
216
217
  export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from './chunk-EJNJMHQG.js';
@@ -220,7 +221,7 @@ export { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
220
221
  export { AvatarStack, avatarStackLabel } from './chunk-BKP6XCAJ.js';
221
222
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-PZKHBB7D.js';
222
223
  export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-NHLNHH4J.js';
223
- export { Checkbox, CheckboxGroup } from './chunk-FFWMTIMH.js';
224
+ export { Checkbox, CheckboxGroup } from './chunk-PBCNINMB.js';
224
225
  export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
225
226
  export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-R45VM5EX.js';
226
227
  export { Document, DocumentTitle, DocumentTitleField } from './chunk-BXCL6P5Z.js';
@@ -229,19 +230,20 @@ export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
229
230
  export { EmptyState } from './chunk-PPUR46MK.js';
230
231
  export { Accordion, AccordionItem } from './chunk-5NJMSYDZ.js';
231
232
  export { ADD_PILL_MS, AddPill } from './chunk-CVKANYHD.js';
232
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-EKZFB34W.js';
233
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-6C6YK75K.js';
233
234
  export { Timeline, TimelineItem } from './chunk-4MJN2KN6.js';
234
235
  export { Section } from './chunk-WFCWPXJN.js';
235
- export { COMPOSER_COUNTER_AT, Composer } from './chunk-NATDVYEY.js';
236
+ export { COMPOSER_COUNTER_AT, Composer } from './chunk-5OFRDX66.js';
236
237
  export { Disclosure } from './chunk-222VILSP.js';
237
238
  export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './chunk-FFGEJUAP.js';
238
239
  export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from './chunk-CLJGFOTV.js';
239
240
  export { Kbd, isApplePlatform, keyGlyph } from './chunk-ANTAQAR4.js';
240
- export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from './chunk-ZMML6NRS.js';
241
+ export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from './chunk-ETSF7SU6.js';
241
242
  export { CHARACTER_COUNT_LABELS, CHARACTER_COUNT_NEAR, CharacterCount, characterCountState, countCharacters } from './chunk-PGCLHYVP.js';
242
243
  export { DisclosureAnatomy } from './chunk-IVTQWOXV.js';
243
244
  export { Count } from './chunk-MLDTLZAO.js';
244
245
  export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from './chunk-PQADV6P6.js';
246
+ export { Announcer, announce, useAnnouncer } from './chunk-2G355KDJ.js';
245
247
  export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-UY3FWQWG.js';
246
248
  export { useMediaMatch } from './chunk-RTPQDNW3.js';
247
249
  export { Menu } from './chunk-OQG4P5KU.js';
@@ -253,7 +255,6 @@ export { Spinner } from './chunk-XSPCITPN.js';
253
255
  export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from './chunk-H5XTJ7GJ.js';
254
256
  export { IconButton, IconButtonLink } from './chunk-UAUP6XGK.js';
255
257
  export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, returnFocus, trackFocusModality, useFocusModality } from './chunk-NUZHC6MM.js';
256
- export { ArrangeBoard } from './chunk-QO7QEQKV.js';
257
- export { Announcer, announce, useAnnouncer } from './chunk-2G355KDJ.js';
258
258
  export { VisuallyHidden } from './chunk-UT6CW3C7.js';
259
+ export { ArrangeBoard } from './chunk-QO7QEQKV.js';
259
260
  export { cx } from './chunk-ODEQTPFM.js';
package/dist/styles.css CHANGED
@@ -27738,7 +27738,7 @@ button.crewlet-presence-stack__member:focus-visible {
27738
27738
  }
27739
27739
 
27740
27740
 
27741
- /* ReadingPane-5UOLPWY5.css */
27741
+ /* ReadingPane-VLYOWMCM.css */
27742
27742
  /*
27743
27743
  * One item read in full, in one column.
27744
27744
  *
@@ -27911,6 +27911,11 @@ button.crewlet-presence-stack__member:focus-visible {
27911
27911
  flex: none;
27912
27912
  }
27913
27913
 
27914
+ /* Accepted and on its way, not done: the secondary ink, never the success one. */
27915
+ .crewlet-reading-pane__outcome--pending {
27916
+ color: var(--color-text-secondary);
27917
+ }
27918
+
27914
27919
  .crewlet-reading-pane__outcome strong {
27915
27920
  font-weight: var(--font-weight-medium);
27916
27921
  color: var(--color-text-primary);
@@ -28040,6 +28045,193 @@ button.crewlet-presence-stack__member:focus-visible {
28040
28045
  }
28041
28046
 
28042
28047
 
28048
+ /* RecordChip-53J66RA6.css */
28049
+ /*
28050
+ * A record inside a sentence. The text's own size on the text's own
28051
+ * baseline, so a line holding one is no taller than a line without: a quiet
28052
+ * hairline, the inset ground, and the key in mono.
28053
+ */
28054
+ .crewlet-record-chip {
28055
+ display: inline-flex;
28056
+ align-items: center;
28057
+ gap: var(--spacing-1);
28058
+ max-width: 100%;
28059
+ margin: 0 1px;
28060
+ padding: 0 var(--spacing-1);
28061
+ border: 1px solid var(--color-border-default);
28062
+ border-radius: var(--radius-xs);
28063
+ background: var(--color-surface-inset);
28064
+ color: var(--color-text-primary);
28065
+ font: inherit;
28066
+ font-weight: var(--font-weight-medium);
28067
+ /*
28068
+ * EXACTLY ONE OF THE LINE'S OWN LINES, hairline included: `1lh` is the
28069
+ * line-height the chip inherits, and the two pixels are its top and bottom
28070
+ * border. At the snug step a label chip stood 20.2px in a 19.5px line and
28071
+ * moved every line it sat on by a pixel.
28072
+ */
28073
+ line-height: calc(1lh - 2px);
28074
+ /*
28075
+ * TOP, NOT BASELINE: a key chip's text is mono at the micro step under the
28076
+ * parent's absolute leading, and on the baseline it sat about a pixel off
28077
+ * its neighbours' and pushed its line to 20.5px. At the line's top it is
28078
+ * the line's own height (19.5px in a 19.5px line) with the key within half
28079
+ * a pixel of the surrounding baseline.
28080
+ */
28081
+ vertical-align: top;
28082
+ cursor: pointer;
28083
+ transition:
28084
+ background var(--motion-duration-fast) var(--motion-easing-default),
28085
+ border-color var(--motion-duration-fast) var(--motion-easing-default);
28086
+ }
28087
+
28088
+ .crewlet-record-chip:hover,
28089
+ .crewlet-record-chip[data-open] {
28090
+ border-color: var(--color-border-hover);
28091
+ background: var(--color-surface-hover);
28092
+ }
28093
+
28094
+ /* The chip draws its own hairline, so the ring lands on it rather than standing off it. */
28095
+ .crewlet-record-chip:focus-visible {
28096
+ outline: 2px solid var(--color-focus);
28097
+ outline-offset: var(--size-focus-ring-inset-offset);
28098
+ }
28099
+
28100
+ .crewlet-record-chip--code .crewlet-record-chip__text {
28101
+ font-family: var(--font-family-mono);
28102
+ font-size: var(--font-size-xs);
28103
+ }
28104
+
28105
+ .crewlet-record-chip__text {
28106
+ min-width: 0;
28107
+ overflow: hidden;
28108
+ text-overflow: ellipsis;
28109
+ white-space: nowrap;
28110
+ }
28111
+
28112
+ .crewlet-record-chip__glyph {
28113
+ display: inline-flex;
28114
+ flex: none;
28115
+ color: var(--color-text-tertiary);
28116
+ }
28117
+
28118
+ /* THE PEEK: a name, a few facts and the way to it, at the panel's own inset. */
28119
+ .crewlet-popover.crewlet-record-chip__peek {
28120
+ display: flex;
28121
+ flex-direction: column;
28122
+ gap: var(--spacing-2);
28123
+ max-height: min(420px, 70vh);
28124
+ padding: var(--spacing-3);
28125
+ font-size: var(--font-size-compact);
28126
+ color: var(--color-text-primary);
28127
+ }
28128
+
28129
+ .crewlet-record-chip__head {
28130
+ display: flex;
28131
+ align-items: flex-start;
28132
+ gap: var(--spacing-2);
28133
+ }
28134
+
28135
+ .crewlet-record-chip__head-glyph {
28136
+ display: inline-flex;
28137
+ flex: none;
28138
+ align-items: center;
28139
+ height: 1lh;
28140
+ color: var(--color-text-tertiary);
28141
+ }
28142
+
28143
+ .crewlet-record-chip__head-words {
28144
+ display: flex;
28145
+ flex-direction: column;
28146
+ gap: 2px;
28147
+ min-width: 0;
28148
+ }
28149
+
28150
+ .crewlet-record-chip__name {
28151
+ margin: 0;
28152
+ font-weight: var(--font-weight-medium);
28153
+ line-height: var(--font-line-height-normal);
28154
+ }
28155
+
28156
+ .crewlet-record-chip__name-code {
28157
+ font-family: var(--font-family-mono);
28158
+ font-size: var(--font-size-xs);
28159
+ font-weight: var(--font-weight-regular);
28160
+ color: var(--color-text-secondary);
28161
+ }
28162
+
28163
+ .crewlet-record-chip__meta {
28164
+ margin: 0;
28165
+ font-size: var(--font-size-xs);
28166
+ color: var(--color-text-tertiary);
28167
+ }
28168
+
28169
+ .crewlet-record-chip__body {
28170
+ display: flex;
28171
+ flex-direction: column;
28172
+ gap: var(--spacing-2);
28173
+ min-width: 0;
28174
+ }
28175
+
28176
+ /* Utilities start on the text edge, a ghost button's padding pulled into the gutter. */
28177
+ .crewlet-record-chip__actions {
28178
+ display: flex;
28179
+ flex-wrap: wrap;
28180
+ align-items: center;
28181
+ gap: var(--spacing-1);
28182
+ margin-inline-start: calc(-1 * (var(--spacing-2) + 1px));
28183
+ }
28184
+
28185
+ @media (prefers-reduced-motion: reduce) {
28186
+ .crewlet-record-chip {
28187
+ transition: none;
28188
+ }
28189
+ }
28190
+
28191
+ /* THE ALSO READ LINE: a caption-register lead and the chips after it, wrapping. */
28192
+ .crewlet-record-chip-list {
28193
+ display: flex;
28194
+ flex-wrap: wrap;
28195
+ align-items: baseline;
28196
+ gap: var(--spacing-1) var(--spacing-2);
28197
+ min-width: 0;
28198
+ font-size: var(--font-size-xs);
28199
+ line-height: var(--font-line-height-normal);
28200
+ color: var(--color-text-secondary);
28201
+ }
28202
+
28203
+ .crewlet-record-chip-list__label {
28204
+ flex: none;
28205
+ }
28206
+
28207
+ /*
28208
+ * THE LIST IS THE WRAPPING ROW. Not `display: contents`, which older WebKit
28209
+ * and Chromium drop from the accessibility tree along with the list's name,
28210
+ * so "Also read, list, 3 items" was never said.
28211
+ */
28212
+ .crewlet-record-chip-list__items {
28213
+ display: flex;
28214
+ flex: 1 1 auto;
28215
+ flex-wrap: wrap;
28216
+ align-items: baseline;
28217
+ gap: var(--spacing-1) var(--spacing-2);
28218
+ min-width: 0;
28219
+ margin: 0;
28220
+ padding: 0;
28221
+ list-style: none;
28222
+ }
28223
+
28224
+ .crewlet-record-chip-list__item {
28225
+ display: inline-flex;
28226
+ min-width: 0;
28227
+ max-width: 100%;
28228
+ }
28229
+
28230
+ .crewlet-record-chip-list .crewlet-record-chip {
28231
+ margin: 0;
28232
+ }
28233
+
28234
+
28043
28235
  /* RefusalCard-UM67F5HB.css */
28044
28236
  /* The first sentence carries the weight; "Nothing changed." closes in the secondary ink. */
28045
28237
  .crewlet-refusal-card__heading {
@@ -36303,7 +36495,7 @@ b.crewlet-switcher__match {
36303
36495
  }
36304
36496
 
36305
36497
 
36306
- /* Table-RUYMMWXT.css */
36498
+ /* Table-MN3FIA2O.css */
36307
36499
  /*
36308
36500
  * Table: the operator's table, on the elements a table is made of.
36309
36501
  *
@@ -36523,6 +36715,34 @@ b.crewlet-switcher__match {
36523
36715
  }
36524
36716
  }
36525
36717
 
36718
+ /*
36719
+ * COLUMNS SIZED BY THEIR WORDS (`columns="content"`), for a result read
36720
+ * beside an answer. Each column takes the room its words ask for, so a short
36721
+ * key keeps its line and the longest text takes the most and wraps between
36722
+ * words. A token longer than the table (a digest, a URL) wraps ANYWHERE: with
36723
+ * `break-word` it did not, because under an auto layout a word's whole width
36724
+ * is the column's minimum, and a sha256 in a 350px table pushed it to 606px.
36725
+ * `anywhere` lets the minimum shrink to a character. The figures (`end`
36726
+ * columns) and the nowrap columns never wrap, and the figures stay tabular.
36727
+ */
36728
+ .crewlet-table--content .crewlet-table__table {
36729
+ table-layout: auto;
36730
+ font-variant-numeric: tabular-nums;
36731
+ }
36732
+
36733
+ .crewlet-table--content td:not(.crewlet-table__cell--nowrap, .crewlet-table__cell--end) {
36734
+ overflow-wrap: anywhere;
36735
+ }
36736
+
36737
+ .crewlet-table--content .crewlet-table__cell--end {
36738
+ white-space: nowrap;
36739
+ }
36740
+
36741
+ /* A column of short tokens (a task's key) keeps each on one line; only content columns offer it. */
36742
+ .crewlet-table--content .crewlet-table__cell--nowrap {
36743
+ white-space: nowrap;
36744
+ }
36745
+
36526
36746
 
36527
36747
  /* TableCells-TKSNLRK3.css */
36528
36748
  /* The read-only table cells. Each one holds a single line and shrinks inside
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.72.0",
3
+ "version": "0.74.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.72.0",
46
- "@crewlethq/tokens": "0.72.0",
45
+ "@crewlethq/icons": "0.74.0",
46
+ "@crewlethq/tokens": "0.74.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,58 +0,0 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
- import { cx } from './chunk-ODEQTPFM.js';
3
- import './Table-RUYMMWXT.css';
4
- import { jsxs, jsx } from 'react/jsx-runtime';
5
-
6
- var Table = ({
7
- headers,
8
- data,
9
- caption,
10
- captionHidden = false,
11
- emptyMessage = "No data available",
12
- actionButton,
13
- maxHeight,
14
- align,
15
- footer,
16
- framed = true,
17
- className = ""
18
- }) => {
19
- const columnCount = Math.max(1, headers.length);
20
- const edge = (index) => align?.[index] === "end" ? "crewlet-table__cell--end" : void 0;
21
- return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-table", !framed && "crewlet-table--flush", className), children: [
22
- /* @__PURE__ */ jsx(
23
- "div",
24
- {
25
- className: "crewlet-table__container",
26
- style: (
27
- // Only the height: the stylesheet scrolls both axes unconditionally,
28
- // because with `overflow-x: auto` declared beside it a `visible`
29
- // vertical axis was never reachable. See Table.css.
30
- maxHeight ? { "--crewlet-table-max-height": maxHeight } : void 0
31
- ),
32
- children: /* @__PURE__ */ jsxs("table", { className: "crewlet-table__table", children: [
33
- caption != null && (captionHidden ? /* @__PURE__ */ jsx("caption", { children: /* @__PURE__ */ jsx(VisuallyHidden, { children: caption }) }) : /* @__PURE__ */ jsx("caption", { className: "crewlet-table__caption", children: caption })),
34
- /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { className: "crewlet-table__header", children: headers.map((header, index) => (
35
- // The index is the key because a header is a position: the
36
- // columns of one table do not reorder between renders.
37
- /* @__PURE__ */ jsx("th", { scope: "col", className: edge(index), children: header }, index)
38
- )) }) }),
39
- /* @__PURE__ */ jsx("tbody", { children: data && data.length > 0 ? data.map((row, rowIndex) => /* @__PURE__ */ jsx("tr", { className: "crewlet-table__row", children: row.map((cell, cellIndex) => /* @__PURE__ */ jsx("td", { className: edge(cellIndex), children: cell }, cellIndex)) }, rowIndex)) : /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { className: "crewlet-table__empty", colSpan: columnCount, children: emptyMessage }) }) }),
40
- footer && footer.length > 0 ? /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx("tr", { className: "crewlet-table__footer", children: footer.map(
41
- (cell, index) => index === 0 ? /* @__PURE__ */ jsx("th", { scope: "row", className: edge(index), children: cell }, index) : /* @__PURE__ */ jsx("td", { className: edge(index), children: cell }, index)
42
- ) }) }) : null
43
- ] })
44
- }
45
- ),
46
- actionButton && /* @__PURE__ */ jsx(
47
- "button",
48
- {
49
- type: "button",
50
- className: "crewlet-table__action-btn",
51
- onClick: actionButton.onClick,
52
- children: /* @__PURE__ */ jsx("span", { className: "crewlet-table__action-text", children: actionButton.label })
53
- }
54
- )
55
- ] });
56
- };
57
-
58
- export { Table };
File without changes
@@ -1,9 +1,9 @@
1
1
  import { characterCountState, CharacterCount } from './chunk-PGCLHYVP.js';
2
2
  import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
3
+ import { announce } from './chunk-2G355KDJ.js';
3
4
  import { isComposing } from './chunk-H5XTJ7GJ.js';
4
5
  import { IconButton } from './chunk-UAUP6XGK.js';
5
6
  import { useFocusModality } from './chunk-NUZHC6MM.js';
6
- import { announce } from './chunk-2G355KDJ.js';
7
7
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './Input-GEFFMKBS.css';
@@ -1,9 +1,9 @@
1
1
  import { useListbox } from './chunk-7KHM2FZH.js';
2
2
  import { Tag } from './chunk-I5OIKDX2.js';
3
+ import { announce } from './chunk-2G355KDJ.js';
3
4
  import { isComposing } from './chunk-H5XTJ7GJ.js';
4
5
  import { IconButton } from './chunk-UAUP6XGK.js';
5
6
  import { useFocusModality } from './chunk-NUZHC6MM.js';
6
- import { announce } from './chunk-2G355KDJ.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './TagsInput-MZXEHKJD.css';
9
9
  import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NR4CPM4T.js';
2
+ import { announce } from './chunk-2G355KDJ.js';
2
3
  import { Button } from './chunk-DGXZ635L.js';
3
4
  import { returnFocus } from './chunk-NUZHC6MM.js';
4
- import { announce } from './chunk-2G355KDJ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './SelectionBar-SCAU6EBY.css';
7
7
  import { useRef, useEffect } from 'react';
@@ -1,5 +1,5 @@
1
- import { IconButton } from './chunk-UAUP6XGK.js';
2
1
  import { announce } from './chunk-2G355KDJ.js';
2
+ import { IconButton } from './chunk-UAUP6XGK.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-QCQZ5RF6.css';
5
5
  import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';