@activecollab/components 2.0.477 → 2.0.479

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 (25) hide show
  1. package/dist/cjs/presentation/shared/SourceCodeSection.js +166 -57
  2. package/dist/cjs/presentation/shared/SourceCodeSection.js.map +1 -1
  3. package/dist/cjs/presentation/shared/index.js +156 -0
  4. package/dist/cjs/presentation/shared/index.js.map +1 -1
  5. package/dist/cjs/presentation/shared/selfHostedSettings.js +277 -0
  6. package/dist/cjs/presentation/shared/selfHostedSettings.js.map +1 -0
  7. package/dist/cjs/presentation/shared/selfHostedUpgrade.js +1440 -0
  8. package/dist/cjs/presentation/shared/selfHostedUpgrade.js.map +1 -0
  9. package/dist/esm/presentation/shared/SourceCodeSection.d.ts +5 -0
  10. package/dist/esm/presentation/shared/SourceCodeSection.d.ts.map +1 -1
  11. package/dist/esm/presentation/shared/SourceCodeSection.js +165 -56
  12. package/dist/esm/presentation/shared/SourceCodeSection.js.map +1 -1
  13. package/dist/esm/presentation/shared/index.d.ts +4 -0
  14. package/dist/esm/presentation/shared/index.d.ts.map +1 -1
  15. package/dist/esm/presentation/shared/index.js +2 -0
  16. package/dist/esm/presentation/shared/index.js.map +1 -1
  17. package/dist/esm/presentation/shared/selfHostedSettings.d.ts +83 -0
  18. package/dist/esm/presentation/shared/selfHostedSettings.d.ts.map +1 -0
  19. package/dist/esm/presentation/shared/selfHostedSettings.js +253 -0
  20. package/dist/esm/presentation/shared/selfHostedSettings.js.map +1 -0
  21. package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts +235 -0
  22. package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts.map +1 -0
  23. package/dist/esm/presentation/shared/selfHostedUpgrade.js +1329 -0
  24. package/dist/esm/presentation/shared/selfHostedUpgrade.js.map +1 -0
  25. package/package.json +1 -1
@@ -286,9 +286,93 @@ var CODE_ENTRIES = [{
286
286
  icon: _Icons.GearIcon,
287
287
  title: "Build started",
288
288
  detail: "CI pipeline #501",
289
+ commitSha: "3d5a8f1c9b7e2604a1f8c3d5e6079b2a4c6d8e0f",
289
290
  minutesAgo: 10,
290
291
  tone: "progress"
291
292
  }]
