@dloizides/ui-feedback 1.22.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.23.0
4
+
5
+ - `ToastHost`: `ToastInput.action` (`{ label, hint?, onPress }`, LINKS-1 "Shared short-link service" Undo after delete) renders a 44x44 button (testID `<toastTestID>-action`, accessibilityLabel = label, hint defaults to label); pressing it runs `onPress` and dismisses the toast. Without `action` the toast is unchanged.
6
+ - `createToastBus`: new `show(toast)` emits a full `ToastInput` (e.g. one with an action).
7
+ - New type export `ToastActionSpec`.
8
+
3
9
  ## 1.20.0
4
10
 
5
11
  - `ToastHost`: new toast type `warning` (AML-TOAST-1 "Manual screening banner colour follows the result"), filled from `theme.semantic.warning` with an ink at 4.5:1 or better and its own glyph (▲), announced politely like success and info. A theme without a `warning` scale uses the `info` colours, never `error`.
package/dist/index.d.mts CHANGED
@@ -243,6 +243,12 @@ interface ConfirmDialogProps {
243
243
  }
244
244
  declare const ConfirmDialog: ({ visible, title, message, onConfirm, onCancel, confirmLabel, cancelLabel, confirmDisabled, loading, destructive, }: ConfirmDialogProps) => React.ReactElement | null;
245
245
 
246
+ interface ToastActionSpec {
247
+ label: string;
248
+ hint?: string;
249
+ onPress: () => void;
250
+ }
251
+
246
252
  /**
247
253
  * ToastHost — the shared, tokenized transient-toast overlay promoted from the
248
254
  * byte-identical erevna-web / katalogos-web `ToastContainer` twins.
@@ -267,6 +273,7 @@ interface ToastInput {
267
273
  type?: ToastType;
268
274
  /** Trace id of the failed request; an error toast shows it as "Error reference" + Copy. */
269
275
  traceId?: string;
276
+ action?: ToastActionSpec;
270
277
  }
271
278
  interface ToastHostProps {
272
279
  /**
@@ -389,6 +396,7 @@ interface ToastBus {
389
396
  info(text: string): void;
390
397
  /** Emit a warning toast. */
391
398
  warning(text: string): void;
399
+ show(toast: ToastInput): void;
392
400
  }
