@dloizides/ui-layout 1.55.2 → 1.57.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/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import React16, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
2
- import { StyleSheet, Platform, Text, View, useWindowDimensions, Modal as Modal$1, Animated, ScrollView, TouchableOpacity, Pressable, FlatList, Easing } from 'react-native';
2
+ import { StyleSheet, Platform, Text, useWindowDimensions, View, Modal as Modal$1, Animated, ScrollView, TouchableOpacity, Pressable, FlatList, Easing } from 'react-native';
3
3
  import { MODAL_OVERLAY_COLOR, useUi } from '@dloizides/ui-feedback';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { Z_INDEX, UI_MAIN_STEP, UI_DEEP_STEP, isHexColor, canCarryAccessibleInk, resolveOnBrand, contrastRatio, AA_NORMAL_TEXT_RATIO } from '@dloizides/design-tokens';
@@ -135,6 +135,21 @@ var Heading = ({
135
135
  );
136
136
  };
137
137
 
138
+ // src/responsive.ts
139
+ var WEB_PLATFORM = "web";
140
+ function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
141
+ return platformOS === WEB_PLATFORM && width >= breakpoint;
142
+ }
143
+ function isModalFooterStacked(width) {
144
+ return width < MODAL_FOOTER_STACK_BELOW;
145
+ }
146
+
147
+ // src/hooks/useIsWideViewport.ts
148
+ function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
149
+ const { width } = useWindowDimensions();
150
+ return isWideWebViewport(width, Platform.OS, breakpoint);
151
+ }
152
+
138
153
  // src/Section/SectionVariant.ts
