@dloizides/ui-feedback 1.24.0 → 1.25.1

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/dist/index.d.mts CHANGED
@@ -131,6 +131,13 @@ interface ErrorStateProps {
131
131
  }
132
132
  declare const ErrorState: ({ message, onRetry, testID, title, icon, secondaryAction, error, }: ErrorStateProps) => React.ReactElement;
133
133
 
134
+ interface ErrorNoticeProps {
135
+ children: React.ReactNode;
136
+ testID?: string;
137
+ }
138
+ /** A bordered box in the theme's error colours that announces its lines politely; the caller supplies the lines. */
139
+ declare const ErrorNotice: ({ children, testID }: ErrorNoticeProps) => React.ReactElement;
140
+
134
141
  /**
135
142
  * EmptyListState - empty-collection message with an optional call-to-action.
136
143
  *
@@ -683,4 +690,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
683
690
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
684
691
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
685
692
 
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 };
693
+ 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, ErrorNotice, type ErrorNoticeProps, 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
@@ -131,6 +131,13 @@ interface ErrorStateProps {
131
131
  }
132
132
  declare const ErrorState: ({ message, onRetry, testID, title, icon, secondaryAction, error, }: ErrorStateProps) => React.ReactElement;
133
133
 
134
+ interface ErrorNoticeProps {
135
+ children: React.ReactNode;
136
+ testID?: string;
137
+ }
138
+ /** A bordered box in the theme's error colours that announces its lines politely; the caller supplies the lines. */
139
+ declare const ErrorNotice: ({ children, testID }: ErrorNoticeProps) => React.ReactElement;
140
+
134
141
  /**
135
142
  * EmptyListState - empty-collection message with an optional call-to-action.
136
143
  *
@@ -683,4 +690,4 @@ declare function LiveRunCard(props: LiveRunCardProps): React.ReactElement;
683
690
  /** The theme colour for a step or group state; falls back to primary/text when a semantic scale is absent. */
684
691
  declare function runToneColor(theme: FeedbackTheme, state: RunStepState): string;
685
692
 
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 };
693
+ 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, ErrorNotice, type ErrorNoticeProps, 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
@@ -381,6 +381,26 @@ var ErrorState = ({
381
381
  )
382
382
  ] });
383
383
  };
384
+ var BORDER_WIDTH = 1;
385
+ var BORDER_RADIUS = 8;
386
+ var PADDING = 12;
387
+ var LINE_GAP = 4;
388
+ var styles4 = reactNative.StyleSheet.create({
389
+ notice: { borderWidth: BORDER_WIDTH, borderRadius: BORDER_RADIUS, padding: PADDING, gap: LINE_GAP }
390
+ });
391
+ var ErrorNotice = ({ children, testID }) => {
392
+ const { theme } = useFeedbackUi();
393
+ const { error } = theme.semantic;
394
+ return /* @__PURE__ */ jsxRuntime.jsx(
395
+ reactNative.View,
396
+ {
397
+ "aria-live": "polite",
398
+ style: [styles4.notice, { borderColor: error["500"], backgroundColor: error["50"] }],
399
+ testID,
400
+ children
401
+ }
402
+ );
403
+ };
384
404
  var MESSAGE_FONT_SIZE2 = 16;
385
405
  var CTA_MARGIN_TOP = 16;
386
406
  var CTA_PADDING_VERTICAL = 10;
@@ -388,7 +408,7 @@ var CTA_PADDING_HORIZONTAL = 20;
388
408
  var CTA_BORDER_RADIUS = 8;
389
409
  var CTA_FONT_SIZE = 14;
390
410
  var CONTAINER_PADDING2 = 32;