393
401
  /**
394
402
  * Create an independent toast bus. Emitting with no subscriber is a silent no-op
@@ -668,4 +676,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
668
676
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
669
677
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
670
678
 
671
- export { AppErrorBoundary, type AppErrorBoundaryProps, AsyncSurface, type AsyncSurfaceProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, DEFAULT_ERROR_BOUNDARY_LABELS, DISABLED_OPACITY, type DoneSummary, EmptyListState, type EmptyListStateProps, type ErrorBoundaryLabels, type ErrorFallbackState, ErrorReferenceRow, type ErrorReferenceRowProps, ErrorState, type ErrorStateAction, type ErrorStateProps, FEEDBACK_TEST_IDS, type FeedbackColorScale, type FeedbackNavigate, type FeedbackTheme, type FeedbackThemeColors, type FeedbackThemePalette, type FeedbackThemeSemantic, type FeedbackThemeSemanticText, type FeedbackTranslate, FeedbackUiProvider, type FeedbackUiProviderProps, type FeedbackUiValue, type FlatRunStep, LIVE_RUN_CARD_COMPACT_MAX_PX, LiveRunCard, type LiveRunCardLabels, type LiveRunCardProps, LoadingFallback, type LoadingFallbackProps, MODAL_OVERLAY_COLOR, PageSkeleton, type PageSkeletonProps, ProgressBar, type ProgressBarProps, type RunGroup, type RunStep, type RunStepState, type StepSplit, type ToastBus, ToastHost, type ToastHostProps, type ToastInput, type ToastPush, type ToastType, type FeedbackColorScale as UiColorScale, type FeedbackNavigate as UiNavigate, FeedbackUiProvider as UiProvider, type FeedbackUiProviderProps as UiProviderProps, type FeedbackTheme as UiTheme, type FeedbackThemeColors as UiThemeColors, type FeedbackThemePalette as UiThemePalette, type FeedbackThemeSemantic as UiThemeSemantic, type FeedbackThemeSemanticText as UiThemeSemanticText, type FeedbackTranslate as UiTranslate, type FeedbackUiValue as UiValue, WARMING_QUIET_PERIOD_MS, type WarmingInfo, WarmingOverlay, type WarmingOverlayLabels, type WarmingOverlayProps, type WarmingSnapshot, barFraction, clampPercent, copyText, createToastBus, defaultGroupId, getWarmingSnapshot, mergeRunSteps, notifyWarming, progressPercent, readTraceId, runToneColor, settleWarming, splitShorterSteps, subscribeWarming, summariseDoneGroups, useCopyToClipboard, useFeedbackUi, useFeedbackUi as useUi };
679
+ export { AppErrorBoundary, type AppErrorBoundaryProps, AsyncSurface, type AsyncSurfaceProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, DEFAULT_ERROR_BOUNDARY_LABELS, DISABLED_OPACITY, type DoneSummary, EmptyListState, type EmptyListStateProps, type ErrorBoundaryLabels, type ErrorFallbackState, ErrorReferenceRow, type ErrorReferenceRowProps, ErrorState, type ErrorStateAction, type ErrorStateProps, FEEDBACK_TEST_IDS, type FeedbackColorScale, type FeedbackNavigate, type FeedbackTheme, type FeedbackThemeColors, type FeedbackThemePalette, type FeedbackThemeSemantic, type FeedbackThemeSemanticText, type FeedbackTranslate, FeedbackUiProvider, type FeedbackUiProviderProps, type FeedbackUiValue, type FlatRunStep, LIVE_RUN_CARD_COMPACT_MAX_PX, LiveRunCard, type LiveRunCardLabels, type LiveRunCardProps, LoadingFallback, type LoadingFallbackProps, MODAL_OVERLAY_COLOR, PageSkeleton, type PageSkeletonProps, ProgressBar, type ProgressBarProps, type RunGroup, type RunStep, type RunStepState, type StepSplit, type ToastActionSpec, type ToastBus, ToastHost, type ToastHostProps, type ToastInput, type ToastPush, type ToastType, type FeedbackColorScale as UiColorScale, type FeedbackNavigate as UiNavigate, FeedbackUiProvider as UiProvider, type FeedbackUiProviderProps as UiProviderProps, type FeedbackTheme as UiTheme, type FeedbackThemeColors as UiThemeColors, type FeedbackThemePalette as UiThemePalette, type FeedbackThemeSemantic as UiThemeSemantic, type FeedbackThemeSemanticText as UiThemeSemanticText, type FeedbackTranslate as UiTranslate, type FeedbackUiValue as UiValue, WARMING_QUIET_PERIOD_MS, type WarmingInfo, WarmingOverlay, type WarmingOverlayLabels, type WarmingOverlayProps, type WarmingSnapshot, barFraction, clampPercent, copyText, createToastBus, defaultGroupId, getWarmingSnapshot, mergeRunSteps, notifyWarming, progressPercent, readTraceId, runToneColor, settleWarming, splitShorterSteps, subscribeWarming, summariseDoneGroups, useCopyToClipboard, useFeedbackUi, useFeedbackUi as useUi };
package/dist/index.d.ts CHANGED
@@ -243,6 +243,12 @@ interface ConfirmDialogProps {
243
243
  }
244
244
  declare const ConfirmDialog: ({ visible, title, message, onConfirm, onCancel, confirmLabel, cancelLabel, confirmDisabled, loading, destructive, }: ConfirmDialogProps) => React.ReactElement | null;
245
245
 
246
+ interface ToastActionSpec {
247
+ label: string;
248
+ hint?: string;
249
+ onPress: () => void;
250
+ }
251
+
246
252
  /**
247
253
  * ToastHost — the shared, tokenized transient-toast overlay promoted from the
248
254
  * byte-identical erevna-web / katalogos-web `ToastContainer` twins.
@@ -267,6 +273,7 @@ interface ToastInput {
267
273
  type?: ToastType;
268
274
  /** Trace id of the failed request; an error toast shows it as "Error reference" + Copy. */
269
275
  traceId?: string;
276
+ action?: ToastActionSpec;
270
277
  }
271
278
  interface ToastHostProps {
272
279
  /**
@@ -389,6 +396,7 @@ interface ToastBus {
389
396
  info(text: string): void;
390
397
  /** Emit a warning toast. */
391
398
  warning(text: string): void;
399
+ show(toast: ToastInput): void;
392
400
  }