139
154
  var SectionVariant = /* @__PURE__ */ ((SectionVariant2) => {
140
155
  SectionVariant2["Panel"] = "panel";
@@ -167,14 +182,18 @@ var Section = ({
167
182
  title,
168
183
  titleLevel,
169
184
  padding,
185
+ narrowPadding,
186
+ breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
170
187
  testID
171
188
  }) => {
172
189
  const { theme } = useUi();
190
+ const wide = useIsWideViewport(breakpoint);
191
+ const inner = narrowPadding !== void 0 && !wide ? narrowPadding : padding;
173
192
  const isCard = variant === "card" /* Card */;
174
193
  const fill = isCard ? theme.colors.background : theme.colors.surface;
175
194
  const containerStyle = React16.useMemo(
176
- () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, paddingStyle(padding), style],
177
- [theme.colors.border, fill, isCard, title, padding, style]
195
+ () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, paddingStyle(inner), style],
196
+ [theme.colors.border, fill, isCard, title, inner, style]
178
197
  );
179
198
  return /* @__PURE__ */ jsxs(View, { style: containerStyle, testID, children: [
180
199
  title === void 0 ? null : /* @__PURE__ */ jsx(Heading, { level: titleLevel, testID: testID === void 0 ? void 0 : `${testID}-title`, text: title }),
@@ -226,21 +245,6 @@ var AppText = ({
226
245
  }
227
246
  );
228
247
  };
229
-
230
- // src/responsive.ts
231
- var WEB_PLATFORM = "web";
232
- function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
233
- return platformOS === WEB_PLATFORM && width >= breakpoint;
234
- }
235
- function isModalFooterStacked(width) {
236
- return width < MODAL_FOOTER_STACK_BELOW;
237
- }
238
-
239
- // src/hooks/useIsWideViewport.ts
240
- function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
241
- const { width } = useWindowDimensions();
242
- return isWideWebViewport(width, Platform.OS, breakpoint);
243
- }
244
248
  var styles3 = StyleSheet.create({
245
249
  outer: { alignItems: "center", width: "100%" },
246
250
  column: { width: "100%", gap: 16 },
@@ -933,6 +937,41 @@ var PageFrame = ({
933
937
  /* @__PURE__ */ jsx(PageOverlay, { pageSize, testID: `${testID}-overlay`, visible: enlarged, onClose: close, children })
934
938
  ] });
935
939
  };
940
+
941
+ // src/SegmentedControl/SegmentedVariant.ts
942
+ var SegmentedVariant = /* @__PURE__ */ ((SegmentedVariant2) => {
943
+ SegmentedVariant2["Raised"] = "raised";
944
+ SegmentedVariant2["Filled"] = "filled";
945
+ return SegmentedVariant2;
946
+ })(SegmentedVariant || {});
947
+
948
+ // src/SegmentedControl/segmentLook.ts
949
+ var FILLED_RADIUS = 10;
950
+ var FILLED_PAD_V = 12;
951
+ var TRANSPARENT = "transparent";
952
+ var styles10 = StyleSheet.create({
953
+ filledTrack: { borderRadius: FILLED_RADIUS, padding: 0, gap: 0, overflow: "hidden" },
954
+ filledSegment: { borderRadius: 0, paddingVertical: FILLED_PAD_V },
955
+ stretchTrack: { alignSelf: "stretch" },
956
+ stretchSegment: { flex: 1 }
957
+ });
958
+ function segmentLook(variant, selected, colors, selectedColor) {
959
+ if (!selected) return { fill: TRANSPARENT, ink: colors.textSecondary };
960
+ if (variant === "filled" /* Filled */) return { fill: selectedColor ?? colors.text, ink: colors.surface };
961
+ return { fill: colors.surface, ink: colors.text };
962
+ }
963
+ function trackShape(variant, stretch) {
964
+ const shape = [];
965
+ if (variant === "filled" /* Filled */) shape.push(styles10.filledTrack);
966
+ if (stretch) shape.push(styles10.stretchTrack);
967
+ return shape;
968
+ }
969
+ function segmentShape(variant, stretch) {
970
+ const shape = [];
971
+ if (variant === "filled" /* Filled */) shape.push(styles10.filledSegment);
972
+ if (stretch) shape.push(styles10.stretchSegment);
973
+ return shape;
974
+ }
936
975
  var TRACK_PADDING = 3;
937
976
  var TRACK_RADIUS = 999;
938
977
  var SEGMENT_RADIUS = 999;
@@ -943,9 +982,8 @@ var SEGMENT_WEIGHT = "600";
943
982
  var BORDER_WIDTH = 1;
944
983
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
945
984
  var SHADOW_ELEVATION = 2;
946
- var TRANSPARENT = "transparent";
947
985
  var HINT_ID_FALLBACK = "segmented-control";
948
- var styles10 = StyleSheet.create({
986
+ var styles11 = StyleSheet.create({
949
987
  track: {
950
988
  flexDirection: "row",
951
989
  alignSelf: "flex-start",
@@ -982,6 +1020,9 @@ function SegmentedControl({
982
1020
  accessibilityLabel,
983
1021
  accessibilityHint,
984
1022
  style,
1023
+ stretch = false,
1024
+ variant = "raised" /* Raised */,
1025
+ selectedColor,
985
1026
  testID
986
1027
  }) {
987
1028
  const { theme } = useUi();
@@ -994,11 +1035,12 @@ function SegmentedControl({
994
1035
  accessibilityRole: "tablist",
995
1036
  "aria-label": accessibilityLabel,
996
1037
  ...describedBy,
997
- style: [styles10.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
1038
+ style: [styles11.track, { backgroundColor: colors.background, borderColor: colors.border }, ...trackShape(variant, stretch), style],
998
1039
  testID,
999
1040
  children: [
1000
1041
  options.map((opt) => {
1001
1042
  const selected = opt.value === value;
1043
+ const look = segmentLook(variant, selected, colors, selectedColor);
1002
1044
  return /* @__PURE__ */ jsx(
1003
1045
  Pressable,
1004
1046
  {
@@ -1008,13 +1050,14 @@ function SegmentedControl({
1008
1050
  accessibilityHint: opt.accessibilityHint,
1009
1051
  onPress: () => onChange(opt.value),
1010
1052
  style: [
1011
- styles10.segment,
1012
- selected ? styles10.segmentSelected : null,
1013
- { backgroundColor: selected ? colors.surface : TRANSPARENT }
1053
+ styles11.segment,
1054
+ selected && variant === "raised" /* Raised */ ? styles11.segmentSelected : null,
1055
+ ...segmentShape(variant, stretch),
1056
+ { backgroundColor: look.fill }
1014
1057
  ],
1015
1058
  testID: opt.testID,
1016
1059
  ...ariaSelectedProps(selected),
1017
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
1060
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.label, { color: look.ink }], children: opt.label })
1018
1061
  },
1019
1062
  opt.value
1020
1063
  );
@@ -1108,7 +1151,7 @@ var HEADING_PADDING_H = 16;
1108
1151
  var HEADING_PADDING_TOP = 8;
1109
1152
  var HEADING_PADDING_BOTTOM = 4;
1110
1153
  var HEADING_LETTER_SPACING = 0.5;
1111
- var styles11 = StyleSheet.create({
1154
+ var styles12 = StyleSheet.create({
1112
1155
  heading: {
1113
1156
  fontSize: HEADING_FONT_SIZE,
1114
1157
  fontWeight: HEADING_FONT_WEIGHT,
@@ -1124,7 +1167,7 @@ var MenuHeading = ({ testID, text }) => {
1124
1167
  Text,
1125
1168
  {
1126
1169
  accessibilityRole: "header",
1127
- style: [styles11.heading, { color: theme.colors.textSecondary }],
1170
+ style: [styles12.heading, { color: theme.colors.textSecondary }],
1128
1171
  testID: `${testID}-menu-heading`,
1129
1172
  children: text
1130
1173
  }
@@ -1145,7 +1188,7 @@ var OPTION_PADDING_V = 12;
1145
1188
  var ACCENT_BAR_WIDTH = 3;
1146
1189
  var CHECK_GAP = 8;
1147
1190
  var CHECK_GLYPH = "\u2713";
1148
- var styles12 = StyleSheet.create({
1191
+ var styles13 = StyleSheet.create({
1149
1192
  option: {
1150
1193
  paddingHorizontal: OPTION_PADDING_H,
1151
1194
  paddingVertical: OPTION_PADDING_V,
@@ -1184,16 +1227,16 @@ var OptionRow = ({
1184
1227
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
1185
1228
  const isActive = isSelected || isHighlighted;
1186
1229
  const rowStyle = [
1187
- styles12.option,
1188
- isMarked ? styles12.markedRow : null,
1230
+ styles13.option,
1231
+ isMarked ? styles13.markedRow : null,
1189
1232
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
1190
1233
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
1191
1234
  ];
1192
1235
  const textStyle = [
1193
- styles12.optionText,
1236
+ styles13.optionText,
1194
1237
  { color: colors.text },
1195
- isSelected ? styles12.selectedText : null,
1196
- isMarked ? styles12.markedText : null
1238
+ isSelected ? styles13.selectedText : null,
1239
+ isMarked ? styles13.markedText : null
1197
1240
  ];
1198
1241
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
1199
1242
  return /* @__PURE__ */ jsxs(
@@ -1209,7 +1252,7 @@ var OptionRow = ({
1209
1252
  onPress: handlePress,
1210
1253
  children: [
1211
1254
  /* @__PURE__ */ jsx(Text, { style: textStyle, children: label }),
1212
- isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles12.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
1255
+ isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles13.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
1213
1256
  ]
1214
1257
  }
1215
1258
  );
@@ -1390,7 +1433,7 @@ var IS_WEB3 = Platform.OS === "web";
1390
1433
  var BORDER_RADIUS2 = 8;
1391
1434
  var BORDER_WIDTH3 = 1;
1392
1435
  var MENU_PADDING2 = 4;
1393
- var styles13 = StyleSheet.create({
1436
+ var styles14 = StyleSheet.create({
1394
1437
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
1395
1438
  popover: {
1396
1439
  position: "absolute",
@@ -1480,9 +1523,9 @@ var InlineMenu = ({
1480
1523
  themed
1481
1524
  ];
1482
1525
  }
1483
- return [styles13.popover, { minWidth: menuMinWidth }, themed];
1526
+ return [styles14.popover, { minWidth: menuMinWidth }, themed];
1484
1527
  }, [colors.border, colors.surface, menuMinWidth, placement, rect]);
1485
- const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles13.scroll;
1528
+ const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles14.scroll;
1486
1529
  const menu = /* @__PURE__ */ jsx(
1487
1530
  View,
1488
1531
  {
@@ -1496,7 +1539,7 @@ var InlineMenu = ({
1496
1539
  Animated.View,
1497
1540
  {
1498
1541
  pointerEvents: isOpen ? "auto" : "none",
1499
- style: [styles13.animated, opensAbove ? styles13.animatedAbove : null, animatedStyle, isOpen ? null : styles13.inert],
1542
+ style: [styles14.animated, opensAbove ? styles14.animatedAbove : null, animatedStyle, isOpen ? null : styles14.inert],
1500
1543
  children: [
1501
1544
  menuHeading !== void 0 ? /* @__PURE__ */ jsx(MenuHeading, { testID, text: menuHeading }) : null,
1502
1545
  /* @__PURE__ */ jsx(ScrollView, { style: scrollStyle, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
@@ -1547,7 +1590,7 @@ var CARET_OPEN_ROTATION = "180deg";
1547
1590
  var CARET_CLOSED_ROTATION = "0deg";
1548
1591
  var POPOVER_ENTER_SCALE = 0.96;
1549
1592
  var POPOVER_MOTION_MS = 120;
1550
- var styles14 = StyleSheet.create({
1593
+ var styles15 = StyleSheet.create({
1551
1594
  anchor: { position: "relative" },
1552
1595
  container: {
1553
1596
  borderWidth: BORDER_WIDTH4,
@@ -1662,19 +1705,19 @@ var ModalDropdown = ({
1662
1705
  const isCaret = showCaret && !isHamburger;
1663
1706
  const containerStyle = useMemo(
1664
1707
  () => renderTrigger !== void 0 ? void 0 : [
1665
- styles14.container,
1666
- isHamburger ? styles14.containerHamburger : isCaret ? styles14.containerMenu : null,
1708
+ styles15.container,
1709
+ isHamburger ? styles15.containerHamburger : isCaret ? styles15.containerMenu : null,
1667
1710
  { borderColor: colors.border, backgroundColor: colors.surface }
1668
1711
  ],
1669
1712
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1670
1713
  );
1671
1714
  const hamburgerStyle = useMemo(
1672
- () => [styles14.hamburger, { color: colors.textSecondary }],
1715
+ () => [styles15.hamburger, { color: colors.textSecondary }],
1673
1716
  [colors.textSecondary]
1674
1717
  );
1675
1718
  const caretStyle = useMemo(
1676
1719
  () => [
1677
- styles14.caret,
1720
+ styles15.caret,
1678
1721
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1679
1722
  ],
1680
1723
  [colors.textSecondary, isOpen]
@@ -1684,11 +1727,11 @@ var ModalDropdown = ({
1684
1727
  [optionTestID, testID]
1685
1728
  );
1686
1729
  const anchorStyle = useMemo(
1687
- () => [styles14.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1730
+ () => [styles15.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1688
1731
  [isMenu, isOpen]
1689
1732
  );
1690
1733
  const modalContentStyle = useMemo(
1691
- () => [styles14.modalContent, { backgroundColor: colors.surface }],
1734
+ () => [styles15.modalContent, { backgroundColor: colors.surface }],
1692
1735
  [colors.surface]
1693
1736
  );
1694
1737
  const renderModalOption = useCallback(
@@ -1709,11 +1752,11 @@ var ModalDropdown = ({
1709
1752
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1710
1753
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
1711
1754
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1712
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1755
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles15.selectedText, styles15.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1713
1756
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
1714
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1757
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles15.selectedText, styles15.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1715
1758
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
1716
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles14.selectedText, { color: colors.text }], children: selectedLabel }),
1759
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles15.selectedText, { color: colors.text }], children: selectedLabel }),
1717
1760
  hintNode
1718
1761
  ] }),
1719
1762
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -1734,7 +1777,7 @@ var ModalDropdown = ({
1734
1777
  onSelect: handleSelect
1735
1778
  }
1736
1779
  ) : null,
1737
- !isMenu ? /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles14.modalOverlay, children: [
1780
+ !isMenu ? /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles15.modalOverlay, children: [
1738
1781
  /* @__PURE__ */ jsx(
1739
1782
  TouchableOpacity,
1740
1783
  {
@@ -1828,7 +1871,7 @@ var ROW_PAD_V = 8;
1828
1871
  var PANEL_PAD_TOP = 16;
1829
1872
  var BORDER_WIDTH5 = 1;
1830
1873
  var TEXT_ON_PRIMARY = "#ffffff";
1831
- var styles15 = StyleSheet.create({
1874
+ var styles16 = StyleSheet.create({
1832
1875
  root: {
1833
1876
  width: "100%"
1834
1877
  },
@@ -1883,7 +1926,7 @@ var WideTabStrip = ({
1883
1926
  textSecondary,
1884
1927
  surfaceElevated,
1885
1928
  stripStyle
1886
- }) => /* @__PURE__ */ jsx(View, { style: [styles15.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles15.strip, stripStyle], children: tabs.map((tab) => {
1929
+ }) => /* @__PURE__ */ jsx(View, { style: [styles16.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles16.strip, stripStyle], children: tabs.map((tab) => {
1887
1930
  const selected = tab.key === activeKey;
1888
1931
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1889
1932
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1897,10 +1940,10 @@ var WideTabStrip = ({
1897
1940
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1898
1941
  accessibilityHint: tab.accessibilityHint,
1899
1942
  onPress: () => onChange(tab.key),
1900
- style: [styles15.pill, { backgroundColor: pillColor }],
1943
+ style: [styles16.pill, { backgroundColor: pillColor }],
1901
1944
  testID: tab.testID,
1902
1945
  ...ariaTabProps(selected, panelId, tabId),
1903
- children: /* @__PURE__ */ jsx(Text, { style: [styles15.pillText, { color: textColor }], children: tab.label })
1946
+ children: /* @__PURE__ */ jsx(Text, { style: [styles16.pillText, { color: textColor }], children: tab.label })
1904
1947
  },
1905
1948
  tab.key
1906
1949
  );
@@ -1926,7 +1969,7 @@ var Tabs = ({
1926
1969
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1927
1970
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1928
1971
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1929
- return /* @__PURE__ */ jsxs(View, { style: [styles15.root, style], testID, children: [
1972
+ return /* @__PURE__ */ jsxs(View, { style: [styles16.root, style], testID, children: [
1930
1973
  collapsed ? /* @__PURE__ */ jsx(
1931
1974
  TabsMenu,
1932
1975
  {
@@ -1955,7 +1998,7 @@ var Tabs = ({
1955
1998
  onChange
1956
1999
  }
1957
2000
  ),
1958
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles15.panel, panelStyle], ...panelAria, children })
2001
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles16.panel, panelStyle], ...panelAria, children })
1959
2002
  ] });
1960
2003
  };
1961
2004
  var PROMPT_PADDING = 20;
@@ -1970,7 +2013,7 @@ var DISMISS_FONT_SIZE = 13;
1970
2013
  var TITLE_MARGIN_BOTTOM = 8;
1971
2014
  var MESSAGE_MARGIN_BOTTOM = 16;
1972
2015
  var CTA_MARGIN_BOTTOM = 8;
1973
- var styles16 = StyleSheet.create({
2016
+ var styles17 = StyleSheet.create({
1974
2017
  container: {
1975
2018
  padding: PROMPT_PADDING,
1976
2019
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -2005,21 +2048,21 @@ var UpgradePrompt = ({
2005
2048
  return /* @__PURE__ */ jsxs(
2006
2049
  View,
2007
2050
  {
2008
- style: [styles16.container, { borderColor: primary, backgroundColor: colors.surface }],
2051
+ style: [styles17.container, { borderColor: primary, backgroundColor: colors.surface }],
2009
2052
  testID: LAYOUT_TEST_IDS.upgradePrompt,
2010
2053
  children: [
2011
- /* @__PURE__ */ jsx(Text, { style: [styles16.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
2012
- /* @__PURE__ */ jsx(Text, { style: [styles16.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
2054
+ /* @__PURE__ */ jsx(Text, { style: [styles17.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
2055
+ /* @__PURE__ */ jsx(Text, { style: [styles17.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
2013
2056
  /* @__PURE__ */ jsx(
2014
2057
  TouchableOpacity,
2015
2058
  {
2016
2059
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
2017
2060
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
2018
2061
  accessibilityRole: "button",
2019
- style: [styles16.cta, { backgroundColor: primary }],
2062
+ style: [styles17.cta, { backgroundColor: primary }],
2020
2063
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
2021
2064
  onPress: handleUpgradePress,
2022
- children: /* @__PURE__ */ jsx(Text, { style: [styles16.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
2065
+ children: /* @__PURE__ */ jsx(Text, { style: [styles17.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
2023
2066
  }
2024
2067
  ),
2025
2068
  onDismiss ? /* @__PURE__ */ jsx(
@@ -2028,10 +2071,10 @@ var UpgradePrompt = ({
2028
2071
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
2029
2072
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
2030
2073
  accessibilityRole: "button",
2031
- style: styles16.dismiss,
2074
+ style: styles17.dismiss,
2032
2075
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
2033
2076
  onPress: onDismiss,
2034
- children: /* @__PURE__ */ jsx(Text, { style: [styles16.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
2077
+ children: /* @__PURE__ */ jsx(Text, { style: [styles17.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
2035
2078
  }
2036
2079
  ) : null
2037
2080
  ]
@@ -2040,7 +2083,7 @@ var UpgradePrompt = ({
2040
2083
  };
2041
2084
  var CLOSE_ICON_SIZE = 18;
2042
2085
  var PANEL_ENTER_SCALE2 = 0.96;
2043
- var styles17 = StyleSheet.create({
2086
+ var styles18 = StyleSheet.create({
2044
2087
  animatedFill: { flex: 1 },
2045
2088
  container: {
2046
2089
  flex: 1,
@@ -2070,7 +2113,7 @@ var ModalShell = ({
2070
2113
  const { theme, t } = useUi();
2071
2114
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE2 });
2072
2115
  const containerStyle = React16.useMemo(
2073
- () => [styles17.container, { backgroundColor: theme.colors.background }, contentStyle],
2116
+ () => [styles18.container, { backgroundColor: theme.colors.background }, contentStyle],
2074
2117
  [theme.colors.background, contentStyle]
2075
2118
  );
2076
2119
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -2082,7 +2125,7 @@ var ModalShell = ({
2082
2125
  testID: LAYOUT_TEST_IDS.modalShell,
2083
2126
  visible: mounted,
2084
2127
  onRequestClose: onCancel,
2085
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles17.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
2128
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles18.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
2086
2129
  ScrollView,
2087
2130
  {
2088
2131
  accessibilityViewIsModal: true,
@@ -2090,7 +2133,7 @@ var ModalShell = ({
2090
2133
  role: "dialog",
2091
2134
  style: containerStyle,
2092
2135
  children: [
2093
- /* @__PURE__ */ jsxs(View, { style: styles17.headerRow, children: [
2136
+ /* @__PURE__ */ jsxs(View, { style: styles18.headerRow, children: [
2094
2137
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
2095
2138
  showClose ? /* @__PURE__ */ jsx(
2096
2139
  TouchableOpacity,
@@ -2098,7 +2141,7 @@ var ModalShell = ({
2098
2141
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
2099
2142
  accessibilityLabel: closeA11yLabel,
2100
2143
  accessibilityRole: "button",
2101
- style: styles17.closeButton,
2144
+ style: styles18.closeButton,
2102
2145
  testID: LAYOUT_TEST_IDS.modalShellClose,
2103
2146
  onPress: onCancel,
2104
2147
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -2115,7 +2158,7 @@ var ModalShell = ({
2115
2158
  var SHEET_WIDTH = 560;
2116
2159
  var PHONE_CORNER = 16;
2117
2160
  var PHONE_ENTER_OFFSET = 24;
2118
- var styles18 = StyleSheet.create({
2161
+ var styles19 = StyleSheet.create({
2119
2162
  root: { flex: 1 },
2120
2163
  scrim: { backgroundColor: MODAL_OVERLAY_COLOR, pointerEvents: "none" },
2121
2164
  sheet: { position: "absolute", bottom: 0, overflow: "hidden" },
@@ -2152,8 +2195,8 @@ var SideSheet = ({
2152
2195
  useEscapeKey(visible, onClose);
2153
2196
  useScrollLock(visible);
2154
2197
  const hardwareBackClose = Platform.OS === "web" ? void 0 : onClose;
2155
- return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles18.root, children: [
2156
- /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles18.scrim, { opacity: backdrop.style.opacity }] }),
2198
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles19.root, children: [
2199
+ /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles19.scrim, { opacity: backdrop.style.opacity }] }),
2157
2200
  /* @__PURE__ */ jsx(
2158
2201
  Pressable,
2159
2202
  {
@@ -2174,17 +2217,17 @@ var SideSheet = ({
2174
2217
  "aria-label": accessibilityLabel ?? title,
2175
2218
  role: "dialog",
2176
2219
  style: [
2177
- styles18.sheet,
2178
- isWide ? styles18.wide : styles18.phone,
2220
+ styles19.sheet,
2221
+ isWide ? styles19.wide : styles19.phone,
2179
2222
  edges,
2180
2223
  { backgroundColor: theme.colors.surface },
2181
2224
  panel.style
2182
2225
  ],
2183
2226
  testID,
2184
2227
  children: [
2185
- /* @__PURE__ */ jsx(View, { style: styles18.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2186
- /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles18.content, style: styles18.scroll, children }),
2187
- /* @__PURE__ */ jsx(View, { style: [styles18.bar, edges], children: footer })
2228
+ /* @__PURE__ */ jsx(View, { style: styles19.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2229
+ /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles19.content, style: styles19.scroll, children }),
2230
+ /* @__PURE__ */ jsx(View, { style: [styles19.bar, edges], children: footer })
2188
2231
  ]
2189
2232
  }
2190
2233
  )
@@ -2196,7 +2239,7 @@ var WIDE_MAX_WIDTH = 560;
2196
2239
  var TOP_CORNER = 16;
2197
2240
  var ENTER_OFFSET = 24;
2198
2241
  var CLOSE_ICON_SIZE2 = 18;
2199
- var styles19 = StyleSheet.create({
2242
+ var styles20 = StyleSheet.create({
2200
2243
  root: { flex: 1 },
2201
2244
  backdrop: { backgroundColor: MODAL_OVERLAY_COLOR, pointerEvents: "none" },
2202
2245
  panel: {
@@ -2238,8 +2281,8 @@ var BottomSheet = ({
2238
2281
  useEscapeKey(visible, onClose);
2239
2282
  useScrollLock(visible);
2240
2283
  const hardwareBackClose = Platform.OS === "web" ? void 0 : onClose;
2241
- return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles19.root, children: [
2242
- /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles19.backdrop, { opacity: backdrop.style.opacity }] }),
2284
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles20.root, children: [
2285
+ /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles20.backdrop, { opacity: backdrop.style.opacity }] }),
2243
2286
  /* @__PURE__ */ jsx(
2244
2287
  Pressable,
2245
2288
  {
@@ -2260,31 +2303,31 @@ var BottomSheet = ({
2260
2303
  "aria-label": accessibilityLabel ?? title,
2261
2304
  role: "dialog",
2262
2305
  style: [
2263
- styles19.panel,
2264
- isWide ? styles19.wide : null,
2306
+ styles20.panel,
2307
+ isWide ? styles20.wide : null,
2265
2308
  panelSize,
2266
2309
  { backgroundColor: theme.colors.surface },
2267
2310
  panel.style
2268
2311
  ],
2269
2312
  testID,
2270
2313
  children: [
2271
- /* @__PURE__ */ jsxs(View, { style: styles19.header, children: [
2272
- /* @__PURE__ */ jsx(View, { style: styles19.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2314
+ /* @__PURE__ */ jsxs(View, { style: styles20.header, children: [
2315
+ /* @__PURE__ */ jsx(View, { style: styles20.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2273
2316
  /* @__PURE__ */ jsx(
2274
2317
  TouchableOpacity,
2275
2318
  {
2276
2319
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
2277
2320
  accessibilityLabel: t(LAYOUT_I18N.dialogClose),
2278
2321
  accessibilityRole: "button",
2279
- style: styles19.close,
2322
+ style: styles20.close,
2280
2323
  testID: `${testID}-close`,
2281
2324
  onPress: onClose,
2282
2325
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE2 })
2283
2326
  }
2284
2327
  )
2285
2328
  ] }),
2286
- /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles19.content, style: styles19.body, children }),
2287
- hasFooter ? /* @__PURE__ */ jsx(View, { style: [styles19.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2329
+ /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles20.content, style: styles20.body, children }),
2330
+ hasFooter ? /* @__PURE__ */ jsx(View, { style: [styles20.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2288
2331
  ]
2289
2332
  }
2290
2333
  )
@@ -2300,7 +2343,7 @@ var ConfirmDialogFocus = /* @__PURE__ */ ((ConfirmDialogFocus2) => {
2300
2343
  })(ConfirmDialogFocus || {});
2301
2344
  var MESSAGE_FONT_SIZE2 = 14;
2302
2345
  var MESSAGE_LINE_HEIGHT = 20;
2303
- var styles20 = StyleSheet.create({
2346
+ var styles21 = StyleSheet.create({
2304
2347
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT }
2305
2348
  });
2306
2349
  var ConfirmDialog = ({
@@ -2363,7 +2406,7 @@ var ConfirmDialog = ({
2363
2406
  title,
2364
2407
  visible,
2365
2408
  onClose: onCancel,
2366
- children: /* @__PURE__ */ jsx(Text, { style: [styles20.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2409
+ children: /* @__PURE__ */ jsx(Text, { style: [styles21.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2367
2410
  }
2368
2411
  );
2369
2412
  };
@@ -2457,7 +2500,7 @@ function useAccordionContext() {
2457
2500
  return value;
2458
2501
  }
2459
2502
  var BOXED_GAP = 12;
2460
- var styles21 = StyleSheet.create({
2503
+ var styles22 = StyleSheet.create({
2461
2504
  container: { alignSelf: "stretch" },
2462
2505
  boxed: { gap: BOXED_GAP }
2463
2506
  });
@@ -2514,7 +2557,7 @@ var Accordion = ({
2514
2557
  [openSet, toggle, allowMultiple, variant]
2515
2558
  );
2516
2559
  const containerStyle = useMemo(() => {
2517
- const base = variant === "boxed" ? [styles21.container, styles21.boxed] : [styles21.container];
2560
+ const base = variant === "boxed" ? [styles22.container, styles22.boxed] : [styles22.container];
2518
2561
  if (style === void 0) return base;
2519
2562
  return [...base, ...Array.isArray(style) ? style : [style]];
2520
2563
  }, [style, variant]);
@@ -2546,7 +2589,7 @@ var BOX_TITLE_FONT_SIZE = 14;
2546
2589
  var BOX_MARKER_FONT_SIZE = 13;
2547
2590
  var BOX_MARKER_GAP = 6;
2548
2591
  var BOX_MARKER = "\u25B8";
2549
- var styles22 = StyleSheet.create({
2592
+ var styles23 = StyleSheet.create({
2550
2593
  item: { borderTopWidth: StyleSheet.hairlineWidth },
2551
2594
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
2552
2595
  header: {
@@ -2622,19 +2665,19 @@ var AccordionItem = ({
2622
2665
  );
2623
2666
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
2624
2667
  const itemStyle = useMemo(
2625
- () => boxed ? [styles22.boxItem, { borderColor: colors.border }] : [styles22.item, { borderTopColor: colors.border }],
2668
+ () => boxed ? [styles23.boxItem, { borderColor: colors.border }] : [styles23.item, { borderTopColor: colors.border }],
2626
2669
  [boxed, colors.border]
2627
2670
  );
2628
2671
  const headerStyle = useMemo(
2629
2672
  () => [
2630
- styles22.header,
2631
- ...boxed ? [styles22.boxHeader] : [],
2673
+ styles23.header,
2674
+ ...boxed ? [styles23.boxHeader] : [],
2632
2675
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
2633
2676
  ],
2634
2677
  [boxed, disabled]
2635
2678
  );
2636
2679
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
2637
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles22.boxTitle : styles22.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2680
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles23.boxTitle : styles23.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2638
2681
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
2639
2682
  /* @__PURE__ */ jsxs(
2640
2683
  Pressable,
@@ -2651,7 +2694,7 @@ var AccordionItem = ({
2651
2694
  onPress: handlePress,
2652
2695
  ...keyboardProps,
2653
2696
  children: [
2654
- /* @__PURE__ */ jsxs(View, { style: [styles22.headerLeft, boxed ? styles22.headerLeftRow : null], children: [
2697
+ /* @__PURE__ */ jsxs(View, { style: [styles23.headerLeft, boxed ? styles23.headerLeftRow : null], children: [
2655
2698
  boxed ? (
2656
2699
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
2657
2700
  /* @__PURE__ */ jsx(
@@ -2660,15 +2703,15 @@ var AccordionItem = ({
2660
2703
  accessibilityElementsHidden: true,
2661
2704
  "aria-hidden": true,
2662
2705
  importantForAccessibility: "no-hide-descendants",
2663
- style: [styles22.marker, { transform: [{ rotate }] }],
2706
+ style: [styles23.marker, { transform: [{ rotate }] }],
2664
2707
  testID: chevronTestID,
2665
- children: /* @__PURE__ */ jsx(Text, { style: [styles22.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2708
+ children: /* @__PURE__ */ jsx(Text, { style: [styles23.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2666
2709
  }
2667
2710
  )
2668
2711
  ) : null,
2669
2712
  titleNode
2670
2713
  ] }),
2671
- /* @__PURE__ */ jsxs(View, { style: styles22.headerRight, children: [
2714
+ /* @__PURE__ */ jsxs(View, { style: styles23.headerRight, children: [
2672
2715
  right,
2673
2716
  boxed ? null : /* @__PURE__ */ jsx(
2674
2717
  Animated.View,
@@ -2676,7 +2719,7 @@ var AccordionItem = ({
2676
2719
  accessibilityElementsHidden: true,
2677
2720
  "aria-hidden": true,
2678
2721
  importantForAccessibility: "no-hide-descendants",
2679
- style: [styles22.chevron, { transform: [{ rotate }] }],
2722
+ style: [styles23.chevron, { transform: [{ rotate }] }],
2680
2723
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
2681
2724
  }
2682
2725
  )
@@ -2690,7 +2733,7 @@ var AccordionItem = ({
2690
2733
  accessibilityLabel: resolvedLabel,
2691
2734
  nativeID: bodyTestID,
2692
2735
  role: ROLE_REGION,
2693
- style: boxed ? styles22.boxBody : styles22.body,
2736
+ style: boxed ? styles23.boxBody : styles23.body,
2694
2737
  testID: bodyTestID,
2695
2738
  children
2696
2739
  }
@@ -2753,7 +2796,7 @@ function useAvailableWidth() {
2753
2796
  var AVG_CHAR_WIDTH_RATIO = 0.58;
2754
2797
  var DEFAULT_FONT_SIZE2 = 13;
2755
2798
  var UNMEASURED2 = 0;
2756
- var styles23 = StyleSheet.create({
2799
+ var styles24 = StyleSheet.create({
2757
2800
  base: { fontSize: DEFAULT_FONT_SIZE2 },
2758
2801
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
2759
2802
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2784,7 +2827,7 @@ var TruncatedText = ({
2784
2827
  [value, measureRef]
2785
2828
  );
2786
2829
  const flatStyle = useMemo(
2787
- () => StyleSheet.flatten([styles23.base, style]),
2830
+ () => StyleSheet.flatten([styles24.base, style]),
2788
2831
  [style]
2789
2832
  );
2790
2833
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2799,7 +2842,7 @@ var TruncatedText = ({
2799
2842
  ref: attachRef,
2800
2843
  onLayout,
2801
2844
  numberOfLines: 1,
2802
- style: [styles23.base, styles23.fill, style],
2845
+ style: [styles24.base, styles24.fill, style],
2803
2846
  testID,
2804
2847
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2805
2848
  accessibilityLabel,
@@ -2907,7 +2950,7 @@ var LABEL_LETTER_SPACING = 0.4;
2907
2950
  var ACTION_PADDING_H = 6;
2908
2951
  var ACTION_PADDING_V = 2;
2909
2952
  var ACTION_RADIUS = 6;
2910
- var styles24 = StyleSheet.create({
2953
+ var styles25 = StyleSheet.create({
2911
2954
  cell: { gap: CELL_GAP },
2912
2955
  label: {
2913
2956
  fontSize: LABEL_FONT_SIZE,
@@ -2972,14 +3015,14 @@ var CopyableId = ({
2972
3015
  const { colors } = theme;
2973
3016
  const { status, copy } = useCopyToClipboard(value, writer);
2974
3017
  const action = useActionState(status);
2975
- return /* @__PURE__ */ jsxs(View, { style: [styles24.cell, style], testID, children: [
2976
- label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles24.label, { color: colors.textSecondary }], children: label }),
2977
- /* @__PURE__ */ jsxs(View, { style: styles24.row, children: [
2978
- /* @__PURE__ */ jsx(View, { style: styles24.valueWrap, children: /* @__PURE__ */ jsx(
3018
+ return /* @__PURE__ */ jsxs(View, { style: [styles25.cell, style], testID, children: [
3019
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles25.label, { color: colors.textSecondary }], children: label }),
3020
+ /* @__PURE__ */ jsxs(View, { style: styles25.row, children: [
3021
+ /* @__PURE__ */ jsx(View, { style: styles25.valueWrap, children: /* @__PURE__ */ jsx(
2979
3022
  TruncatedText,
2980
3023
  {
2981
3024
  value,
2982
- style: [styles24.value, { color: colors.text }],
3025
+ style: [styles25.value, { color: colors.text }],
2983
3026
  testID: `${testID}-value`,
2984
3027
  accessibilityLabel: accessibilityLabel ?? value,
2985
3028
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2993,7 +3036,7 @@ var CopyableId = ({
2993
3036
  accessibilityLabel: t(action.key),
2994
3037
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2995
3038
  testID: `${testID}-copy`,
2996
- style: [styles24.action, { color: readableTone(action.color, [colors.background, colors.surfaceElevated], colors.text) }],
3039
+ style: [styles25.action, { color: readableTone(action.color, [colors.background, colors.surfaceElevated], colors.text) }],
2997
3040
  children: t(action.key)
2998
3041
  }
2999
3042
  )
@@ -3048,7 +3091,7 @@ var FOOTER_PADDING_V = 6;
3048
3091
  var FOOTER_PADDING_H = 12;
3049
3092
  var FOOTER_FONT_SIZE = 11;
3050
3093
  var FOOTER_OPACITY = 0.75;
3051
- var styles25 = StyleSheet.create({
3094
+ var styles26 = StyleSheet.create({
3052
3095
  footer: {
3053
3096
  paddingVertical: FOOTER_PADDING_V,
3054
3097
  paddingHorizontal: FOOTER_PADDING_H,
@@ -3074,7 +3117,7 @@ var BuildInfoFooter = ({
3074
3117
  const commit = apiCommit ?? fetchedCommit;
3075
3118
  const label = formatBuildInfo(buildVersion, commit);
3076
3119
  const textStyle = useMemo(
3077
- () => [styles25.text, { color: theme.colors.textSecondary }],
3120
+ () => [styles26.text, { color: theme.colors.textSecondary }],
3078
3121
  [theme.colors.textSecondary]
3079
3122
  );
3080
3123
  return /* @__PURE__ */ jsx(
@@ -3082,7 +3125,7 @@ var BuildInfoFooter = ({
3082
3125
  {
3083
3126
  accessibilityLabel: accessibilityLabel ?? label,
3084
3127
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
3085
- style: [styles25.footer, style],
3128
+ style: [styles26.footer, style],
3086
3129
  testID,
3087
3130
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
3088
3131
  }
@@ -3093,7 +3136,7 @@ var BORDER = 2;
3093
3136
  var GLYPH_SIZE = 14;
3094
3137
  var GLYPH_LINE = 16;
3095
3138
  var TICK = "\u2713";
3096
- var styles26 = StyleSheet.create({
3139
+ var styles27 = StyleSheet.create({
3097
3140
  circle: {
3098
3141
  width: SIZE,
3099
3142
  height: SIZE,
@@ -3110,9 +3153,9 @@ var CheckMark = ({ filled, accent, ring, glyphColor, testID }) => /* @__PURE__ *
3110
3153
  "aria-hidden": true,
3111
3154
  accessibilityElementsHidden: true,
3112
3155
  importantForAccessibility: "no-hide-descendants",
3113
- style: [styles26.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
3156
+ style: [styles27.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
3114
3157
  testID,
3115
- children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles26.glyph, { color: glyphColor }], children: TICK }) : null
3158
+ children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles27.glyph, { color: glyphColor }], children: TICK }) : null
3116
3159
  }
3117
3160
  );
3118
3161
  var ListRowToneContext = createContext(null);
@@ -3235,7 +3278,7 @@ var PAD_V = 12;
3235
3278
  var GAP = 4;
3236
3279
  var MARK_GAP = 12;
3237
3280
  var LINE_GAP = 8;
3238
- var styles27 = StyleSheet.create({
3281
+ var styles28 = StyleSheet.create({
3239
3282
  row: {
3240
3283
  flexDirection: "row",
3241
3284
  alignItems: "center",
@@ -3259,7 +3302,7 @@ function focusTarget(event) {
3259
3302
  }
3260
3303
  function slot(node, color, strong) {
3261
3304
  if (typeof node !== "string") return node;
3262
- return /* @__PURE__ */ jsx(Text, { style: [styles27.shrink, strong ? styles27.strong : null, { color }], children: node });
3305
+ return /* @__PURE__ */ jsx(Text, { style: [styles28.shrink, strong ? styles28.strong : null, { color }], children: node });
3263
3306
  }
3264
3307
  var ListRow = ({
3265
3308
  title,
@@ -3291,7 +3334,7 @@ var ListRow = ({
3291
3334
  style: (state) => {
3292
3335
  const { pressed, hovered } = state;
3293
3336
  const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
3294
- return [styles27.row, { borderTopColor: colors.border }, look.container];
3337
+ return [styles28.row, { borderTopColor: colors.border }, look.container];
3295
3338
  },
3296
3339
  testID,
3297
3340
  onBlur: () => {
@@ -3304,14 +3347,14 @@ var ListRow = ({
3304
3347
  ...pressedProps(selected),
3305
3348
  children: [
3306
3349
  rest.showCheck ? /* @__PURE__ */ jsx(CheckMark, { accent: palette.accent, filled: rest.checkFilled, glyphColor: palette.background, ring: palette.border, testID: checkTestId }) : null,
3307
- /* @__PURE__ */ jsxs(View, { style: styles27.body, children: [
3308
- /* @__PURE__ */ jsxs(View, { style: styles27.line, children: [
3350
+ /* @__PURE__ */ jsxs(View, { style: styles28.body, children: [
3351
+ /* @__PURE__ */ jsxs(View, { style: styles28.line, children: [
3309
3352
  slot(title, rest.titleColor, true),
3310
3353
  slot(trailing, rest.textColor, true)
3311
3354
  ] }),
3312
- /* @__PURE__ */ jsxs(View, { style: styles27.line, children: [
3313
- /* @__PURE__ */ jsx(View, { style: styles27.shrink, children: slot(meta, rest.textColor, false) }),
3314
- badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles27.badges, children: badges })
3355
+ /* @__PURE__ */ jsxs(View, { style: styles28.line, children: [
3356
+ /* @__PURE__ */ jsx(View, { style: styles28.shrink, children: slot(meta, rest.textColor, false) }),
3357
+ badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles28.badges, children: badges })
3315
3358
  ] })
3316
3359
  ] })
3317
3360
  ]
@@ -3333,7 +3376,7 @@ var ChipOverflow = /* @__PURE__ */ ((ChipOverflow2) => {
3333
3376
  ChipOverflow2["Scroll"] = "scroll";
3334
3377
  return ChipOverflow2;
3335
3378
  })(ChipOverflow || {});
3336
- var styles28 = StyleSheet.create({
3379
+ var styles29 = StyleSheet.create({
3337
3380
  root: { flexDirection: "row", flexWrap: "wrap", gap: 8 },
3338
3381
  scrollRow: { flexDirection: "row", flexWrap: "nowrap", gap: 8 },
3339
3382
  chip: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 14, borderRadius: 999, borderWidth: 1 },
@@ -3342,11 +3385,12 @@ var styles28 = StyleSheet.create({
3342
3385
  function ariaSelected(selected) {
3343
3386
  return { "aria-selected": selected };
3344
3387
  }
3345
- var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wrap" /* Wrap */, onSelect, testID }) => {
3388
+ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wrap" /* Wrap */, activeColor, onSelect, testID }) => {
3346
3389
  const { theme } = useUi();
3347
3390
  const { colors } = theme;
3391
+ const fill = activeColor ?? colors.text;
3348
3392
  const scroll = overflow === "scroll" /* Scroll */;
3349
- const row = /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", accessibilityLabel: groupLabel, style: scroll ? styles28.scrollRow : styles28.root, testID: `${testID}-chips`, children: sections.map((entry) => {
3393
+ const row = /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", accessibilityLabel: groupLabel, style: scroll ? styles29.scrollRow : styles29.root, testID: `${testID}-chips`, children: sections.map((entry) => {
3350
3394
  const active = entry.key === activeKey;
3351
3395
  return /* @__PURE__ */ jsx(
3352
3396
  Pressable,
@@ -3355,10 +3399,10 @@ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wra
3355
3399
  accessibilityRole: "tab",
3356
3400
  accessibilityLabel: entry.title,
3357
3401
  accessibilityHint: itemHint,
3358
- style: [styles28.chip, { borderColor: colors.border, backgroundColor: active ? colors.text : colors.background }],
3402
+ style: [styles29.chip, { borderColor: colors.border, backgroundColor: active ? fill : colors.background }],
3359
3403
  testID: `${testID}-chip-${entry.key}`,
3360
3404
  onPress: () => onSelect(entry.key),
3361
- children: /* @__PURE__ */ jsx(Text, { style: [styles28.label, { color: active ? colors.background : colors.text }], children: entry.title })
3405
+ children: /* @__PURE__ */ jsx(Text, { style: [styles29.label, { color: active ? colors.background : colors.text }], children: entry.title })
3362
3406
  },
3363
3407
  entry.key
3364
3408
  );
@@ -3375,7 +3419,7 @@ var SectionDensity = /* @__PURE__ */ ((SectionDensity2) => {
3375
3419
  var SECTION_INDEX_WIDTH = 200;
3376
3420
  var ACTIVE_BAR = 3;
3377
3421
  var TRANSPARENT3 = "transparent";
3378
- var styles29 = StyleSheet.create({
3422
+ var styles30 = StyleSheet.create({
3379
3423
  root: { flexShrink: 0, gap: 2, alignSelf: "flex-start" },
3380
3424
  heading: { fontSize: 12, fontWeight: "700", letterSpacing: 0.6, textTransform: "uppercase", paddingHorizontal: 10, paddingBottom: 6 },
3381
3425
  item: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 10, borderLeftWidth: ACTIVE_BAR, borderRadius: 6 },
@@ -3385,11 +3429,12 @@ var styles29 = StyleSheet.create({
3385
3429
  function ariaCurrent(active) {
3386
3430
  return active ? { "aria-current": "location" } : {};
3387
3431
  }
3388
- var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID, width = SECTION_INDEX_WIDTH }) => {
3432
+ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID, width = SECTION_INDEX_WIDTH, activeColor }) => {
3389
3433
  const { theme } = useUi();
3390
3434
  const { colors } = theme;
3391
- return /* @__PURE__ */ jsxs(View, { role: "navigation", accessibilityLabel: heading, style: [styles29.root, { width }], testID: `${testID}-index`, children: [
3392
- /* @__PURE__ */ jsx(Text, { style: [styles29.heading, { color: colors.textSecondary }], children: heading }),
3435
+ const bar = activeColor ?? colors.text;
3436
+ return /* @__PURE__ */ jsxs(View, { role: "navigation", accessibilityLabel: heading, style: [styles30.root, { width }], testID: `${testID}-index`, children: [
3437
+ /* @__PURE__ */ jsx(Text, { style: [styles30.heading, { color: colors.textSecondary }], children: heading }),
3393
3438
  sections.map((entry) => {
3394
3439
  const active = entry.key === activeKey;
3395
3440
  return /* @__PURE__ */ jsx(
@@ -3399,10 +3444,10 @@ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID,
3399
3444
  accessibilityRole: "link",
3400
3445
  accessibilityLabel: entry.title,
3401
3446
  accessibilityHint: itemHint,
3402
- style: [styles29.item, { borderLeftColor: active ? colors.text : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3447
+ style: [styles30.item, { borderLeftColor: active ? bar : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3403
3448
  testID: `${testID}-index-${entry.key}`,
3404
3449
  onPress: () => onSelect(entry.key),
3405
- children: /* @__PURE__ */ jsx(Text, { style: [styles29.label, active && styles29.labelActive, { color: active ? colors.text : colors.textSecondary }], children: entry.title })
3450
+ children: /* @__PURE__ */ jsx(Text, { style: [styles30.label, active && styles30.labelActive, { color: active ? colors.text : colors.textSecondary }], children: entry.title })
3406
3451
  },
3407
3452
  entry.key
3408
3453
  );
@@ -3428,7 +3473,7 @@ function scrollToSection(anchorId) {
3428
3473
  var COMFORTABLE_GAP = 12;
3429
3474
  var DENSE_GAP = 8;
3430
3475
  var WEB_STICKY = { position: "sticky", top: 0 };
3431
- var styles30 = StyleSheet.create({
3476
+ var styles31 = StyleSheet.create({
3432
3477
  wide: { flexDirection: "row", alignItems: "flex-start", gap: 20 },
3433
3478
  column: { flex: 1, minWidth: 0 }
3434
3479
  });
@@ -3442,6 +3487,7 @@ var SectionIndexLayout = ({
3442
3487
  stickyIndex = false,
3443
3488
  chipOverflow = "wrap" /* Wrap */,
3444
3489
  indexWidth = SECTION_INDEX_WIDTH,
3490
+ activeColor,
3445
3491
  testID = "section-index"
3446
3492
  }) => {
3447
3493
  const wide = useIsWideViewport(breakpoint);
@@ -3455,6 +3501,7 @@ var SectionIndexLayout = ({
3455
3501
  /* @__PURE__ */ jsx(
3456
3502
  SectionChips,
3457
3503
  {
3504
+ activeColor,
3458
3505
  activeKey,
3459
3506
  groupLabel: indexHeading,
3460
3507
  itemHint,
@@ -3472,9 +3519,9 @@ var SectionIndexLayout = ({
3472
3519
  scrollToSection(sectionAnchorId(testID, key));
3473
3520
  };
3474
3521
  const sticky = stickyIndex && Platform.OS === "web" ? WEB_STICKY : null;
3475
- return /* @__PURE__ */ jsxs(View, { style: styles30.wide, testID, children: [
3476
- /* @__PURE__ */ jsx(View, { style: sticky, children: /* @__PURE__ */ jsx(SectionIndex, { activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3477
- /* @__PURE__ */ jsx(View, { style: [styles30.column, gap], children: sections.map((entry) => /* @__PURE__ */ jsx(View, { nativeID: sectionAnchorId(testID, entry.key), testID: sectionAnchorId(testID, entry.key), children: entry.content }, entry.key)) })
3522
+ return /* @__PURE__ */ jsxs(View, { style: styles31.wide, testID, children: [
3523
+ /* @__PURE__ */ jsx(View, { style: sticky, children: /* @__PURE__ */ jsx(SectionIndex, { activeColor, activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3524
+ /* @__PURE__ */ jsx(View, { style: [styles31.column, gap], children: sections.map((entry) => /* @__PURE__ */ jsx(View, { nativeID: sectionAnchorId(testID, entry.key), testID: sectionAnchorId(testID, entry.key), children: entry.content }, entry.key)) })
3478
3525
  ] });
3479
3526
  };
3480
3527
 
@@ -3486,7 +3533,7 @@ var DayBadgeFill = /* @__PURE__ */ ((DayBadgeFill2) => {
3486
3533
  })(DayBadgeFill || {});
3487
3534
  var PILL_RADIUS2 = 999;
3488
3535
  var BADGE_ICON_SIZE = 12;
3489
- var styles31 = StyleSheet.create({
3536
+ var styles32 = StyleSheet.create({
3490
3537
  body: { borderRadius: 8, borderWidth: 1, overflow: "hidden" },
3491
3538
  count: { borderRadius: PILL_RADIUS2, borderWidth: 1, fontSize: 12, fontWeight: "700", paddingHorizontal: 8 },
3492
3539
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
@@ -3510,26 +3557,26 @@ var DayCard = ({
3510
3557
  const tint = badgeFill === "tint" /* Tint */ ? resolveTintColors(theme, badgeTone) : void 0;
3511
3558
  const iconInk = tint?.color ?? colors.textSecondary;
3512
3559
  const icon = badgeIcon === void 0 ? void 0 : /* @__PURE__ */ jsx(SvgIcon, { color: iconInk, name: badgeIcon, size: BADGE_ICON_SIZE });
3513
- return /* @__PURE__ */ jsxs(View, { style: styles31.stack, testID, children: [
3514
- /* @__PURE__ */ jsxs(View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles31.head, children: [
3515
- /* @__PURE__ */ jsx(Text, { style: [styles31.label, { color: colors.text }], children: label }),
3560
+ return /* @__PURE__ */ jsxs(View, { style: styles32.stack, testID, children: [
3561
+ /* @__PURE__ */ jsxs(View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles32.head, children: [
3562
+ /* @__PURE__ */ jsx(Text, { style: [styles32.label, { color: colors.text }], children: label }),
3516
3563
  /* @__PURE__ */ jsx(StatusBadge, { backgroundColor: tint?.backgroundColor, color: tint?.color, icon, label: badge, testID: testID === void 0 ? void 0 : `${testID}-badge`, tone: badgeTone }),
3517
- /* @__PURE__ */ jsx(Text, { style: [styles31.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3564
+ /* @__PURE__ */ jsx(Text, { style: [styles32.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3518
3565
  ] }),
3519
- /* @__PURE__ */ jsx(View, { style: [styles31.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
3566
+ /* @__PURE__ */ jsx(View, { style: [styles32.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
3520
3567
  ] });
3521
3568
  };
3522
- var styles32 = StyleSheet.create({
3569
+ var styles33 = StyleSheet.create({
3523
3570
  full: { flexBasis: "100%" },
3524
3571
  half: { flexBasis: "45%", flexGrow: 1, minWidth: 0 },
3525
3572
  strip: { flexDirection: "row", flexWrap: "wrap", gap: 12 }
3526
3573
  });
3527
3574
  function figureCell(wide, span = 1) {
3528
3575
  if (wide) return { flexBasis: 0, flexGrow: span, minWidth: 0 };
3529
- return span > 1 ? styles32.full : styles32.half;
3576
+ return span > 1 ? styles33.full : styles33.half;
3530
3577
  }
3531
- var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsx(View, { style: styles32.strip, testID, children });
3532
- var styles33 = StyleSheet.create({
3578
+ var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsx(View, { style: styles33.strip, testID, children });
3579
+ var styles34 = StyleSheet.create({
3533
3580
  stack: { gap: 12 }
3534
3581
  });
3535
3582
  var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false, open, onOpenChange, testID, children }) => {
@@ -3540,7 +3587,7 @@ var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false,
3540
3587
  onOpenChange?.(!isOpen);
3541
3588
  };
3542
3589
  if (wide) return /* @__PURE__ */ jsx(Section, { testID: `${testID}-card`, title, variant: "card" /* Card */, children });
3543
- return /* @__PURE__ */ jsxs(View, { style: styles33.stack, children: [
3590
+ return /* @__PURE__ */ jsxs(View, { style: styles34.stack, children: [
3544
3591
  /* @__PURE__ */ jsx(Button, { accessibilityHint: toggleHint, accessibilityLabel: toggleLabel, label: toggleLabel, testID: `${testID}-toggle`, variant: "outline", onPress: toggle }),
3545
3592
  isOpen || forceOpen ? children : null
3546
3593
  ] });
@@ -3554,7 +3601,7 @@ function stickyEdgeStyle(os, bottomInset) {
3554
3601
  return { position: "sticky", bottom: 0, zIndex: 1, paddingBottom: `calc(${String(padding)}px + env(safe-area-inset-bottom))` };
3555
3602
  }
3556
3603
  var ACTION_GAP = 8;
3557
- var styles34 = StyleSheet.create({
3604
+ var styles35 = StyleSheet.create({
3558
3605
  inline: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "flex-end", gap: ACTION_GAP },
3559
3606
  bar: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", gap: ACTION_GAP, paddingTop: BAR_PADDING, paddingHorizontal: BAR_PADDING, borderTopWidth: 1 }
3560
3607
  });
@@ -3564,16 +3611,17 @@ var StickyActionBar = ({
3564
3611
  children,
3565
3612
  breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
3566
3613
  bottomInset = 0,
3614
+ bleed = 0,
3567
3615
  testID = LAYOUT_TEST_IDS.stickyActionBar
3568
3616
  }) => {
3569
3617
  const wide = useIsWideViewport(breakpoint);
3570
3618
  const { colors } = useUi().theme;
3571
- if (wide) return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles34.inline, testID, children });
3572
- const surface = { backgroundColor: colors.surface, borderTopColor: colors.border };
3573
- return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles34.bar, surface, stickyEdgeStyle(Platform.OS, bottomInset)], testID, children });
3619
+ if (wide) return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles35.inline, testID, children });
3620
+ const surface = { backgroundColor: colors.surface, borderTopColor: colors.border, marginHorizontal: -bleed };
3621
+ return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles35.bar, surface, stickyEdgeStyle(Platform.OS, bottomInset)], testID, children });
3574
3622
  };
3575
3623
  var TITLE_BASIS = 280;
3576
- var styles35 = StyleSheet.create({
3624
+ var styles36 = StyleSheet.create({
3577
3625
  row: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-start", justifyContent: "space-between", gap: 12 },
3578
3626
  text: { gap: 4, flexGrow: 1, flexShrink: 1, flexBasis: TITLE_BASIS, minWidth: 0 },
3579
3627
  title: { fontSize: 24, fontWeight: "800" },
@@ -3586,15 +3634,15 @@ var PageHead = ({ title, subtitle, actions, initialFocus = false, testID = LAYOU
3586
3634
  const { colors } = useUi().theme;
3587
3635
  const titleRef = useInitialFocus();
3588
3636
  const focusProps = initialFocus ? { ref: titleRef, ...INITIAL_FOCUS_PROPS } : {};
3589
- return /* @__PURE__ */ jsxs(View, { style: styles35.row, testID, children: [
3590
- /* @__PURE__ */ jsxs(View, { style: styles35.text, children: [
3591
- /* @__PURE__ */ jsx(Text, { ...focusProps, accessibilityRole: "header", style: [styles35.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3637
+ return /* @__PURE__ */ jsxs(View, { style: styles36.row, testID, children: [
3638
+ /* @__PURE__ */ jsxs(View, { style: styles36.text, children: [
3639
+ /* @__PURE__ */ jsx(Text, { ...focusProps, accessibilityRole: "header", style: [styles36.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3592
3640
  subtitle
3593
3641
  ] }),
3594
- hasContent(actions) ? /* @__PURE__ */ jsx(View, { style: styles35.actions, testID: `${testID}-actions`, children: actions }) : null
3642
+ hasContent(actions) ? /* @__PURE__ */ jsx(View, { style: styles36.actions, testID: `${testID}-actions`, children: actions }) : null
3595
3643
  ] });
3596
3644
  };
3597
- var styles36 = StyleSheet.create({
3645
+ var styles37 = StyleSheet.create({
3598
3646
  entry: { borderLeftWidth: 2, gap: 4, paddingBottom: 12, paddingLeft: 12 },
3599
3647
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
3600
3648
  time: { fontSize: 13 },
@@ -3609,12 +3657,12 @@ var Timeline = ({ entries, accessibilityLabel, accessibilityHint, testID }) => {
3609
3657
  accessibilityHint: entry.accessibilityHint,
3610
3658
  accessibilityLabel: entry.accessibilityLabel,
3611
3659
  role: "listitem",
3612
- style: [styles36.entry, { borderLeftColor: colors.border }],
3660
+ style: [styles37.entry, { borderLeftColor: colors.border }],
3613
3661
  testID: entryTestId(testID, entry.key),
3614
3662
  children: [
3615
- entry.time === "" ? null : /* @__PURE__ */ jsx(Text, { style: [styles36.time, { color: colors.textSecondary }], children: entry.time }),
3616
- /* @__PURE__ */ jsxs(View, { style: styles36.head, children: [
3617
- /* @__PURE__ */ jsx(Text, { style: [styles36.title, { color: colors.text }], children: entry.title }),
3663
+ entry.time === "" ? null : /* @__PURE__ */ jsx(Text, { style: [styles37.time, { color: colors.textSecondary }], children: entry.time }),
3664
+ /* @__PURE__ */ jsxs(View, { style: styles37.head, children: [
3665
+ /* @__PURE__ */ jsx(Text, { style: [styles37.title, { color: colors.text }], children: entry.title }),
3618
3666
  entry.status === void 0 || entry.status === "" ? null : /* @__PURE__ */ jsx(StatusBadge, { label: entry.status, tone: entry.tone ?? "neutral" /* Neutral */ })
3619
3667
  ] })
3620
3668
  ]
@@ -3629,7 +3677,7 @@ function isRecordHeaderCompact(width, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
3629
3677
  }
3630
3678
  var GAP2 = 8;
3631
3679
  var WIDE_GAP = 16;
3632
- var styles37 = StyleSheet.create({
3680
+ var styles38 = StyleSheet.create({
3633
3681
  actions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end" },
3634
3682
  compactActions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2 },
3635
3683
  identity: { flex: 1, gap: GAP2, minWidth: 0 },
@@ -3638,9 +3686,9 @@ var styles37 = StyleSheet.create({
3638
3686
  });
3639
3687
  var RecordHeader = ({ breadcrumb, title, meta, actions, collapseBelow, testID }) => {
3640
3688
  const compact = isRecordHeaderCompact(useWindowDimensions().width, collapseBelow);
3641
- const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsx(View, { style: compact ? styles37.compactActions : styles37.actions, children: actions });
3642
- return /* @__PURE__ */ jsx(View, { style: styles37.root, testID, children: /* @__PURE__ */ jsxs(View, { style: compact ? styles37.root : styles37.top, children: [
3643
- /* @__PURE__ */ jsxs(View, { style: styles37.identity, children: [
3689
+ const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsx(View, { style: compact ? styles38.compactActions : styles38.actions, children: actions });
3690
+ return /* @__PURE__ */ jsx(View, { style: styles38.root, testID, children: /* @__PURE__ */ jsxs(View, { style: compact ? styles38.root : styles38.top, children: [
3691
+ /* @__PURE__ */ jsxs(View, { style: styles38.identity, children: [
3644
3692
  breadcrumb,
3645
3693
  title,
3646
3694
  meta
@@ -3652,7 +3700,7 @@ var FONT_SIZE = 13;
3652
3700
  var GAP3 = 6;
3653
3701
  var SEPARATOR = "\u203A";
3654
3702
  var BACK = "\u2039";
3655
- var styles38 = StyleSheet.create({
3703
+ var styles39 = StyleSheet.create({
3656
3704
  link: { justifyContent: "center", minHeight: MIN_TARGET_PX },
3657
3705
  row: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP3 },
3658
3706
  text: { fontSize: FONT_SIZE, fontWeight: "500" }
@@ -3660,11 +3708,11 @@ var styles38 = StyleSheet.create({
3660
3708
  var Breadcrumb = ({ items, accessibilityLabel, accessibilityHint, testID }) => {
3661
3709
  const { theme } = useUi();
3662
3710
  const muted = { color: theme.colors.textSecondary };
3663
- return /* @__PURE__ */ jsxs(View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles38.row, testID, children: [
3664
- /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles38.text, muted], children: BACK }),
3711
+ return /* @__PURE__ */ jsxs(View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles39.row, testID, children: [
3712
+ /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles39.text, muted], children: BACK }),
3665
3713
  items.map((item, index) => /* @__PURE__ */ jsxs(React16.Fragment, { children: [
3666
- index > 0 ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles38.text, muted], children: SEPARATOR }) : null,
3667
- item.onPress === void 0 ? /* @__PURE__ */ jsx(Text, { style: [styles38.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsx(Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles38.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsx(Text, { style: [styles38.text, { color: theme.colors.text }], children: item.label }) })
3714
+ index > 0 ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles39.text, muted], children: SEPARATOR }) : null,
3715
+ item.onPress === void 0 ? /* @__PURE__ */ jsx(Text, { style: [styles39.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsx(Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles39.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsx(Text, { style: [styles39.text, { color: theme.colors.text }], children: item.label }) })
3668
3716
  ] }, item.key))
3669
3717
  ] });
3670
3718
  };
@@ -3673,7 +3721,7 @@ var PAD_H2 = 12;
3673
3721
  var GAP4 = 6;
3674
3722
  var FONT_SIZE2 = 13;
3675
3723
  var DISABLED_OPACITY2 = 0.55;
3676
- var styles39 = StyleSheet.create({
3724
+ var styles40 = StyleSheet.create({
3677
3725
  base: { alignItems: "center", borderRadius: RADIUS, borderWidth: 1, flexDirection: "row", gap: GAP4, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H2 },
3678
3726
  disabled: { borderStyle: "dashed", opacity: DISABLED_OPACITY2 },
3679
3727
  text: { fontSize: FONT_SIZE2, fontWeight: "600" }
@@ -3700,12 +3748,12 @@ var RecordActionButton = ({ label, hint, testID, icon, onPress, iconOnly = false
3700
3748
  accessibilityRole: "button",
3701
3749
  accessibilityState: { disabled },
3702
3750
  disabled,
3703
- style: [styles39.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles39.disabled],
3751
+ style: [styles40.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles40.disabled],
3704
3752
  testID,
3705
3753
  onPress,
3706
3754
  children: [
3707
3755
  icon === void 0 ? null : /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }),
3708
- showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles39.text, { color: theme.colors.text }], children: label }) : null
3756
+ showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles40.text, { color: theme.colors.text }], children: label }) : null
3709
3757
  ]
3710
3758
  }
3711
3759
  );
@@ -3717,7 +3765,7 @@ var FONT_SIZE3 = 12;
3717
3765
  var COPY_GLYPH = "\u29C9";
3718
3766
  var COPIED_GLYPH = "\u2713";
3719
3767
  var MONO = Platform.select({ web: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", default: "monospace" });
3720
- var styles40 = StyleSheet.create({
3768
+ var styles41 = StyleSheet.create({
3721
3769
  chip: { alignItems: "center", alignSelf: "flex-start", borderRadius: RADIUS2, borderWidth: 1, flexDirection: "row", gap: GAP5, maxWidth: "100%", minHeight: MIN_TARGET_PX, paddingHorizontal: PAD_H3 },
3722
3770
  text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 }
3723
3771
  });
@@ -3734,24 +3782,24 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
3734
3782
  accessibilityRole: "button",
3735
3783
  accessibilityState: { disabled: !copyable },
3736
3784
  disabled: !copyable,
3737
- style: [styles40.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3785
+ style: [styles41.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3738
3786
  testID,
3739
3787
  onPress: copyable ? copy : void 0,
3740
3788
  children: [
3741
- /* @__PURE__ */ jsx(Text, { style: [styles40.text, { color: theme.colors.textSecondary }], children: label }),
3742
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles40.text, ink], testID: valueTestID, children: display ?? value }),
3743
- copyable ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles40.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3789
+ /* @__PURE__ */ jsx(Text, { style: [styles41.text, { color: theme.colors.textSecondary }], children: label }),
3790
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles41.text, ink], testID: valueTestID, children: display ?? value }),
3791
+ copyable ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles41.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3744
3792
  ]
3745
3793
  }
3746
3794
  );
3747
3795
  };
3748
3796
  var STEP_WIDTH = 8;
3749
3797
  var STEP_OPACITIES = [0.35, 0.65, 0.9];
3750
- var styles41 = StyleSheet.create({
3798
+ var styles42 = StyleSheet.create({
3751
3799
  fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
3752
3800
  step: { width: STEP_WIDTH }
3753
3801
  });
3754
- var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsx(View, { "aria-hidden": true, pointerEvents: "none", style: styles41.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsx(View, { style: [styles41.step, { backgroundColor: color, opacity }] }, opacity)) });
3802
+ var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsx(View, { "aria-hidden": true, pointerEvents: "none", style: styles42.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsx(View, { style: [styles42.step, { backgroundColor: color, opacity }] }, opacity)) });
3755
3803
  var SLACK_PX = 1;
3756
3804
  function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
3757
3805
  return contentWidth - viewportWidth - offset > SLACK_PX;
@@ -3778,7 +3826,7 @@ var COUNT_FONT = 12;
3778
3826
  var COUNT_MIN = 22;
3779
3827
  var COUNT_PAD = 6;
3780
3828
  var PILL = 999;
3781
- var styles42 = StyleSheet.create({
3829
+ var styles43 = StyleSheet.create({
3782
3830
  chip: { alignItems: "center", borderRadius: PILL, borderWidth: 1, flexDirection: "row", gap: GAP6, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: CHIP_PAD_H },
3783
3831
  chipCount: { fontSize: FONT_SIZE4, fontWeight: "700" },
3784
3832
  count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
@@ -3801,18 +3849,19 @@ var TabPressable = ({ tab, selected, onChange, style, children }) => /* @__PURE_
3801
3849
  );
3802
3850
  var UnderlineTabItem = ({ underline, ...item }) => {
3803
3851
  const { theme } = useUi();
3804
- return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles42.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3805
- /* @__PURE__ */ jsx(Text, { style: [styles42.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3806
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles42.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3852
+ return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles43.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3853
+ item.tab.icon ?? null,
3854
+ /* @__PURE__ */ jsx(Text, { style: [styles43.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3855
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles43.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3807
3856
  ] });
3808
3857
  };
3809
3858
  var ChipTabItem = (item) => {
3810
3859
  const { theme } = useUi();
3811
3860
  const fill = item.selected ? theme.colors.text : "transparent";
3812
3861
  const ink = item.selected ? theme.colors.background : theme.colors.text;
3813
- return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles42.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3814
- /* @__PURE__ */ jsx(Text, { style: [styles42.label, { color: ink }], children: item.tab.label }),
3815
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles42.chipCount, { color: ink }], children: String(item.tab.count) })
3862
+ return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles43.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3863
+ /* @__PURE__ */ jsx(Text, { style: [styles43.label, { color: ink }], children: item.tab.label }),
3864
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles43.chipCount, { color: ink }], children: String(item.tab.count) })
3816
3865
  ] });
3817
3866
  };
3818
3867
 
@@ -3826,7 +3875,7 @@ var DEFAULT_UNDERLINE_STEP = "700";
3826
3875
  var SCROLL_THROTTLE_MS = 16;
3827
3876
  var CHIP_GAP = 8;
3828
3877
  var CHIP_PAD_V = 4;
3829
- var styles43 = StyleSheet.create({
3878
+ var styles44 = StyleSheet.create({
3830
3879
  chipRow: { alignItems: "center", flexDirection: "row", gap: CHIP_GAP, paddingVertical: CHIP_PAD_V },
3831
3880
  chipWrap: { flexWrap: "wrap" },
3832
3881
  strip: { position: "relative", width: "100%" }
@@ -3840,12 +3889,12 @@ var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibil
3840
3889
  const item = { tab, selected: tab.key === activeKey, onChange };
3841
3890
  return chips ? /* @__PURE__ */ jsx(ChipTabItem, { ...item }, tab.key) : /* @__PURE__ */ jsx(UnderlineTabItem, { ...item, underline }, tab.key);
3842
3891
  });
3843
- const stripStyle = chips ? styles43.strip : [styles43.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3892
+ const stripStyle = chips ? styles44.strip : [styles44.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3844
3893
  if (chips && chipOverflow === "wrap" /* Wrap */) {
3845
- return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles43.chipRow, styles43.chipWrap], testID, children: items });
3894
+ return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles44.chipRow, styles44.chipWrap], testID, children: items });
3846
3895
  }
3847
3896
  return /* @__PURE__ */ jsxs(View, { style: stripStyle, testID, children: [
3848
- /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles43.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
3897
+ /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles44.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
3849
3898
  fade.visible ? /* @__PURE__ */ jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
3850
3899
  ] });
3851
3900
  };
@@ -3853,7 +3902,7 @@ var RADIUS3 = 12;
3853
3902
  var PAD = 16;
3854
3903
  var GAP7 = 8;
3855
3904
  var TITLE_FONT = 15;
3856
- var styles44 = StyleSheet.create({
3905
+ var styles45 = StyleSheet.create({
3857
3906
  card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
3858
3907
  footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
3859
3908
  head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
@@ -3861,14 +3910,14 @@ var styles44 = StyleSheet.create({
3861
3910
  });
3862
3911
  var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
3863
3912
  const { theme } = useUi();
3864
- return /* @__PURE__ */ jsxs(View, { style: [styles44.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3865
- /* @__PURE__ */ jsxs(View, { style: styles44.head, children: [
3913
+ return /* @__PURE__ */ jsxs(View, { style: [styles45.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3914
+ /* @__PURE__ */ jsxs(View, { style: styles45.head, children: [
3866
3915
  icon === void 0 ? null : /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }),
3867
- /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles44.title, { color: theme.colors.text }], children: title }),
3916
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles45.title, { color: theme.colors.text }], children: title }),
3868
3917
  headerRight
3869
3918
  ] }),
3870
3919
  children,
3871
- footer === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles44.footer, children: footer })
3920
+ footer === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles45.footer, children: footer })
3872
3921
  ] });
3873
3922
  };
3874
3923
  var LEAD_LABEL_SIZE = 14;
@@ -3880,7 +3929,7 @@ var GAP8 = 12;
3880
3929
  var LEAD_GAP = 4;
3881
3930
  var LEAD_BORDER = 1.5;
3882
3931
  var ACCENT_STEP = "500";
3883
- var styles45 = StyleSheet.create({
3932
+ var styles46 = StyleSheet.create({
3884
3933
  slip: { gap: GAP8, width: "100%" },
3885
3934
  lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
3886
3935
  leadLabel: { fontSize: LEAD_LABEL_SIZE },
@@ -3892,13 +3941,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
3892
3941
  const { theme } = useUi();
3893
3942
  const { colors } = theme;
3894
3943
  const accent = theme.palette.primary[ACCENT_STEP];
3895
- return /* @__PURE__ */ jsxs(View, { style: styles45.slip, testID, children: [
3896
- /* @__PURE__ */ jsxs(View, { style: [styles45.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3897
- /* @__PURE__ */ jsx(Text, { style: [styles45.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3898
- /* @__PURE__ */ jsx(Text, { style: [styles45.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3899
- recipient !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles45.recipient, { color: colors.text }], children: recipient })
3944
+ return /* @__PURE__ */ jsxs(View, { style: styles46.slip, testID, children: [
3945
+ /* @__PURE__ */ jsxs(View, { style: [styles46.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3946
+ /* @__PURE__ */ jsx(Text, { style: [styles46.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3947
+ /* @__PURE__ */ jsx(Text, { style: [styles46.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3948
+ recipient !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles46.recipient, { color: colors.text }], children: recipient })
3900
3949
  ] }),
3901
- /* @__PURE__ */ jsx(View, { style: styles45.rows, children }),
3950
+ /* @__PURE__ */ jsx(View, { style: styles46.rows, children }),
3902
3951
  footer
3903
3952
  ] });
3904
3953
  };
@@ -3931,7 +3980,7 @@ var STACK_GAP = 8;
3931
3980
  var ROW_PAD = 10;
3932
3981
  var TEXT_GAP = 2;
3933
3982
  var MONO_SPACING = 1;
3934
- var styles46 = StyleSheet.create({
3983
+ var styles47 = StyleSheet.create({
3935
3984
  inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: StyleSheet.hairlineWidth },
3936
3985
  prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
3937
3986
  text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
@@ -3955,10 +4004,10 @@ var CopyValueRow = ({
3955
4004
  const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
3956
4005
  const action = copyActionLabel(status, labels);
3957
4006
  const prominent = emphasis === "prominent" /* Prominent */;
3958
- const valueStyle = prominent || monospace ? styles46.big : styles46.value;
3959
- return /* @__PURE__ */ jsxs(View, { style: prominent ? styles46.prominent : [styles46.inline, { borderTopColor: colors.border }], testID, children: [
3960
- /* @__PURE__ */ jsxs(View, { style: styles46.text, children: [
3961
- /* @__PURE__ */ jsx(Text, { style: [styles46.label, { color: colors.textSecondary }], children: label }),
4007
+ const valueStyle = prominent || monospace ? styles47.big : styles47.value;
4008
+ return /* @__PURE__ */ jsxs(View, { style: prominent ? styles47.prominent : [styles47.inline, { borderTopColor: colors.border }], testID, children: [
4009
+ /* @__PURE__ */ jsxs(View, { style: styles47.text, children: [
4010
+ /* @__PURE__ */ jsx(Text, { style: [styles47.label, { color: colors.textSecondary }], children: label }),
3962
4011
  /* @__PURE__ */ jsx(Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
3963
4012
  ] }),
3964
4013
  copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsx(
@@ -4001,7 +4050,7 @@ var TILE_PAD = 12;
4001
4050
  var TILE_RADIUS = 10;
4002
4051
  var TILE_GAP = 2;
4003
4052
  var ALERT_STEP = "500";
4004
- var styles47 = StyleSheet.create({
4053
+ var styles48 = StyleSheet.create({
4005
4054
  tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: StyleSheet.hairlineWidth, gap: TILE_GAP },
4006
4055
  label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
4007
4056
  value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
@@ -4015,19 +4064,19 @@ var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) =
4015
4064
  return /* @__PURE__ */ jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxs(
4016
4065
  View,
4017
4066
  {
4018
- style: [styles47.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4067
+ style: [styles48.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4019
4068
  testID: `${testID}-${item.key}`,
4020
4069
  children: [
4021
- /* @__PURE__ */ jsx(Text, { style: [styles47.label, { color: colors.textSecondary }], children: item.label }),
4070
+ /* @__PURE__ */ jsx(Text, { style: [styles48.label, { color: colors.textSecondary }], children: item.label }),
4022
4071
  /* @__PURE__ */ jsx(
4023
4072
  Text,
4024
4073
  {
4025
- style: [styles47.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4074
+ style: [styles48.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4026
4075
  testID: `${testID}-${item.key}-value`,
4027
4076
  children: item.value
4028
4077
  }
4029
4078
  ),
4030
- item.caption !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles47.caption, { color: colors.textSecondary }], children: item.caption })
4079
+ item.caption !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles48.caption, { color: colors.textSecondary }], children: item.caption })
4031
4080
  ]
4032
4081
  },
4033
4082
  item.key
@@ -4066,6 +4115,6 @@ var ListDetailLayout = ({
4066
4115
  return /* @__PURE__ */ jsx(SplitPanes, { end: null, layout: "stack" /* Stack */, start: panes.detail ? detail : list, testID });
4067
4116
  };
4068
4117
 
4069
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, Breadcrumb, BuildInfoFooter, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, CopyControl, CopyRowEmphasis, CopyStatus, CopyValueRow, CopyableId, CountBadge, DEFAULT_BILLING_ROUTE, DayBadgeFill, DayCard, DropdownVariant, ELLIPSIS, FigureStrip, FormDialog, HEADER_STACK_BREAKPOINT, Heading, IdChip, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, ListDetailPane, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, PageHead, RecordActionButton, RecordHeader, RowSelectedStyle, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, ScreenColumn, Section, SectionChips, SectionDensity, SectionIndex, SectionIndexLayout, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, SplitLayout, SplitPanes, StatusBadge, StickyActionBar, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TabsVariant, TextKind, Timeline, ToggleSection, TotalsStrip, TotalsTone, TransferSlip, TruncatedText, UnderlineTabs, UpgradePrompt, WidgetCard, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
4118
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, Breadcrumb, BuildInfoFooter, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, CopyControl, CopyRowEmphasis, CopyStatus, CopyValueRow, CopyableId, CountBadge, DEFAULT_BILLING_ROUTE, DayBadgeFill, DayCard, DropdownVariant, ELLIPSIS, FigureStrip, FormDialog, HEADER_STACK_BREAKPOINT, Heading, IdChip, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, ListDetailPane, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, PageHead, RecordActionButton, RecordHeader, RowSelectedStyle, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, ScreenColumn, Section, SectionChips, SectionDensity, SectionIndex, SectionIndexLayout, SectionVariant, SegmentedControl, SegmentedVariant, SelectedMarker, SideSheet, SplitLayout, SplitPanes, StatusBadge, StickyActionBar, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TabsVariant, TextKind, Timeline, ToggleSection, TotalsStrip, TotalsTone, TransferSlip, TruncatedText, UnderlineTabs, UpgradePrompt, WidgetCard, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
4070
4119
  //# sourceMappingURL=index.mjs.map
4071
4120
  //# sourceMappingURL=index.mjs.map