@dloizides/ui-feedback 1.22.0 → 1.24.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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.24.0
4
+
5
+ - `UiThemeOverride({ map, children })` (INV-EXTRACT-1 W4, D-EXTRACT-2): re-provides the surrounding UI context with its theme passed through `map`; translate and navigate are kept. Generic over the host's theme type. Showcase story `src/showcase/UiThemeOverride.showcase.tsx`.
6
+
7
+ ## 1.23.0
8
+
9
+ - `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.
10
+ - `createToastBus`: new `show(toast)` emits a full `ToastInput` (e.g. one with an action).
11
+ - New type export `ToastActionSpec`.
12
+
3
13
  ## 1.20.0
4
14
 
5
15
  - `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
@@ -67,6 +67,13 @@ declare const FeedbackUiProvider: ({ theme, t, navigate, children, }: FeedbackUi
67
67
  */
68
68
  declare function useFeedbackUi(): FeedbackUiValue;
69
69
 
70
+ interface UiThemeOverrideProps<T extends FeedbackTheme = FeedbackTheme> {
71
+ map: (theme: T) => FeedbackTheme;
72
+ children: React.ReactNode;
73
+ }
74
+ /** Re-provides the surrounding UI context with its theme passed through `map`; translate and navigate are kept. */
75
+ declare function UiThemeOverride<T extends FeedbackTheme = FeedbackTheme>({ map, children, }: UiThemeOverrideProps<T>): React.ReactElement;
76
+
70
77
  /** Semi-transparent scrim behind modal dialogs. */
71
78
  declare const MODAL_OVERLAY_COLOR = "rgba(0, 0, 0, 0.5)";
72
79
  /** Opacity applied to disabled interactive controls. */
@@ -243,6 +250,12 @@ interface ConfirmDialogProps {
243
250
  }
244
251
  declare const ConfirmDialog: ({ visible, title, message, onConfirm, onCancel, confirmLabel, cancelLabel, confirmDisabled, loading, destructive, }: ConfirmDialogProps) => React.ReactElement | null;
245
252
 
253
+ interface ToastActionSpec {
254
+ label: string;
255
+ hint?: string;
256
+ onPress: () => void;
257
+ }
258
+
246
259
  /**
247
260
  * ToastHost — the shared, tokenized transient-toast overlay promoted from the
248
261
  * byte-identical erevna-web / katalogos-web `ToastContainer` twins.
@@ -267,6 +280,7 @@ interface ToastInput {
267
280
  type?: ToastType;
268
281
  /** Trace id of the failed request; an error toast shows it as "Error reference" + Copy. */
269
282
  traceId?: string;
283
+ action?: ToastActionSpec;
270
284
  }
271
285
  interface ToastHostProps {
272
286
  /**
@@ -389,6 +403,7 @@ interface ToastBus {
389
403
  info(text: string): void;
390
404
  /** Emit a warning toast. */
391
405
  warning(text: string): void;
406
+ show(toast: ToastInput): void;
392
407
  }
393
408
  /**
394
409
  * Create an independent toast bus. Emitting with no subscriber is a silent no-op
@@ -668,4 +683,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
668
683
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
669
684
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
670
685
 
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 };
686
+ 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, UiThemeOverride, type UiThemeOverrideProps, 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
@@ -67,6 +67,13 @@ declare const FeedbackUiProvider: ({ theme, t, navigate, children, }: FeedbackUi
67
67
  */
68
68
  declare function useFeedbackUi(): FeedbackUiValue;
69
69
 
70
+ interface UiThemeOverrideProps<T extends FeedbackTheme = FeedbackTheme> {
71
+ map: (theme: T) => FeedbackTheme;
72
+ children: React.ReactNode;
73
+ }
74
+ /** Re-provides the surrounding UI context with its theme passed through `map`; translate and navigate are kept. */
75
+ declare function UiThemeOverride<T extends FeedbackTheme = FeedbackTheme>({ map, children, }: UiThemeOverrideProps<T>): React.ReactElement;
76
+
70
77
  /** Semi-transparent scrim behind modal dialogs. */
71
78
  declare const MODAL_OVERLAY_COLOR = "rgba(0, 0, 0, 0.5)";
72
79
  /** Opacity applied to disabled interactive controls. */
@@ -243,6 +250,12 @@ interface ConfirmDialogProps {
243
250
  }