393
401
  /**
394
402
  * Create an independent toast bus. Emitting with no subscriber is a silent no-op
@@ -668,4 +676,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
668
676
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
669
677
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
670
678
 
671
- export { AppErrorBoundary, type AppErrorBoundaryProps, AsyncSurface, type AsyncSurfaceProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, DEFAULT_ERROR_BOUNDARY_LABELS, DISABLED_OPACITY, type DoneSummary, EmptyListState, type EmptyListStateProps, type ErrorBoundaryLabels, type ErrorFallbackState, ErrorReferenceRow, type ErrorReferenceRowProps, ErrorState, type ErrorStateAction, type ErrorStateProps, FEEDBACK_TEST_IDS, type FeedbackColorScale, type FeedbackNavigate, type FeedbackTheme, type FeedbackThemeColors, type FeedbackThemePalette, type FeedbackThemeSemantic, type FeedbackThemeSemanticText, type FeedbackTranslate, FeedbackUiProvider, type FeedbackUiProviderProps, type FeedbackUiValue, type FlatRunStep, LIVE_RUN_CARD_COMPACT_MAX_PX, LiveRunCard, type LiveRunCardLabels, type LiveRunCardProps, LoadingFallback, type LoadingFallbackProps, MODAL_OVERLAY_COLOR, PageSkeleton, type PageSkeletonProps, ProgressBar, type ProgressBarProps, type RunGroup, type RunStep, type RunStepState, type StepSplit, type ToastBus, ToastHost, type ToastHostProps, type ToastInput, type ToastPush, type ToastType, type FeedbackColorScale as UiColorScale, type FeedbackNavigate as UiNavigate, FeedbackUiProvider as UiProvider, type FeedbackUiProviderProps as UiProviderProps, type FeedbackTheme as UiTheme, type FeedbackThemeColors as UiThemeColors, type FeedbackThemePalette as UiThemePalette, type FeedbackThemeSemantic as UiThemeSemantic, type FeedbackThemeSemanticText as UiThemeSemanticText, type FeedbackTranslate as UiTranslate, type FeedbackUiValue as UiValue, WARMING_QUIET_PERIOD_MS, type WarmingInfo, WarmingOverlay, type WarmingOverlayLabels, type WarmingOverlayProps, type WarmingSnapshot, barFraction, clampPercent, copyText, createToastBus, defaultGroupId, getWarmingSnapshot, mergeRunSteps, notifyWarming, progressPercent, readTraceId, runToneColor, settleWarming, splitShorterSteps, subscribeWarming, summariseDoneGroups, useCopyToClipboard, useFeedbackUi, useFeedbackUi as useUi };
679
+ export { AppErrorBoundary, type AppErrorBoundaryProps, AsyncSurface, type AsyncSurfaceProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, DEFAULT_ERROR_BOUNDARY_LABELS, DISABLED_OPACITY, type DoneSummary, EmptyListState, type EmptyListStateProps, type ErrorBoundaryLabels, type ErrorFallbackState, ErrorReferenceRow, type ErrorReferenceRowProps, ErrorState, type ErrorStateAction, type ErrorStateProps, FEEDBACK_TEST_IDS, type FeedbackColorScale, type FeedbackNavigate, type FeedbackTheme, type FeedbackThemeColors, type FeedbackThemePalette, type FeedbackThemeSemantic, type FeedbackThemeSemanticText, type FeedbackTranslate, FeedbackUiProvider, type FeedbackUiProviderProps, type FeedbackUiValue, type FlatRunStep, LIVE_RUN_CARD_COMPACT_MAX_PX, LiveRunCard, type LiveRunCardLabels, type LiveRunCardProps, LoadingFallback, type LoadingFallbackProps, MODAL_OVERLAY_COLOR, PageSkeleton, type PageSkeletonProps, ProgressBar, type ProgressBarProps, type RunGroup, type RunStep, type RunStepState, type StepSplit, type ToastActionSpec, type ToastBus, ToastHost, type ToastHostProps, type ToastInput, type ToastPush, type ToastType, type FeedbackColorScale as UiColorScale, type FeedbackNavigate as UiNavigate, FeedbackUiProvider as UiProvider, type FeedbackUiProviderProps as UiProviderProps, type FeedbackTheme as UiTheme, type FeedbackThemeColors as UiThemeColors, type FeedbackThemePalette as UiThemePalette, type FeedbackThemeSemantic as UiThemeSemantic, type FeedbackThemeSemanticText as UiThemeSemanticText, type FeedbackTranslate as UiTranslate, type FeedbackUiValue as UiValue, WARMING_QUIET_PERIOD_MS, type WarmingInfo, WarmingOverlay, type WarmingOverlayLabels, type WarmingOverlayProps, type WarmingSnapshot, barFraction, clampPercent, copyText, createToastBus, defaultGroupId, getWarmingSnapshot, mergeRunSteps, notifyWarming, progressPercent, readTraceId, runToneColor, settleWarming, splitShorterSteps, subscribeWarming, summariseDoneGroups, useCopyToClipboard, useFeedbackUi, useFeedbackUi as useUi };
package/dist/index.js CHANGED
@@ -756,6 +756,39 @@ var ConfirmDialog = ({
756
756
  }
757
757
  );
758
758
  };
759
+ var ACTION_PADDING_HORIZONTAL = 12;
760
+ var ACTION_BORDER_RADIUS = 6;
761
+ var ACTION_FONT_SIZE = 14;
762
+ var styles8 = reactNative.StyleSheet.create({
763
+ button: {
764
+ minWidth: MIN_TOUCH_TARGET,
765
+ minHeight: MIN_TOUCH_TARGET,
766
+ paddingHorizontal: ACTION_PADDING_HORIZONTAL,
767
+ borderRadius: ACTION_BORDER_RADIUS,
768
+ borderWidth: 1,
769
+ alignItems: "center",
770
+ justifyContent: "center"
771
+ },
772
+ label: { fontSize: ACTION_FONT_SIZE, fontWeight: "700" }
773
+ });
774
+ var ToastAction = ({ action, color, testID, onDismiss }) => {
775
+ const handlePress = () => {
776
+ action.onPress();
777
+ onDismiss();
778
+ };
779
+ return /* @__PURE__ */ jsxRuntime.jsx(
780
+ reactNative.Pressable,
781
+ {
782
+ accessibilityHint: action.hint ?? action.label,
783
+ accessibilityLabel: action.label,
784
+ accessibilityRole: "button",
785
+ style: [styles8.button, { borderColor: color }],
786
+ testID,
787
+ onPress: handlePress,
788
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.label, { color }], children: action.label })
789
+ }
790
+ );
791
+ };
759
792
  var APP_HEADER_HEIGHT = 64;