391
- var styles4 = reactNative.StyleSheet.create({
411
+ var styles5 = reactNative.StyleSheet.create({
392
412
  container: {
393
413
  flex: 1,
394
414
  justifyContent: "center",
@@ -424,25 +444,25 @@ var EmptyListState = ({
424
444
  if (typeof ctaRoute === "string" && typeof navigate === "function") navigate(ctaRoute);
425
445
  }, [navigate, ctaRoute]);
426
446
  const showCta = typeof ctaTextKey === "string" && typeof ctaHintKey === "string" && typeof ctaRoute === "string";
427
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles4.container, testID, children: [
428
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles4.message, { color: colors.textSecondary }], children: t(messageKey) }),
447
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles5.container, testID, children: [
448
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles5.message, { color: colors.textSecondary }], children: t(messageKey) }),
429
449
  showCta ? /* @__PURE__ */ jsxRuntime.jsx(
430
450
  reactNative.TouchableOpacity,
431
451
  {
432
452
  accessibilityHint: t(ctaHintKey),
433
453
  accessibilityLabel: t(ctaTextKey),
434
454
  accessibilityRole: "button",
435
- style: [styles4.ctaButton, { backgroundColor: primary }],
455
+ style: [styles5.ctaButton, { backgroundColor: primary }],
436
456
  testID: FEEDBACK_TEST_IDS.emptyListCta,
437
457
  onPress: handlePress,
438
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles4.ctaText, { color: colors.background }], children: t(ctaTextKey) })
458
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles5.ctaText, { color: colors.background }], children: t(ctaTextKey) })
439
459
  }
440
460
  ) : null
441
461
  ] });
442
462
  };
443
463
  var FULLSCREEN_MIN_HEIGHT = 300;
444
464
  var CONTAINER_MIN_HEIGHT = 100;