244
251
  declare const ConfirmDialog: ({ visible, title, message, onConfirm, onCancel, confirmLabel, cancelLabel, confirmDisabled, loading, destructive, }: ConfirmDialogProps) => React.ReactElement | null;
245
252
 
253
+ interface ToastActionSpec {
254
+ label: string;
255
+ hint?: string;
256
+ onPress: () => void;
257
+ }
258
+
246
259
  /**
247
260
  * ToastHost — the shared, tokenized transient-toast overlay promoted from the
248
261
  * byte-identical erevna-web / katalogos-web `ToastContainer` twins.
@@ -267,6 +280,7 @@ interface ToastInput {
267
280
  type?: ToastType;
268
281
  /** Trace id of the failed request; an error toast shows it as "Error reference" + Copy. */
269
282
  traceId?: string;
283
+ action?: ToastActionSpec;
270
284
  }
271
285
  interface ToastHostProps {
272
286
  /**
@@ -389,6 +403,7 @@ interface ToastBus {
389
403
  info(text: string): void;
390
404
  /** Emit a warning toast. */
391
405
  warning(text: string): void;
406
+ show(toast: ToastInput): void;
392
407
  }
393
408
  /**
394
409
  * Create an independent toast bus. Emitting with no subscriber is a silent no-op
@@ -668,4 +683,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
668
683
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
669
684
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
670
685
 
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 };
686
+ 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, UiThemeOverride, type UiThemeOverrideProps, 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
@@ -46,6 +46,14 @@ var FeedbackUiProvider = ({
46
46
  function useFeedbackUi() {
47
47
  return react.useContext(FeedbackUiContext);
48
48
  }
49
+ function UiThemeOverride({
50
+ map,
51
+ children
52
+ }) {
53
+ const { theme, t, navigate } = useFeedbackUi();
54
+ const mapped = react.useMemo(() => map(theme), [map, theme]);
55
+ return /* @__PURE__ */ jsxRuntime.jsx(FeedbackUiProvider, { navigate, t, theme: mapped, children });
56
+ }
49
57
 
50
58
  // src/constants.ts
51
59
  var MODAL_OVERLAY_COLOR = "rgba(0, 0, 0, 0.5)";
@@ -756,6 +764,39 @@ var ConfirmDialog = ({
756
764
  }
757
765
  );
758
766
  };
767
+ var ACTION_PADDING_HORIZONTAL = 12;
768
+ var ACTION_BORDER_RADIUS = 6;
769
+ var ACTION_FONT_SIZE = 14;
770
+ var styles8 = reactNative.StyleSheet.create({
771
+ button: {
772
+ minWidth: MIN_TOUCH_TARGET,
773
+ minHeight: MIN_TOUCH_TARGET,
774
+ paddingHorizontal: ACTION_PADDING_HORIZONTAL,
775
+ borderRadius: ACTION_BORDER_RADIUS,
776
+ borderWidth: 1,
777
+ alignItems: "center",
778
+ justifyContent: "center"
779
+ },
780
+ label: { fontSize: ACTION_FONT_SIZE, fontWeight: "700" }
781
+ });
782
+ var ToastAction = ({ action, color, testID, onDismiss }) => {
783
+ const handlePress = () => {
784
+ action.onPress();
785
+ onDismiss();
786
+ };
787
+ return /* @__PURE__ */ jsxRuntime.jsx(
788
+ reactNative.Pressable,
789
+ {
790
+ accessibilityHint: action.hint ?? action.label,
791
+ accessibilityLabel: action.label,
792
+ accessibilityRole: "button",
793
+ style: [styles8.button, { borderColor: color }],
794
+ testID,
795
+ onPress: handlePress,
796
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.label, { color }], children: action.label })
797
+ }
798
+ );
799
+ };
759
800
  var APP_HEADER_HEIGHT = 64;
760
801
  var HEADER_GAP = 8;
761
802
  var TOAST_TOP_MOBILE = 40;
@@ -813,7 +854,7 @@ var C1_CONTROL_END = 159;
813
854
  var ZERO_WIDTH_START = 8203;
814
855
  var ZERO_WIDTH_END = 8207;
815
856
  var BYTE_ORDER_MARK = 65279;