760
793
  var HEADER_GAP = 8;
761
794
  var TOAST_TOP_MOBILE = 40;
@@ -813,7 +846,7 @@ var C1_CONTROL_END = 159;
813
846
  var ZERO_WIDTH_START = 8203;
814
847
  var ZERO_WIDTH_END = 8207;
815
848
  var BYTE_ORDER_MARK = 65279;
816
- var styles8 = reactNative.StyleSheet.create({
849
+ var styles9 = reactNative.StyleSheet.create({
817
850
  container: {
818
851
  position: "absolute",
819
852
  left: TOAST_HORIZONTAL_MARGIN,
@@ -890,14 +923,15 @@ var ToastItem = ({ message, onDone, tone, durationMs, fadeMs, testID }) => {
890
923
  {
891
924
  accessibilityLiveRegion: isError ? "assertive" : "polite",
892
925
  role: isError ? "alert" : "status",
893
- style: [styles8.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
926
+ style: [styles9.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
894
927
  testID,
895
928
  children: [
896
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: [styles8.glyph, { borderColor: tone.ink }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.glyphText, { color: tone.ink }], children: tone.glyph }) }),
897
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.body, children: [
898
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.text, { color: tone.ink }], children: message.text }),
929
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: [styles9.glyph, { borderColor: tone.ink }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.glyphText, { color: tone.ink }], children: tone.glyph }) }),
930
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.body, children: [
931
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.text, { color: tone.ink }], children: message.text }),
899
932
  /* @__PURE__ */ jsxRuntime.jsx(ErrorReferenceRow, { actionColor: tone.ink, color: tone.ink, testID: `${testID}-reference`, traceId: message.traceId })
900
- ] })
933
+ ] }),
934
+ message.action ? /* @__PURE__ */ jsxRuntime.jsx(ToastAction, { action: message.action, color: tone.ink, testID: `${testID}-action`, onDismiss: handleDone }) : null
901
935
  ]
902
936
  }
903
937
  );
@@ -928,7 +962,7 @@ var ToastHost = ({
928
962
  );
929
963
  const push = react.useCallback(
930
964
  (toast) => {
931
- setMessages((s) => [...s, { id: nextId(), type: toast.type, text: sanitizeToastText(toast.text, maxLength), traceId: toast.traceId }]);
965
+ setMessages((s) => [...s, { id: nextId(), type: toast.type, text: sanitizeToastText(toast.text, maxLength), traceId: toast.traceId, action: toast.action }]);
932
966
  },
933
967
  [maxLength]
934
968
  );
@@ -938,7 +972,7 @@ var ToastHost = ({
938
972
  react.useEffect(() => subscribe(push), [subscribe, push]);
939
973
  if (messages.length === 0) return null;
940
974
  const canPortal = IS_WEB && typeof document !== "undefined";
941
- const layer = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles8.container, { top: toastTop(IS_WEB, topInset) }, canPortal ? WEB_FIXED_LAYER : null], children: messages.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
975
+ const layer = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles9.container, { top: toastTop(IS_WEB, topInset) }, canPortal ? WEB_FIXED_LAYER : null], children: messages.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
942
976
  ToastItem,
943
977
  {
944
978
  durationMs,
@@ -1014,7 +1048,7 @@ var SUBTITLE_FONT_SIZE = 15;
1014
1048
  var ATTEMPT_FONT_SIZE = 13;
1015
1049
  var CARD_PADDING = 24;
1016
1050
  var NO_ATTEMPT = 0;
1017
- var styles9 = reactNative.StyleSheet.create({
1051
+ var styles10 = reactNative.StyleSheet.create({
1018
1052
  overlay: {
1019
1053
  position: "absolute",
1020
1054
  top: 0,
@@ -1071,13 +1105,13 @@ var WarmingOverlay = ({
1071
1105
  {
1072
1106
  accessibilityLabel: mergedLabels.accessibilityLabel,
1073
1107
  accessibilityRole: "alert",
1074
- style: [styles9.overlay, { backgroundColor: colors.background }],
1108
+ style: [styles10.overlay, { backgroundColor: colors.background }],
1075
1109
  testID: testIdPrefix,
1076
- children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.card, children: [
1110
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.card, children: [
1077
1111
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: primary, size: "large" }),
1078
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.title, { color: colors.text }], testID: `${testIdPrefix}-title`, children: mergedLabels.title }),
1079
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.subtitle, { color: colors.textSecondary }], testID: `${testIdPrefix}-subtitle`, children: mergedLabels.subtitle }),
1080
- showHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.attempt, { color: colors.textSecondary }], testID: `${testIdPrefix}-attempt`, children: mergedLabels.attemptHint(snapshot2.attempt) }) : null
1112
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.title, { color: colors.text }], testID: `${testIdPrefix}-title`, children: mergedLabels.title }),
1113
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.subtitle, { color: colors.textSecondary }], testID: `${testIdPrefix}-subtitle`, children: mergedLabels.subtitle }),
1114
+ showHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.attempt, { color: colors.textSecondary }], testID: `${testIdPrefix}-attempt`, children: mergedLabels.attemptHint(snapshot2.attempt) }) : null
1081
1115
  ] })
