@crewlethq/ui 0.180.0 → 0.181.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 (127) hide show
  1. package/README.md +48 -2
  2. package/dist/AgentHandoffPanel/index.js +4 -4
  3. package/dist/AgentIdentity/index.js +11 -5
  4. package/dist/ArrangeFrame/index.js +2 -2
  5. package/dist/ArrangeList/index.js +4 -4
  6. package/dist/ArtifactCard/index.js +4 -4
  7. package/dist/AssignmentList/AssignmentList.d.ts +63 -0
  8. package/dist/AssignmentList/index.d.ts +3 -0
  9. package/dist/AssignmentList/index.js +8 -0
  10. package/dist/AssignmentList-JIUZFZGQ.css +257 -0
  11. package/dist/ChangeList/ChangeGroups.d.ts +28 -0
  12. package/dist/ChangeList/ChangeList.d.ts +18 -1
  13. package/dist/ChangeList/index.d.ts +2 -0
  14. package/dist/ChangeList/index.js +11 -1
  15. package/dist/{ChangeList-R4UZBGU5.css → ChangeList-2VAPZDT3.css} +99 -0
  16. package/dist/CheckGrid/index.js +4 -4
  17. package/dist/Checkbox/index.js +3 -3
  18. package/dist/ChipField/index.js +2 -2
  19. package/dist/ColorField/index.js +3 -3
  20. package/dist/Combobox/index.js +3 -3
  21. package/dist/CommandPalette/index.js +16 -4
  22. package/dist/CommentThread/index.js +4 -4
  23. package/dist/Composer/index.js +3 -3
  24. package/dist/ConfirmField/index.js +3 -3
  25. package/dist/ConfirmModal-V2OAWUGJ.css +14 -0
  26. package/dist/ConsequenceList/ConsequenceList.d.ts +63 -0
  27. package/dist/ConsequenceList/index.d.ts +3 -0
  28. package/dist/ConsequenceList/index.js +23 -0
  29. package/dist/ConsequenceList-5TXFZPMG.css +68 -0
  30. package/dist/ContrastHelp/index.js +1 -1
  31. package/dist/DataGrid/index.js +4 -4
  32. package/dist/DataTable/index.js +17 -5
  33. package/dist/DataView/index.js +19 -8
  34. package/dist/DateTimePicker/index.js +2 -2
  35. package/dist/DocTabsEditor/index.js +3 -3
  36. package/dist/DurationField/index.js +4 -4
  37. package/dist/{Editor-N3HLIXHX.js → Editor-ANVKGFJ6.js} +2 -2
  38. package/dist/EmojiPicker/index.js +3 -3
  39. package/dist/GraphCanvas/index.js +2 -2
  40. package/dist/InboxList/index.js +2 -2
  41. package/dist/Input/index.js +2 -2
  42. package/dist/KeyValueRows/index.js +3 -3
  43. package/dist/LinkInterstitial/index.js +20 -3
  44. package/dist/ListInput/index.js +3 -3
  45. package/dist/MemberPicker/index.js +4 -4
  46. package/dist/MessageActions/index.js +4 -4
  47. package/dist/Modal/ConfirmModal.d.ts +35 -2
  48. package/dist/Modal/index.d.ts +1 -0
  49. package/dist/Modal/index.js +20 -1
  50. package/dist/MoneyField/index.js +3 -3
  51. package/dist/NumberField/index.js +3 -3
  52. package/dist/OrgTable/index.js +6 -6
  53. package/dist/PrincipalPicker/index.js +4 -4
  54. package/dist/ProposalCard/index.js +8 -8
  55. package/dist/RailList/index.js +1 -1
  56. package/dist/ReactionBar/index.js +4 -4
  57. package/dist/RichEditor/index.js +1 -1
  58. package/dist/ScopeList/index.js +4 -4
  59. package/dist/SelectionBar/index.js +2 -2
  60. package/dist/SettingForm/index.js +3 -3
  61. package/dist/ShareDialog/index.js +20 -3
  62. package/dist/SheetColumnEditor/index.js +4 -4
  63. package/dist/SheetGrid/index.js +1 -1
  64. package/dist/SlideFilmstrip/index.js +1 -1
  65. package/dist/Switcher/index.js +17 -5
  66. package/dist/TagsInput/index.js +2 -2
  67. package/dist/TimeRangePicker/index.js +15 -4
  68. package/dist/TimeWindowPicker/index.js +4 -4
  69. package/dist/TreeGrid/index.js +5 -5
  70. package/dist/ValueField/index.js +4 -4
  71. package/dist/{chunk-PL4YO2KU.js → chunk-2V4QQ4NB.js} +2 -2
  72. package/dist/{chunk-U32DZ6Q4.js → chunk-2XKPQBAX.js} +1 -1
  73. package/dist/{chunk-NJCF4FUM.js → chunk-3WJCTKUH.js} +2 -2
  74. package/dist/{chunk-SKDMFJZD.js → chunk-3ZMDQUFO.js} +1 -1
  75. package/dist/{chunk-BIOS7CQN.js → chunk-5WPNDMMI.js} +1 -1
  76. package/dist/{chunk-PCS2ZEIM.js → chunk-AXKB6RKG.js} +4 -4
  77. package/dist/{chunk-FC225TSK.js → chunk-BEYMQKP3.js} +33 -2
  78. package/dist/{chunk-5KUJWSPT.js → chunk-CVKCSJ5F.js} +1 -1
  79. package/dist/{chunk-SN2FN2XW.js → chunk-D54HL3AN.js} +103 -14
  80. package/dist/{chunk-BFYADGPT.js → chunk-DJXY65LN.js} +2 -2
  81. package/dist/{chunk-NC4CT5D3.js → chunk-DKXMP3LN.js} +1 -1
  82. package/dist/{chunk-5MRK6I7V.js → chunk-FF2YPFIZ.js} +1 -1
  83. package/dist/{chunk-VDJJSZ6N.js → chunk-G5W5ZLIL.js} +1 -1
  84. package/dist/{chunk-7PLFR7AF.js → chunk-G7YITKUF.js} +2 -2
  85. package/dist/{chunk-TTN5QKIV.js → chunk-H36ZMY4G.js} +1 -1
  86. package/dist/{chunk-HHQFTPHY.js → chunk-H6NPUCDU.js} +2 -2
  87. package/dist/{chunk-W6NSF6E2.js → chunk-H7L4ZEVN.js} +1 -1
  88. package/dist/{chunk-KYW3GH2W.js → chunk-IUCQ5WOX.js} +1 -1
  89. package/dist/{chunk-PZ6CR4F2.js → chunk-J66BRPSY.js} +2 -2
  90. package/dist/{chunk-QXKPMRUG.js → chunk-JLUXCPKS.js} +2 -2
  91. package/dist/{chunk-ZMY5F3SF.js → chunk-JLZ37UFI.js} +2 -2
  92. package/dist/{chunk-MQJQVEFQ.js → chunk-JZN5VTHT.js} +1 -1
  93. package/dist/{chunk-MVSR3KE6.js → chunk-KHELXOOP.js} +1 -1
  94. package/dist/{chunk-65ACQRWE.js → chunk-L5DGZMVI.js} +3 -3
  95. package/dist/{chunk-3LS2XHI5.js → chunk-MF6ONZJ3.js} +1 -1
  96. package/dist/{chunk-CIFX64WT.js → chunk-NRE7D5JZ.js} +2 -2
  97. package/dist/{chunk-2SX6FP6K.js → chunk-NYIVZNML.js} +3 -3
  98. package/dist/{chunk-7YI6OCXI.js → chunk-P3UGTTUA.js} +1 -1
  99. package/dist/{chunk-YXOCR6QP.js → chunk-QFO375KV.js} +1 -1
  100. package/dist/{chunk-JMNVSA65.js → chunk-R4A2Y7HG.js} +2 -2
  101. package/dist/chunk-RJHSGJ7E.js +68 -0
  102. package/dist/{chunk-RTVKQOK3.js → chunk-RMBPTHLK.js} +1 -1
  103. package/dist/{chunk-L3QL5QLE.js → chunk-RP7OCGCP.js} +1 -1
  104. package/dist/{chunk-SYAK2KOB.js → chunk-RRMZ5ITI.js} +1 -1
  105. package/dist/{chunk-2OYZFXUY.js → chunk-S2KWNN2Y.js} +2 -2
  106. package/dist/{chunk-QOEOXKV2.js → chunk-SFKAZSZE.js} +1 -1
  107. package/dist/{chunk-KLNQEBYF.js → chunk-TEAHPDQM.js} +1 -1
  108. package/dist/{chunk-5TNJEP2C.js → chunk-TEHDRA7W.js} +2 -2
  109. package/dist/{chunk-WP2MLABG.js → chunk-TICGBUBC.js} +1 -1
  110. package/dist/{chunk-7YAEM37E.js → chunk-UJSD6N7V.js} +1 -1
  111. package/dist/{chunk-DPEMGLRK.js → chunk-WG7GNCUQ.js} +1 -1
  112. package/dist/chunk-WRIUIQHA.js +90 -0
  113. package/dist/{chunk-SYL6JDZH.js → chunk-X6FJSY3C.js} +1 -1
  114. package/dist/generated/index.d.ts +2 -0
  115. package/dist/generated/index.js +116 -114
  116. package/dist/index.js +116 -114
  117. package/dist/styles.css +448 -1
  118. package/package.json +3 -3
  119. package/dist/{chunk-FA6ROZOF.js → chunk-3OZCJUFS.js} +1 -1
  120. package/dist/{chunk-L3RGZSNE.js → chunk-GF7VSU5G.js} +1 -1
  121. package/dist/{chunk-5643FBGN.js → chunk-KF7ZOWJW.js} +1 -1
  122. package/dist/{chunk-LVCYS5JG.js → chunk-KH4HKMXF.js} +1 -1
  123. package/dist/{chunk-ITFAH735.js → chunk-L4BKQVXX.js} +1 -1
  124. package/dist/{chunk-OD7LFCYV.js → chunk-UTPLRVXN.js} +1 -1
  125. package/dist/{chunk-RFJI4VGF.js → chunk-XADL7CMK.js} +1 -1
  126. package/dist/{chunk-4BTFE223.js → chunk-XIZI47NY.js} +1 -1
  127. /package/dist/{chunk-IMD3SCK7.js → chunk-YDDWUJ4O.js} +0 -0
