@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.js CHANGED
@@ -141,6 +141,21 @@ var Heading = ({
141
141
  );
142
142
  };
143
143
 
144
+ // src/responsive.ts
145
+ var WEB_PLATFORM = "web";
146
+ function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
147
+ return platformOS === WEB_PLATFORM && width >= breakpoint;
148
+ }
149
+ function isModalFooterStacked(width) {
150
+ return width < MODAL_FOOTER_STACK_BELOW;
151
+ }
152
+
153
+ // src/hooks/useIsWideViewport.ts
154
+ function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
155
+ const { width } = reactNative.useWindowDimensions();
156
+ return isWideWebViewport(width, reactNative.Platform.OS, breakpoint);
157
+ }
158
+
144
159
  // src/Section/SectionVariant.ts
145
160
  var SectionVariant = /* @__PURE__ */ ((SectionVariant2) => {
146
161
  SectionVariant2["Panel"] = "panel";
@@ -173,14 +188,18 @@ var Section = ({
173
188
  title,
174
189
  titleLevel,
175
190
  padding,
191
+ narrowPadding,
192
+ breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
176
193
  testID
177
194
  }) => {
178
195
  const { theme } = uiFeedback.useUi();
196
+ const wide = useIsWideViewport(breakpoint);
197
+ const inner = narrowPadding !== void 0 && !wide ? narrowPadding : padding;
179
198
  const isCard = variant === "card" /* Card */;
180
199
  const fill = isCard ? theme.colors.background : theme.colors.surface;
181
200
  const containerStyle = React16__default.default.useMemo(
182
- () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, paddingStyle(padding), style],
183
- [theme.colors.border, fill, isCard, title, padding, style]
201
+ () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, paddingStyle(inner), style],
202
+ [theme.colors.border, fill, isCard, title, inner, style]
184
203
  );
185
204
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: containerStyle, testID, children: [
186
205
  title === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(Heading, { level: titleLevel, testID: testID === void 0 ? void 0 : `${testID}-title`, text: title }),
@@ -232,21 +251,6 @@ var AppText = ({
232
251
  }
233
252
  );
234
253
  };
235
-
236
- // src/responsive.ts
237
- var WEB_PLATFORM = "web";
238
- function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
239
- return platformOS === WEB_PLATFORM && width >= breakpoint;
240
- }
241
- function isModalFooterStacked(width) {
242
- return width < MODAL_FOOTER_STACK_BELOW;
243
- }
244
-
245
- // src/hooks/useIsWideViewport.ts
246
- function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
247
- const { width } = reactNative.useWindowDimensions();
248
- return isWideWebViewport(width, reactNative.Platform.OS, breakpoint);
249
- }
250
254
  var styles3 = reactNative.StyleSheet.create({
251
255
  outer: { alignItems: "center", width: "100%" },
252
256
  column: { width: "100%", gap: 16 },
@@ -939,6 +943,41 @@ var PageFrame = ({
939
943
  /* @__PURE__ */ jsxRuntime.jsx(PageOverlay, { pageSize, testID: `${testID}-overlay`, visible: enlarged, onClose: close, children })
940
944
  ] });
941
945
  };
946
+
947
+ // src/SegmentedControl/SegmentedVariant.ts
948
+ var SegmentedVariant = /* @__PURE__ */ ((SegmentedVariant2) => {
949
+ SegmentedVariant2["Raised"] = "raised";
950
+ SegmentedVariant2["Filled"] = "filled";
951
+ return SegmentedVariant2;
952
+ })(SegmentedVariant || {});
953
+
954
+ // src/SegmentedControl/segmentLook.ts
955
+ var FILLED_RADIUS = 10;
956
+ var FILLED_PAD_V = 12;
957
+ var TRANSPARENT = "transparent";
958
+ var styles10 = reactNative.StyleSheet.create({
959
+ filledTrack: { borderRadius: FILLED_RADIUS, padding: 0, gap: 0, overflow: "hidden" },
960
+ filledSegment: { borderRadius: 0, paddingVertical: FILLED_PAD_V },
961
+ stretchTrack: { alignSelf: "stretch" },
962
+ stretchSegment: { flex: 1 }
963
+ });
964
+ function segmentLook(variant, selected, colors, selectedColor) {
965
+ if (!selected) return { fill: TRANSPARENT, ink: colors.textSecondary };
966
+ if (variant === "filled" /* Filled */) return { fill: selectedColor ?? colors.text, ink: colors.surface };
967
+ return { fill: colors.surface, ink: colors.text };
968
+ }
969
+ function trackShape(variant, stretch) {
970
+ const shape = [];
971
+ if (variant === "filled" /* Filled */) shape.push(styles10.filledTrack);
972
+ if (stretch) shape.push(styles10.stretchTrack);
973
+ return shape;
974
+ }
975
+ function segmentShape(variant, stretch) {
976
+ const shape = [];
977
+ if (variant === "filled" /* Filled */) shape.push(styles10.filledSegment);
978
+ if (stretch) shape.push(styles10.stretchSegment);
979
+ return shape;
980
+ }
942
981
  var TRACK_PADDING = 3;
943
982
  var TRACK_RADIUS = 999;
944
983
  var SEGMENT_RADIUS = 999;
@@ -949,9 +988,8 @@ var SEGMENT_WEIGHT = "600";
949
988
  var BORDER_WIDTH = 1;
950
989
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
951
990
  var SHADOW_ELEVATION = 2;
952
- var TRANSPARENT = "transparent";
953
991
  var HINT_ID_FALLBACK = "segmented-control";