1082
1116
  }
1083
1117
  );
@@ -1101,6 +1135,7 @@ function createToastBus() {
1101
1135
  };
1102
1136
  },
1103
1137
  emit: emit2,
1138
+ show: push,
1104
1139
  success(text) {
1105
1140
  emit2(text, "success");
1106
1141
  },
@@ -1133,7 +1168,7 @@ var BUTTON_PADDING_V3 = 12;
1133
1168
  var BUTTON_BORDER_RADIUS3 = 8;
1134
1169
  var BUTTON_MARGIN_TOP3 = 12;
1135
1170
  var BUTTON_FONT_SIZE3 = 16;
1136
- var styles10 = reactNative.StyleSheet.create({
1171
+ var styles11 = reactNative.StyleSheet.create({
1137
1172
  container: {
1138
1173
  flex: 1,
1139
1174
  justifyContent: "center",
@@ -1207,10 +1242,10 @@ var ErrorBoundaryFallback = ({
1207
1242
  accessibilityHint: labels.tryAgainHint,
1208
1243
  accessibilityLabel: labels.tryAgain,
1209
1244
  accessibilityRole: "button",
1210
- style: [styles10.button, reloadIsPrimary ? secondaryFill : primaryFill],
1245
+ style: [styles11.button, reloadIsPrimary ? secondaryFill : primaryFill],
1211
1246
  testID: `${testIDPrefix}-retry-button`,
1212
1247
  onPress: onRetry,
1213
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1248
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1214
1249
  }
1215
1250
  ) : null;
1216
1251
  const reloadButton = typeof onReload === "function" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1219,10 +1254,10 @@ var ErrorBoundaryFallback = ({
1219
1254
  accessibilityHint: labels.reloadHint,
1220
1255
  accessibilityLabel: labels.reload,
1221
1256
  accessibilityRole: "button",
1222
- style: [styles10.button, reloadIsPrimary ? primaryFill : secondaryFill],
1257
+ style: [styles11.button, reloadIsPrimary ? primaryFill : secondaryFill],
1223
1258
  testID: `${testIDPrefix}-reload-button`,
1224
1259
  onPress: onReload,
1225
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1260
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1226
1261
  }
1227
1262
  ) : null;
1228
1263
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1230,20 +1265,20 @@ var ErrorBoundaryFallback = ({
1230
1265
  {
1231
1266
  accessibilityLiveRegion: "assertive",
1232
1267
  role: "alert",
1233
- style: [styles10.container, { backgroundColor: theme.colors.background }],
1268
+ style: [styles11.container, { backgroundColor: theme.colors.background }],
1234
1269
  testID: testIDPrefix,
1235
- children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.content, children: [
1236
- logo !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles10.logo, testID: `${testIDPrefix}-logo`, children: logo }) : null,
1237
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.title, { color: theme.colors.text }], children: labels.title }),
1270
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.content, children: [
1271
+ logo !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles11.logo, testID: `${testIDPrefix}-logo`, children: logo }) : null,
1272
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.title, { color: theme.colors.text }], children: labels.title }),
1238
1273
  /* @__PURE__ */ jsxRuntime.jsx(ErrorState, { message: labels.message, testID: `${testIDPrefix}-message` }),
1239
1274
  hasDetails ? /* @__PURE__ */ jsxRuntime.jsxs(
1240
1275
  reactNative.View,
1241
1276
  {
1242
- style: [styles10.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1277
+ style: [styles11.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1243
1278
  testID: `${testIDPrefix}-details`,
1244
1279
  children: [
1245
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.detailsTitle, { color: warningText }], children: labels.errorDetails }),
1246
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.detailsText, { color: theme.colors.textSecondary }], children: error.message })
1280
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.detailsTitle, { color: warningText }], children: labels.errorDetails }),
1281
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.detailsText, { color: theme.colors.textSecondary }], children: error.message })
1247
1282
  ]