445
- var styles5 = reactNative.StyleSheet.create({
465
+ var styles6 = reactNative.StyleSheet.create({
446
466
  container: {
447
467
  flex: 1,
448
468
  justifyContent: "center",
@@ -463,7 +483,7 @@ var LoadingFallback = ({ fullScreen = false, size = "large" }) => {
463
483
  accessibilityHint: t("loadingFallback.hint"),
464
484
  accessibilityLabel: t("loadingFallback.label"),
465
485
  accessibilityRole: "progressbar",
466
- style: [styles5.container, fullScreen && styles5.fullScreen, { backgroundColor: colors.background }],
486
+ style: [styles6.container, fullScreen && styles6.fullScreen, { backgroundColor: colors.background }],
467
487
  testID: FEEDBACK_TEST_IDS.loadingFallback,
468
488
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: primary, size })
469
489
  }
@@ -480,7 +500,7 @@ var TEXT_LINE_HEIGHT = 16;
480
500
  var TEXT_LINE_FULL_WIDTH = "100%";
481
501
  var TEXT_LINE_SHORT_WIDTH = "70%";
482
502
  var CARD_HEIGHT = 120;
483
- var styles6 = reactNative.StyleSheet.create({
503
+ var styles7 = reactNative.StyleSheet.create({
484
504
  container: {
485
505
  flex: 1,
486
506
  padding: 16
@@ -514,25 +534,25 @@ var PageSkeleton = ({
514
534
  const { theme, t } = useFeedbackUi();
515
535
  const colors = theme.colors;
516
536
  const skeletonColor = String(colors.border);
517
- const renderListRow = (index) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles6.row, children: [
537
+ const renderListRow = (index) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles7.row, children: [
518
538
  /* @__PURE__ */ jsxRuntime.jsx(
519
539
  uiMotion.Skeleton,
520
540
  {
521
541
  backgroundColor: skeletonColor,
522
542
  borderRadius: AVATAR_BORDER_RADIUS,
523
543
  height: AVATAR_SIZE,
524
- style: styles6.avatar,
544
+ style: styles7.avatar,
525
545
  width: AVATAR_SIZE
526
546
  }
527
547
  ),
528
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles6.textContainer, children: [
548
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles7.textContainer, children: [
529
549
  /* @__PURE__ */ jsxRuntime.jsx(
530
550
  uiMotion.Skeleton,
531
551
  {
532
552
  backgroundColor: skeletonColor,
533
553
  borderRadius: SKELETON_BORDER_RADIUS,
534
554
  height: TEXT_LINE_HEIGHT,
535
- style: styles6.textLine,
555
+ style: styles7.textLine,
536
556
  width: TEXT_LINE_FULL_WIDTH
537
557
  }
538
558
  ),
@@ -542,7 +562,7 @@ var PageSkeleton = ({
542
562
  backgroundColor: skeletonColor,
543
563
  borderRadius: SKELETON_BORDER_RADIUS,
544
564
  height: TEXT_LINE_HEIGHT,
545
- style: styles6.textLine,
565
+ style: styles7.textLine,
546
566
  width: TEXT_LINE_SHORT_WIDTH
547
567
  }
548
568
  )
@@ -554,7 +574,7 @@ var PageSkeleton = ({
554
574
  backgroundColor: skeletonColor,
555
575
  borderRadius: CARD_BORDER_RADIUS,
556
576
  height: CARD_HEIGHT,
557
- style: styles6.card
577
+ style: styles7.card
558
578
  },
559
579
  index
560
580
  );
@@ -565,7 +585,7 @@ var PageSkeleton = ({
565
585
  accessibilityHint: t("pageSkeleton.loadingHint"),
566
586
  accessibilityLabel: t("pageSkeleton.loadingLabel"),
567
587
  accessibilityState: { busy: true },
568
- style: [styles6.container, { backgroundColor: colors.background }],
588
+ style: [styles7.container, { backgroundColor: colors.background }],
569
589
  testID: FEEDBACK_TEST_IDS.pageSkeleton,
570
590
  children: [
571
591
  showHeader ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -574,7 +594,7 @@ var PageSkeleton = ({
574
594
  backgroundColor: skeletonColor,
575
595
  borderRadius: SKELETON_BORDER_RADIUS,
576
596
  height: HEADER_HEIGHT,
577
- style: styles6.header,
597
+ style: styles7.header,
578
598
  width: HEADER_WIDTH
579
599
  }
580
600
  ) : null,
@@ -606,7 +626,7 @@ function confirmInk(theme, destructive) {
606
626
  return designTokens.resolveOnBrand(confirmFill(theme, destructive));
607
627
  }
608
628
  var DIALOG_MAX_WIDTH = 400;
609
- var styles7 = reactNative.StyleSheet.create({
629
+ var styles8 = reactNative.StyleSheet.create({
610
630
  overlay: {
611
631
  flex: 1,
612
632
  backgroundColor: MODAL_OVERLAY_COLOR,
@@ -698,17 +718,17 @@ var ConfirmDialog = ({
698
718
  animationType: "fade",
699
719
  visible,
700
720
  onRequestClose: onCancel,
701
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles7.overlay, testID: FEEDBACK_TEST_IDS.confirmDialog, children: /* @__PURE__ */ jsxRuntime.jsxs(
721
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles8.overlay, testID: FEEDBACK_TEST_IDS.confirmDialog, children: /* @__PURE__ */ jsxRuntime.jsxs(
702
722
  reactNative.View,
703
723
  {
704
724
  accessibilityViewIsModal: true,
705
725
  "aria-label": innerDialogRole === void 0 ? void 0 : title,
706
726
  role: innerDialogRole,
707
- style: [styles7.dialog, colorStyles.dialog],
727
+ style: [styles8.dialog, colorStyles.dialog],
708
728
  children: [
709
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { nativeID: titleId, style: [styles7.title, colorStyles.title], children: title }),
710
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles7.message, colorStyles.message], children: message }),
711
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles7.buttonRow, children: [
729
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { nativeID: titleId, style: [styles8.title, colorStyles.title], children: title }),
730
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.message, colorStyles.message], children: message }),
731
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.buttonRow, children: [
712
732
  /* @__PURE__ */ jsxRuntime.jsx(
713
733
  reactNative.TouchableOpacity,
714
734
  {
@@ -716,13 +736,13 @@ var ConfirmDialog = ({
716
736
  accessibilityLabel: resolvedCancelLabel,
717
737
  accessibilityRole: "button",
718
738
  style: [
719
- styles7.button,
720
- styles7.cancelButton,
739
+ styles8.button,
740
+ styles8.cancelButton,
721
741
  colorStyles.cancelButton
722
742
  ],
723
743
  testID: FEEDBACK_TEST_IDS.cancelConfirmButton,
724
744
  onPress: onCancel,
725
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles7.buttonText, colorStyles.cancelButtonText], children: resolvedCancelLabel })
745
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.buttonText, colorStyles.cancelButtonText], children: resolvedCancelLabel })
726
746
  }
727
747
  ),
728
748
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -734,10 +754,10 @@ var ConfirmDialog = ({
734
754
  accessibilityState: { disabled: isConfirmDisabled },
735
755
  disabled: isConfirmDisabled,
736
756
  style: [
737
- styles7.button,
738
- styles7.confirmButton,
757
+ styles8.button,
758
+ styles8.confirmButton,
739
759
  colorStyles.confirmButton,
740
- isConfirmDisabled && styles7.disabledButton
760
+ isConfirmDisabled && styles8.disabledButton
741
761
  ],
742
762
  testID: FEEDBACK_TEST_IDS.confirmButton,
743
763
  onPress: onConfirm,
@@ -751,7 +771,7 @@ var ConfirmDialog = ({
751
771
  ) : /* @__PURE__ */ jsxRuntime.jsx(
752
772
  reactNative.Text,
753
773
  {
754
- style: [styles7.buttonText, colorStyles.confirmButtonText],
774
+ style: [styles8.buttonText, colorStyles.confirmButtonText],
755
775
  children: resolvedConfirmLabel
756
776
  }
757
777
  )
@@ -767,7 +787,7 @@ var ConfirmDialog = ({
767
787
  var ACTION_PADDING_HORIZONTAL = 12;
768
788
  var ACTION_BORDER_RADIUS = 6;
769
789
  var ACTION_FONT_SIZE = 14;
770
- var styles8 = reactNative.StyleSheet.create({
790
+ var styles9 = reactNative.StyleSheet.create({
771
791
  button: {
772
792
  minWidth: MIN_TOUCH_TARGET,
773
793
  minHeight: MIN_TOUCH_TARGET,
@@ -790,10 +810,10 @@ var ToastAction = ({ action, color, testID, onDismiss }) => {
790
810
  accessibilityHint: action.hint ?? action.label,
791
811
  accessibilityLabel: action.label,
792
812
  accessibilityRole: "button",
793
- style: [styles8.button, { borderColor: color }],
813
+ style: [styles9.button, { borderColor: color }],
794
814
  testID,
795
815
  onPress: handlePress,
796
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.label, { color }], children: action.label })
816
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.label, { color }], children: action.label })
797
817
  }
798
818
  );
799
819
  };
@@ -854,7 +874,7 @@ var C1_CONTROL_END = 159;
854
874
  var ZERO_WIDTH_START = 8203;
855
875
  var ZERO_WIDTH_END = 8207;
856
876
  var BYTE_ORDER_MARK = 65279;
857
- var styles9 = reactNative.StyleSheet.create({
877
+ var styles10 = reactNative.StyleSheet.create({
858
878
  container: {
859
879
  position: "absolute",
860
880
  left: TOAST_HORIZONTAL_MARGIN,
@@ -931,12 +951,12 @@ var ToastItem = ({ message, onDone, tone, durationMs, fadeMs, testID }) => {
931
951
  {
932
952
  accessibilityLiveRegion: isError ? "assertive" : "polite",
933
953
  role: isError ? "alert" : "status",
934
- style: [styles9.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
954
+ style: [styles10.toast, { backgroundColor: tone.fill, borderColor: tone.border, transform: [{ translateY }], opacity }],
935
955
  testID,
936
956
  children: [
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 }),
957
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: [styles10.glyph, { borderColor: tone.ink }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.glyphText, { color: tone.ink }], children: tone.glyph }) }),
958
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.body, children: [
959
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.text, { color: tone.ink }], children: message.text }),
940
960
  /* @__PURE__ */ jsxRuntime.jsx(ErrorReferenceRow, { actionColor: tone.ink, color: tone.ink, testID: `${testID}-reference`, traceId: message.traceId })
941
961
  ] }),
942
962
  message.action ? /* @__PURE__ */ jsxRuntime.jsx(ToastAction, { action: message.action, color: tone.ink, testID: `${testID}-action`, onDismiss: handleDone }) : null
@@ -980,7 +1000,7 @@ var ToastHost = ({
980
1000
  react.useEffect(() => subscribe(push), [subscribe, push]);
981
1001
  if (messages.length === 0) return null;
982
1002
  const canPortal = IS_WEB && typeof document !== "undefined";
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(
1003
+ const layer = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles10.container, { top: toastTop(IS_WEB, topInset) }, canPortal ? WEB_FIXED_LAYER : null], children: messages.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
984
1004
  ToastItem,
985
1005
  {
986
1006
  durationMs,
@@ -1056,7 +1076,7 @@ var SUBTITLE_FONT_SIZE = 15;
1056
1076
  var ATTEMPT_FONT_SIZE = 13;
1057
1077
  var CARD_PADDING = 24;
1058
1078
  var NO_ATTEMPT = 0;
1059
- var styles10 = reactNative.StyleSheet.create({
1079
+ var styles11 = reactNative.StyleSheet.create({
1060
1080
  overlay: {
1061
1081
  position: "absolute",
1062
1082
  top: 0,
@@ -1113,13 +1133,13 @@ var WarmingOverlay = ({
1113
1133
  {
1114
1134
  accessibilityLabel: mergedLabels.accessibilityLabel,
1115
1135
  accessibilityRole: "alert",
1116
- style: [styles10.overlay, { backgroundColor: colors.background }],
1136
+ style: [styles11.overlay, { backgroundColor: colors.background }],
1117
1137
  testID: testIdPrefix,
1118
- children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.card, children: [
1138
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.card, children: [
1119
1139
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: primary, size: "large" }),
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
1140
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.title, { color: colors.text }], testID: `${testIdPrefix}-title`, children: mergedLabels.title }),
1141
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.subtitle, { color: colors.textSecondary }], testID: `${testIdPrefix}-subtitle`, children: mergedLabels.subtitle }),
1142
+ showHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.attempt, { color: colors.textSecondary }], testID: `${testIdPrefix}-attempt`, children: mergedLabels.attemptHint(snapshot2.attempt) }) : null
1123
1143
  ] })
1124
1144
  }
1125
1145
  );
@@ -1176,7 +1196,7 @@ var BUTTON_PADDING_V3 = 12;
1176
1196
  var BUTTON_BORDER_RADIUS3 = 8;
1177
1197
  var BUTTON_MARGIN_TOP3 = 12;
1178
1198
  var BUTTON_FONT_SIZE3 = 16;
1179
- var styles11 = reactNative.StyleSheet.create({
1199
+ var styles12 = reactNative.StyleSheet.create({
1180
1200
  container: {
1181
1201
  flex: 1,
1182
1202
  justifyContent: "center",
@@ -1250,10 +1270,10 @@ var ErrorBoundaryFallback = ({
1250
1270
  accessibilityHint: labels.tryAgainHint,
1251
1271
  accessibilityLabel: labels.tryAgain,
1252
1272
  accessibilityRole: "button",
1253
- style: [styles11.button, reloadIsPrimary ? secondaryFill : primaryFill],
1273
+ style: [styles12.button, reloadIsPrimary ? secondaryFill : primaryFill],
1254
1274
  testID: `${testIDPrefix}-retry-button`,
1255
1275
  onPress: onRetry,
1256
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1276
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.buttonText, reloadIsPrimary ? secondaryInk : primaryInk], children: labels.tryAgain })
1257
1277
  }
1258
1278
  ) : null;
1259
1279
  const reloadButton = typeof onReload === "function" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1262,10 +1282,10 @@ var ErrorBoundaryFallback = ({
1262
1282
  accessibilityHint: labels.reloadHint,
1263
1283
  accessibilityLabel: labels.reload,
1264
1284
  accessibilityRole: "button",
1265
- style: [styles11.button, reloadIsPrimary ? primaryFill : secondaryFill],
1285
+ style: [styles12.button, reloadIsPrimary ? primaryFill : secondaryFill],
1266
1286
  testID: `${testIDPrefix}-reload-button`,
1267
1287
  onPress: onReload,
1268
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1288
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.buttonText, reloadIsPrimary ? primaryInk : secondaryInk], children: labels.reload })
1269
1289
  }
1270
1290
  ) : null;
1271
1291
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1273,20 +1293,20 @@ var ErrorBoundaryFallback = ({
1273
1293
  {
1274
1294
  accessibilityLiveRegion: "assertive",
1275
1295
  role: "alert",
1276
- style: [styles11.container, { backgroundColor: theme.colors.background }],
1296
+ style: [styles12.container, { backgroundColor: theme.colors.background }],
1277
1297
  testID: testIDPrefix,
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 }),
1298
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles12.content, children: [
1299
+ logo !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles12.logo, testID: `${testIDPrefix}-logo`, children: logo }) : null,
1300
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.title, { color: theme.colors.text }], children: labels.title }),
1281
1301
  /* @__PURE__ */ jsxRuntime.jsx(ErrorState, { message: labels.message, testID: `${testIDPrefix}-message` }),
1282
1302
  hasDetails ? /* @__PURE__ */ jsxRuntime.jsxs(
1283
1303
  reactNative.View,
1284
1304
  {
1285
- style: [styles11.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1305
+ style: [styles12.details, { backgroundColor: theme.colors.surface, borderColor: warningColor }],
1286
1306
  testID: `${testIDPrefix}-details`,
1287
1307
  children: [
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 })
1308
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.detailsTitle, { color: warningText }], children: labels.errorDetails }),
1309
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.detailsText, { color: theme.colors.textSecondary }], children: error.message })
1290
1310
  ]
1291
1311
  }
1292
1312
  ) : null,
@@ -1299,7 +1319,7 @@ var ErrorBoundaryFallback = ({
1299
1319
  var CONTAINER_PADDING4 = 20;
1300
1320
  var MESSAGE_FONT_SIZE3 = 16;
1301
1321
  var MESSAGE_MARGIN_TOP = 12;
1302
- var styles12 = reactNative.StyleSheet.create({
1322
+ var styles13 = reactNative.StyleSheet.create({
1303
1323
  container: {
1304
1324
  flex: 1,
1305
1325
  justifyContent: "center",
@@ -1322,11 +1342,11 @@ var ErrorBoundaryRecovering = ({
1322
1342
  {
1323
1343
  accessibilityLiveRegion: "polite",
1324
1344
  role: "status",
1325
- style: [styles12.container, { backgroundColor: theme.colors.background }],
1345
+ style: [styles13.container, { backgroundColor: theme.colors.background }],
1326
1346
  testID,
1327
1347
  children: [
1328
1348
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: theme.palette.primary["500"], size: "large" }),
1329
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.message, { color: theme.colors.textSecondary }], children: message })
1349
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.message, { color: theme.colors.textSecondary }], children: message })
1330
1350
  ]
1331
1351
  }
1332
1352
  );
@@ -1428,7 +1448,7 @@ var TRACK_MARGIN = 4;
1428
1448
  var INDET_FRACTION = 0.35;
1429
1449
  var INDET_DURATION_MS = 1300;
1430
1450
  var LABEL_FONT_SIZE = 12;
1431
- var styles13 = reactNative.StyleSheet.create({
1451
+ var styles14 = reactNative.StyleSheet.create({
1432
1452
  track: { height: BAR_HEIGHT, borderRadius: RADIUS, overflow: "hidden", marginVertical: TRACK_MARGIN },
1433
1453
  fill: { height: "100%", borderRadius: RADIUS },
1434
1454
  label: { fontSize: LABEL_FONT_SIZE, textAlign: "right", fontVariant: ["tabular-nums"] }
@@ -1447,7 +1467,7 @@ function IndeterminateFill({ color, width, testID }) {
1447
1467
  return /* @__PURE__ */ jsxRuntime.jsx(
1448
1468
  reactNative.Animated.View,
1449
1469
  {
1450
- style: [styles13.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1470
+ style: [styles14.fill, { backgroundColor: color, width: barWidth, transform: [{ translateX }] }],
1451
1471
  testID
1452
1472
  }
1453
1473
  );
@@ -1482,13 +1502,13 @@ function ProgressBar(props) {
1482
1502
  role: "progressbar",
1483
1503
  testID,
1484
1504
  children: [
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
1505
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.track, { backgroundColor: trackColor }], onLayout, children: indeterminate ? /* @__PURE__ */ jsxRuntime.jsx(IndeterminateFill, { color, testID: fillTestID, width }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.fill, { backgroundColor: color, width: `${safePct}%` }], testID: fillTestID }) }),
1506
+ !indeterminate && label !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.label, { color: textColor }], children: label }) : null
1487
1507
  ]
1488
1508
  }
1489
1509
  );
1490
1510
  }