293
+ }, {
294
+ // Two commits pushed back to back (PR #6516 in new-activecollab-front):
295
+ // the newer commit's pipeline passes first, the older commit's pipeline
296
+ // fails later and becomes the newest event. The spine reflects the head
297
+ // commit (passed); the SHA labels in the history tell the two runs apart.
298
+ kind: "pr",
299
+ title: "#6516 Link branch or pull request form",
300
+ headSha: "d78e0c63a4f2b9185e7c3d0a6b1f4e9c2d5a8b70",
301
+ repo: "frontend",
302
+ repoFull: "activecollab/frontend",
303
+ status: "open",
304
+ sourceBranch: "feature/link-branch-form",
305
+ targetBranch: "master",
306
+ contributors: [{
307
+ initials: "EP",
308
+ bg: _tokens.AVATAR_COLORS.orange
309
+ }],
310
+ commits: {
311
+ value: 2,
312
+ tip: "2 commits · last 32m ago by Edis P."
313
+ },
314
+ diff: {
315
+ add: 74,
316
+ del: 18,
317
+ tip: "74 additions, 18 deletions across 4 files"
318
+ },
319
+ updatedMinsAgo: 7,
320
+ references: [],
321
+ stages: mkStages([{
322
+ state: "done",
323
+ details: ["feature/link-branch-form", "on activecollab/frontend"]
324
+ }, {
325
+ state: "done",
326
+ details: ["2 commits", "last 32m ago by Edis P."]
327
+ }, {
328
+ state: "done",
329
+ details: ["#6516 opened", "awaiting review"]
330
+ }, {
331
+ state: "done",
332
+ details: ["Build passed", "4 checks"]
333
+ }, {
334
+ state: "todo",
335
+ details: ["Not deployed"]
336
+ }]),
337
+ pipelineSupported: true,
338
+ history: [{
339
+ icon: _Icons.GitCommitIcon,
340
+ title: "2 commits pushed",
341
+ detail: "Last by Edis P.: “Keep the Link Branch or Pull Request form visible”",
342
+ minutesAgo: 33
343
+ }, {
344
+ icon: _Icons.GearIcon,
345
+ title: "Build started",
346
+ minutesAgo: 32,
347
+ tone: "progress",
348
+ commitSha: "c1e3cc7e5b2a9f4d8e1c6b3a0f7d2e9c4b1a8f53"
349
+ }, {
350
+ icon: _Icons.GearIcon,
351
+ title: "Build started",
352
+ minutesAgo: 24,
353
+ tone: "progress",
354
+ commitSha: "d78e0c63a4f2b9185e7c3d0a6b1f4e9c2d5a8b70"
355
+ }, {
356
+ icon: _Icons.GitPullRequestIcon,
357
+ title: "Pull request opened",
358
+ detail: "Target: master by Edis P.",
359
+ minutesAgo: 15,
360
+ tone: "progress"
361
+ }, {
362
+ icon: _Icons.GearIcon,
363
+ title: "Build passed",
364
+ detail: "All 4 checks passed",
365
+ minutesAgo: 13,
366
+ tone: "success",
367
+ commitSha: "d78e0c63a4f2b9185e7c3d0a6b1f4e9c2d5a8b70"
368
+ }, {
369
+ icon: _Icons.GearFailedIcon,
370
+ title: "Build failed",
371
+ detail: "1 of 4 checks failed",
372
+ minutesAgo: 7,
373
+ tone: "danger",
374
+ commitSha: "c1e3cc7e5b2a9f4d8e1c6b3a0f7d2e9c4b1a8f53"
375
+ }]
292
376
  }, {
293
377
  kind: "branch",
294
378
  title: "spike/rank-cache",
@@ -450,12 +534,14 @@ var CODE_ENTRIES = [{
450
534
  icon: _Icons.GearIcon,
451
535
  title: "Build started",
452
536
  detail: "CI pipeline #479",
537
+ commitSha: "5c8e1f0a3b6d9247e1c4f7a0b3d6e9f2a5c8b1d4",
453
538
  minutesAgo: 8639,
454
539
  tone: "progress"
455
540
  }, {
456
541
  icon: _Icons.GearFailedIcon,
457
542
  title: "Build failed",
458
543
  detail: "3 of 12 checks failed",
544
+ commitSha: "5c8e1f0a3b6d9247e1c4f7a0b3d6e9f2a5c8b1d4",
459
545
  minutesAgo: 8635,
460
546
  tone: "danger"
461
547
  }, {
@@ -467,6 +553,7 @@ var CODE_ENTRIES = [{
467
553
  icon: _Icons.GearIcon,
468
554
  title: "Build passed",
469
555
  detail: "All 12 checks passed · CI pipeline #482",
556
+ commitSha: "b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5",
470
557
  minutesAgo: 7195,
471
558
  tone: "success"
472
559
  }, {
@@ -879,15 +966,36 @@ var Spine = exports.Spine = function Spine(_ref3) {
879
966
  });
880
967
  };
881
968
 
969
+ /* Short commit SHA — monospace Caption 1 in the muted (tertiary → theme-600)
970
+ colour, full SHA on hover. Used for the head commit on a code row and for
971
+ the build's commit on history events. Never shrinks: a neighbouring title
972
+ truncates first. */
973
+ var StyledSha = (0, _styledComponents.default)(_Typography.Caption1).withConfig({
974
+ displayName: "SourceCodeSection__StyledSha",
975
+ componentId: "sc-rvqbh5-1"
976
+ })(["font-family:", ";flex-shrink:0;white-space:nowrap;"], _tokens.MONO);
977
+ var CommitSha = function CommitSha(_ref4) {
978
+ var sha = _ref4.sha,
979
+ _ref4$label = _ref4.label,
980
+ label = _ref4$label === void 0 ? "Commit" : _ref4$label,
981
+ className = _ref4.className;
982
+ return /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
983
+ title: "".concat(label, ": ").concat(sha)
984
+ }, /*#__PURE__*/_react.default.createElement(StyledSha, {
985
+ color: "tertiary",
986
+ className: className
987
+ }, sha.slice(0, 8)));
988
+ };
989
+
882
990
  /* The whole content scrolls together (header + stream + note) once the stream
883
991
  is long — the dialog title bar stays fixed, everything below scrolls. */
884
992
  var StyledHistory = _styledComponents.default.div.withConfig({
885
993
  displayName: "SourceCodeSection__StyledHistory",
886
- componentId: "sc-rvqbh5-1"
994
+ componentId: "sc-rvqbh5-2"
887
995
  })(["font-family:", ";max-height:60vh;overflow-y:auto;padding-right:4px;.hist-header{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border-primary);}.hist-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.hist-branches{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;font-size:13px;color:var(--color-theme-600);}.hist-branch{display:inline-flex;align-items:center;gap:4px;}.hist-repo{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:13px;color:var(--color-theme-600);}.hist-event{display:flex;align-items:center;gap:12px;padding-bottom:20px;}.hist-event:last-child{padding-bottom:0;}.hist-icon{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;}.hist-body{flex:1 1 auto;min-width:0;}.hist-title{display:flex;align-items:center;gap:6px;min-width:0;}.hist-title > *:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.hist-status{flex-shrink:0;display:inline-flex;}.hist-line{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.5;color:var(--color-theme-600);}.hist-meta{flex-shrink:0;align-self:flex-start;text-align:right;white-space:nowrap;}.hist-note{display:flex;align-items:center;gap:6px;margin-top:16px;color:var(--color-theme-500);}.hist-note svg{flex-shrink:0;}"], _tokens.SANS);
888
- var HistoryDialog = exports.HistoryDialog = function HistoryDialog(_ref4) {
889
- var entry = _ref4.entry,
890
- onClose = _ref4.onClose;
996
+ var HistoryDialog = exports.HistoryDialog = function HistoryDialog(_ref5) {
997
+ var entry = _ref5.entry,
998
+ onClose = _ref5.onClose;
891
999
  return (
892
1000
  /*#__PURE__*/
893
1001
  /* Same width as the Source Code dialog, so the two read alike when one opens
@@ -962,6 +1070,8 @@ var HistoryDialog = exports.HistoryDialog = function HistoryDialog(_ref4) {
962
1070
  height: 12,
963
1071
  fill: "var(--red-alert)"
964
1072
  })
1073
+ }), ev.commitSha && /*#__PURE__*/_react.default.createElement(CommitSha, {
1074
+ sha: ev.commitSha
965
1075
  })), ev.detail && /*#__PURE__*/_react.default.createElement("span", {
966
1076
  className: "hist-line"
967
1077
  }, ev.detail), ev.author && /*#__PURE__*/_react.default.createElement("span", {
@@ -988,16 +1098,16 @@ var HistoryDialog = exports.HistoryDialog = function HistoryDialog(_ref4) {
988
1098
 
989
1099
  var StyledSourceCode = _styledComponents.default.div.withConfig({
990
1100
  displayName: "SourceCodeSection__StyledSourceCode",
991
- componentId: "sc-rvqbh5-2"
992
- })(["font-family:", ";margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--border-primary);", " .sc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}.sc-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}.sc-completed-row{display:flex;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--border-primary);}.sc-add{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding-top:12px;border-top:1px solid var(--border-primary);}.sc-add .c--add-to-list-btn svg{box-sizing:content-box;}.sc-item{padding:12px 0;}.sc-item + .sc-item{border-top:1px solid var(--border-primary);}.sc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.sc-main{flex:1 1 0%;min-width:0;}.sc-name{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;}.sc-lead{flex-shrink:0;display:inline-flex;color:var(--color-theme-600);}.sc-title{flex:0 1 auto;min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.sc-title.strike{text-decoration:line-through;}.sc-title.strike-link{text-decoration:line-through;}.sc-title.strike-link:hover{text-decoration:none;}.sc-sigs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;}.sc-sig{display:inline-flex;align-items:center;gap:4px;}.sc-closing{display:inline-flex;align-items:center;flex-shrink:0;cursor:default;}.sc-sha{font-family:", ";}.sc-refs{display:inline-flex;align-items:center;gap:6px;}.sc-refs .ref-link{color:var(--color-primary);font-weight:500;}"], _tokens.SANS, function (p) {
1101
+ componentId: "sc-rvqbh5-3"
1102
+ })(["font-family:", ";margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--border-primary);", " .sc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}.sc-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}.sc-completed-row{display:flex;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--border-primary);}.sc-add{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding-top:12px;border-top:1px solid var(--border-primary);}.sc-add .c--add-to-list-btn svg{box-sizing:content-box;}.sc-item{padding:12px 0;}.sc-item + .sc-item{border-top:1px solid var(--border-primary);}.sc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.sc-main{flex:1 1 0%;min-width:0;}.sc-name{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;}.sc-lead{flex-shrink:0;display:inline-flex;color:var(--color-theme-600);}.sc-title{flex:0 1 auto;min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.sc-title.strike{text-decoration:line-through;}.sc-title.strike-link{text-decoration:line-through;}.sc-title.strike-link:hover{text-decoration:none;}.sc-sigs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;}.sc-sig{display:inline-flex;align-items:center;gap:4px;}.sc-closing{display:inline-flex;align-items:center;flex-shrink:0;cursor:default;}.sc-refs{display:inline-flex;align-items:center;gap:6px;}.sc-refs .ref-link{color:var(--color-primary);font-weight:500;}"], _tokens.SANS, function (p) {
993
1103
  return p.$flush && (0, _styledComponents.css)(["margin:0;padding-bottom:0;border-bottom:none;"]);
994
- }, _tokens.MONO);
1104
+ });
995
1105
 
996
1106
  /* Element name — a link that opens the object in a new tab. Keeps the row's
997
1107
  typography (inherits color + weight), turns primary on hover, link cursor. */
998
1108
  var TitleLink = _styledComponents.default.a.withConfig({
999
1109
  displayName: "SourceCodeSection__TitleLink",
1000
- componentId: "sc-rvqbh5-3"
1110
+ componentId: "sc-rvqbh5-4"
1001
1111
  })(["color:inherit;text-decoration:none;cursor:pointer;transition:color 200ms ease;&:hover{color:var(--color-primary);}"]);
1002
1112
 
1003
1113
  /* Status label chip — the DS `Chip` styled to match the app's
@@ -1041,10 +1151,10 @@ var CHIP_TONE_STYLES = {
1041
1151
  fail: CHIP_FAIL_STYLE,
1042
1152
  gone: CHIP_GONE_STYLE
1043
1153
  };
1044
- var StatusChip = function StatusChip(_ref5) {
1045
- var label = _ref5.label,
1046
- tone = _ref5.tone,
1047
- glyph = _ref5.glyph;
1154
+ var StatusChip = function StatusChip(_ref6) {
1155
+ var label = _ref6.label,
1156
+ tone = _ref6.tone,
1157
+ glyph = _ref6.glyph;
1048
1158
  return /*#__PURE__*/_react.default.createElement(_Chip.Chip, {
1049
1159
  label: label,
1050
1160
  startAdornment: glyph,
@@ -1068,13 +1178,13 @@ var CONTRIBUTOR_NAMES = {
1068
1178
  IS: "Ilija Studen",
1069
1179
  MK: "Marko K."
1070
1180
  };
1071
- var MockAvatar = /*#__PURE__*/_react.default.forwardRef(function (_ref6, ref) {
1072
- var _ref6$size = _ref6.size,
1073
- size = _ref6$size === void 0 ? 20 : _ref6$size,
1074
- bg = _ref6.bg,
1075
- initials = _ref6.initials,
1076
- alt = _ref6.alt,
1077
- rest = _objectWithoutProperties(_ref6, _excluded);
1181
+ var MockAvatar = /*#__PURE__*/_react.default.forwardRef(function (_ref7, ref) {
1182
+ var _ref7$size = _ref7.size,
1183
+ size = _ref7$size === void 0 ? 20 : _ref7$size,
1184
+ bg = _ref7.bg,
1185
+ initials = _ref7.initials,
1186
+ alt = _ref7.alt,
1187
+ rest = _objectWithoutProperties(_ref7, _excluded);
1078
1188
  return (
1079
1189
  /*#__PURE__*/
1080
1190
  // `...rest` carries the props AvatarGroup and its Tooltip inject via
@@ -1095,10 +1205,10 @@ MockAvatar.displayName = "MockAvatar";
1095
1205
  the same through a styled wrapper (`tw-` classes don't run in Storybook). */
1096
1206
  var StyledAvatarGroup = (0, _styledComponents.default)(_AvatarGroup.AvatarGroup).withConfig({
1097
1207
  displayName: "SourceCodeSection__StyledAvatarGroup",
1098
- componentId: "sc-rvqbh5-4"
1208
+ componentId: "sc-rvqbh5-5"
1099
1209
  })(["&&{padding:0;}"]);
1100
- var ContributorAvatars = function ContributorAvatars(_ref7) {
1101
- var contributors = _ref7.contributors;
1210
+ var ContributorAvatars = function ContributorAvatars(_ref8) {
1211
+ var contributors = _ref8.contributors;
1102
1212
  return /*#__PURE__*/_react.default.createElement(StyledAvatarGroup, {
1103
1213
  limit: 4,
1104
1214
  size: 20,
@@ -1113,8 +1223,8 @@ var ContributorAvatars = function ContributorAvatars(_ref7) {
1113
1223
  });
1114
1224
  }));
1115
1225
  };
1116
- var IssueRow = exports.IssueRow = function IssueRow(_ref8) {
1117
- var issue = _ref8.issue;
1226
+ var IssueRow = exports.IssueRow = function IssueRow(_ref9) {
1227
+ var issue = _ref9.issue;
1118
1228
  var closed = issue.state === "closed";
1119
1229
  return /*#__PURE__*/_react.default.createElement("div", {
1120
1230
  className: "sc-row"
@@ -1157,8 +1267,8 @@ var IssueRow = exports.IssueRow = function IssueRow(_ref8) {
1157
1267
  color: "tertiary"
1158
1268
  }, formatAgo(issue.updatedMinsAgo)))));
1159
1269
  };
1160
- var CodeStatusChip = function CodeStatusChip(_ref9) {
1161
- var entry = _ref9.entry;
1270
+ var CodeStatusChip = function CodeStatusChip(_ref0) {
1271
+ var entry = _ref0.entry;
1162
1272
  if (entry.status === "merged") {
1163
1273
  return /*#__PURE__*/_react.default.createElement(StatusChip, {
1164
1274
  label: "Merged",
@@ -1190,9 +1300,9 @@ var CodeStatusChip = function CodeStatusChip(_ref9) {
1190
1300
  // Open branches / PRs show no status label.
1191
1301
  return null;
1192
1302
  };
1193
- var CodeRow = exports.CodeRow = function CodeRow(_ref0) {
1194
- var entry = _ref0.entry,
1195
- onOpenHistory = _ref0.onOpenHistory;
1303
+ var CodeRow = exports.CodeRow = function CodeRow(_ref1) {
1304
+ var entry = _ref1.entry,
1305
+ onOpenHistory = _ref1.onOpenHistory;
1196
1306
  var deleted = entry.status === "deleted";
1197
1307
  // A closed-without-merge PR is still a live link, but its name is struck
1198
1308
  // through to signal the dead-end; the strike lifts on hover so it reads as a
@@ -1256,12 +1366,11 @@ var CodeRow = exports.CodeRow = function CodeRow(_ref0) {
1256
1366
  }, /*#__PURE__*/_react.default.createElement(_Icons.GitCommitIcon, {
1257
1367
  width: 14,
1258
1368
  height: 14
1259
- }), entry.commits.value)), /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
1260
- title: "Head commit: ".concat(entry.headSha)
1261
- }, /*#__PURE__*/_react.default.createElement(_Typography.Caption1, {
1262
- color: "tertiary",
1263
- className: "sc-sig sc-sha"
1264
- }, entry.headSha.slice(0, 8))), entry.diff && /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
1369
+ }), entry.commits.value)), /*#__PURE__*/_react.default.createElement(CommitSha, {
1370
+ sha: entry.headSha,
1371
+ label: "Head commit",
1372
+ className: "sc-sig"
1373
+ }), entry.diff && /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
1265
1374
  title: entry.diff.tip
1266
1375
  }, /*#__PURE__*/_react.default.createElement("span", {
1267
1376
  className: "sc-sig sc-diff"
@@ -1281,10 +1390,10 @@ var CodeRow = exports.CodeRow = function CodeRow(_ref0) {
1281
1390
  onClick: onOpenHistory
1282
1391
  }));
1283
1392
  };
1284
- var CompletedHeader = exports.CompletedHeader = function CompletedHeader(_ref1) {
1285
- var expanded = _ref1.expanded,
1286
- count = _ref1.count,
1287
- onToggle = _ref1.onToggle;
1393
+ var CompletedHeader = exports.CompletedHeader = function CompletedHeader(_ref10) {
1394
+ var expanded = _ref10.expanded,
1395
+ count = _ref10.count,
1396
+ onToggle = _ref10.onToggle;
1288
1397
  return /*#__PURE__*/_react.default.createElement("div", {
1289
1398
  className: "sc-completed-row"
1290
1399
  }, /*#__PURE__*/_react.default.createElement(_Button.Button, {
@@ -1312,11 +1421,11 @@ var codeElementKey = function codeElementKey(e) {
1312
1421
  default; a 6px radius matches the Linking and Commands trigger beside it. */
1313
1422
  var UnlinkTriggerButton = (0, _styledComponents.default)(_Button.Button).withConfig({
1314
1423
  displayName: "SourceCodeSection__UnlinkTriggerButton",
1315
- componentId: "sc-rvqbh5-5"
1424
+ componentId: "sc-rvqbh5-6"
1316
1425
  })(["&&{border-radius:var(--ac-br-6);}"]);
1317
1426
  var StyledUnlink = _styledComponents.default.div.withConfig({
1318
1427
  displayName: "SourceCodeSection__StyledUnlink",
1319
- componentId: "sc-rvqbh5-6"
1428
+ componentId: "sc-rvqbh5-7"
1320
1429
  })([".unlink-error{display:block;margin-bottom:12px;}.unlink-list{list-style:none;margin:0;padding:0;}.unlink-item{display:flex;align-items:center;gap:8px;padding:8px 0;}.unlink-label{min-width:0;cursor:pointer;}"]);
1321
1430
 
1322
1431
  /** Stands in for the unlink request. Production replaces it with the real call
@@ -1336,11 +1445,11 @@ var mockUnlinkRequest = function mockUnlinkRequest() {
1336
1445
  * elements and closes the dialog with no toast; on failure the dialog shows
1337
1446
  * "Unable to unlink selected items" and re-enables the buttons.
1338
1447
  */
1339
- var UnlinkDialog = function UnlinkDialog(_ref10) {
1340
- var open = _ref10.open,
1341
- elements = _ref10.elements,
1342
- onClose = _ref10.onClose,
1343
- onConfirm = _ref10.onConfirm;
1448
+ var UnlinkDialog = function UnlinkDialog(_ref11) {
1449
+ var open = _ref11.open,
1450
+ elements = _ref11.elements,
1451
+ onClose = _ref11.onClose,
1452
+ onConfirm = _ref11.onConfirm;
1344
1453
  var _useState = (0, _react.useState)(new Set()),
1345
1454
  _useState2 = _slicedToArray(_useState, 2),
1346
1455
  selected = _useState2[0],
@@ -1418,17 +1527,17 @@ var UnlinkDialog = function UnlinkDialog(_ref10) {
1418
1527
  onClick: onClose
1419
1528
  }, "Cancel")));
1420
1529
  };
1421
- var SourceCodeSection = exports.SourceCodeSection = function SourceCodeSection(_ref11) {
1422
- var _ref11$variant = _ref11.variant,
1423
- variant = _ref11$variant === void 0 ? "mix" : _ref11$variant,
1424
- issues = _ref11.issues,
1425
- code = _ref11.code,
1426
- _ref11$showHeader = _ref11.showHeader,
1427
- showHeader = _ref11$showHeader === void 0 ? true : _ref11$showHeader,
1428
- _ref11$showLink = _ref11.showLink,
1429
- showLink = _ref11$showLink === void 0 ? true : _ref11$showLink,
1430
- _ref11$flush = _ref11.flush,
1431
- flush = _ref11$flush === void 0 ? false : _ref11$flush;
1530
+ var SourceCodeSection = exports.SourceCodeSection = function SourceCodeSection(_ref12) {
1531
+ var _ref12$variant = _ref12.variant,
1532
+ variant = _ref12$variant === void 0 ? "mix" : _ref12$variant,
1533
+ issues = _ref12.issues,
1534
+ code = _ref12.code,
1535
+ _ref12$showHeader = _ref12.showHeader,
1536
+ showHeader = _ref12$showHeader === void 0 ? true : _ref12$showHeader,
1537
+ _ref12$showLink = _ref12.showLink,
1538
+ showLink = _ref12$showLink === void 0 ? true : _ref12$showLink,
1539
+ _ref12$flush = _ref12.flush,
1540
+ flush = _ref12$flush === void 0 ? false : _ref12$flush;
1432
1541
  var _useState7 = (0, _react.useState)(null),
1433
1542
  _useState8 = _slicedToArray(_useState7, 2),
1434
1543
  openEntry = _useState8[0],