1248
1283
  }
1249
1284
  ) : null,
@@ -1256,7 +1291,7 @@ var ErrorBoundaryFallback = ({
1256
1291
  var CONTAINER_PADDING4 = 20;
1257
1292
  var MESSAGE_FONT_SIZE3 = 16;
1258
1293
  var MESSAGE_MARGIN_TOP = 12;
1259
- var styles11 = reactNative.StyleSheet.create({
1294
+ var styles12 = reactNative.StyleSheet.create({
1260
1295
  container: {
1261
1296
  flex: 1,
1262
1297
  justifyContent: "center",
@@ -1279,11 +1314,11 @@ var ErrorBoundaryRecovering = ({
1279
1314
  {
1280
1315
  accessibilityLiveRegion: "polite",
1281
1316
  role: "status",
1282
- style: [styles11.container, { backgroundColor: theme.colors.background }],
1317
+ style: [styles12.container, { backgroundColor: theme.colors.background }],
1283
1318
  testID,
1284
1319
  children: [
1285
1320
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: theme.palette.primary["500"], size: "large" }),
1286
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.message, { color: theme.colors.textSecondary }], children: message })
1321
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.message, { color: theme.colors.textSecondary }], children: message })
1287
1322
  ]
1288
1323
  }
1289
1324
  );
@@ -1385,7 +1420,7 @@ var TRACK_MARGIN = 4;
1385
1420
  var INDET_FRACTION = 0.35;
1386
1421
  var INDET_DURATION_MS = 1300;
1387
1422
  var LABEL_FONT_SIZE = 12;
1388
- var styles12 = reactNative.StyleSheet.create({
1423
+ var styles13 = reactNative.StyleSheet.create({
1389
1424
  track: { height: BAR_HEIGHT, borderRadius: RADIUS, overflow: "hidden", marginVertical: TRACK_MARGIN },
1390
1425
  fill: { height: "100%", borderRadius: RADIUS },
1391
1426
  label: { fontSize: LABEL_FONT_SIZE, textAlign: "right", fontVariant: ["tabular-nums"] }
@@ -1404,7 +1439,7 @@ function IndeterminateFill({ color, width, testID }) {
1404
1439
  return /* @__PURE__ */ jsxRuntime.jsx(
1405
1440
  reactNative.Animated.View,
1406
1441
  {
1407
- style: [styles12.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1442
+ style: [styles13.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1408
1443
  testID
1409
1444
  }
1410
1445
  );
@@ -1439,13 +1474,13 @@ function ProgressBar(props) {
1439
1474
  role: "progressbar",
1440
1475
  testID,
1441
1476
  children: [
1442
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles12.track, { backgroundColor: trackColor }], onLayout, children: indeterminate ? /* @__PURE__ */ jsxRuntime.jsx(IndeterminateFill, { color, testID: fillTestID, width }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles12.fill, { backgroundColor: color, width: `${safePct}%` }], testID: fillTestID }) }),
1443
- !indeterminate && label !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.label, { color: textColor }], children: label }) : null
1477
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles13.track, { backgroundColor: trackColor }], onLayout, children: indeterminate ? /* @__PURE__ */ jsxRuntime.jsx(IndeterminateFill, { color, testID: fillTestID, width }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles13.fill, { backgroundColor: color, width: `${safePct}%` }], testID: fillTestID }) }),
1478
+ !indeterminate && label !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.label, { color: textColor }], children: label }) : null
1444
1479
  ]
1445
1480
  }
1446
1481
  );
1447
1482
  }
1448
- var styles13 = reactNative.StyleSheet.create({
1483
+ var styles14 = reactNative.StyleSheet.create({
1449
1484
  button: {
1450
1485
  minHeight: a11y.MIN_TOUCH_TARGET_PX,
1451
1486
  minWidth: a11y.MIN_TOUCH_TARGET_PX,
@@ -1468,9 +1503,9 @@ function RunCardButton({ label, hint, color, onPress, testID, disabled = false,
1468
1503
  accessibilityState: { disabled, expanded },
1469
1504
  disabled,
1470
1505
  onPress,
1471
- style: [styles13.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1506
+ style: [styles14.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1472
1507
  testID,
1473
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.text, { color }], children: label })
1508
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.text, { color }], children: label })
1474
1509
  }
1475
1510
  );
1476
1511
  }
@@ -1548,7 +1583,7 @@ function runToneTextColor(theme, state) {
1548
1583
  return inks[state] ?? runToneColor(theme, state);
1549
1584
  }
1550
1585
  var MARK = { done: "\u2713", running: "\u25CF", pending: "\u25CB", failed: "\u2715" };