1491
- var styles14 = reactNative.StyleSheet.create({
1511
+ var styles15 = reactNative.StyleSheet.create({
1492
1512
  button: {
1493
1513
  minHeight: a11y.MIN_TOUCH_TARGET_PX,
1494
1514
  minWidth: a11y.MIN_TOUCH_TARGET_PX,
@@ -1511,9 +1531,9 @@ function RunCardButton({ label, hint, color, onPress, testID, disabled = false,
1511
1531
  accessibilityState: { disabled, expanded },
1512
1532
  disabled,
1513
1533
  onPress,
1514
- style: [styles14.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1534
+ style: [styles15.button, { borderColor: color }, disabled ? { opacity: DISABLED_OPACITY } : null],
1515
1535
  testID,
1516
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.text, { color }], children: label })
1536
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.text, { color }], children: label })
1517
1537
  }
1518
1538
  );
1519
1539
  }
@@ -1591,7 +1611,7 @@ function runToneTextColor(theme, state) {
1591
1611
  return inks[state] ?? runToneColor(theme, state);
1592
1612
  }
1593
1613
  var MARK = { done: "\u2713", running: "\u25CF", pending: "\u25CB", failed: "\u2715" };
1594
- var styles15 = reactNative.StyleSheet.create({
1614
+ var styles16 = reactNative.StyleSheet.create({
1595
1615
  row: { flexDirection: "row", flexWrap: "wrap", gap: 6 },
1596
1616
  chip: { borderWidth: 1, borderRadius: 6, paddingHorizontal: 10, justifyContent: "center" },
1597
1617
  tap: { minHeight: a11y.MIN_TOUCH_TARGET_PX },
@@ -1604,15 +1624,15 @@ function chipText(group, labels) {
1604
1624
  }
1605
1625
  function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect }) {
1606
1626
  const { theme } = useFeedbackUi();
1607
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.row, testID, children: groups.map((group) => {
1627
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.row, testID, children: groups.map((group) => {
1608
1628
  const color = runToneColor(theme, group.state);
1609
1629
  const ink = runToneTextColor(theme, group.state);
1610
1630
  const selected = group.id === selectedId;
1611
1631
  const a11y = labels.groupA11y(group.label, group.state, labels.formatDuration(group.durationSec));
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 }];
1632
+ const body = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.text, { color: ink }, selected || group.state === "running" ? styles16.strong : null], children: chipText(group, labels) });
1633
+ const look = [styles16.chip, { borderColor: color, backgroundColor: selected ? theme.colors.surfaceElevated : theme.colors.surface }];
1614
1634
  if (onSelect === void 0) {
1615
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [look, styles15.still], accessible: true, accessibilityLabel: a11y, testID: `${testID}-${group.id}`, children: body }, group.id);
1635
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [look, styles16.still], accessible: true, accessibilityLabel: a11y, testID: `${testID}-${group.id}`, children: body }, group.id);
1616
1636
  }