package/README.md CHANGED
@@ -44,11 +44,11 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
44
44
  | Content and text | `Text` (the eight registers and `inherit`; a line cut by `truncate` or `clamp` shows its whole words on hover), `Prose`, `Statement`, `Document`, `DocumentTitle` and `DocumentTitleField`, the Markdown grammar (`parseMarkdown`, `parseMarkdownSpans`, `markdownInline`, `safeHref` and the line readers, with no React in it), `Highlight`, `InlineCode`, `List` and `ListItem`, `DescriptionList`, `Timeline`, `StepTimeline` (a process's steps, one plain line each with its state, with `STEP_TIMELINE_LABELS`), `RelativeTime`, `Note`, `Divider` |
45
45
 
46
46
  | Content and text | `Text` (the eight registers and `inherit`; a line cut by `truncate` or `clamp` shows its whole words on hover), `Prose`, `Statement`, `Document`, `DocumentTitle` and `DocumentTitleField`, the Markdown grammar (`parseMarkdown`, `parseMarkdownSpans`, `markdownInline`, `safeHref` and the line readers, with no React in it), `Highlight`, `InlineCode`, `List` and `ListItem`, `DescriptionList`, `Timeline`, `RelativeTime`, `Note`, `Divider`, `VendorUI` (a name on a vendor's screen, a menu path with its levels), `StepLink` (the words of a step that name a vendor's page, linked) and `VendorText` (a vendor instruction drawn from its parts, with `VendorTextPart` and `vendorTextString`) |
47
- | Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`), `MoneyField` (an amount typed as text, never a number, with `moneyFieldProblem`), `ScopeList` (what an agent may reach at a vendor, a row to tick each: the name first, its IDs quiet, with `SCOPE_LIST_LABELS`) |
47
+ | Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`), `MoneyField` (an amount typed as text, never a number, with `moneyFieldProblem`), `ScopeList` (what an agent may reach at a vendor, a row to tick each: the name first, its IDs quiet, with `SCOPE_LIST_LABELS`), `AssignmentList` and `AssignmentPicker` (who is assigned what, the value right after the name, with `ASSIGNMENT_LIST_LABELS`) |
48
48
  | Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of clusters, groups and three families of line, with its legend, the card beside an entry, the selection dock and fullscreen, its pure layout `layoutGraph`, the trunks `graphTrunks`, the reach `graphReach` and the keyboard walk `graphStep`), `Skeleton`, `Eyebrow`, `StatGroup`, `PinTile`, `IconTile`, `SettingsTable` (with `SettingsTable.Row`), `CatalogTile`, `Money` (an amount drawn from integer micros, with `formatMoney`, `parseMoney`, `moneyDecimal`, `minorUnits`, `sumByCurrency`, `toMicros` and `decimalOf`), `Rating` (stars, read only) |