1551
- var styles14 = reactNative.StyleSheet.create({
1586
+ var styles15 = reactNative.StyleSheet.create({
1552
1587
  row: { flexDirection: "row", flexWrap: "wrap", gap: 6 },
1553
1588
  chip: { borderWidth: 1, borderRadius: 6, paddingHorizontal: 10, justifyContent: "center" },
1554
1589
  tap: { minHeight: a11y.MIN_TOUCH_TARGET_PX },
@@ -1561,15 +1596,15 @@ function chipText(group, labels) {
1561
1596
  }
1562
1597
  function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect }) {
1563
1598
  const { theme } = useFeedbackUi();
1564
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.row, testID, children: groups.map((group) => {
1599
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.row, testID, children: groups.map((group) => {
1565
1600
  const color = runToneColor(theme, group.state);
1566
1601
  const ink = runToneTextColor(theme, group.state);
1567
1602
  const selected = group.id === selectedId;
1568
1603
  const a11y = labels.groupA11y(group.label, group.state, labels.formatDuration(group.durationSec));
1569
- const body = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.text, { color: ink }, selected || group.state === "running" ? styles14.strong : null], children: chipText(group, labels) });
1570
- const look = [styles14.chip, { borderColor: color, backgroundColor: selected ? theme.colors.surfaceElevated : theme.colors.surface }];
1604
+ const body = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.text, { color: ink }, selected || group.state === "running" ? styles15.strong : null], children: chipText(group, labels) });
1605
+ const look = [styles15.chip, { borderColor: color, backgroundColor: selected ? theme.colors.surfaceElevated : theme.colors.surface }];
1571
1606
  if (onSelect === void 0) {
1572
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [look, styles14.still], accessible: true, accessibilityLabel: a11y, testID: `${testID}-${group.id}`, children: body }, group.id);
1607
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [look, styles15.still], accessible: true, accessibilityLabel: a11y, testID: `${testID}-${group.id}`, children: body }, group.id);
1573
1608
  }
1574
1609
  return /* @__PURE__ */ jsxRuntime.jsx(
1575
1610
  reactNative.Pressable,
@@ -1579,7 +1614,7 @@ function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect })
1579
1614
  accessibilityHint: labels.groupHint,
1580
1615
  accessibilityState: { selected },
1581
1616
  onPress: () => onSelect(group.id),
1582
- style: [look, styles14.tap],
1617
+ style: [look, styles15.tap],
1583
1618
  testID: `${testID}-${group.id}`,
1584
1619
  children: body
1585
1620
  },
@@ -1593,8 +1628,8 @@ function RunGroupSummary({ groups, labels, testID }) {
1593
1628
  const open = groups.filter((g) => g.state !== "done");
1594
1629
  const doneColor = runToneColor(theme, "done");
1595
1630
  const doneText = labels.doneSummary(done.count, labels.formatDuration(done.durationSec));
1596
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.row, testID, children: [
1597
- done.count > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.chip, styles14.still, { borderColor: doneColor }], accessible: true, accessibilityLabel: doneText, testID: `${testID}-done`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.text, { color: runToneTextColor(theme, "done") }], children: `${MARK.done} ${doneText}` }) }) : null,
1631
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.row, testID, children: [
1632
+ done.count > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.chip, styles15.still, { borderColor: doneColor }], accessible: true, accessibilityLabel: doneText, testID: `${testID}-done`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.text, { color: runToneTextColor(theme, "done") }], children: `${MARK.done} ${doneText}` }) }) : null,
1598
1633
  /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups: open, labels, testID: `${testID}-open` })
1599
1634
  ] });
1600
1635
  }
@@ -1604,7 +1639,7 @@ var LABEL_SHARE = "35%";
1604
1639
  var LABEL_LINES = 2;
1605
1640
  var DURATION_WIDTH = 64;
1606
1641
  var PERCENT = 100;