1617
1637
  return /* @__PURE__ */ jsxRuntime.jsx(
1618
1638
  reactNative.Pressable,
@@ -1622,7 +1642,7 @@ function RunGroupChips({ groups, labels, testID, selectedId = null, onSelect })
1622
1642
  accessibilityHint: labels.groupHint,
1623
1643
  accessibilityState: { selected },
1624
1644
  onPress: () => onSelect(group.id),
1625
- style: [look, styles15.tap],
1645
+ style: [look, styles16.tap],
1626
1646
  testID: `${testID}-${group.id}`,
1627
1647
  children: body
1628
1648
  },
@@ -1636,8 +1656,8 @@ function RunGroupSummary({ groups, labels, testID }) {
1636
1656
  const open = groups.filter((g) => g.state !== "done");
1637
1657
  const doneColor = runToneColor(theme, "done");
1638
1658
  const doneText = labels.doneSummary(done.count, labels.formatDuration(done.durationSec));
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,
1659
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, testID, children: [
1660
+ done.count > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.chip, styles16.still, { borderColor: doneColor }], accessible: true, accessibilityLabel: doneText, testID: `${testID}-done`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.text, { color: runToneTextColor(theme, "done") }], children: `${MARK.done} ${doneText}` }) }) : null,
1641
1661
  /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups: open, labels, testID: `${testID}-open` })