954
- var styles10 = reactNative.StyleSheet.create({
992
+ var styles11 = reactNative.StyleSheet.create({
955
993
  track: {
956
994
  flexDirection: "row",
957
995
  alignSelf: "flex-start",
@@ -988,6 +1026,9 @@ function SegmentedControl({
988
1026
  accessibilityLabel,
989
1027
  accessibilityHint,
990
1028
  style,
1029
+ stretch = false,
1030
+ variant = "raised" /* Raised */,
1031
+ selectedColor,
991
1032
  testID
992
1033
  }) {
993
1034
  const { theme } = uiFeedback.useUi();
@@ -1000,11 +1041,12 @@ function SegmentedControl({
1000
1041
  accessibilityRole: "tablist",
1001
1042
  "aria-label": accessibilityLabel,
1002
1043
  ...describedBy,
1003
- style: [styles10.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
1044
+ style: [styles11.track, { backgroundColor: colors.background, borderColor: colors.border }, ...trackShape(variant, stretch), style],
1004
1045
  testID,
1005
1046
  children: [
1006
1047
  options.map((opt) => {
1007
1048
  const selected = opt.value === value;
1049
+ const look = segmentLook(variant, selected, colors, selectedColor);
1008
1050
  return /* @__PURE__ */ jsxRuntime.jsx(
1009
1051
  reactNative.Pressable,
1010
1052
  {
@@ -1014,13 +1056,14 @@ function SegmentedControl({
1014
1056
  accessibilityHint: opt.accessibilityHint,
1015
1057
  onPress: () => onChange(opt.value),
1016
1058
  style: [
1017
- styles10.segment,
1018
- selected ? styles10.segmentSelected : null,
1019
- { backgroundColor: selected ? colors.surface : TRANSPARENT }
1059
+ styles11.segment,
1060
+ selected && variant === "raised" /* Raised */ ? styles11.segmentSelected : null,
1061
+ ...segmentShape(variant, stretch),
1062
+ { backgroundColor: look.fill }
1020
1063
  ],
1021
1064
  testID: opt.testID,
1022
1065
  ...ariaSelectedProps(selected),
1023
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
1066
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.label, { color: look.ink }], children: opt.label })
1024
1067
  },
1025
1068
  opt.value
1026
1069
  );
@@ -1114,7 +1157,7 @@ var HEADING_PADDING_H = 16;
1114
1157
  var HEADING_PADDING_TOP = 8;
1115
1158
  var HEADING_PADDING_BOTTOM = 4;
1116
1159
  var HEADING_LETTER_SPACING = 0.5;
1117
- var styles11 = reactNative.StyleSheet.create({
1160
+ var styles12 = reactNative.StyleSheet.create({
1118
1161
  heading: {
1119
1162
  fontSize: HEADING_FONT_SIZE,
1120
1163
  fontWeight: HEADING_FONT_WEIGHT,
@@ -1130,7 +1173,7 @@ var MenuHeading = ({ testID, text }) => {
1130
1173
  reactNative.Text,
1131
1174
  {
1132
1175
  accessibilityRole: "header",
1133
- style: [styles11.heading, { color: theme.colors.textSecondary }],
1176
+ style: [styles12.heading, { color: theme.colors.textSecondary }],
1134
1177
  testID: `${testID}-menu-heading`,
1135
1178
  children: text
1136
1179
  }
@@ -1151,7 +1194,7 @@ var OPTION_PADDING_V = 12;
1151
1194
  var ACCENT_BAR_WIDTH = 3;
1152
1195
  var CHECK_GAP = 8;
1153
1196
  var CHECK_GLYPH = "\u2713";
1154
- var styles12 = reactNative.StyleSheet.create({
1197
+ var styles13 = reactNative.StyleSheet.create({
1155
1198
  option: {
1156
1199
  paddingHorizontal: OPTION_PADDING_H,
1157
1200
  paddingVertical: OPTION_PADDING_V,
@@ -1190,16 +1233,16 @@ var OptionRow = ({
1190
1233
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
1191
1234
  const isActive = isSelected || isHighlighted;
1192
1235
  const rowStyle = [
1193
- styles12.option,
1194
- isMarked ? styles12.markedRow : null,
1236
+ styles13.option,
1237
+ isMarked ? styles13.markedRow : null,
1195
1238
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
1196
1239
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
1197
1240
  ];
1198
1241
  const textStyle = [
1199
- styles12.optionText,
1242
+ styles13.optionText,
1200
1243
  { color: colors.text },
1201
- isSelected ? styles12.selectedText : null,
1202
- isMarked ? styles12.markedText : null
1244
+ isSelected ? styles13.selectedText : null,
1245
+ isMarked ? styles13.markedText : null
1203
1246
  ];
1204
1247
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
1205
1248
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1215,7 +1258,7 @@ var OptionRow = ({
1215
1258
  onPress: handlePress,
1216
1259
  children: [
1217
1260
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: textStyle, children: label }),
1218
- isMarked && isSelected ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
1261
+ isMarked && isSelected ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
1219
1262
  ]
1220
1263
  }
1221
1264
  );
@@ -1396,7 +1439,7 @@ var IS_WEB3 = reactNative.Platform.OS === "web";
1396
1439
  var BORDER_RADIUS2 = 8;
1397
1440
  var BORDER_WIDTH3 = 1;
1398
1441
  var MENU_PADDING2 = 4;
1399
- var styles13 = reactNative.StyleSheet.create({
1442
+ var styles14 = reactNative.StyleSheet.create({
1400
1443
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
1401
1444
  popover: {
1402
1445
  position: "absolute",
@@ -1486,9 +1529,9 @@ var InlineMenu = ({
1486
1529
  themed
1487
1530
  ];
1488
1531
  }
1489
- return [styles13.popover, { minWidth: menuMinWidth }, themed];
1532
+ return [styles14.popover, { minWidth: menuMinWidth }, themed];
1490
1533
  }, [colors.border, colors.surface, menuMinWidth, placement, rect]);
1491
- const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles13.scroll;
1534
+ const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles14.scroll;
1492
1535
  const menu = /* @__PURE__ */ jsxRuntime.jsx(
1493
1536
  reactNative.View,
1494
1537
  {
@@ -1502,7 +1545,7 @@ var InlineMenu = ({
1502
1545
  reactNative.Animated.View,
1503
1546
  {
1504
1547
  pointerEvents: isOpen ? "auto" : "none",
1505
- style: [styles13.animated, opensAbove ? styles13.animatedAbove : null, animatedStyle, isOpen ? null : styles13.inert],
1548
+ style: [styles14.animated, opensAbove ? styles14.animatedAbove : null, animatedStyle, isOpen ? null : styles14.inert],
1506
1549
  children: [
1507
1550
  menuHeading !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(MenuHeading, { testID, text: menuHeading }) : null,
1508
1551
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { style: scrollStyle, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -1553,7 +1596,7 @@ var CARET_OPEN_ROTATION = "180deg";
1553
1596
  var CARET_CLOSED_ROTATION = "0deg";
1554
1597
  var POPOVER_ENTER_SCALE = 0.96;
1555
1598
  var POPOVER_MOTION_MS = 120;
1556
- var styles14 = reactNative.StyleSheet.create({
1599
+ var styles15 = reactNative.StyleSheet.create({
1557
1600
  anchor: { position: "relative" },
1558
1601
  container: {
1559
1602
  borderWidth: BORDER_WIDTH4,
@@ -1668,19 +1711,19 @@ var ModalDropdown = ({
1668
1711
  const isCaret = showCaret && !isHamburger;
1669
1712
  const containerStyle = React16.useMemo(
1670
1713
  () => renderTrigger !== void 0 ? void 0 : [
1671
- styles14.container,
1672
- isHamburger ? styles14.containerHamburger : isCaret ? styles14.containerMenu : null,
1714
+ styles15.container,
1715
+ isHamburger ? styles15.containerHamburger : isCaret ? styles15.containerMenu : null,
1673
1716
  { borderColor: colors.border, backgroundColor: colors.surface }
1674
1717
  ],
1675
1718
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1676
1719
  );
1677
1720
  const hamburgerStyle = React16.useMemo(
1678
- () => [styles14.hamburger, { color: colors.textSecondary }],
1721
+ () => [styles15.hamburger, { color: colors.textSecondary }],
1679
1722
  [colors.textSecondary]
1680
1723
  );
1681
1724
  const caretStyle = React16.useMemo(
1682
1725
  () => [
1683
- styles14.caret,
1726
+ styles15.caret,
1684
1727
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1685
1728
  ],
1686
1729
  [colors.textSecondary, isOpen]
@@ -1690,11 +1733,11 @@ var ModalDropdown = ({
1690
1733
  [optionTestID, testID]
1691
1734
  );
1692
1735
  const anchorStyle = React16.useMemo(
1693
- () => [styles14.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1736
+ () => [styles15.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1694
1737
  [isMenu, isOpen]
1695
1738
  );
1696
1739
  const modalContentStyle = React16.useMemo(
1697
- () => [styles14.modalContent, { backgroundColor: colors.surface }],
1740
+ () => [styles15.modalContent, { backgroundColor: colors.surface }],
1698
1741
  [colors.surface]
1699
1742
  );
1700
1743
  const renderModalOption = React16.useCallback(
@@ -1715,11 +1758,11 @@ var ModalDropdown = ({
1715
1758
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1716
1759
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1717
1760
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1718
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1761
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles15.selectedText, styles15.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1719
1762
  ] }) : isCaret ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1720
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1763
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles15.selectedText, styles15.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1721
1764
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: caretStyle, children: CARET_GLYPH })
1722
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.selectedText, { color: colors.text }], children: selectedLabel }),
1765
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.selectedText, { color: colors.text }], children: selectedLabel }),
1723
1766
  hintNode
1724
1767
  ] }),
1725
1768
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1740,7 +1783,7 @@ var ModalDropdown = ({
1740
1783
  onSelect: handleSelect
1741
1784
  }
1742
1785
  ) : null,
1743
- !isMenu ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.modalOverlay, children: [
1786
+ !isMenu ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.modalOverlay, children: [
1744
1787
  /* @__PURE__ */ jsxRuntime.jsx(
1745
1788
  reactNative.TouchableOpacity,
1746
1789
  {
@@ -1834,7 +1877,7 @@ var ROW_PAD_V = 8;
1834
1877
  var PANEL_PAD_TOP = 16;
1835
1878
  var BORDER_WIDTH5 = 1;
1836
1879
  var TEXT_ON_PRIMARY = "#ffffff";
1837
- var styles15 = reactNative.StyleSheet.create({
1880
+ var styles16 = reactNative.StyleSheet.create({
1838
1881
  root: {
1839
1882
  width: "100%"
1840
1883
  },
@@ -1889,7 +1932,7 @@ var WideTabStrip = ({
1889
1932
  textSecondary,
1890
1933
  surfaceElevated,
1891
1934
  stripStyle
1892
- }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles15.strip, stripStyle], children: tabs.map((tab) => {
1935
+ }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles16.strip, stripStyle], children: tabs.map((tab) => {
1893
1936
  const selected = tab.key === activeKey;
1894
1937
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1895
1938
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1903,10 +1946,10 @@ var WideTabStrip = ({
1903
1946
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1904
1947
  accessibilityHint: tab.accessibilityHint,
1905
1948
  onPress: () => onChange(tab.key),
1906
- style: [styles15.pill, { backgroundColor: pillColor }],
1949
+ style: [styles16.pill, { backgroundColor: pillColor }],
1907
1950
  testID: tab.testID,
1908
1951
  ...ariaTabProps(selected, panelId, tabId),
1909
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.pillText, { color: textColor }], children: tab.label })
1952
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.pillText, { color: textColor }], children: tab.label })
1910
1953
  },
1911
1954
  tab.key
1912
1955
  );
@@ -1932,7 +1975,7 @@ var Tabs = ({
1932
1975
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1933
1976
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1934
1977
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1935
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles15.root, style], testID, children: [
1978
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.root, style], testID, children: [
1936
1979
  collapsed ? /* @__PURE__ */ jsxRuntime.jsx(
1937
1980
  TabsMenu,
1938
1981
  {
@@ -1961,7 +2004,7 @@ var Tabs = ({
1961
2004
  onChange
1962
2005
  }
1963
2006
  ),
1964
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "none", style: [styles15.panel, panelStyle], ...panelAria, children })
2007
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "none", style: [styles16.panel, panelStyle], ...panelAria, children })
1965
2008
  ] });
1966
2009
  };
1967
2010
  var PROMPT_PADDING = 20;
@@ -1976,7 +2019,7 @@ var DISMISS_FONT_SIZE = 13;
1976
2019
  var TITLE_MARGIN_BOTTOM = 8;
1977
2020
  var MESSAGE_MARGIN_BOTTOM = 16;
1978
2021
  var CTA_MARGIN_BOTTOM = 8;
1979
- var styles16 = reactNative.StyleSheet.create({
2022
+ var styles17 = reactNative.StyleSheet.create({
1980
2023
  container: {
1981
2024
  padding: PROMPT_PADDING,
1982
2025
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -2011,21 +2054,21 @@ var UpgradePrompt = ({
2011
2054
  return /* @__PURE__ */ jsxRuntime.jsxs(
2012
2055
  reactNative.View,
2013
2056
  {
2014
- style: [styles16.container, { borderColor: primary, backgroundColor: colors.surface }],
2057
+ style: [styles17.container, { borderColor: primary, backgroundColor: colors.surface }],
2015
2058
  testID: LAYOUT_TEST_IDS.upgradePrompt,
2016
2059
  children: [
2017
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
2018
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
2060
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
2061
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
2019
2062
  /* @__PURE__ */ jsxRuntime.jsx(
2020
2063
  reactNative.TouchableOpacity,
2021
2064
  {
2022
2065
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
2023
2066
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
2024
2067
  accessibilityRole: "button",
2025
- style: [styles16.cta, { backgroundColor: primary }],
2068
+ style: [styles17.cta, { backgroundColor: primary }],
2026
2069
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
2027
2070
  onPress: handleUpgradePress,
2028
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
2071
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
2029
2072
  }
2030
2073
  ),
2031
2074
  onDismiss ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -2034,10 +2077,10 @@ var UpgradePrompt = ({
2034
2077
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
2035
2078
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
2036
2079
  accessibilityRole: "button",
2037
- style: styles16.dismiss,
2080
+ style: styles17.dismiss,
2038
2081
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
2039
2082
  onPress: onDismiss,
2040
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
2083
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
2041
2084
  }
2042
2085
  ) : null
2043
2086
  ]
@@ -2046,7 +2089,7 @@ var UpgradePrompt = ({
2046
2089
  };
2047
2090
  var CLOSE_ICON_SIZE = 18;
2048
2091
  var PANEL_ENTER_SCALE2 = 0.96;
2049
- var styles17 = reactNative.StyleSheet.create({
2092
+ var styles18 = reactNative.StyleSheet.create({
2050
2093
  animatedFill: { flex: 1 },
2051
2094
  container: {
2052
2095
  flex: 1,
@@ -2076,7 +2119,7 @@ var ModalShell = ({
2076
2119
  const { theme, t } = uiFeedback.useUi();
2077
2120
  const { style: sheetStyle, mounted } = uiMotion.useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE2 });
2078
2121
  const containerStyle = React16__default.default.useMemo(
2079
- () => [styles17.container, { backgroundColor: theme.colors.background }, contentStyle],
2122
+ () => [styles18.container, { backgroundColor: theme.colors.background }, contentStyle],
2080
2123
  [theme.colors.background, contentStyle]
2081
2124
  );
2082
2125
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -2088,7 +2131,7 @@ var ModalShell = ({
2088
2131
  testID: LAYOUT_TEST_IDS.modalShell,
2089
2132
  visible: mounted,
2090
2133
  onRequestClose: onCancel,
2091
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles17.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxRuntime.jsxs(
2134
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles18.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxRuntime.jsxs(
2092
2135
  reactNative.ScrollView,
2093
2136
  {
2094
2137
  accessibilityViewIsModal: true,
@@ -2096,7 +2139,7 @@ var ModalShell = ({
2096
2139
  role: "dialog",
2097
2140
  style: containerStyle,
2098
2141
  children: [
2099
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.headerRow, children: [
2142
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.headerRow, children: [
2100
2143
  /* @__PURE__ */ jsxRuntime.jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
2101
2144
  showClose ? /* @__PURE__ */ jsxRuntime.jsx(
2102
2145
  reactNative.TouchableOpacity,
@@ -2104,7 +2147,7 @@ var ModalShell = ({
2104
2147
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
2105
2148
  accessibilityLabel: closeA11yLabel,
2106
2149
  accessibilityRole: "button",
2107
- style: styles17.closeButton,
2150
+ style: styles18.closeButton,
2108
2151
  testID: LAYOUT_TEST_IDS.modalShellClose,
2109
2152
  onPress: onCancel,
2110
2153
  children: /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -2121,7 +2164,7 @@ var ModalShell = ({
2121
2164
  var SHEET_WIDTH = 560;
2122
2165
  var PHONE_CORNER = 16;
2123
2166
  var PHONE_ENTER_OFFSET = 24;
2124
- var styles18 = reactNative.StyleSheet.create({
2167
+ var styles19 = reactNative.StyleSheet.create({
2125
2168
  root: { flex: 1 },
2126
2169
  scrim: { backgroundColor: uiFeedback.MODAL_OVERLAY_COLOR, pointerEvents: "none" },
2127
2170
  sheet: { position: "absolute", bottom: 0, overflow: "hidden" },
@@ -2158,8 +2201,8 @@ var SideSheet = ({
2158
2201
  useEscapeKey(visible, onClose);
2159
2202
  useScrollLock(visible);
2160
2203
  const hardwareBackClose = reactNative.Platform.OS === "web" ? void 0 : onClose;
2161
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.root, children: [
2162
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [reactNative.StyleSheet.absoluteFill, styles18.scrim, { opacity: backdrop.style.opacity }] }),
2204
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.root, children: [
2205
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [reactNative.StyleSheet.absoluteFill, styles19.scrim, { opacity: backdrop.style.opacity }] }),
2163
2206
  /* @__PURE__ */ jsxRuntime.jsx(
2164
2207
  reactNative.Pressable,
2165
2208
  {
@@ -2180,17 +2223,17 @@ var SideSheet = ({
2180
2223
  "aria-label": accessibilityLabel ?? title,
2181
2224
  role: "dialog",
2182
2225
  style: [
2183
- styles18.sheet,
2184
- isWide ? styles18.wide : styles18.phone,
2226
+ styles19.sheet,
2227
+ isWide ? styles19.wide : styles19.phone,
2185
2228
  edges,
2186
2229
  { backgroundColor: theme.colors.surface },
2187
2230
  panel.style
2188
2231
  ],
2189
2232
  testID,
2190
2233
  children: [
2191
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.title, children: /* @__PURE__ */ jsxRuntime.jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2192
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { contentContainerStyle: styles18.content, style: styles18.scroll, children }),
2193
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles18.bar, edges], children: footer })
2234
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.title, children: /* @__PURE__ */ jsxRuntime.jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2235
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { contentContainerStyle: styles19.content, style: styles19.scroll, children }),
2236
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.bar, edges], children: footer })
2194
2237
  ]
2195
2238
  }
2196
2239
  )
@@ -2202,7 +2245,7 @@ var WIDE_MAX_WIDTH = 560;
2202
2245
  var TOP_CORNER = 16;
2203
2246
  var ENTER_OFFSET = 24;
2204
2247
  var CLOSE_ICON_SIZE2 = 18;
2205
- var styles19 = reactNative.StyleSheet.create({
2248
+ var styles20 = reactNative.StyleSheet.create({
2206
2249
  root: { flex: 1 },
2207
2250
  backdrop: { backgroundColor: uiFeedback.MODAL_OVERLAY_COLOR, pointerEvents: "none" },
2208
2251
  panel: {
@@ -2244,8 +2287,8 @@ var BottomSheet = ({
2244
2287
  useEscapeKey(visible, onClose);
2245
2288
  useScrollLock(visible);
2246
2289
  const hardwareBackClose = reactNative.Platform.OS === "web" ? void 0 : onClose;
2247
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.root, children: [
2248
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [reactNative.StyleSheet.absoluteFill, styles19.backdrop, { opacity: backdrop.style.opacity }] }),
2290
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.root, children: [
2291
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [reactNative.StyleSheet.absoluteFill, styles20.backdrop, { opacity: backdrop.style.opacity }] }),
2249
2292
  /* @__PURE__ */ jsxRuntime.jsx(
2250
2293
  reactNative.Pressable,
2251
2294
  {
@@ -2266,31 +2309,31 @@ var BottomSheet = ({
2266
2309
  "aria-label": accessibilityLabel ?? title,
2267
2310
  role: "dialog",
2268
2311
  style: [
2269
- styles19.panel,
2270
- isWide ? styles19.wide : null,
2312
+ styles20.panel,
2313
+ isWide ? styles20.wide : null,
2271
2314
  panelSize,
2272
2315
  { backgroundColor: theme.colors.surface },
2273
2316
  panel.style
2274
2317
  ],
2275
2318
  testID,
2276
2319
  children: [
2277
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.header, children: [
2278
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.title, children: /* @__PURE__ */ jsxRuntime.jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2320
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.header, children: [
2321
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.title, children: /* @__PURE__ */ jsxRuntime.jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2279
2322
  /* @__PURE__ */ jsxRuntime.jsx(
2280
2323
  reactNative.TouchableOpacity,
2281
2324
  {
2282
2325
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
2283
2326
  accessibilityLabel: t(LAYOUT_I18N.dialogClose),
2284
2327
  accessibilityRole: "button",
2285
- style: styles19.close,
2328
+ style: styles20.close,
2286
2329
  testID: `${testID}-close`,
2287
2330
  onPress: onClose,
2288
2331
  children: /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE2 })
2289
2332
  }
2290
2333
  )
2291
2334
  ] }),
2292
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { contentContainerStyle: styles19.content, style: styles19.body, children }),
2293
- hasFooter ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2335
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { contentContainerStyle: styles20.content, style: styles20.body, children }),
2336
+ hasFooter ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles20.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2294
2337
  ]
2295
2338
  }
2296
2339
  )
@@ -2306,7 +2349,7 @@ var ConfirmDialogFocus = /* @__PURE__ */ ((ConfirmDialogFocus2) => {
2306
2349
  })(ConfirmDialogFocus || {});
2307
2350
  var MESSAGE_FONT_SIZE2 = 14;
2308
2351
  var MESSAGE_LINE_HEIGHT = 20;
2309
- var styles20 = reactNative.StyleSheet.create({
2352
+ var styles21 = reactNative.StyleSheet.create({
2310
2353
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT }
2311
2354
  });
2312
2355
  var ConfirmDialog = ({
@@ -2369,7 +2412,7 @@ var ConfirmDialog = ({
2369
2412
  title,
2370
2413
  visible,
2371
2414
  onClose: onCancel,
2372
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles20.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2415
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles21.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2373
2416
  }
2374
2417
  );
2375
2418
  };
@@ -2463,7 +2506,7 @@ function useAccordionContext() {
2463
2506
  return value;
2464
2507
  }
2465
2508
  var BOXED_GAP = 12;
2466
- var styles21 = reactNative.StyleSheet.create({
2509
+ var styles22 = reactNative.StyleSheet.create({
2467
2510
  container: { alignSelf: "stretch" },
2468
2511
  boxed: { gap: BOXED_GAP }
2469
2512
  });
@@ -2520,7 +2563,7 @@ var Accordion = ({
2520
2563
  [openSet, toggle, allowMultiple, variant]
2521
2564
  );
2522
2565
  const containerStyle = React16.useMemo(() => {
2523
- const base = variant === "boxed" ? [styles21.container, styles21.boxed] : [styles21.container];
2566
+ const base = variant === "boxed" ? [styles22.container, styles22.boxed] : [styles22.container];
2524
2567
  if (style === void 0) return base;
2525
2568
  return [...base, ...Array.isArray(style) ? style : [style]];
2526
2569
  }, [style, variant]);
@@ -2552,7 +2595,7 @@ var BOX_TITLE_FONT_SIZE = 14;
2552
2595
  var BOX_MARKER_FONT_SIZE = 13;
2553
2596
  var BOX_MARKER_GAP = 6;
2554
2597
  var BOX_MARKER = "\u25B8";
2555
- var styles22 = reactNative.StyleSheet.create({
2598
+ var styles23 = reactNative.StyleSheet.create({
2556
2599
  item: { borderTopWidth: reactNative.StyleSheet.hairlineWidth },
2557
2600
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
2558
2601
  header: {
@@ -2628,19 +2671,19 @@ var AccordionItem = ({
2628
2671
  );
2629
2672
  const keyboardProps = reactNative.Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
2630
2673
  const itemStyle = React16.useMemo(
2631
- () => boxed ? [styles22.boxItem, { borderColor: colors.border }] : [styles22.item, { borderTopColor: colors.border }],
2674
+ () => boxed ? [styles23.boxItem, { borderColor: colors.border }] : [styles23.item, { borderTopColor: colors.border }],
2632
2675
  [boxed, colors.border]
2633
2676
  );
2634
2677
  const headerStyle = React16.useMemo(
2635
2678
  () => [
2636
- styles22.header,
2637
- ...boxed ? [styles22.boxHeader] : [],
2679
+ styles23.header,
2680
+ ...boxed ? [styles23.boxHeader] : [],
2638
2681
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
2639
2682
  ],
2640
2683
  [boxed, disabled]
2641
2684
  );
2642
2685
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
2643
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [boxed ? styles22.boxTitle : styles22.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2686
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [boxed ? styles23.boxTitle : styles23.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2644
2687
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: itemStyle, children: [
2645
2688
  /* @__PURE__ */ jsxRuntime.jsxs(
2646
2689
  reactNative.Pressable,
@@ -2657,7 +2700,7 @@ var AccordionItem = ({
2657
2700
  onPress: handlePress,
2658
2701
  ...keyboardProps,
2659
2702
  children: [
2660
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles22.headerLeft, boxed ? styles22.headerLeftRow : null], children: [
2703
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles23.headerLeft, boxed ? styles23.headerLeftRow : null], children: [
2661
2704
  boxed ? (
2662
2705
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
2663
2706
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2666,15 +2709,15 @@ var AccordionItem = ({
2666
2709
  accessibilityElementsHidden: true,
2667
2710
  "aria-hidden": true,
2668
2711
  importantForAccessibility: "no-hide-descendants",
2669
- style: [styles22.marker, { transform: [{ rotate }] }],
2712
+ style: [styles23.marker, { transform: [{ rotate }] }],
2670
2713
  testID: chevronTestID,
2671
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2714
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2672
2715
  }
2673
2716
  )
2674
2717
  ) : null,
2675
2718
  titleNode
2676
2719
  ] }),
2677
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.headerRight, children: [
2720
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.headerRight, children: [
2678
2721
  right,
2679
2722
  boxed ? null : /* @__PURE__ */ jsxRuntime.jsx(
2680
2723
  reactNative.Animated.View,
@@ -2682,7 +2725,7 @@ var AccordionItem = ({
2682
2725
  accessibilityElementsHidden: true,
2683
2726
  "aria-hidden": true,
2684
2727
  importantForAccessibility: "no-hide-descendants",
2685
- style: [styles22.chevron, { transform: [{ rotate }] }],
2728
+ style: [styles23.chevron, { transform: [{ rotate }] }],
2686
2729
  children: /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
2687
2730
  }
2688
2731
  )
@@ -2696,7 +2739,7 @@ var AccordionItem = ({
2696
2739
  accessibilityLabel: resolvedLabel,
2697
2740
  nativeID: bodyTestID,
2698
2741
  role: ROLE_REGION,
2699
- style: boxed ? styles22.boxBody : styles22.body,
2742
+ style: boxed ? styles23.boxBody : styles23.body,
2700
2743
  testID: bodyTestID,
2701
2744
  children
2702
2745
  }
@@ -2759,7 +2802,7 @@ function useAvailableWidth() {
2759
2802
  var AVG_CHAR_WIDTH_RATIO = 0.58;
2760
2803
  var DEFAULT_FONT_SIZE2 = 13;
2761
2804
  var UNMEASURED2 = 0;
2762
- var styles23 = reactNative.StyleSheet.create({
2805
+ var styles24 = reactNative.StyleSheet.create({
2763
2806
  base: { fontSize: DEFAULT_FONT_SIZE2 },
2764
2807
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
2765
2808
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2790,7 +2833,7 @@ var TruncatedText = ({
2790
2833
  [value, measureRef]
2791
2834
  );
2792
2835
  const flatStyle = React16.useMemo(
2793
- () => reactNative.StyleSheet.flatten([styles23.base, style]),
2836
+ () => reactNative.StyleSheet.flatten([styles24.base, style]),
2794
2837
  [style]
2795
2838
  );
2796
2839
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2805,7 +2848,7 @@ var TruncatedText = ({
2805
2848
  ref: attachRef,
2806
2849
  onLayout,
2807
2850
  numberOfLines: 1,
2808
- style: [styles23.base, styles23.fill, style],
2851
+ style: [styles24.base, styles24.fill, style],
2809
2852
  testID,
2810
2853
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2811
2854
  accessibilityLabel,
@@ -2913,7 +2956,7 @@ var LABEL_LETTER_SPACING = 0.4;
2913
2956
  var ACTION_PADDING_H = 6;
2914
2957
  var ACTION_PADDING_V = 2;
2915
2958
  var ACTION_RADIUS = 6;
2916
- var styles24 = reactNative.StyleSheet.create({
2959
+ var styles25 = reactNative.StyleSheet.create({
2917
2960
  cell: { gap: CELL_GAP },
2918
2961
  label: {
2919
2962
  fontSize: LABEL_FONT_SIZE,
@@ -2978,14 +3021,14 @@ var CopyableId = ({
2978
3021
  const { colors } = theme;
2979
3022
  const { status, copy } = useCopyToClipboard(value, writer);
2980
3023
  const action = useActionState(status);
2981
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles24.cell, style], testID, children: [
2982
- label !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.label, { color: colors.textSecondary }], children: label }),
2983
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.row, children: [
2984
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.valueWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
3024
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles25.cell, style], testID, children: [
3025
+ label !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.label, { color: colors.textSecondary }], children: label }),
3026
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles25.row, children: [
3027
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles25.valueWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
2985
3028
  TruncatedText,
2986
3029
  {
2987
3030
  value,
2988
- style: [styles24.value, { color: colors.text }],
3031
+ style: [styles25.value, { color: colors.text }],
2989
3032
  testID: `${testID}-value`,
2990
3033
  accessibilityLabel: accessibilityLabel ?? value,
2991
3034
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2999,7 +3042,7 @@ var CopyableId = ({
2999
3042
  accessibilityLabel: t(action.key),
3000
3043
  accessibilityHint: t(LAYOUT_I18N.copyHint),
3001
3044
  testID: `${testID}-copy`,
3002
- style: [styles24.action, { color: readableTone(action.color, [colors.background, colors.surfaceElevated], colors.text) }],
3045
+ style: [styles25.action, { color: readableTone(action.color, [colors.background, colors.surfaceElevated], colors.text) }],
3003
3046
  children: t(action.key)
3004
3047
  }
3005
3048
  )
@@ -3054,7 +3097,7 @@ var FOOTER_PADDING_V = 6;
3054
3097
  var FOOTER_PADDING_H = 12;
3055
3098
  var FOOTER_FONT_SIZE = 11;
3056
3099
  var FOOTER_OPACITY = 0.75;
3057
- var styles25 = reactNative.StyleSheet.create({
3100
+ var styles26 = reactNative.StyleSheet.create({
3058
3101
  footer: {
3059
3102
  paddingVertical: FOOTER_PADDING_V,
3060
3103
  paddingHorizontal: FOOTER_PADDING_H,
@@ -3080,7 +3123,7 @@ var BuildInfoFooter = ({
3080
3123
  const commit = apiCommit ?? fetchedCommit;
3081
3124
  const label = formatBuildInfo(buildVersion, commit);
3082
3125
  const textStyle = React16.useMemo(
3083
- () => [styles25.text, { color: theme.colors.textSecondary }],
3126
+ () => [styles26.text, { color: theme.colors.textSecondary }],
3084
3127
  [theme.colors.textSecondary]
3085
3128
  );
3086
3129
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3088,7 +3131,7 @@ var BuildInfoFooter = ({
3088
3131
  {
3089
3132
  accessibilityLabel: accessibilityLabel ?? label,
3090
3133
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
3091
- style: [styles25.footer, style],
3134
+ style: [styles26.footer, style],
3092
3135
  testID,
3093
3136
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: textStyle, children: label })
3094
3137
  }
@@ -3099,7 +3142,7 @@ var BORDER = 2;
3099
3142
  var GLYPH_SIZE = 14;
3100
3143
  var GLYPH_LINE = 16;
3101
3144
  var TICK = "\u2713";
3102
- var styles26 = reactNative.StyleSheet.create({
3145
+ var styles27 = reactNative.StyleSheet.create({
3103
3146
  circle: {
3104
3147
  width: SIZE,
3105
3148
  height: SIZE,
@@ -3116,9 +3159,9 @@ var CheckMark = ({ filled, accent, ring, glyphColor, testID }) => /* @__PURE__ *
3116
3159
  "aria-hidden": true,
3117
3160
  accessibilityElementsHidden: true,
3118
3161
  importantForAccessibility: "no-hide-descendants",
3119
- style: [styles26.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
3162
+ style: [styles27.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
3120
3163
  testID,
3121
- children: filled ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.glyph, { color: glyphColor }], children: TICK }) : null
3164
+ children: filled ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.glyph, { color: glyphColor }], children: TICK }) : null
3122
3165
  }
3123
3166
  );
3124
3167
  var ListRowToneContext = React16.createContext(null);
@@ -3241,7 +3284,7 @@ var PAD_V = 12;
3241
3284
  var GAP = 4;
3242
3285
  var MARK_GAP = 12;
3243
3286
  var LINE_GAP = 8;
3244
- var styles27 = reactNative.StyleSheet.create({
3287
+ var styles28 = reactNative.StyleSheet.create({
3245
3288
  row: {
3246
3289
  flexDirection: "row",
3247
3290
  alignItems: "center",
@@ -3265,7 +3308,7 @@ function focusTarget(event) {
3265
3308
  }
3266
3309
  function slot(node, color, strong) {
3267
3310
  if (typeof node !== "string") return node;
3268
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.shrink, strong ? styles27.strong : null, { color }], children: node });
3311
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles28.shrink, strong ? styles28.strong : null, { color }], children: node });
3269
3312
  }
3270
3313
  var ListRow = ({
3271
3314
  title,
@@ -3297,7 +3340,7 @@ var ListRow = ({
3297
3340
  style: (state) => {
3298
3341
  const { pressed, hovered } = state;
3299
3342
  const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
3300
- return [styles27.row, { borderTopColor: colors.border }, look.container];
3343
+ return [styles28.row, { borderTopColor: colors.border }, look.container];
3301
3344
  },
3302
3345
  testID,
3303
3346
  onBlur: () => {
@@ -3310,14 +3353,14 @@ var ListRow = ({
3310
3353
  ...pressedProps(selected),
3311
3354
  children: [
3312
3355
  rest.showCheck ? /* @__PURE__ */ jsxRuntime.jsx(CheckMark, { accent: palette.accent, filled: rest.checkFilled, glyphColor: palette.background, ring: palette.border, testID: checkTestId }) : null,
3313
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.body, children: [
3314
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.line, children: [
3356
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.body, children: [
3357
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.line, children: [
3315
3358
  slot(title, rest.titleColor, true),
3316
3359
  slot(trailing, rest.textColor, true)
3317
3360
  ] }),
3318
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.line, children: [
3319
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles27.shrink, children: slot(meta, rest.textColor, false) }),
3320
- badges === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles27.badges, children: badges })
3361
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.line, children: [
3362
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.shrink, children: slot(meta, rest.textColor, false) }),
3363
+ badges === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.badges, children: badges })
3321
3364
  ] })
3322
3365
  ] })
3323
3366
  ]
@@ -3339,7 +3382,7 @@ var ChipOverflow = /* @__PURE__ */ ((ChipOverflow2) => {
3339
3382
  ChipOverflow2["Scroll"] = "scroll";
3340
3383
  return ChipOverflow2;
3341
3384
  })(ChipOverflow || {});
3342
- var styles28 = reactNative.StyleSheet.create({
3385
+ var styles29 = reactNative.StyleSheet.create({
3343
3386
  root: { flexDirection: "row", flexWrap: "wrap", gap: 8 },
3344
3387
  scrollRow: { flexDirection: "row", flexWrap: "nowrap", gap: 8 },
3345
3388
  chip: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 14, borderRadius: 999, borderWidth: 1 },
@@ -3348,11 +3391,12 @@ var styles28 = reactNative.StyleSheet.create({
3348
3391
  function ariaSelected(selected) {
3349
3392
  return { "aria-selected": selected };
3350
3393
  }
3351
- var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wrap" /* Wrap */, onSelect, testID }) => {
3394
+ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wrap" /* Wrap */, activeColor, onSelect, testID }) => {
3352
3395
  const { theme } = uiFeedback.useUi();
3353
3396
  const { colors } = theme;
3397
+ const fill = activeColor ?? colors.text;
3354
3398
  const scroll = overflow === "scroll" /* Scroll */;
3355
- const row = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", accessibilityLabel: groupLabel, style: scroll ? styles28.scrollRow : styles28.root, testID: `${testID}-chips`, children: sections.map((entry) => {
3399
+ const row = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", accessibilityLabel: groupLabel, style: scroll ? styles29.scrollRow : styles29.root, testID: `${testID}-chips`, children: sections.map((entry) => {
3356
3400
  const active = entry.key === activeKey;
3357
3401
  return /* @__PURE__ */ jsxRuntime.jsx(
3358
3402
  reactNative.Pressable,
@@ -3361,10 +3405,10 @@ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wra
3361
3405
  accessibilityRole: "tab",
3362
3406
  accessibilityLabel: entry.title,
3363
3407
  accessibilityHint: itemHint,
3364
- style: [styles28.chip, { borderColor: colors.border, backgroundColor: active ? colors.text : colors.background }],
3408
+ style: [styles29.chip, { borderColor: colors.border, backgroundColor: active ? fill : colors.background }],
3365
3409
  testID: `${testID}-chip-${entry.key}`,
3366
3410
  onPress: () => onSelect(entry.key),
3367
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles28.label, { color: active ? colors.background : colors.text }], children: entry.title })
3411
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.label, { color: active ? colors.background : colors.text }], children: entry.title })
3368
3412
  },
3369
3413
  entry.key
3370
3414
  );
@@ -3381,7 +3425,7 @@ var SectionDensity = /* @__PURE__ */ ((SectionDensity2) => {
3381
3425
  var SECTION_INDEX_WIDTH = 200;
3382
3426
  var ACTIVE_BAR = 3;
3383
3427
  var TRANSPARENT3 = "transparent";
3384
- var styles29 = reactNative.StyleSheet.create({
3428
+ var styles30 = reactNative.StyleSheet.create({
3385
3429
  root: { flexShrink: 0, gap: 2, alignSelf: "flex-start" },
3386
3430
  heading: { fontSize: 12, fontWeight: "700", letterSpacing: 0.6, textTransform: "uppercase", paddingHorizontal: 10, paddingBottom: 6 },
3387
3431
  item: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 10, borderLeftWidth: ACTIVE_BAR, borderRadius: 6 },
@@ -3391,11 +3435,12 @@ var styles29 = reactNative.StyleSheet.create({
3391
3435
  function ariaCurrent(active) {
3392
3436
  return active ? { "aria-current": "location" } : {};
3393
3437
  }
3394
- var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID, width = SECTION_INDEX_WIDTH }) => {
3438
+ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID, width = SECTION_INDEX_WIDTH, activeColor }) => {
3395
3439
  const { theme } = uiFeedback.useUi();
3396
3440
  const { colors } = theme;
3397
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { role: "navigation", accessibilityLabel: heading, style: [styles29.root, { width }], testID: `${testID}-index`, children: [
3398
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.heading, { color: colors.textSecondary }], children: heading }),
3441
+ const bar = activeColor ?? colors.text;
3442
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { role: "navigation", accessibilityLabel: heading, style: [styles30.root, { width }], testID: `${testID}-index`, children: [
3443
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.heading, { color: colors.textSecondary }], children: heading }),
3399
3444
  sections.map((entry) => {
3400
3445
  const active = entry.key === activeKey;
3401
3446
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3405,10 +3450,10 @@ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID,
3405
3450
  accessibilityRole: "link",
3406
3451
  accessibilityLabel: entry.title,
3407
3452
  accessibilityHint: itemHint,
3408
- style: [styles29.item, { borderLeftColor: active ? colors.text : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3453
+ style: [styles30.item, { borderLeftColor: active ? bar : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3409
3454
  testID: `${testID}-index-${entry.key}`,
3410
3455
  onPress: () => onSelect(entry.key),
3411
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.label, active && styles29.labelActive, { color: active ? colors.text : colors.textSecondary }], children: entry.title })
3456
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.label, active && styles30.labelActive, { color: active ? colors.text : colors.textSecondary }], children: entry.title })
3412
3457
  },
3413
3458
  entry.key
3414
3459
  );
@@ -3434,7 +3479,7 @@ function scrollToSection(anchorId) {
3434
3479
  var COMFORTABLE_GAP = 12;
3435
3480
  var DENSE_GAP = 8;
3436
3481
  var WEB_STICKY = { position: "sticky", top: 0 };
3437
- var styles30 = reactNative.StyleSheet.create({
3482
+ var styles31 = reactNative.StyleSheet.create({
3438
3483
  wide: { flexDirection: "row", alignItems: "flex-start", gap: 20 },
3439
3484
  column: { flex: 1, minWidth: 0 }
3440
3485
  });
@@ -3448,6 +3493,7 @@ var SectionIndexLayout = ({
3448
3493
  stickyIndex = false,
3449
3494
  chipOverflow = "wrap" /* Wrap */,
3450
3495
  indexWidth = SECTION_INDEX_WIDTH,
3496
+ activeColor,
3451
3497
  testID = "section-index"
3452
3498
  }) => {
3453
3499
  const wide = useIsWideViewport(breakpoint);
@@ -3461,6 +3507,7 @@ var SectionIndexLayout = ({
3461
3507
  /* @__PURE__ */ jsxRuntime.jsx(
3462
3508
  SectionChips,
3463
3509
  {
3510
+ activeColor,
3464
3511
  activeKey,
3465
3512
  groupLabel: indexHeading,
3466
3513
  itemHint,
@@ -3478,9 +3525,9 @@ var SectionIndexLayout = ({
3478
3525
  scrollToSection(sectionAnchorId(testID, key));
3479
3526
  };
3480
3527
  const sticky = stickyIndex && reactNative.Platform.OS === "web" ? WEB_STICKY : null;
3481
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles30.wide, testID, children: [
3482
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: sticky, children: /* @__PURE__ */ jsxRuntime.jsx(SectionIndex, { activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3483
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles30.column, gap], children: sections.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { nativeID: sectionAnchorId(testID, entry.key), testID: sectionAnchorId(testID, entry.key), children: entry.content }, entry.key)) })
3528
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.wide, testID, children: [
3529
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: sticky, children: /* @__PURE__ */ jsxRuntime.jsx(SectionIndex, { activeColor, activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3530
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles31.column, gap], children: sections.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { nativeID: sectionAnchorId(testID, entry.key), testID: sectionAnchorId(testID, entry.key), children: entry.content }, entry.key)) })
3484
3531
  ] });
3485
3532
  };
3486
3533
 
@@ -3492,7 +3539,7 @@ var DayBadgeFill = /* @__PURE__ */ ((DayBadgeFill2) => {
3492
3539
  })(DayBadgeFill || {});
3493
3540
  var PILL_RADIUS2 = 999;
3494
3541
  var BADGE_ICON_SIZE = 12;
3495
- var styles31 = reactNative.StyleSheet.create({
3542
+ var styles32 = reactNative.StyleSheet.create({
3496
3543
  body: { borderRadius: 8, borderWidth: 1, overflow: "hidden" },
3497
3544
  count: { borderRadius: PILL_RADIUS2, borderWidth: 1, fontSize: 12, fontWeight: "700", paddingHorizontal: 8 },
3498
3545
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
@@ -3516,26 +3563,26 @@ var DayCard = ({
3516
3563
  const tint = badgeFill === "tint" /* Tint */ ? resolveTintColors(theme, badgeTone) : void 0;
3517
3564
  const iconInk = tint?.color ?? colors.textSecondary;
3518
3565
  const icon = badgeIcon === void 0 ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: iconInk, name: badgeIcon, size: BADGE_ICON_SIZE });
3519
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.stack, testID, children: [
3520
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles31.head, children: [
3521
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.label, { color: colors.text }], children: label }),
3566
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.stack, testID, children: [
3567
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles32.head, children: [
3568
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.label, { color: colors.text }], children: label }),
3522
3569
  /* @__PURE__ */ jsxRuntime.jsx(StatusBadge, { backgroundColor: tint?.backgroundColor, color: tint?.color, icon, label: badge, testID: testID === void 0 ? void 0 : `${testID}-badge`, tone: badgeTone }),
3523
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3570
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3524
3571
  ] }),
3525
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles31.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
3572
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles32.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
3526
3573
  ] });
3527
3574
  };
3528
- var styles32 = reactNative.StyleSheet.create({
3575
+ var styles33 = reactNative.StyleSheet.create({
3529
3576
  full: { flexBasis: "100%" },
3530
3577
  half: { flexBasis: "45%", flexGrow: 1, minWidth: 0 },
3531
3578
  strip: { flexDirection: "row", flexWrap: "wrap", gap: 12 }
3532
3579
  });
3533
3580
  function figureCell(wide, span = 1) {
3534
3581
  if (wide) return { flexBasis: 0, flexGrow: span, minWidth: 0 };
3535
- return span > 1 ? styles32.full : styles32.half;
3582
+ return span > 1 ? styles33.full : styles33.half;
3536
3583
  }
3537
- var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.strip, testID, children });
3538
- var styles33 = reactNative.StyleSheet.create({
3584
+ var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.strip, testID, children });
3585
+ var styles34 = reactNative.StyleSheet.create({
3539
3586
  stack: { gap: 12 }
3540
3587
  });
3541
3588
  var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false, open, onOpenChange, testID, children }) => {
@@ -3546,7 +3593,7 @@ var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false,
3546
3593
  onOpenChange?.(!isOpen);
3547
3594
  };
3548
3595
  if (wide) return /* @__PURE__ */ jsxRuntime.jsx(Section, { testID: `${testID}-card`, title, variant: "card" /* Card */, children });
3549
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.stack, children: [
3596
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles34.stack, children: [
3550
3597
  /* @__PURE__ */ jsxRuntime.jsx(uiButtons.Button, { accessibilityHint: toggleHint, accessibilityLabel: toggleLabel, label: toggleLabel, testID: `${testID}-toggle`, variant: "outline", onPress: toggle }),
3551
3598
  isOpen || forceOpen ? children : null
3552
3599
  ] });
@@ -3560,7 +3607,7 @@ function stickyEdgeStyle(os, bottomInset) {
3560
3607
  return { position: "sticky", bottom: 0, zIndex: 1, paddingBottom: `calc(${String(padding)}px + env(safe-area-inset-bottom))` };
3561
3608
  }
3562
3609
  var ACTION_GAP = 8;
3563
- var styles34 = reactNative.StyleSheet.create({
3610
+ var styles35 = reactNative.StyleSheet.create({
3564
3611
  inline: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "flex-end", gap: ACTION_GAP },
3565
3612
  bar: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", gap: ACTION_GAP, paddingTop: BAR_PADDING, paddingHorizontal: BAR_PADDING, borderTopWidth: 1 }
3566
3613
  });
@@ -3570,16 +3617,17 @@ var StickyActionBar = ({
3570
3617
  children,
3571
3618
  breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
3572
3619
  bottomInset = 0,
3620
+ bleed = 0,
3573
3621
  testID = LAYOUT_TEST_IDS.stickyActionBar
3574
3622
  }) => {
3575
3623
  const wide = useIsWideViewport(breakpoint);
3576
3624
  const { colors } = uiFeedback.useUi().theme;
3577
- if (wide) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles34.inline, testID, children });
3578
- const surface = { backgroundColor: colors.surface, borderTopColor: colors.border };
3579
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles34.bar, surface, stickyEdgeStyle(reactNative.Platform.OS, bottomInset)], testID, children });
3625
+ if (wide) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles35.inline, testID, children });
3626
+ const surface = { backgroundColor: colors.surface, borderTopColor: colors.border, marginHorizontal: -bleed };
3627
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles35.bar, surface, stickyEdgeStyle(reactNative.Platform.OS, bottomInset)], testID, children });
3580
3628
  };
3581
3629
  var TITLE_BASIS = 280;
3582
- var styles35 = reactNative.StyleSheet.create({
3630
+ var styles36 = reactNative.StyleSheet.create({
3583
3631
  row: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-start", justifyContent: "space-between", gap: 12 },
3584
3632
  text: { gap: 4, flexGrow: 1, flexShrink: 1, flexBasis: TITLE_BASIS, minWidth: 0 },
3585
3633
  title: { fontSize: 24, fontWeight: "800" },
@@ -3592,15 +3640,15 @@ var PageHead = ({ title, subtitle, actions, initialFocus = false, testID = LAYOU
3592
3640
  const { colors } = uiFeedback.useUi().theme;
3593
3641
  const titleRef = rnWebHooks.useInitialFocus();
3594
3642
  const focusProps = initialFocus ? { ref: titleRef, ...rnWebHooks.INITIAL_FOCUS_PROPS } : {};
3595
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles35.row, testID, children: [
3596
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles35.text, children: [
3597
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { ...focusProps, accessibilityRole: "header", style: [styles35.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3643
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.row, testID, children: [
3644
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.text, children: [
3645
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { ...focusProps, accessibilityRole: "header", style: [styles36.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3598
3646
  subtitle
3599
3647
  ] }),
3600
- hasContent(actions) ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles35.actions, testID: `${testID}-actions`, children: actions }) : null
3648
+ hasContent(actions) ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles36.actions, testID: `${testID}-actions`, children: actions }) : null
3601
3649
  ] });
3602
3650
  };
3603
- var styles36 = reactNative.StyleSheet.create({
3651
+ var styles37 = reactNative.StyleSheet.create({
3604
3652
  entry: { borderLeftWidth: 2, gap: 4, paddingBottom: 12, paddingLeft: 12 },
3605
3653
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
3606
3654
  time: { fontSize: 13 },
@@ -3615,12 +3663,12 @@ var Timeline = ({ entries, accessibilityLabel, accessibilityHint, testID }) => {
3615
3663
  accessibilityHint: entry.accessibilityHint,
3616
3664
  accessibilityLabel: entry.accessibilityLabel,
3617
3665
  role: "listitem",
3618
- style: [styles36.entry, { borderLeftColor: colors.border }],
3666
+ style: [styles37.entry, { borderLeftColor: colors.border }],
3619
3667
  testID: entryTestId(testID, entry.key),
3620
3668
  children: [
3621
- entry.time === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles36.time, { color: colors.textSecondary }], children: entry.time }),
3622
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.head, children: [
3623
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles36.title, { color: colors.text }], children: entry.title }),
3669
+ entry.time === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.time, { color: colors.textSecondary }], children: entry.time }),
3670
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.head, children: [
3671
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.title, { color: colors.text }], children: entry.title }),
3624
3672
  entry.status === void 0 || entry.status === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(StatusBadge, { label: entry.status, tone: entry.tone ?? "neutral" /* Neutral */ })
3625
3673
  ] })
3626
3674
  ]
@@ -3635,7 +3683,7 @@ function isRecordHeaderCompact(width, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
3635
3683
  }
3636
3684
  var GAP2 = 8;
3637
3685
  var WIDE_GAP = 16;
3638
- var styles37 = reactNative.StyleSheet.create({
3686
+ var styles38 = reactNative.StyleSheet.create({
3639
3687
  actions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end" },
3640
3688
  compactActions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2 },
3641
3689
  identity: { flex: 1, gap: GAP2, minWidth: 0 },
@@ -3644,9 +3692,9 @@ var styles37 = reactNative.StyleSheet.create({
3644
3692
  });
3645
3693
  var RecordHeader = ({ breadcrumb, title, meta, actions, collapseBelow, testID }) => {
3646
3694
  const compact = isRecordHeaderCompact(reactNative.useWindowDimensions().width, collapseBelow);
3647
- const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: compact ? styles37.compactActions : styles37.actions, children: actions });
3648
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles37.root, testID, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: compact ? styles37.root : styles37.top, children: [
3649
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.identity, children: [
3695
+ const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: compact ? styles38.compactActions : styles38.actions, children: actions });
3696
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles38.root, testID, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: compact ? styles38.root : styles38.top, children: [
3697
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.identity, children: [
3650
3698
  breadcrumb,
3651
3699
  title,
3652
3700
  meta
@@ -3658,7 +3706,7 @@ var FONT_SIZE = 13;
3658
3706
  var GAP3 = 6;
3659
3707
  var SEPARATOR = "\u203A";
3660
3708
  var BACK = "\u2039";
3661
- var styles38 = reactNative.StyleSheet.create({
3709
+ var styles39 = reactNative.StyleSheet.create({
3662
3710
  link: { justifyContent: "center", minHeight: MIN_TARGET_PX },
3663
3711
  row: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP3 },
3664
3712
  text: { fontSize: FONT_SIZE, fontWeight: "500" }
@@ -3666,11 +3714,11 @@ var styles38 = reactNative.StyleSheet.create({
3666
3714
  var Breadcrumb = ({ items, accessibilityLabel, accessibilityHint, testID }) => {
3667
3715
  const { theme } = uiFeedback.useUi();
3668
3716
  const muted = { color: theme.colors.textSecondary };
3669
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles38.row, testID, children: [
3670
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles38.text, muted], children: BACK }),
3717
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles39.row, testID, children: [
3718
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles39.text, muted], children: BACK }),
3671
3719
  items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(React16__default.default.Fragment, { children: [
3672
- index > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles38.text, muted], children: SEPARATOR }) : null,
3673
- item.onPress === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles38.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles38.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles38.text, { color: theme.colors.text }], children: item.label }) })
3720
+ index > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles39.text, muted], children: SEPARATOR }) : null,
3721
+ item.onPress === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles39.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles39.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles39.text, { color: theme.colors.text }], children: item.label }) })
3674
3722
  ] }, item.key))
3675
3723
  ] });
3676
3724
  };
@@ -3679,7 +3727,7 @@ var PAD_H2 = 12;
3679
3727
  var GAP4 = 6;
3680
3728
  var FONT_SIZE2 = 13;
3681
3729
  var DISABLED_OPACITY2 = 0.55;
3682
- var styles39 = reactNative.StyleSheet.create({
3730
+ var styles40 = reactNative.StyleSheet.create({
3683
3731
  base: { alignItems: "center", borderRadius: RADIUS, borderWidth: 1, flexDirection: "row", gap: GAP4, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H2 },
3684
3732
  disabled: { borderStyle: "dashed", opacity: DISABLED_OPACITY2 },
3685
3733
  text: { fontSize: FONT_SIZE2, fontWeight: "600" }
@@ -3706,12 +3754,12 @@ var RecordActionButton = ({ label, hint, testID, icon, onPress, iconOnly = false
3706
3754
  accessibilityRole: "button",
3707
3755
  accessibilityState: { disabled },
3708
3756
  disabled,
3709
- style: [styles39.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles39.disabled],
3757
+ style: [styles40.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles40.disabled],
3710
3758
  testID,
3711
3759
  onPress,
3712
3760
  children: [
3713
3761
  icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
3714
- showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles39.text, { color: theme.colors.text }], children: label }) : null
3762
+ showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.text, { color: theme.colors.text }], children: label }) : null
3715
3763
  ]
3716
3764
  }
3717
3765
  );
@@ -3723,7 +3771,7 @@ var FONT_SIZE3 = 12;
3723
3771
  var COPY_GLYPH = "\u29C9";
3724
3772
  var COPIED_GLYPH = "\u2713";
3725
3773
  var MONO = reactNative.Platform.select({ web: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", default: "monospace" });
3726
- var styles40 = reactNative.StyleSheet.create({
3774
+ var styles41 = reactNative.StyleSheet.create({
3727
3775
  chip: { alignItems: "center", alignSelf: "flex-start", borderRadius: RADIUS2, borderWidth: 1, flexDirection: "row", gap: GAP5, maxWidth: "100%", minHeight: MIN_TARGET_PX, paddingHorizontal: PAD_H3 },
3728
3776
  text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 }
3729
3777
  });
@@ -3740,24 +3788,24 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
3740
3788
  accessibilityRole: "button",
3741
3789
  accessibilityState: { disabled: !copyable },
3742
3790
  disabled: !copyable,
3743
- style: [styles40.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3791
+ style: [styles41.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3744
3792
  testID,
3745
3793
  onPress: copyable ? copy : void 0,
3746
3794
  children: [
3747
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.text, { color: theme.colors.textSecondary }], children: label }),
3748
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles40.text, ink], testID: valueTestID, children: display ?? value }),
3749
- copyable ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles40.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3795
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles41.text, { color: theme.colors.textSecondary }], children: label }),
3796
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles41.text, ink], testID: valueTestID, children: display ?? value }),
3797
+ copyable ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles41.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3750
3798
  ]
3751
3799
  }
3752
3800
  );
3753
3801
  };
3754
3802
  var STEP_WIDTH = 8;
3755
3803
  var STEP_OPACITIES = [0.35, 0.65, 0.9];
3756
- var styles41 = reactNative.StyleSheet.create({
3804
+ var styles42 = reactNative.StyleSheet.create({
3757
3805
  fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
3758
3806
  step: { width: STEP_WIDTH }
3759
3807
  });
3760
- var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles41.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles41.step, { backgroundColor: color, opacity }] }, opacity)) });
3808
+ var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles42.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles42.step, { backgroundColor: color, opacity }] }, opacity)) });
3761
3809
  var SLACK_PX = 1;
3762
3810
  function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
3763
3811
  return contentWidth - viewportWidth - offset > SLACK_PX;
@@ -3784,7 +3832,7 @@ var COUNT_FONT = 12;
3784
3832
  var COUNT_MIN = 22;
3785
3833
  var COUNT_PAD = 6;
3786
3834
  var PILL = 999;
3787
- var styles42 = reactNative.StyleSheet.create({
3835
+ var styles43 = reactNative.StyleSheet.create({
3788
3836
  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 },
3789
3837
  chipCount: { fontSize: FONT_SIZE4, fontWeight: "700" },
3790
3838
  count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
@@ -3807,18 +3855,19 @@ var TabPressable = ({ tab, selected, onChange, style, children }) => /* @__PURE_
3807
3855
  );
3808
3856
  var UnderlineTabItem = ({ underline, ...item }) => {
3809
3857
  const { theme } = uiFeedback.useUi();
3810
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles42.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3811
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3812
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3858
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3859
+ item.tab.icon ?? null,
3860
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3861
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3813
3862
  ] });
3814
3863
  };
3815
3864
  var ChipTabItem = (item) => {
3816
3865
  const { theme } = uiFeedback.useUi();
3817
3866
  const fill = item.selected ? theme.colors.text : "transparent";
3818
3867
  const ink = item.selected ? theme.colors.background : theme.colors.text;
3819
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles42.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3820
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.label, { color: ink }], children: item.tab.label }),
3821
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.chipCount, { color: ink }], children: String(item.tab.count) })
3868
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3869
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: ink }], children: item.tab.label }),
3870
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.chipCount, { color: ink }], children: String(item.tab.count) })
3822
3871
  ] });
3823
3872
  };
3824
3873
 
@@ -3832,7 +3881,7 @@ var DEFAULT_UNDERLINE_STEP = "700";
3832
3881
  var SCROLL_THROTTLE_MS = 16;
3833
3882
  var CHIP_GAP = 8;
3834
3883
  var CHIP_PAD_V = 4;
3835
- var styles43 = reactNative.StyleSheet.create({
3884
+ var styles44 = reactNative.StyleSheet.create({
3836
3885
  chipRow: { alignItems: "center", flexDirection: "row", gap: CHIP_GAP, paddingVertical: CHIP_PAD_V },
3837
3886
  chipWrap: { flexWrap: "wrap" },
3838
3887
  strip: { position: "relative", width: "100%" }
@@ -3846,12 +3895,12 @@ var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibil
3846
3895
  const item = { tab, selected: tab.key === activeKey, onChange };
3847
3896
  return chips ? /* @__PURE__ */ jsxRuntime.jsx(ChipTabItem, { ...item }, tab.key) : /* @__PURE__ */ jsxRuntime.jsx(UnderlineTabItem, { ...item, underline }, tab.key);
3848
3897
  });
3849
- const stripStyle = chips ? styles43.strip : [styles43.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3898
+ const stripStyle = chips ? styles44.strip : [styles44.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3850
3899
  if (chips && chipOverflow === "wrap" /* Wrap */) {
3851
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles43.chipRow, styles43.chipWrap], testID, children: items });
3900
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles44.chipRow, styles44.chipWrap], testID, children: items });
3852
3901
  }
3853
3902
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: stripStyle, testID, children: [
3854
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.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 }),
3903
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.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 }),
3855
3904
  fade.visible ? /* @__PURE__ */ jsxRuntime.jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
3856
3905
  ] });
3857
3906
  };
@@ -3859,7 +3908,7 @@ var RADIUS3 = 12;
3859
3908
  var PAD = 16;
3860
3909
  var GAP7 = 8;
3861
3910
  var TITLE_FONT = 15;
3862
- var styles44 = reactNative.StyleSheet.create({
3911
+ var styles45 = reactNative.StyleSheet.create({
3863
3912
  card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
3864
3913
  footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
3865
3914
  head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
@@ -3867,14 +3916,14 @@ var styles44 = reactNative.StyleSheet.create({
3867
3916
  });
3868
3917
  var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
3869
3918
  const { theme } = uiFeedback.useUi();
3870
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles44.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3871
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.head, children: [
3919
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles45.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3920
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.head, children: [
3872
3921
  icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
3873
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles44.title, { color: theme.colors.text }], children: title }),
3922
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles45.title, { color: theme.colors.text }], children: title }),
3874
3923
  headerRight
3875
3924
  ] }),
3876
3925
  children,
3877
- footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles44.footer, children: footer })
3926
+ footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.footer, children: footer })
3878
3927
  ] });
3879
3928
  };
3880
3929
  var LEAD_LABEL_SIZE = 14;
@@ -3886,7 +3935,7 @@ var GAP8 = 12;
3886
3935
  var LEAD_GAP = 4;
3887
3936
  var LEAD_BORDER = 1.5;
3888
3937
  var ACCENT_STEP = "500";
3889
- var styles45 = reactNative.StyleSheet.create({
3938
+ var styles46 = reactNative.StyleSheet.create({
3890
3939
  slip: { gap: GAP8, width: "100%" },
3891
3940
  lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
3892
3941
  leadLabel: { fontSize: LEAD_LABEL_SIZE },
@@ -3898,13 +3947,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
3898
3947
  const { theme } = uiFeedback.useUi();
3899
3948
  const { colors } = theme;
3900
3949
  const accent = theme.palette.primary[ACCENT_STEP];
3901
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.slip, testID, children: [
3902
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles45.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3903
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3904
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3905
- recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.recipient, { color: colors.text }], children: recipient })
3950
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.slip, testID, children: [
3951
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles46.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3952
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3953
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3954
+ recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.recipient, { color: colors.text }], children: recipient })
3906
3955
  ] }),
3907
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.rows, children }),
3956
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles46.rows, children }),
3908
3957
  footer
3909
3958
  ] });
3910
3959
  };
@@ -3937,7 +3986,7 @@ var STACK_GAP = 8;
3937
3986
  var ROW_PAD = 10;
3938
3987
  var TEXT_GAP = 2;
3939
3988
  var MONO_SPACING = 1;
3940
- var styles46 = reactNative.StyleSheet.create({
3989
+ var styles47 = reactNative.StyleSheet.create({
3941
3990
  inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: reactNative.StyleSheet.hairlineWidth },
3942
3991
  prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
3943
3992
  text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
@@ -3961,10 +4010,10 @@ var CopyValueRow = ({
3961
4010
  const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
3962
4011
  const action = copyActionLabel(status, labels);
3963
4012
  const prominent = emphasis === "prominent" /* Prominent */;
3964
- const valueStyle = prominent || monospace ? styles46.big : styles46.value;
3965
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles46.prominent : [styles46.inline, { borderTopColor: colors.border }], testID, children: [
3966
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.text, children: [
3967
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.label, { color: colors.textSecondary }], children: label }),
4013
+ const valueStyle = prominent || monospace ? styles47.big : styles47.value;
4014
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles47.prominent : [styles47.inline, { borderTopColor: colors.border }], testID, children: [
4015
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles47.text, children: [
4016
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.label, { color: colors.textSecondary }], children: label }),
3968
4017
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
3969
4018
  ] }),
3970
4019
  copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -4007,7 +4056,7 @@ var TILE_PAD = 12;
4007
4056
  var TILE_RADIUS = 10;
4008
4057
  var TILE_GAP = 2;
4009
4058
  var ALERT_STEP = "500";
4010
- var styles47 = reactNative.StyleSheet.create({
4059
+ var styles48 = reactNative.StyleSheet.create({
4011
4060
  tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: reactNative.StyleSheet.hairlineWidth, gap: TILE_GAP },
4012
4061
  label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
4013
4062
  value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
@@ -4021,19 +4070,19 @@ var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) =
4021
4070
  return /* @__PURE__ */ jsxRuntime.jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
4022
4071
  reactNative.View,
4023
4072
  {
4024
- style: [styles47.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4073
+ style: [styles48.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4025
4074
  testID: `${testID}-${item.key}`,
4026
4075
  children: [
4027
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.label, { color: colors.textSecondary }], children: item.label }),
4076
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.label, { color: colors.textSecondary }], children: item.label }),
4028
4077
  /* @__PURE__ */ jsxRuntime.jsx(
4029
4078
  reactNative.Text,
4030
4079
  {
4031
- style: [styles47.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4080
+ style: [styles48.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4032
4081
  testID: `${testID}-${item.key}-value`,
4033
4082
  children: item.value
4034
4083
  }
4035
4084
  ),
4036
- item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.caption, { color: colors.textSecondary }], children: item.caption })
4085
+ item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.caption, { color: colors.textSecondary }], children: item.caption })
4037
4086
  ]
4038
4087
  },
4039
4088
  item.key
@@ -4128,6 +4177,7 @@ exports.SectionIndex = SectionIndex;
4128
4177
  exports.SectionIndexLayout = SectionIndexLayout;
4129
4178
  exports.SectionVariant = SectionVariant;
4130
4179
  exports.SegmentedControl = SegmentedControl;
4180
+ exports.SegmentedVariant = SegmentedVariant;
4131
4181
  exports.SelectedMarker = SelectedMarker;
4132
4182
  exports.SideSheet = SideSheet;
4133
4183
  exports.SplitLayout = SplitLayout;