49
49
  | List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
50
50
  | Agents at vendors | `AgentIdentity` (an agent's identity at a vendor, heading its box, with `AGENT_IDENTITY_CHIPS`, `AGENT_IDENTITY_WORDS`, `AGENT_IDENTITY_NEEDS_YOU`, `agentIdentityNeedsSetUp` and `agentIdentityNeedsYou`), `AgentIdentitySheet` (the one three-step sheet every vendor's identity is set up in) |
51
- | Feedback and overlays | `Callout`, `NoticeList` and `groupNotices` (several notices from one source, each said once), `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
51
+ | Feedback and overlays | `Callout`, `NoticeList` and `groupNotices` (several notices from one source, each said once), `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal` (with `moveTo`, `changes`, `consequences` and `alternative`: see [Confirmation dialogs](#confirmation-dialogs)), `ConsequenceList` (with `ResourceName` and `consequencesAnswered`), `ChangeGroups`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
52
52
  | Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`compareLines`, `compareSequences`, `changedRuns`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
53
53
  | Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
54
54
  | Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `StackedRing`, `ActivityStrip`, `TimeSeries`, `Sparkline` (with its `fine` weight), the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
@@ -211,6 +211,52 @@ places:
211
211
  - A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
212
212
  when the content beneath it moves, and every panel anchored inside follows.
213
213
 
214
+ ## Confirmation dialogs
215
+
216
+ Every dialog that confirms consequences or changes is a `ConfirmModal`, and
217
+ its parts are props, so the layout, spacing, rules and tones come with them:
218
+
219
+ | Prop | What goes in it | Drawn by |
220
+ | ---- | --------------- | -------- |
221
+ | `message` | The summary: who or what is affected, one sentence | the prompt's message |
222
+ | `moveTo` | A destination control, a "Move them to" `FormField` | as given |
223
+ | `changes` | Before and after, a subject at a time (`ChangeGroup[]`) | `ChangeGroups` |
224
+ | `consequences` | What else happens (`ConsequenceItem[]`), with `consequencesHeading` | `ConsequenceList`, under a rule |
225
+ | `alternative` | A quieter way out on the footer start, "Disable instead" | a ghost button |
226
+
227
+ - **A consequence is typed.** A `choice` is a checkbox with a short label and
228
+ what it does under it; a `fact` is a muted line that simply happens or stays
229
+ (`kept`, `follows`, `info`, `warning`, `danger` or `plain`), its glyph where a
230
+ box would be so every line starts on the labels' edge. A named resource or
231
+ secret goes in a choice's `name`, or in `ResourceName` inside a description
232
+ or fact: a code chip that ends in an ellipsis with its whole name on hover.
233
+ `tone: 'danger'` is for a choice that destroys something, and nothing else.
234
+ A choice marked `required` holds the confirm button until it is ticked.
235
+ - **A change is grouped by subject.** The subject (a seat, a record) is said
236
+ once as a heading and its fields or jobs are the rows: the old value struck
237
+ and muted, the new one tinted, each on one line with its words on hover, the
238
+ arrow and the new value dropping under the old one as a unit on a narrow
239
+ dialog. Past three subjects the rest fold behind "Show N more", named beside
240
+ it; `ChangeList` with `subject`, `truncate` and `collapseAfter` is one subject
241
+ on its own.
242
+ - **A screen that produces such changes** (who runs on which model, who owns
243
+ what) is an `AssignmentList`: the value right after the name, names and
244
+ values cut with their words on hover, and a row with an unsaved change
245
+ saying what it was.
246
+ - **A dialog with a layout of its own** puts `ChangeGroups` and
247
+ `ConsequenceList` inside a `Modal`. Never hand-build checkbox lists, `code`
248
+ chips or before and after sentences in a dialog.
249
+
250
+ Stories: Patterns / Confirmation dialogs (remove a model, remove an MCP server,
251
+ disconnect an integration, move a seat's model, review and save, long names,
252
+ many rows), `ConsequenceList`, `ChangeGroups` and `AssignmentList`.
253
+
254
+ ## Changes in 0.181.0
255
+
256
+ ### One pattern for every confirmation dialog
257
+
258
+ **`ConfirmModal` takes the parts of a confirmation as props**: `moveTo`, `changes` (with `changesHeading` and `changesCollapseAfter`), `consequences` (with `consequencesHeading`) and `alternative`, and holds its confirm button until every `required` choice is ticked. **`ConsequenceList`** draws typed consequences, a checkbox `choice` or a muted `fact`, on one text edge, with **`ResourceName`** for a named resource and **`consequencesAnswered`** for a custom footer. **`ChangeGroups`** draws changes a subject at a time and folds the rest behind "Show N more". **`ChangeList` takes `subject`** (said once over the rows), **`truncate`** (one line a value, with its words on hover) and **`collapseAfter`**, and its labels take `more` and `less`. **`AssignmentList` and `AssignmentPicker`** draw who is assigned what, with a pending row's old value. See [Confirmation dialogs](#confirmation-dialogs). Stories: Patterns / Confirmation dialogs, `ConsequenceList`, `ChangeGroups`, `AssignmentList`.
259
+
214
260
  ## Changes in 0.179.0
215
261
 
216
262
  ### A stat tile stands at one height while its number loads
@@ -1,7 +1,7 @@
1
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-KLNQEBYF.js';
1
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-TEAHPDQM.js';
2
2
  import '../chunk-XDUXAQIS.js';
3
3
  import '../chunk-WFCWPXJN.js';
4
- import '../chunk-5MRK6I7V.js';
4
+ import '../chunk-FF2YPFIZ.js';
5
5
  import '../chunk-YUVQUJND.js';
6
6
  import '../chunk-MYAC6NMF.js';
7
7
  import '../chunk-GI2QI2HZ.js';
@@ -14,11 +14,12 @@ import '../chunk-COS6LJ4K.js';
14
14
  import '../chunk-RUROK3EU.js';
15
15
  import '../chunk-JYJ24UUX.js';
16
16
  import '../chunk-XSPCITPN.js';
17
- import '../chunk-LVCYS5JG.js';
17
+ import '../chunk-KH4HKMXF.js';
18
18
  import '../chunk-NICEDVZM.js';
19
19
  import '../chunk-JLKO7PSK.js';
20
20
  import '../chunk-AKLZJTOJ.js';
21
21
  import '../chunk-TEXK4RK6.js';
22
+ import '../chunk-WGMKERCR.js';
22
23
  import '../chunk-VM73Y6TO.js';
23
24
  import '../chunk-TDFLCUBE.js';
24
25
  import '../chunk-QB3VHZRB.js';
@@ -27,7 +28,6 @@ import '../chunk-AVJKMQXK.js';
27
28
  import '../chunk-EDPMHSLZ.js';
28
29
  import '../chunk-HTS5RJ7S.js';
29
30
  import '../chunk-4ITETIGZ.js';
30
- import '../chunk-WGMKERCR.js';
31
31
  import '../chunk-UJRRF6RY.js';
32
32
  import '../chunk-6YKTRAWI.js';
33
33
  import '../chunk-PQADV6P6.js';
@@ -1,4 +1,4 @@
1
- export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, AgentIdentitySheet, agentIdentityNeedsSetUp, agentIdentityNeedsYou } from '../chunk-PZ6CR4F2.js';
1
+ export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, AgentIdentitySheet, agentIdentityNeedsSetUp, agentIdentityNeedsYou } from '../chunk-J66BRPSY.js';
2
2
  import '../chunk-GAQU5V5R.js';
3
3
  import '../chunk-J73XXTGG.js';
4
4
  import '../chunk-2MN3RNRM.js';
@@ -6,21 +6,28 @@ import '../chunk-GKVQL352.js';
6
6
  import '../chunk-G5HHQ3RD.js';
7
7
  import '../chunk-STJ7QBC3.js';
8
8
  import '../chunk-DTIW4CHZ.js';
9
- import '../chunk-HZXS5CEL.js';
10
- import '../chunk-FC225TSK.js';
9
+ import '../chunk-BEYMQKP3.js';
10
+ import '../chunk-RJHSGJ7E.js';
11
+ import '../chunk-D54HL3AN.js';
12
+ import '../chunk-7XUP32RY.js';
11
13
  import '../chunk-UJYSDWQ7.js';
14
+ import '../chunk-RK4XPHVG.js';
15
+ import '../chunk-W4UJWFCZ.js';
16
+ import '../chunk-HZXS5CEL.js';
12
17
  import '../chunk-HOIZJFYS.js';
13
18
  import '../chunk-QRE6JCHS.js';
14
19
  import '../chunk-475DOAWF.js';
15
20
  import '../chunk-WSIJDWUG.js';
21
+ import '../chunk-X6FJSY3C.js';
16
22
  import '../chunk-RUROK3EU.js';
17
23
  import '../chunk-JYJ24UUX.js';
18
24
  import '../chunk-XSPCITPN.js';
19
- import '../chunk-LVCYS5JG.js';
25
+ import '../chunk-KH4HKMXF.js';
20
26
  import '../chunk-NICEDVZM.js';
21
27
  import '../chunk-JLKO7PSK.js';
22
28
  import '../chunk-AKLZJTOJ.js';
23
29
  import '../chunk-TEXK4RK6.js';
30
+ import '../chunk-WGMKERCR.js';
24
31
  import '../chunk-VM73Y6TO.js';
25
32
  import '../chunk-TDFLCUBE.js';
26
33
  import '../chunk-QB3VHZRB.js';
@@ -29,7 +36,6 @@ import '../chunk-AVJKMQXK.js';
29
36
  import '../chunk-EDPMHSLZ.js';
30
37
  import '../chunk-HTS5RJ7S.js';
31
38
  import '../chunk-4ITETIGZ.js';
32
- import '../chunk-WGMKERCR.js';
33
39
  import '../chunk-UJRRF6RY.js';
34
40
  import '../chunk-6YKTRAWI.js';
35
41
  import '../chunk-PQADV6P6.js';
@@ -1,4 +1,5 @@
1
- export { ArrangeFrame, useGridResize } from '../chunk-L3RGZSNE.js';
1
+ export { ArrangeFrame, useGridResize } from '../chunk-GF7VSU5G.js';
2
+ import '../chunk-WGMKERCR.js';
2
3
  import '../chunk-VM73Y6TO.js';
3
4
  import '../chunk-TDFLCUBE.js';
4
5
  import '../chunk-QB3VHZRB.js';
@@ -7,6 +8,5 @@ import '../chunk-AVJKMQXK.js';
7
8
  import '../chunk-EDPMHSLZ.js';
8
9
  import '../chunk-HTS5RJ7S.js';
9
10
  import '../chunk-4ITETIGZ.js';
10
- import '../chunk-WGMKERCR.js';
11
11
  import '../chunk-RRRK2KB6.js';
12
12
  import '../chunk-ODEQTPFM.js';
@@ -1,14 +1,15 @@
1
- export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-7YI6OCXI.js';
1
+ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-P3UGTTUA.js';
2
2
  import '../chunk-6YYRFGXO.js';
3
3
  import '../chunk-JMBPMSNI.js';
4
- import '../chunk-SYL6JDZH.js';
5
4
  import '../chunk-SK4BIFTG.js';
6
5
  import '../chunk-COS6LJ4K.js';
7
- import '../chunk-LVCYS5JG.js';
6
+ import '../chunk-X6FJSY3C.js';
7
+ import '../chunk-KH4HKMXF.js';
8
8
  import '../chunk-NICEDVZM.js';
9
9
  import '../chunk-JLKO7PSK.js';
10
10
  import '../chunk-AKLZJTOJ.js';
11
11
  import '../chunk-TEXK4RK6.js';
12
+ import '../chunk-WGMKERCR.js';
12
13
  import '../chunk-VM73Y6TO.js';
13
14
  import '../chunk-TDFLCUBE.js';
14
15
  import '../chunk-QB3VHZRB.js';
@@ -17,7 +18,6 @@ import '../chunk-AVJKMQXK.js';
17
18
  import '../chunk-EDPMHSLZ.js';
18
19
  import '../chunk-HTS5RJ7S.js';
19
20
  import '../chunk-4ITETIGZ.js';
20
- import '../chunk-WGMKERCR.js';
21
21
  import '../chunk-PQADV6P6.js';
22
22
  import '../chunk-RRRK2KB6.js';
23
23
  import '../chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-SKDMFJZD.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-3ZMDQUFO.js';
2
2
  import '../chunk-265IX4YA.js';
3
3
  import '../chunk-GBKBME7Q.js';
4
4
  import '../chunk-WGLOH33S.js';
@@ -7,17 +7,18 @@ import '../chunk-G732IWP4.js';
7
7
  import '../chunk-AV2DXAEL.js';
8
8
  import '../chunk-W3A6NBUM.js';
9
9
  export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
10
- import '../chunk-SYL6JDZH.js';
11
10
  import '../chunk-DOY3KC6I.js';
12
11
  import '../chunk-JWHXDVN5.js';
13
12
  import '../chunk-YMFFGPFE.js';
14
13
  import '../chunk-475DOAWF.js';
15
14
  import '../chunk-WSIJDWUG.js';
16
- import '../chunk-LVCYS5JG.js';
15
+ import '../chunk-X6FJSY3C.js';
16
+ import '../chunk-KH4HKMXF.js';
17
17
  import '../chunk-NICEDVZM.js';
18
18
  import '../chunk-JLKO7PSK.js';
19
19
  import '../chunk-AKLZJTOJ.js';
20
20
  import '../chunk-TEXK4RK6.js';
21
+ import '../chunk-WGMKERCR.js';
21
22
  import '../chunk-VM73Y6TO.js';
22
23
  import '../chunk-TDFLCUBE.js';
23
24
  import '../chunk-QB3VHZRB.js';
@@ -26,7 +27,6 @@ import '../chunk-AVJKMQXK.js';
26
27
  import '../chunk-EDPMHSLZ.js';
27
28
  import '../chunk-HTS5RJ7S.js';
28
29
  import '../chunk-4ITETIGZ.js';
29
- import '../chunk-WGMKERCR.js';
30
30
  import '../chunk-6YKTRAWI.js';
31
31
  import '../chunk-PQADV6P6.js';
32
32
  import '../chunk-RRRK2KB6.js';
@@ -0,0 +1,63 @@
1
+ import { type ButtonHTMLAttributes, type ReactNode } from 'react';
2
+ export interface AssignmentListLabels {
3
+ /** Said before the value a pending row had: "Was". */
4
+ was: string;
5
+ /** The tag on a row whose change is not saved yet. */
6
+ notSaved: string;
7
+ }
8
+ export declare const ASSIGNMENT_LIST_LABELS: AssignmentListLabels;
9
+ /** One subject and what it is assigned: a seat and its model. */
10
+ export interface AssignmentRow {
11
+ /** Stable within the list. */
12
+ key: string;
13
+ /** The subject's mark: an avatar, a helper's glyph. */
14
+ icon?: ReactNode;
15
+ /** The subject's name, plain words so a cut one can show them whole. */
16
+ name: string;
17
+ /** The control that picks the value: an `AssignmentPicker` (inside a Menu or Popover) or a `Select`. */
18
+ value: ReactNode;
19
+ /**
20
+ * The row has a change not saved yet: the value it had, said under the name
21
+ * ("Was platform-sonnet-8 · Not saved") and the picker tinted. A string is
22
+ * drawn as a code chip; a node as given.
23
+ */
24
+ was?: ReactNode;
25
+ /** The row's own actions, such as a `Menu`; its column is kept on every row. */
26
+ actions?: ReactNode;
27
+ }
28
+ export interface AssignmentGroup {
29
+ key: string;
30
+ /** The group's eyebrow: "Helpers", "Seats". */
31
+ label?: ReactNode;
32
+ rows: readonly AssignmentRow[];
33
+ }
34
+ export interface AssignmentListProps {
35
+ groups: readonly AssignmentGroup[];
36
+ /**
37
+ * The bar under the rows, for the pending changes: "1 change not saved",
38
+ * Discard and the action that reviews them.
39
+ */
40
+ footer?: ReactNode;
41
+ labels?: Partial<AssignmentListLabels> | undefined;
42
+ className?: string | undefined;
43
+ }
44
+ /**
45
+ * Who is assigned what: a row a subject, its value and picker right after the name rather than at the far edge,
46
+ * names and values cut with their words on hover, and a pending row saying what it was, its picker on the warning tint.
47
+ */
48
+ export declare function AssignmentList({ groups, footer, labels: overrides, className }: AssignmentListProps): import("react").JSX.Element;
49
+ export interface AssignmentPickerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
50
+ /** The value's own name, in the primary ink: "platform-sonnet-8". */
51
+ primary: string;
52
+ /** What it is, quieter, given way first: "Claude Sonnet 4.5". */
53
+ secondary?: string | undefined;
54
+ /** A mark before the value, such as its provider's. */
55
+ icon?: ReactNode;
56
+ /** Tints the picker as a change not saved yet. Inside an `AssignmentList` row with `was` it is tinted already. */
57
+ pending?: boolean | undefined;
58
+ }
59
+ /**
60
+ * An assignment's value as the button that changes it: its name, what it is and a chevron, cut with the whole value
61
+ * on hover. Spread a `Menu`'s `renderTrigger` props onto it, and give it an `aria-label` naming the row.
62
+ */
63
+ export declare const AssignmentPicker: import("react").ForwardRefExoticComponent<AssignmentPickerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,3 @@
1
+ import './AssignmentList.css';
2
+ export { ASSIGNMENT_LIST_LABELS, AssignmentList, AssignmentPicker } from './AssignmentList.js';
3
+ export type { AssignmentGroup, AssignmentListLabels, AssignmentListProps, AssignmentPickerProps, AssignmentRow, } from './AssignmentList.js';
@@ -0,0 +1,8 @@
1
+ export { ASSIGNMENT_LIST_LABELS, AssignmentList, AssignmentPicker } from '../chunk-WRIUIQHA.js';
2
+ import '../chunk-RK4XPHVG.js';
3
+ import '../chunk-W4UJWFCZ.js';
4
+ import '../chunk-HZXS5CEL.js';
5
+ import '../chunk-HOIZJFYS.js';
6
+ import '../chunk-QRE6JCHS.js';
7
+ import '../chunk-WSIJDWUG.js';
8
+ import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,257 @@
1
+ /*
2
+ * Who is assigned what: a group's eyebrow, then rows of a name and, right
3
+ * after it, the value's picker and the row's actions. Every row shares one
4
+ * grid, so names, values and actions line up down the card.
5
+ */
6
+ .crewlet-assignment-list {
7
+ /* The column a row's mark takes, so a pending row's "Was" line starts on the name's edge. */
8
+ --crewlet-assignment-list-icon: 20px;
9
+
10
+ container-type: inline-size;
11
+ min-width: 0;
12
+ }
13
+
14
+ /*
15
+ * ONE GRID FOR EVERY GROUP: groups, lists and rows are its subgrids, so values start at one edge down the card,
16
+ * right after a name column as wide as the longest name, up to two fifths of the row.
17
+ */
18
+ .crewlet-assignment-list__grid {
19
+ display: grid;
20
+ grid-template-columns: fit-content(40%) minmax(0, 1fr) var(--size-control-md);
21
+ column-gap: var(--spacing-4);
22
+ min-width: 0;
23
+ }
24
+
25
+ .crewlet-assignment-list__group,
26
+ .crewlet-assignment-list__rows,
27
+ .crewlet-assignment-list__row {
28
+ display: grid;
29
+ grid-column: 1 / -1;
30
+ grid-template-columns: subgrid;
31
+ min-width: 0;
32
+ }
33
+
34
+ .crewlet-assignment-list__group {
35
+ row-gap: var(--spacing-1);
36
+ padding: var(--spacing-3) var(--spacing-4);
37
+ }
38
+
39
+ .crewlet-assignment-list__group + .crewlet-assignment-list__group {
40
+ border-top: 1px solid var(--color-border-default);
41
+ }
42
+
43
+ .crewlet-assignment-list__label {
44
+ grid-column: 1 / -1;
45
+ }
46
+
47
+ .crewlet-assignment-list__rows {
48
+ margin: 0;
49
+ padding: 0;
50
+ list-style: none;
51
+ }
52
+
53
+ .crewlet-assignment-list__row {
54
+ align-items: center;
55
+ row-gap: var(--spacing-2);
56
+ min-height: var(--size-row-lg);
57
+ padding-block: var(--spacing-1);
58
+ }
59
+
60
+ .crewlet-assignment-list__row + .crewlet-assignment-list__row {
61
+ border-top: 1px solid var(--color-border-default);
62
+ }
63
+
64
+ .crewlet-assignment-list__who {
65
+ display: flex;
66
+ flex-direction: column;
67
+ gap: 2px;
68
+ min-width: 0;
69
+ }
70
+
71
+ .crewlet-assignment-list__name {
72
+ display: flex;
73
+ align-items: center;
74
+ gap: var(--spacing-2);
75
+ min-width: 0;
76
+ font-size: var(--font-size-sm);
77
+ font-weight: var(--font-weight-medium);
78
+ color: var(--color-text-primary);
79
+ }
80
+
81
+ .crewlet-assignment-list__icon {
82
+ display: inline-flex;
83
+ flex: none;
84
+ align-items: center;
85
+ justify-content: center;
86
+ width: var(--crewlet-assignment-list-icon);
87
+ }
88
+
89
+ .crewlet-assignment-list__words,
90
+ .crewlet-assignment-list__was-value {
91
+ min-width: 0;
92
+ overflow: hidden;
93
+ text-overflow: ellipsis;
94
+ white-space: nowrap;
95
+ }
96
+
97
+ /* What a pending row had, under the name on the name's text edge. */
98
+ .crewlet-assignment-list__was {
99
+ display: flex;
100
+ align-items: center;
101
+ gap: var(--spacing-1);
102
+ min-width: 0;
103
+ font-size: var(--font-size-xs);
104
+ color: var(--color-text-tertiary);
105
+ }
106
+
107
+ .crewlet-assignment-list__icon + .crewlet-assignment-list__words {
108
+ min-width: 0;
109
+ }
110
+
111
+ .crewlet-assignment-list__row:has(.crewlet-assignment-list__icon) .crewlet-assignment-list__was {
112
+ padding-inline-start: calc(var(--crewlet-assignment-list-icon) + var(--spacing-2));
113
+ }
114
+
115
+ .crewlet-assignment-list__old {
116
+ text-decoration: line-through;
117
+ text-decoration-thickness: 1px;
118
+ }
119
+
120
+ .crewlet-assignment-list__value {
121
+ display: flex;
122
+ min-width: 0;
123
+ }
124
+
125
+ /* The picker, or the menu anchor around it, takes the column and never widens it. */
126
+ .crewlet-assignment-list__value > * {
127
+ flex: 1 1 auto;
128
+ min-width: 0;
129
+ max-width: 100%;
130
+ }
131
+
132
+ .crewlet-assignment-list__actions {
133
+ display: flex;
134
+ justify-content: flex-end;
135
+ }
136
+
137
+ .crewlet-assignment-list__footer {
138
+ display: flex;
139
+ flex-wrap: wrap;
140
+ align-items: center;
141
+ justify-content: flex-end;
142
+ gap: var(--spacing-2);
143
+ padding: var(--spacing-2) var(--spacing-4);
144
+ border-top: 1px solid var(--color-border-default);
145
+ background: var(--color-surface-inset);
146
+ }
147
+
148
+ .crewlet-assignment-list__footer > :first-child {
149
+ min-width: 0;
150
+ margin-inline-end: auto;
151
+ }
152
+
153
+ /* NARROW: the value drops under the name, the actions stay on the name's line. */
154
+ @container (max-width: 30rem) {
155
+ .crewlet-assignment-list__grid {
156
+ grid-template-columns: minmax(0, 1fr) var(--size-control-md);
157
+ }
158
+
159
+ .crewlet-assignment-list__row {
160
+ padding-block: var(--spacing-2);
161
+ }
162
+
163
+ .crewlet-assignment-list__who {
164
+ grid-column: 1;
165
+ grid-row: 1;
166
+ }
167
+
168
+ .crewlet-assignment-list__actions {
169
+ grid-column: 2;
170
+ grid-row: 1;
171
+ }
172
+
173
+ .crewlet-assignment-list__value {
174
+ grid-column: 1 / -1;
175
+ grid-row: 2;
176
+ }
177
+ }
178
+
179
+ /* The picker: the value as a quiet button, its parts cut by an ellipsis. */
180
+ .crewlet-assignment-picker {
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: space-between;
184
+ gap: var(--spacing-2);
185
+ width: 100%;
186
+ min-width: 0;
187
+ height: var(--size-control-md);
188
+ padding: 0 var(--spacing-2);
189
+ border: 1px solid transparent;
190
+ border-radius: var(--radius-md);
191
+ background: transparent;
192
+ color: inherit;
193
+ font: inherit;
194
+ font-size: var(--font-size-sm);
195
+ text-align: start;
196
+ cursor: pointer;
197
+ }
198
+
199
+ .crewlet-assignment-picker:hover {
200
+ border-color: var(--color-border-default);
201
+ background: var(--color-surface-hover);
202
+ }
203
+
204
+ .crewlet-assignment-picker:focus-visible {
205
+ outline: 2px solid var(--color-focus);
206
+ outline-offset: var(--size-focus-ring-inset-offset);
207
+ }
208
+
209
+ .crewlet-assignment-picker:disabled {
210
+ cursor: not-allowed;
211
+ opacity: 0.6;
212
+ }
213
+
214
+ .crewlet-assignment-picker.is-pending,
215
+ .crewlet-assignment-list__row.is-pending .crewlet-assignment-picker {
216
+ border-color: var(--color-feedback-warning-line);
217
+ background: var(--color-feedback-warning-soft);
218
+ }
219
+
220
+ .crewlet-assignment-picker__value {
221
+ display: inline-flex;
222
+ align-items: center;
223
+ gap: var(--spacing-2);
224
+ min-width: 0;
225
+ }
226
+
227
+ .crewlet-assignment-picker__icon {
228
+ display: inline-flex;
229
+ flex: none;
230
+ }
231
+
232
+ .crewlet-assignment-picker__primary,
233
+ .crewlet-assignment-picker__secondary {
234
+ min-width: 0;
235
+ overflow: hidden;
236
+ text-overflow: ellipsis;
237
+ white-space: nowrap;
238
+ }
239
+
240
+ .crewlet-assignment-picker__primary {
241
+ /* Kept whole while it fits: a shrink by a fraction of a pixel still draws an ellipsis. */
242
+ flex: 0 0 auto;
243
+ max-width: 100%;
244
+ font-weight: var(--font-weight-medium);
245
+ color: var(--color-text-primary);
246
+ }
247
+
248
+ /* What the value is gives way before its name does. */
249
+ .crewlet-assignment-picker__secondary {
250
+ flex: 0 1 auto;
251
+ color: var(--color-text-tertiary);
252
+ }
253
+
254
+ .crewlet-assignment-picker__chevron {
255
+ flex: none;
256
+ color: var(--color-text-tertiary);
257
+ }
@@ -0,0 +1,28 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type ChangeListLabels, type ChangeListRow } from './ChangeList.js';
3
+ /** One subject's changes: a seat and its jobs, a record and its fields. */
4
+ export interface ChangeGroup {
5
+ /** Stable within the groups. */
6
+ key: string;
7
+ subject: ReactNode;
8
+ /** The subject as plain words, listed beside "Show N more" while it is folded. Taken from `subject` when that is a string. */
9
+ subjectText?: string | undefined;
10
+ rows: readonly ChangeListRow[];
11
+ }
12
+ export interface ChangeGroupsProps {
13
+ groups: readonly ChangeGroup[];
14
+ /** An eyebrow over every group: "What changes". */
15
+ heading?: ReactNode;
16
+ /** Subjects shown before the rest fold behind "Show N more". 3 by default. */
17
+ collapseAfter?: number | undefined;
18
+ /** Rows a subject shows before its own rest fold. All by default. */
19
+ rowsCollapseAfter?: number | undefined;
20
+ labels?: Partial<ChangeListLabels> | undefined;
21
+ className?: string | undefined;
22
+ }
23
+ export declare const CHANGE_GROUPS_COLLAPSE_AFTER = 3;
24
+ /**
25
+ * Changes to several subjects, each said once over its own rows with every value on one line (`ChangeList` with
26
+ * `subject` and `truncate`). Past a few subjects the rest fold behind "Show N more", named beside it.
27
+ */
28
+ export declare function ChangeGroups({ groups, heading, collapseAfter, rowsCollapseAfter, labels: overrides, className, }: ChangeGroupsProps): import("react").JSX.Element;
@@ -76,6 +76,10 @@ export interface ChangeListLabels {
76
76
  betweenChanges: string;
77
77
  /** The disclosure that opens the whole change. */
78
78
  showWhole: string;
79
+ /** The control that shows the rows folded away: "Show 3 more". */
80
+ more: (hidden: number) => string;
81
+ /** The same control once they are shown. */
82
+ less: string;
79
83
  }
80
84
  export declare const CHANGE_LIST_LABELS: ChangeListLabels;
81
85
  /**
@@ -97,6 +101,19 @@ export interface ChangeListProps {
97
101
  layout?: ChangeListLayout | undefined;
98
102
  /** The eyebrow over the rows: "What will change", "What will be created", "What changed". */
99
103
  heading?: ReactNode;
104
+ /**
105
+ * What the rows belong to, said once as a heading in the primary ink: a
106
+ * seat whose jobs are the rows, a record whose fields are. Rows then name
107
+ * only the field ("Coding"), never the subject again.
108
+ */
109
+ subject?: ReactNode;
110
+ /**
111
+ * Each value on one line, cut with its words on hover, the arrow and new value dropping under the old as a unit:
112
+ * for names that must never break mid-word. Labels get a bounded column and wrap between words.
113
+ */
114
+ truncate?: boolean | undefined;
115
+ /** Rows shown before the rest fold behind "Show N more". All by default. */
116
+ collapseAfter?: number | undefined;
100
117
  /**
101
118
  * The change is over (applied, declined, expired). The values step back to
102
119
  * the secondary ink; the tints stay, so the record of what changed is still
@@ -149,5 +166,5 @@ declare function BlockValue({ row, labels }: {
149
166
  * values in the other, rows apart by the list's spacing rather than rules,
150
167
  * and no box of its own inside the card that holds it.
151
168
  */
152
- export declare function ChangeList({ rows, heading, layout, settled, labels: overrides, diffLabels, className, }: ChangeListProps): import("react").JSX.Element;
169
+ export declare function ChangeList({ rows, heading, subject, truncate, collapseAfter, layout, settled, labels: overrides, diffLabels, className, }: ChangeListProps): import("react").JSX.Element;
153
170
  export {};
@@ -1,3 +1,5 @@
1
1
  import './ChangeList.css';
2
2
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './ChangeList.js';
3
+ export { CHANGE_GROUPS_COLLAPSE_AFTER, ChangeGroups } from './ChangeGroups.js';
4
+ export type { ChangeGroup, ChangeGroupsProps } from './ChangeGroups.js';
3
5
  export type { ChangeListAddedRow, ChangeListChangedRow, ChangeListFactRow, ChangeListLabels, ChangeListLayout, ChangeListProps, ChangeListRemovedRow, ChangeListRow, ChangeListTextRow, WordDiffPart, } from './ChangeList.js';
@@ -1,8 +1,18 @@
1
- export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-SN2FN2XW.js';
1
+ export { CHANGE_GROUPS_COLLAPSE_AFTER, CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeGroups, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-D54HL3AN.js';
2
2
  import '../chunk-7XUP32RY.js';
3
3
  import '../chunk-HOIZJFYS.js';
4
4
  import '../chunk-QRE6JCHS.js';
5
+ import '../chunk-WSIJDWUG.js';
5
6
  import '../chunk-RUROK3EU.js';
7
+ import '../chunk-JYJ24UUX.js';
8
+ import '../chunk-XSPCITPN.js';
9
+ import '../chunk-TDFLCUBE.js';
10
+ import '../chunk-QB3VHZRB.js';
11
+ import '../chunk-L72URIHR.js';
12
+ import '../chunk-AVJKMQXK.js';
13
+ import '../chunk-EDPMHSLZ.js';
14
+ import '../chunk-HTS5RJ7S.js';
15
+ import '../chunk-4ITETIGZ.js';
6
16
  import '../chunk-UJRRF6RY.js';
7
17
  import '../chunk-6YKTRAWI.js';
8
18
  import '../chunk-PQADV6P6.js';