816
- var styles8 = reactNative.StyleSheet.create({
857
+ var styles9 = reactNative.StyleSheet.create({
817
858
  container: {
818
859
  position: "absolute",
819
860
  left: TOAST_HORIZONTAL_MARGIN,
@@ -890,14 +931,15 @@ var ToastItem = ({ message, onDone, tone, durationMs, fadeMs, testID }) => {
890
931
  {
891
932
  accessibilityLiveRegion: isError ? "assertive" : "polite",
892
933
  role: isError ? "alert" : "status",
893
- style: [styles8.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
934
+ style: [styles9.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
894
935
  testID,
895
936
  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 }),
937
+ /* @__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 }) }),
938
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.body, children: [
939
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.text, { color: tone.ink }], children: message.text }),
899
940
  /* @__PURE__ */ jsxRuntime.jsx(ErrorReferenceRow, { actionColor: tone.ink, color: tone.ink, testID: `${testID}-reference`, traceId: message.traceId })
900
- ] })
941
+ ] }),
942
+ message.action ? /* @__PURE__ */ jsxRuntime.jsx(ToastAction, { action: message.action, color: tone.ink, testID: `${testID}-action`, onDismiss: handleDone }) : null
901
943
  ]
902
944
  }
903
945
  );
@@ -928,7 +970,7 @@ var ToastHost = ({
928
970
  );
929
971
  const push = react.useCallback(
930
972
  (toast) => {
931
- setMessages((s) => [...s, { id: nextId(), type: toast.type, text: sanitizeToastText(toast.text, maxLength), traceId: toast.traceId }]);
973
+ setMessages((s) => [...s, { id: nextId(), type: toast.type, text: sanitizeToastText(toast.text, maxLength), traceId: toast.traceId, action: toast.action }]);
932
974
  },
933
975
  [maxLength]
934
976
  );
@@ -938,7 +980,7 @@ var ToastHost = ({
938
980
  react.useEffect(() => subscribe(push), [subscribe, push]);
939
981
  if (messages.length === 0) return null;
940
982
  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(
983
+ 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
984
  ToastItem,
943
985
  {
944
986
  durationMs,
@@ -1014,7 +1056,7 @@ var SUBTITLE_FONT_SIZE = 15;
1014
1056
  var ATTEMPT_FONT_SIZE = 13;
1015
1057
  var CARD_PADDING = 24;
1016
1058
  var NO_ATTEMPT = 0;
1017
- var styles9 = reactNative.StyleSheet.create({
1059
+ var styles10 = reactNative.StyleSheet.create({
1018
1060
  overlay: {
1019
1061
  position: "absolute",
1020
1062
  top: 0,
@@ -1071,13 +1113,13 @@ var WarmingOverlay = ({
1071
1113
  {
1072
1114
  accessibilityLabel: mergedLabels.accessibilityLabel,
1073
1115
  accessibilityRole: "alert",
1074
- style: [styles9.overlay, { backgroundColor: colors.background }],
1116
+ style: [styles10.overlay, { backgroundColor: colors.background }],
1075
1117
  testID: testIdPrefix,
1076
- children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.card, children: [
1118
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.card, children: [
1077
1119
  /* @__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
1120
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.title, { color: colors.text }], testID: `${testIdPrefix}-title`, children: mergedLabels.title }),
1121
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.subtitle, { color: colors.textSecondary }], testID: `${testIdPrefix}-subtitle`, children: mergedLabels.subtitle }),
1122
+ showHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.attempt, { color: colors.textSecondary }], testID: `${testIdPrefix}-attempt`, children: mergedLabels.attemptHint(snapshot2.attempt) }) : null
1081
1123
  ] })
1082
1124
  }
1083
1125
  );
@@ -1101,6 +1143,7 @@ function createToastBus() {
1101
1143
  };
1102
1144
  },
1103
1145
  emit: emit2,
1146
+ show: push,
1104
1147
  success(text) {
1105
1148
  emit2(text, "success");
1106
1149
  },
@@ -1133,7 +1176,7 @@ var BUTTON_PADDING_V3 = 12;
1133
1176
  var BUTTON_BORDER_RADIUS3 = 8;
1134
1177
  var BUTTON_MARGIN_TOP3 = 12;
1135
1178
  var BUTTON_FONT_SIZE3 = 16;
1136
- var styles10 = reactNative.StyleSheet.create({
1179
+ var styles11 = reactNative.StyleSheet.create({
1137
1180
  container: {
1138
1181
  flex: 1,
1139
1182
  justifyContent: "center",
@@ -1207,10 +1250,10 @@ var ErrorBoundaryFallback = ({
1207
1250
  accessibilityHint: labels.tryAgainHint,
1208
1251
  accessibilityLabel: labels.tryAgain,
1209
1252
  accessibilityRole: "button",
1210
- style: [styles10.button, reloadIsPrimary ? secondaryFill : primaryFill],
1253
+ style: [styles11.button, reloadIsPrimary ? secondaryFill : primaryFill],
1211
1254
  testID: `${testIDPrefix}-retry-button`,
1212
1255
  onPress: onRetry,
1213
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1256
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1214
1257
  }
1215
1258
  ) : null;
1216
1259
  const reloadButton = typeof onReload === "function" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1219,10 +1262,10 @@ var ErrorBoundaryFallback = ({
1219
1262
  accessibilityHint: labels.reloadHint,
1220
1263
  accessibilityLabel: labels.reload,
1221
1264
  accessibilityRole: "button",
1222
- style: [styles10.button, reloadIsPrimary ? primaryFill : secondaryFill],
1265
+ style: [styles11.button, reloadIsPrimary ? primaryFill : secondaryFill],
1223
1266
  testID: `${testIDPrefix}-reload-button`,
1224
1267
  onPress: onReload,
1225
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1268
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1226
1269
  }
1227
1270
  ) : null;
1228
1271
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1230,20 +1273,20 @@ var ErrorBoundaryFallback = ({
1230
1273
  {
1231
1274
  accessibilityLiveRegion: "assertive",
1232
1275
  role: "alert",
1233
- style: [styles10.container, { backgroundColor: theme.colors.background }],
1276
+ style: [styles11.container, { backgroundColor: theme.colors.background }],
1234
1277
  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 }),
1278
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.content, children: [
1279
+ logo !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles11.logo, testID: `${testIDPrefix}-logo`, children: logo }) : null,
1280
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.title, { color: theme.colors.text }], children: labels.title }),
1238
1281
  /* @__PURE__ */ jsxRuntime.jsx(ErrorState, { message: labels.message, testID: `${testIDPrefix}-message` }),
1239
1282
  hasDetails ? /* @__PURE__ */ jsxRuntime.jsxs(
1240
1283
  reactNative.View,
1241
1284
  {
1242
- style: [styles10.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1285
+ style: [styles11.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1243
1286
  testID: `${testIDPrefix}-details`,
1244
1287
  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 })
1288
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.detailsTitle, { color: warningText }], children: labels.errorDetails }),
1289
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.detailsText, { color: theme.colors.textSecondary }], children: error.message })
1247
1290
  ]
1248
1291
  }
1249
1292
  ) : null,
@@ -1256,7 +1299,7 @@ var ErrorBoundaryFallback = ({
1256
1299
  var CONTAINER_PADDING4 = 20;
1257
1300
  var MESSAGE_FONT_SIZE3 = 16;
1258
1301
  var MESSAGE_MARGIN_TOP = 12;
1259
- var styles11 = reactNative.StyleSheet.create({
1302
+ var styles12 = reactNative.StyleSheet.create({
1260
1303
  container: {
1261
1304
  flex: 1,
1262
1305
  justifyContent: "center",
@@ -1279,11 +1322,11 @@ var ErrorBoundaryRecovering = ({
1279
1322
  {
1280
1323
  accessibilityLiveRegion: "polite",
1281
1324
  role: "status",
1282
- style: [styles11.container, { backgroundColor: theme.colors.background }],
1325
+ style: [styles12.container, { backgroundColor: theme.colors.background }],
1283
1326
  testID,
1284
1327
  children: [
1285
1328
  /* @__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 })
1329
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.message, { color: theme.colors.textSecondary }], children: message })
1287
1330
  ]
1288
1331
  }
1289
1332
  );
@@ -1385,7 +1428,7 @@ var TRACK_MARGIN = 4;
1385
1428
  var INDET_FRACTION = 0.35;
1386
1429
  var INDET_DURATION_MS = 1300;
1387
1430
  var LABEL_FONT_SIZE = 12;
1388
- var styles12 = reactNative.StyleSheet.create({
1431
+ var styles13 = reactNative.StyleSheet.create({
1389
1432
  track: { height: BAR_HEIGHT, borderRadius: RADIUS, overflow: "hidden", marginVertical: TRACK_MARGIN },
1390
1433
  fill: { height: "100%", borderRadius: RADIUS },
1391
1434
  label: { fontSize: LABEL_FONT_SIZE, textAlign: "right", fontVariant: ["tabular-nums"] }
@@ -1404,7 +1447,7 @@ function IndeterminateFill({ color, width, testID }) {
1404
1447
  return /* @__PURE__ */ jsxRuntime.jsx(
1405
1448
  reactNative.Animated.View,
1406
1449
  {
1407
- style: [styles12.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1450
+ style: [styles13.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1408
1451
  testID
1409
1452
  }
1410
1453
  );
@@ -1439,13 +1482,13 @@ function ProgressBar(props) {
1439
1482
  role: "progressbar",
1440
1483
  testID,
1441
1484
  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
1485
+ /* @__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 }) }),
1486
+ !indeterminate && label !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.label, { color: textColor }], children: label }) : null
1444
1487
  ]
1445
1488
  }
1446
1489
  );
1447
1490
  }
1448
- var styles13 = reactNative.StyleSheet.create({
1491
+ var styles14 = reactNative.StyleSheet.create({
1449
1492
  button: {
1450
1493
  minHeight: a11y.MIN_TOUCH_TARGET_PX,
1451
1494
  minWidth: a11y.MIN_TOUCH_TARGET_PX,
@@ -1468,9 +1511,9 @@ function RunCardButton({ label, hint, color, onPress, testID, disabled = false,
1468
1511
  accessibilityState: { disabled, expanded },
1469
1512
  disabled,
1470
1513
  onPress,
1471
- style: [styles13.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1514
+ style: [styles14.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1472
1515
  testID,
1473
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.text, { color }], children: label })
1516
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.text, { color }], children: label })
1474
1517
  }
1475
1518
  );
1476
1519
  }
@@ -1548,7 +1591,7 @@ function runToneTextColor(theme, state) {
1548
1591
  return inks[state] ?? runToneColor(theme, state);
1549
1592
  }
1550
1593
  var MARK = { done: "\u2713", running: "\u25CF", pending: "\u25CB", failed: "\u2715" };
1551
- var styles14 = reactNative.StyleSheet.create({
1594
+ var styles15 = reactNative.StyleSheet.create({
1552
1595
  row: { flexDirection: "row", flexWrap: "wrap", gap: 6 },
1553
1596
  chip: { borderWidth: 1, borderRadius: 6, paddingHorizontal: 10, justifyContent: "center" },
1554
1597
  tap: { minHeight: a11y.MIN_TOUCH_TARGET_PX },
@@ -1561,15 +1604,15 @@ function chipText(group, labels) {
1561
1604
  }
1562
1605
  function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect }) {
1563
1606
  const { theme } = useFeedbackUi();
1564
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.row, testID, children: groups.map((group) => {
1607
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.row, testID, children: groups.map((group) => {
1565
1608
  const color = runToneColor(theme, group.state);
1566
1609
  const ink = runToneTextColor(theme, group.state);
1567
1610
  const selected = group.id === selectedId;
1568
1611
  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 }];
1612
+ const body = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.text, { color: ink }, selected || group.state === "running" ? styles15.strong : null], children: chipText(group, labels) });
1613
+ const look = [styles15.chip, { borderColor: color, backgroundColor: selected ? theme.colors.surfaceElevated : theme.colors.surface }];
1571
1614
  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);
1615
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [look, styles15.still], accessible: true, accessibilityLabel: a11y, testID: `${testID}-${group.id}`, children: body }, group.id);
1573
1616
  }
1574
1617
  return /* @__PURE__ */ jsxRuntime.jsx(
1575
1618
  reactNative.Pressable,
@@ -1579,7 +1622,7 @@ function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect })
1579
1622
  accessibilityHint: labels.groupHint,
1580
1623
  accessibilityState: { selected },
1581
1624
  onPress: () => onSelect(group.id),
1582
- style: [look, styles14.tap],
1625
+ style: [look, styles15.tap],
1583
1626
  testID: `${testID}-${group.id}`,
1584
1627
  children: body
1585
1628
  },
@@ -1593,8 +1636,8 @@ function RunGroupSummary({ groups, labels, testID }) {
1593
1636
  const open = groups.filter((g) => g.state !== "done");
1594
1637
  const doneColor = runToneColor(theme, "done");
1595
1638
  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,
1639
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.row, testID, children: [
1640
+ 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
1641
  /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups: open, labels, testID: `${testID}-open` })
1599
1642
  ] });
1600
1643
  }
@@ -1604,7 +1647,7 @@ var LABEL_SHARE = "35%";
1604
1647
  var LABEL_LINES = 2;
1605
1648
  var DURATION_WIDTH = 64;
1606
1649
  var PERCENT = 100;
1607
- var styles15 = reactNative.StyleSheet.create({
1650
+ var styles16 = reactNative.StyleSheet.create({
1608
1651
  list: { gap: 6 },
1609
1652
  row: { flexDirection: "row", alignItems: "center", gap: 8 },
1610
1653
  stack: { gap: 4 },
@@ -1623,22 +1666,22 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1623
1666
  const maxSec = steps.reduce((m, s) => Math.max(m, s.durationSec), 0);
1624
1667
  const folded = split.hiddenCount > 0;
1625
1668
  const canFold = all && steps.length > maxBars;
1626
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.list, testID, children: [
1669
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.list, testID, children: [
1627
1670
  split.visible.map((step, i) => {
1628
1671
  const color = runToneColor(theme, step.state);
1629
1672
  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}%` }] }) });
1673
+ const strong = step.state === "running" ? styles16.strong : null;
1674
+ 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 });
1675
+ const time = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.duration, { color: theme.colors.textSecondary }, strong], children: duration });
1676
+ 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
1677
  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: [
1678
+ return compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.stack, ...a11y, children: [
1679
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, children: [
1637
1680
  name,
1638
1681
  time
1639
1682
  ] }),
1640
1683
  bar
1641
- ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.row, ...a11y, children: [
1684
+ ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, ...a11y, children: [
1642
1685
  name,
1643
1686
  bar,
1644
1687
  time
@@ -1659,7 +1702,7 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1659
1702
  }
1660
1703
  var LIVE_RUN_CARD_COMPACT_MAX_PX = 640;
1661
1704
  var DEFAULT_MAX_BARS = 4;
1662
- var styles16 = reactNative.StyleSheet.create({
1705
+ var styles17 = reactNative.StyleSheet.create({
1663
1706
  card: { borderWidth: 1, borderRadius: 8, padding: 14, gap: 10 },
1664
1707
  head: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 10 },
1665
1708
  titleBox: { flexGrow: 1, flexShrink: 1, flexBasis: 200, minWidth: 0, gap: 2 },
@@ -1684,18 +1727,18 @@ function LiveRunCard(props) {
1684
1727
  const percent = progressPercent(progress);
1685
1728
  const showTimings = !compact || open;
1686
1729
  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 })
1730
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.card, { borderColor: tone, backgroundColor: theme.colors.surface }], testID, children: [
1731
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.head, children: [
1732
+ /* @__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 }) }),
1733
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.titleBox, children: [
1734
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.title, { color: theme.colors.text }], testID: `${testID}-title`, children: title }),
1735
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.meta, muted], testID: `${testID}-meta`, children: labels.meta })
1693
1736
  ] }),
1694
1737
  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
1738
  ] }),
1696
- currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1739
+ currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1697
1740
  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,
1741
+ percent === null && labels.progress !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.meta, muted], testID: `${testID}-progress-text`, children: labels.progress }) : null,
1699
1742
  compact && !open ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupSummary, { groups, labels, testID: `${testID}-summary` }) : null,
1700
1743
  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
1744
  showTimings ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups, labels, selectedId, onSelect: setPicked, testID: `${testID}-groups` }) : null,
@@ -1723,6 +1766,7 @@ exports.PageSkeleton = PageSkeleton;
1723
1766
  exports.ProgressBar = ProgressBar;
1724
1767
  exports.ToastHost = ToastHost;
1725
1768
  exports.UiProvider = FeedbackUiProvider;
1769
+ exports.UiThemeOverride = UiThemeOverride;
1726
1770
  exports.WARMING_QUIET_PERIOD_MS = WARMING_QUIET_PERIOD_MS;
1727
1771
  exports.WarmingOverlay = WarmingOverlay;
1728
1772
  exports.barFraction = barFraction;