1642
1662
  ] });
1643
1663
  }
@@ -1647,7 +1667,7 @@ var LABEL_SHARE = "35%";
1647
1667
  var LABEL_LINES = 2;
1648
1668
  var DURATION_WIDTH = 64;
1649
1669
  var PERCENT = 100;
1650
- var styles16 = reactNative.StyleSheet.create({
1670
+ var styles17 = reactNative.StyleSheet.create({
1651
1671
  list: { gap: 6 },
1652
1672
  row: { flexDirection: "row", alignItems: "center", gap: 8 },
1653
1673
  stack: { gap: 4 },
@@ -1666,22 +1686,22 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1666
1686
  const maxSec = steps.reduce((m, s) => Math.max(m, s.durationSec), 0);
1667
1687
  const folded = split.hiddenCount > 0;
1668
1688
  const canFold = all && steps.length > maxBars;
1669
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.list, testID, children: [
1689
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.list, testID, children: [
1670
1690
  split.visible.map((step, i) => {
1671
1691
  const color = runToneColor(theme, step.state);
1672
1692
  const duration = labels.formatDuration(step.durationSec);
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}%` }] }) });
1693
+ const strong = step.state === "running" ? styles17.strong : null;
1694
+ const name = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [compact ? styles17.compactLabel : styles17.label, { color: theme.colors.text }, strong], numberOfLines: LABEL_LINES, testID: `${testID}-name-${String(i)}`, children: step.label });
1695
+ const time = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.duration, { color: theme.colors.textSecondary }, strong], children: duration });
1696
+ const bar = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [compact ? styles17.fullTrack : styles17.track, { backgroundColor: theme.colors.border }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles17.fill, { backgroundColor: color, width: `${barFraction(step.durationSec, maxSec) * PERCENT}%` }] }) });
1677
1697
  const a11y = { accessible: true, accessibilityLabel: labels.stepA11y(step.label, duration), testID: `${testID}-row-${String(i)}` };
1678
- return compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.stack, ...a11y, children: [
1679
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, children: [
1698
+ return compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.stack, ...a11y, children: [
1699
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.row, children: [
1680
1700
  name,
1681
1701
  time
1682
1702
  ] }),
1683
1703
  bar
1684
- ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, ...a11y, children: [
1704
+ ] }, `${step.label}-${String(i)}`) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.row, ...a11y, children: [
1685
1705
  name,
1686
1706
  bar,
1687
1707
  time
@@ -1702,7 +1722,7 @@ function RunStepBars({ steps, maxBars, labels, compact, testID }) {
1702
1722
  }
1703
1723
  var LIVE_RUN_CARD_COMPACT_MAX_PX = 640;
1704
1724
  var DEFAULT_MAX_BARS = 4;
1705
- var styles17 = reactNative.StyleSheet.create({
1725
+ var styles18 = reactNative.StyleSheet.create({
1706
1726
  card: { borderWidth: 1, borderRadius: 8, padding: 14, gap: 10 },
1707
1727
  head: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 10 },
1708
1728
  titleBox: { flexGrow: 1, flexShrink: 1, flexBasis: 200, minWidth: 0, gap: 2 },
@@ -1727,18 +1747,18 @@ function LiveRunCard(props) {
1727
1747
  const percent = progressPercent(progress);
1728
1748
  const showTimings = !compact || open;
1729
1749
  const muted = { color: theme.colors.textSecondary };
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 })
1750
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.card, { borderColor: tone, backgroundColor: theme.colors.surface }], testID, children: [
1751
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.head, children: [
1752
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles18.pill, { borderColor: tone }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.pillText, { color: toneText }], testID: `${testID}-status`, children: labels.status }) }),
1753
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.titleBox, children: [
1754
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.title, { color: theme.colors.text }], testID: `${testID}-title`, children: title }),
1755
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.meta, muted], testID: `${testID}-meta`, children: labels.meta })
1736
1756
  ] }),
1737
1757
  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
1738
1758
  ] }),
1739
- currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1759
+ currentStep !== null && currentStep !== "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.step, { color: theme.colors.text }], testID: `${testID}-step`, children: currentStep }) : null,
1740
1760
  percent !== null ? /* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { percent, label: labels.progress, accessibilityLabel: labels.progressA11y, color: tone, testID: `${testID}-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,
1761
+ percent === null && labels.progress !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.meta, muted], testID: `${testID}-progress-text`, children: labels.progress }) : null,
1742
1762
  compact && !open ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupSummary, { groups, labels, testID: `${testID}-summary` }) : null,
1743
1763
  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,
1744
1764
  showTimings ? /* @__PURE__ */ jsxRuntime.jsx(RunGroupChips, { groups, labels, selectedId, onSelect: setPicked, testID: `${testID}-groups` }) : null,
@@ -1754,6 +1774,7 @@ exports.CopyStatus = CopyStatus;
1754
1774
  exports.DEFAULT_ERROR_BOUNDARY_LABELS = DEFAULT_ERROR_BOUNDARY_LABELS;
1755
1775
  exports.DISABLED_OPACITY = DISABLED_OPACITY;
1756
1776
  exports.EmptyListState = EmptyListState;
1777
+ exports.ErrorNotice = ErrorNotice;
1757
1778
  exports.ErrorReferenceRow = ErrorReferenceRow;
1758
1779
  exports.ErrorState = ErrorState;
1759
1780
  exports.FEEDBACK_TEST_IDS = FEEDBACK_TEST_IDS;