1607
- var styles15 = reactNative.StyleSheet.create({
1642
+ var styles16 = reactNative.StyleSheet.create({
1608
1643
  list: { gap: 6 },
1609
1644
  row: { flexDirection: "row", alignItems: "center", gap: 8 },
1610
1645
  stack: { gap: 4 },
@@ -1623,22 +1658,22 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1623
1658
  const maxSec = steps.reduce((m, s) => Math.max(m, s.durationSec), 0);
1624
1659
  const folded = split.hiddenCount > 0;
1625
1660
  const canFold = all && steps.length > maxBars;
1626
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.list, testID, children: [
1661
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.list, testID, children: [
1627
1662
  split.visible.map((step, i) => {
1628
1663
  const color = runToneColor(theme, step.state);
1629
1664
  const duration = labels.formatDuration(step.durationSec);
1630
- const strong = step.state === "running" ? styles15.strong : null;
1631
- const name = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [compact ? styles15.compactLabel : styles15.label, { color: theme.colors.text }, strong], numberOfLines: LABEL_LINES, testID: `${testID}-name-${String(i)}`, children: step.label });
1632
- const time = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.duration, { color: theme.colors.textSecondary }, strong], children: duration });
1633
- const bar = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [compact ? styles15.fullTrack : styles15.track, { backgroundColor: theme.colors.border }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.fill, { backgroundColor: color, width: `${barFraction(step.durationSec, maxSec) * PERCENT}%` }] }) });
1665
+ const strong = step.state === "running" ? styles16.strong : null;
1666
+ const name = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [compact ? styles16.compactLabel : styles16.label, { color: theme.colors.text }, strong], numberOfLines: LABEL_LINES, testID: `${testID}-name-${String(i)}`, children: step.label });
1667
+ const time = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.duration, { color: theme.colors.textSecondary }, strong], children: duration });
1668
+ const bar = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [compact ? styles16.fullTrack : styles16.track, { backgroundColor: theme.colors.border }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.fill, { backgroundColor: color, width: `${barFraction(step.durationSec, maxSec) * PERCENT}%` }] }) });
1634
1669
  const a11y = { accessible: true, accessibilityLabel: labels.stepA11y(step.label, duration), testID: `${testID}-row-${String(i)}` };
1635
- return compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.stack, ...a11y, children: [
1636
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.row, children: [
1670
+ return compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.stack, ...a11y, children: [
1671
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, children: [
1637
1672
  name,
1638
1673
  time
1639
1674
  ] }),
1640
1675
  bar
1641
- ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.row, ...a11y, children: [
1676
+ ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, ...a11y, children: [
1642
1677
  name,
1643
1678
  bar,
1644
1679
  time
@@ -1659,7 +1694,7 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1659
1694
  }
1660
1695
  var LIVE_RUN_CARD_COMPACT_MAX_PX = 640;
1661
1696
  var DEFAULT_MAX_BARS = 4;
1662
- var styles16 = reactNative.StyleSheet.create({
1697
+ var styles17 = reactNative.StyleSheet.create({
1663
1698
  card: { borderWidth: 1, borderRadius: 8, padding: 14, gap: 10 },
1664
1699
  head: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 10 },
1665
1700
  titleBox: { flexGrow: 1, flexShrink: 1, flexBasis: 200, minWidth: 0, gap: 2 },
@@ -1684,18 +1719,18 @@ function LiveRunCard(props) {
1684
1719
  const percent = progressPercent(progress);
1685
1720
  const showTimings = !compact || open;
1686
1721
  const muted = { color: theme.colors.textSecondary };
1687
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.card, { borderColor: tone, backgroundColor: theme.colors.surface }], testID, children: [
1688
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.head, children: [
1689
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.pill, { borderColor: tone }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.pillText, { color: toneText }], testID: `${testID}-status`, children: labels.status }) }),
1690
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.titleBox, children: [
1691
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.title, { color: theme.colors.text }], testID: `${testID}-title`, children: title }),
1692
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.meta, muted], testID: `${testID}-meta`, children: labels.meta })
1722
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.card, { borderColor: tone, backgroundColor: theme.colors.surface }], testID, children: [
1723
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.head, children: [
1724
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles17.pill, { borderColor: tone }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.pillText, { color: toneText }], testID: `${testID}-status`, children: labels.status }) }),
1725
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.titleBox, children: [
1726
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.title, { color: theme.colors.text }], testID: `${testID}-title`, children: title }),
1727
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.meta, muted], testID: `${testID}-meta`, children: labels.meta })
1693
1728
  ] }),
1694
1729
  onCancel !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(RunCardButton, { label: labels.cancel, hint: labels.cancelHint, color: theme.semanticText?.error ?? theme.semantic.error["500"], onPress: onCancel, disabled: cancelDisabled, testID: `${testID}-cancel` }) : null
1695
1730
  ] }),
1696
- currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1731
+ currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1697
1732
  percent !== null ? /* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { percent, label: labels.progress, accessibilityLabel: labels.progressA11y, color: tone, testID: `${testID}-progress` }) : null,
1698
- percent === null && labels.progress !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.meta, muted], testID: `${testID}-progress-text`, children: labels.progress }) : null,
1733
+ percent === null && labels.progress !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.meta, muted], testID: `${testID}-progress-text`, children: labels.progress }) : null,
1699
1734
  compact && !open ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupSummary, { groups, labels, testID: `${testID}-summary` }) : null,
1700
1735
  compact ? /* @__PURE__ */ jsxRuntime.jsx(RunCardButton, { label: labels.stepTimings, hint: labels.stepTimingsHint, color: theme.colors.textSecondary, onPress: () => setOpen(!open), expanded: open, testID: `${testID}-timings-toggle` }) : null,
1701
1736
  showTimings ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups, labels, selectedId, onSelect: setPicked, testID: `${testID}-groups` }) : null,