@dloizides/ui-layout 1.56.0 → 1.58.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 },
@@ -3353,7 +3396,7 @@ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wra
3353
3396
  const { colors } = theme;
3354
3397
  const fill = activeColor ?? colors.text;
3355
3398
  const scroll = overflow === "scroll" /* Scroll */;
3356
- 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) => {
3357
3400
  const active = entry.key === activeKey;
3358
3401
  return /* @__PURE__ */ jsxRuntime.jsx(
3359
3402
  reactNative.Pressable,
@@ -3362,10 +3405,10 @@ var SectionChips = ({ sections, activeKey, groupLabel, itemHint, overflow = "wra
3362
3405
  accessibilityRole: "tab",
3363
3406
  accessibilityLabel: entry.title,
3364
3407
  accessibilityHint: itemHint,
3365
- style: [styles28.chip, { borderColor: colors.border, backgroundColor: active ? fill : colors.background }],
3408
+ style: [styles29.chip, { borderColor: colors.border, backgroundColor: active ? fill : colors.background }],
3366
3409
  testID: `${testID}-chip-${entry.key}`,
3367
3410
  onPress: () => onSelect(entry.key),
3368
- 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 })
3369
3412
  },
3370
3413
  entry.key
3371
3414
  );
@@ -3382,7 +3425,7 @@ var SectionDensity = /* @__PURE__ */ ((SectionDensity2) => {
3382
3425
  var SECTION_INDEX_WIDTH = 200;
3383
3426
  var ACTIVE_BAR = 3;
3384
3427
  var TRANSPARENT3 = "transparent";
3385
- var styles29 = reactNative.StyleSheet.create({
3428
+ var styles30 = reactNative.StyleSheet.create({
3386
3429
  root: { flexShrink: 0, gap: 2, alignSelf: "flex-start" },
3387
3430
  heading: { fontSize: 12, fontWeight: "700", letterSpacing: 0.6, textTransform: "uppercase", paddingHorizontal: 10, paddingBottom: 6 },
3388
3431
  item: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 10, borderLeftWidth: ACTIVE_BAR, borderRadius: 6 },
@@ -3396,8 +3439,8 @@ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID,
3396
3439
  const { theme } = uiFeedback.useUi();
3397
3440
  const { colors } = theme;
3398
3441
  const bar = activeColor ?? colors.text;
3399
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { role: "navigation", accessibilityLabel: heading, style: [styles29.root, { width }], testID: `${testID}-index`, children: [
3400
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.heading, { color: colors.textSecondary }], children: heading }),
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 }),
3401
3444
  sections.map((entry) => {
3402
3445
  const active = entry.key === activeKey;
3403
3446
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3407,10 +3450,10 @@ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID,
3407
3450
  accessibilityRole: "link",
3408
3451
  accessibilityLabel: entry.title,
3409
3452
  accessibilityHint: itemHint,
3410
- style: [styles29.item, { borderLeftColor: active ? bar : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3453
+ style: [styles30.item, { borderLeftColor: active ? bar : TRANSPARENT3, backgroundColor: active ? colors.surface : TRANSPARENT3 }],
3411
3454
  testID: `${testID}-index-${entry.key}`,
3412
3455
  onPress: () => onSelect(entry.key),
3413
- 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 })
3414
3457
  },
3415
3458
  entry.key
3416
3459
  );
@@ -3436,7 +3479,7 @@ function scrollToSection(anchorId) {
3436
3479
  var COMFORTABLE_GAP = 12;
3437
3480
  var DENSE_GAP = 8;
3438
3481
  var WEB_STICKY = { position: "sticky", top: 0 };
3439
- var styles30 = reactNative.StyleSheet.create({
3482
+ var styles31 = reactNative.StyleSheet.create({
3440
3483
  wide: { flexDirection: "row", alignItems: "flex-start", gap: 20 },
3441
3484
  column: { flex: 1, minWidth: 0 }
3442
3485
  });
@@ -3482,9 +3525,9 @@ var SectionIndexLayout = ({
3482
3525
  scrollToSection(sectionAnchorId(testID, key));
3483
3526
  };
3484
3527
  const sticky = stickyIndex && reactNative.Platform.OS === "web" ? WEB_STICKY : null;
3485
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles30.wide, testID, children: [
3528
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.wide, testID, children: [
3486
3529
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: sticky, children: /* @__PURE__ */ jsxRuntime.jsx(SectionIndex, { activeColor, activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3487
- /* @__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)) })
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)) })
3488
3531
  ] });
3489
3532
  };
3490
3533
 
@@ -3494,12 +3537,23 @@ var DayBadgeFill = /* @__PURE__ */ ((DayBadgeFill2) => {
3494
3537
  DayBadgeFill2["Tint"] = "tint";
3495
3538
  return DayBadgeFill2;
3496
3539
  })(DayBadgeFill || {});
3540
+
3541
+ // src/DayCard/DayCardLayout.ts
3542
+ var DayCardLayout = /* @__PURE__ */ ((DayCardLayout2) => {
3543
+ DayCardLayout2["Grouped"] = "grouped";
3544
+ DayCardLayout2["Separate"] = "separate";
3545
+ return DayCardLayout2;
3546
+ })(DayCardLayout || {});
3497
3547
  var PILL_RADIUS2 = 999;
3498
3548
  var BADGE_ICON_SIZE = 12;
3499
- var styles31 = reactNative.StyleSheet.create({
3549
+ var ITEM_RADIUS = 12;
3550
+ var ITEM_GAP = 8;
3551
+ var styles32 = reactNative.StyleSheet.create({
3500
3552
  body: { borderRadius: 8, borderWidth: 1, overflow: "hidden" },
3501
3553
  count: { borderRadius: PILL_RADIUS2, borderWidth: 1, fontSize: 12, fontWeight: "700", paddingHorizontal: 8 },
3502
3554
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
3555
+ item: { borderRadius: ITEM_RADIUS, borderWidth: 1, overflow: "hidden" },
3556
+ items: { gap: ITEM_GAP },
3503
3557
  label: { fontSize: 13, fontWeight: "600" },
3504
3558
  stack: { gap: 6 }
3505
3559
  });
@@ -3512,34 +3566,36 @@ var DayCard = ({
3512
3566
  badgeTone = "warning" /* Warning */,
3513
3567
  badgeFill = "solid" /* Solid */,
3514
3568
  badgeIcon,
3569
+ layout = "grouped" /* Grouped */,
3515
3570
  testID,
3516
3571
  children
3517
3572
  }) => {
3518
3573
  const { theme } = uiFeedback.useUi();
3519
3574
  const { colors } = theme;
3520
3575
  const tint = badgeFill === "tint" /* Tint */ ? resolveTintColors(theme, badgeTone) : void 0;
3576
+ const surface = { backgroundColor: colors.surface, borderColor: colors.border };
3521
3577
  const iconInk = tint?.color ?? colors.textSecondary;
3522
3578
  const icon = badgeIcon === void 0 ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: iconInk, name: badgeIcon, size: BADGE_ICON_SIZE });
3523
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.stack, testID, children: [
3524
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles31.head, children: [
3525
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.label, { color: colors.text }], children: label }),
3579
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.stack, testID, children: [
3580
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles32.head, children: [
3581
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.label, { color: colors.text }], children: label }),
3526
3582
  /* @__PURE__ */ jsxRuntime.jsx(StatusBadge, { backgroundColor: tint?.backgroundColor, color: tint?.color, icon, label: badge, testID: testID === void 0 ? void 0 : `${testID}-badge`, tone: badgeTone }),
3527
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3583
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3528
3584
  ] }),
3529
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles31.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
3585
+ layout === "separate" /* Separate */ ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.items, children: React16__default.default.Children.toArray(children).map((child, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles32.item, surface], testID: testID === void 0 ? void 0 : `${testID}-item-${String(index)}`, children: child }, index)) }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles32.body, surface], children })
3530
3586
  ] });
3531
3587
  };
3532
- var styles32 = reactNative.StyleSheet.create({
3588
+ var styles33 = reactNative.StyleSheet.create({
3533
3589
  full: { flexBasis: "100%" },
3534
3590
  half: { flexBasis: "45%", flexGrow: 1, minWidth: 0 },
3535
3591
  strip: { flexDirection: "row", flexWrap: "wrap", gap: 12 }
3536
3592
  });
3537
3593
  function figureCell(wide, span = 1) {
3538
3594
  if (wide) return { flexBasis: 0, flexGrow: span, minWidth: 0 };
3539
- return span > 1 ? styles32.full : styles32.half;
3595
+ return span > 1 ? styles33.full : styles33.half;
3540
3596
  }
3541
- var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.strip, testID, children });
3542
- var styles33 = reactNative.StyleSheet.create({
3597
+ var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.strip, testID, children });
3598
+ var styles34 = reactNative.StyleSheet.create({
3543
3599
  stack: { gap: 12 }
3544
3600
  });
3545
3601
  var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false, open, onOpenChange, testID, children }) => {
@@ -3550,7 +3606,7 @@ var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false,
3550
3606
  onOpenChange?.(!isOpen);
3551
3607
  };
3552
3608
  if (wide) return /* @__PURE__ */ jsxRuntime.jsx(Section, { testID: `${testID}-card`, title, variant: "card" /* Card */, children });
3553
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.stack, children: [
3609
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles34.stack, children: [
3554
3610
  /* @__PURE__ */ jsxRuntime.jsx(uiButtons.Button, { accessibilityHint: toggleHint, accessibilityLabel: toggleLabel, label: toggleLabel, testID: `${testID}-toggle`, variant: "outline", onPress: toggle }),
3555
3611
  isOpen || forceOpen ? children : null
3556
3612
  ] });
@@ -3564,7 +3620,7 @@ function stickyEdgeStyle(os, bottomInset) {
3564
3620
  return { position: "sticky", bottom: 0, zIndex: 1, paddingBottom: `calc(${String(padding)}px + env(safe-area-inset-bottom))` };
3565
3621
  }
3566
3622
  var ACTION_GAP = 8;
3567
- var styles34 = reactNative.StyleSheet.create({
3623
+ var styles35 = reactNative.StyleSheet.create({
3568
3624
  inline: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "flex-end", gap: ACTION_GAP },
3569
3625
  bar: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", gap: ACTION_GAP, paddingTop: BAR_PADDING, paddingHorizontal: BAR_PADDING, borderTopWidth: 1 }
3570
3626
  });
@@ -3574,16 +3630,17 @@ var StickyActionBar = ({
3574
3630
  children,
3575
3631
  breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
3576
3632
  bottomInset = 0,
3633
+ bleed = 0,
3577
3634
  testID = LAYOUT_TEST_IDS.stickyActionBar
3578
3635
  }) => {
3579
3636
  const wide = useIsWideViewport(breakpoint);
3580
3637
  const { colors } = uiFeedback.useUi().theme;
3581
- if (wide) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles34.inline, testID, children });
3582
- const surface = { backgroundColor: colors.surface, borderTopColor: colors.border };
3583
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles34.bar, surface, stickyEdgeStyle(reactNative.Platform.OS, bottomInset)], testID, children });
3638
+ if (wide) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles35.inline, testID, children });
3639
+ const surface = { backgroundColor: colors.surface, borderTopColor: colors.border, marginHorizontal: -bleed };
3640
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles35.bar, surface, stickyEdgeStyle(reactNative.Platform.OS, bottomInset)], testID, children });
3584
3641
  };
3585
3642
  var TITLE_BASIS = 280;
3586
- var styles35 = reactNative.StyleSheet.create({
3643
+ var styles36 = reactNative.StyleSheet.create({
3587
3644
  row: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-start", justifyContent: "space-between", gap: 12 },
3588
3645
  text: { gap: 4, flexGrow: 1, flexShrink: 1, flexBasis: TITLE_BASIS, minWidth: 0 },
3589
3646
  title: { fontSize: 24, fontWeight: "800" },
@@ -3596,15 +3653,15 @@ var PageHead = ({ title, subtitle, actions, initialFocus = false, testID = LAYOU
3596
3653
  const { colors } = uiFeedback.useUi().theme;
3597
3654
  const titleRef = rnWebHooks.useInitialFocus();
3598
3655
  const focusProps = initialFocus ? { ref: titleRef, ...rnWebHooks.INITIAL_FOCUS_PROPS } : {};
3599
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles35.row, testID, children: [
3600
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles35.text, children: [
3601
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { ...focusProps, accessibilityRole: "header", style: [styles35.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3656
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.row, testID, children: [
3657
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.text, children: [
3658
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { ...focusProps, accessibilityRole: "header", style: [styles36.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3602
3659
  subtitle
3603
3660
  ] }),
3604
- hasContent(actions) ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles35.actions, testID: `${testID}-actions`, children: actions }) : null
3661
+ hasContent(actions) ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles36.actions, testID: `${testID}-actions`, children: actions }) : null
3605
3662
  ] });
3606
3663
  };
3607
- var styles36 = reactNative.StyleSheet.create({
3664
+ var styles37 = reactNative.StyleSheet.create({
3608
3665
  entry: { borderLeftWidth: 2, gap: 4, paddingBottom: 12, paddingLeft: 12 },
3609
3666
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
3610
3667
  time: { fontSize: 13 },
@@ -3619,12 +3676,12 @@ var Timeline = ({ entries, accessibilityLabel, accessibilityHint, testID }) => {
3619
3676
  accessibilityHint: entry.accessibilityHint,
3620
3677
  accessibilityLabel: entry.accessibilityLabel,
3621
3678
  role: "listitem",
3622
- style: [styles36.entry, { borderLeftColor: colors.border }],
3679
+ style: [styles37.entry, { borderLeftColor: colors.border }],
3623
3680
  testID: entryTestId(testID, entry.key),
3624
3681
  children: [
3625
- entry.time === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles36.time, { color: colors.textSecondary }], children: entry.time }),
3626
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles36.head, children: [
3627
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles36.title, { color: colors.text }], children: entry.title }),
3682
+ entry.time === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.time, { color: colors.textSecondary }], children: entry.time }),
3683
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.head, children: [
3684
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.title, { color: colors.text }], children: entry.title }),
3628
3685
  entry.status === void 0 || entry.status === "" ? null : /* @__PURE__ */ jsxRuntime.jsx(StatusBadge, { label: entry.status, tone: entry.tone ?? "neutral" /* Neutral */ })
3629
3686
  ] })
3630
3687
  ]
@@ -3639,7 +3696,7 @@ function isRecordHeaderCompact(width, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
3639
3696
  }
3640
3697
  var GAP2 = 8;
3641
3698
  var WIDE_GAP = 16;
3642
- var styles37 = reactNative.StyleSheet.create({
3699
+ var styles38 = reactNative.StyleSheet.create({
3643
3700
  actions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end" },
3644
3701
  compactActions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2 },
3645
3702
  identity: { flex: 1, gap: GAP2, minWidth: 0 },
@@ -3648,9 +3705,9 @@ var styles37 = reactNative.StyleSheet.create({
3648
3705
  });
3649
3706
  var RecordHeader = ({ breadcrumb, title, meta, actions, collapseBelow, testID }) => {
3650
3707
  const compact = isRecordHeaderCompact(reactNative.useWindowDimensions().width, collapseBelow);
3651
- const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: compact ? styles37.compactActions : styles37.actions, children: actions });
3652
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles37.root, testID, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: compact ? styles37.root : styles37.top, children: [
3653
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.identity, children: [
3708
+ const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: compact ? styles38.compactActions : styles38.actions, children: actions });
3709
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles38.root, testID, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: compact ? styles38.root : styles38.top, children: [
3710
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.identity, children: [
3654
3711
  breadcrumb,
3655
3712
  title,
3656
3713
  meta
@@ -3662,7 +3719,7 @@ var FONT_SIZE = 13;
3662
3719
  var GAP3 = 6;
3663
3720
  var SEPARATOR = "\u203A";
3664
3721
  var BACK = "\u2039";
3665
- var styles38 = reactNative.StyleSheet.create({
3722
+ var styles39 = reactNative.StyleSheet.create({
3666
3723
  link: { justifyContent: "center", minHeight: MIN_TARGET_PX },
3667
3724
  row: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP3 },
3668
3725
  text: { fontSize: FONT_SIZE, fontWeight: "500" }
@@ -3670,11 +3727,11 @@ var styles38 = reactNative.StyleSheet.create({
3670
3727
  var Breadcrumb = ({ items, accessibilityLabel, accessibilityHint, testID }) => {
3671
3728
  const { theme } = uiFeedback.useUi();
3672
3729
  const muted = { color: theme.colors.textSecondary };
3673
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles38.row, testID, children: [
3674
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles38.text, muted], children: BACK }),
3730
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles39.row, testID, children: [
3731
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles39.text, muted], children: BACK }),
3675
3732
  items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(React16__default.default.Fragment, { children: [
3676
- index > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles38.text, muted], children: SEPARATOR }) : null,
3677
- 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 }) })
3733
+ index > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles39.text, muted], children: SEPARATOR }) : null,
3734
+ 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 }) })
3678
3735
  ] }, item.key))
3679
3736
  ] });
3680
3737
  };
@@ -3683,7 +3740,7 @@ var PAD_H2 = 12;
3683
3740
  var GAP4 = 6;
3684
3741
  var FONT_SIZE2 = 13;
3685
3742
  var DISABLED_OPACITY2 = 0.55;
3686
- var styles39 = reactNative.StyleSheet.create({
3743
+ var styles40 = reactNative.StyleSheet.create({
3687
3744
  base: { alignItems: "center", borderRadius: RADIUS, borderWidth: 1, flexDirection: "row", gap: GAP4, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H2 },
3688
3745
  disabled: { borderStyle: "dashed", opacity: DISABLED_OPACITY2 },
3689
3746
  text: { fontSize: FONT_SIZE2, fontWeight: "600" }
@@ -3710,12 +3767,12 @@ var RecordActionButton = ({ label, hint, testID, icon, onPress, iconOnly = false
3710
3767
  accessibilityRole: "button",
3711
3768
  accessibilityState: { disabled },
3712
3769
  disabled,
3713
- style: [styles39.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles39.disabled],
3770
+ style: [styles40.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles40.disabled],
3714
3771
  testID,
3715
3772
  onPress,
3716
3773
  children: [
3717
3774
  icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
3718
- showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles39.text, { color: theme.colors.text }], children: label }) : null
3775
+ showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.text, { color: theme.colors.text }], children: label }) : null
3719
3776
  ]
3720
3777
  }
3721
3778
  );
@@ -3727,7 +3784,7 @@ var FONT_SIZE3 = 12;
3727
3784
  var COPY_GLYPH = "\u29C9";
3728
3785
  var COPIED_GLYPH = "\u2713";
3729
3786
  var MONO = reactNative.Platform.select({ web: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", default: "monospace" });
3730
- var styles40 = reactNative.StyleSheet.create({
3787
+ var styles41 = reactNative.StyleSheet.create({
3731
3788
  chip: { alignItems: "center", alignSelf: "flex-start", borderRadius: RADIUS2, borderWidth: 1, flexDirection: "row", gap: GAP5, maxWidth: "100%", minHeight: MIN_TARGET_PX, paddingHorizontal: PAD_H3 },
3732
3789
  text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 }
3733
3790
  });
@@ -3744,24 +3801,24 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
3744
3801
  accessibilityRole: "button",
3745
3802
  accessibilityState: { disabled: !copyable },
3746
3803
  disabled: !copyable,
3747
- style: [styles40.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3804
+ style: [styles41.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3748
3805
  testID,
3749
3806
  onPress: copyable ? copy : void 0,
3750
3807
  children: [
3751
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.text, { color: theme.colors.textSecondary }], children: label }),
3752
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles40.text, ink], testID: valueTestID, children: display ?? value }),
3753
- 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
3808
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles41.text, { color: theme.colors.textSecondary }], children: label }),
3809
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles41.text, ink], testID: valueTestID, children: display ?? value }),
3810
+ 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
3754
3811
  ]
3755
3812
  }
3756
3813
  );
3757
3814
  };
3758
3815
  var STEP_WIDTH = 8;
3759
3816
  var STEP_OPACITIES = [0.35, 0.65, 0.9];
3760
- var styles41 = reactNative.StyleSheet.create({
3817
+ var styles42 = reactNative.StyleSheet.create({
3761
3818
  fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
3762
3819
  step: { width: STEP_WIDTH }
3763
3820
  });
3764
- 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)) });
3821
+ 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)) });
3765
3822
  var SLACK_PX = 1;
3766
3823
  function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
3767
3824
  return contentWidth - viewportWidth - offset > SLACK_PX;
@@ -3788,7 +3845,7 @@ var COUNT_FONT = 12;
3788
3845
  var COUNT_MIN = 22;
3789
3846
  var COUNT_PAD = 6;
3790
3847
  var PILL = 999;
3791
- var styles42 = reactNative.StyleSheet.create({
3848
+ var styles43 = reactNative.StyleSheet.create({
3792
3849
  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 },
3793
3850
  chipCount: { fontSize: FONT_SIZE4, fontWeight: "700" },
3794
3851
  count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
@@ -3809,20 +3866,23 @@ var TabPressable = ({ tab, selected, onChange, style, children }) => /* @__PURE_
3809
3866
  children
3810
3867
  }
3811
3868
  );
3812
- var UnderlineTabItem = ({ underline, ...item }) => {
3869
+ var UnderlineTabItem = ({ underline, activeText, ...item }) => {
3813
3870
  const { theme } = uiFeedback.useUi();
3814
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles42.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3815
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3816
- 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) })
3871
+ const selectedInk = activeText ?? theme.colors.text;
3872
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3873
+ item.tab.icon ?? null,
3874
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: item.selected ? selectedInk : theme.colors.textSecondary }], children: item.tab.label }),
3875
+ 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) })
3817
3876
  ] });
3818
3877
  };
3819
- var ChipTabItem = (item) => {
3878
+ var ChipTabItem = ({ activeFill, activeText, ...item }) => {
3820
3879
  const { theme } = uiFeedback.useUi();
3821
- const fill = item.selected ? theme.colors.text : "transparent";
3822
- const ink = item.selected ? theme.colors.background : theme.colors.text;
3823
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles42.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3824
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.label, { color: ink }], children: item.tab.label }),
3825
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.chipCount, { color: ink }], children: String(item.tab.count) })
3880
+ const selectedFill = activeFill ?? theme.colors.text;
3881
+ const fill = item.selected ? selectedFill : "transparent";
3882
+ const ink = item.selected ? activeText ?? theme.colors.background : theme.colors.text;
3883
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.chip, { backgroundColor: fill, borderColor: item.selected ? selectedFill : theme.colors.border }], children: [
3884
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: ink }], children: item.tab.label }),
3885
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.chipCount, { color: ink }], children: String(item.tab.count) })
3826
3886
  ] });
3827
3887
  };
3828
3888
 
@@ -3836,26 +3896,26 @@ var DEFAULT_UNDERLINE_STEP = "700";
3836
3896
  var SCROLL_THROTTLE_MS = 16;
3837
3897
  var CHIP_GAP = 8;
3838
3898
  var CHIP_PAD_V = 4;
3839
- var styles43 = reactNative.StyleSheet.create({
3899
+ var styles44 = reactNative.StyleSheet.create({
3840
3900
  chipRow: { alignItems: "center", flexDirection: "row", gap: CHIP_GAP, paddingVertical: CHIP_PAD_V },
3841
3901
  chipWrap: { flexWrap: "wrap" },
3842
3902
  strip: { position: "relative", width: "100%" }
3843
3903
  });
3844
- var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, fadeColor, testID, variant = "underline" /* Underline */, chipOverflow = "scroll" /* Scroll */ }) => {
3904
+ var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, fadeColor, testID, variant = "underline" /* Underline */, chipOverflow = "scroll" /* Scroll */, activeFillColor, activeTextColor }) => {
3845
3905
  const { theme } = uiFeedback.useUi();
3846
3906
  const underline = underlineColor ?? theme.palette.primary[DEFAULT_UNDERLINE_STEP];
3847
3907
  const fade = useEdgeFade();
3848
3908
  const chips = variant === "chips" /* Chips */;
3849
3909
  const items = tabs.map((tab) => {
3850
- const item = { tab, selected: tab.key === activeKey, onChange };
3851
- return chips ? /* @__PURE__ */ jsxRuntime.jsx(ChipTabItem, { ...item }, tab.key) : /* @__PURE__ */ jsxRuntime.jsx(UnderlineTabItem, { ...item, underline }, tab.key);
3910
+ const item = { tab, selected: tab.key === activeKey, onChange, activeText: activeTextColor };
3911
+ return chips ? /* @__PURE__ */ jsxRuntime.jsx(ChipTabItem, { ...item, activeFill: activeFillColor }, tab.key) : /* @__PURE__ */ jsxRuntime.jsx(UnderlineTabItem, { ...item, underline }, tab.key);
3852
3912
  });
3853
- const stripStyle = chips ? styles43.strip : [styles43.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3913
+ const stripStyle = chips ? styles44.strip : [styles44.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3854
3914
  if (chips && chipOverflow === "wrap" /* Wrap */) {
3855
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles43.chipRow, styles43.chipWrap], testID, children: items });
3915
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles44.chipRow, styles44.chipWrap], testID, children: items });
3856
3916
  }
3857
3917
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: stripStyle, testID, children: [
3858
- /* @__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 }),
3918
+ /* @__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 }),
3859
3919
  fade.visible ? /* @__PURE__ */ jsxRuntime.jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
3860
3920
  ] });
3861
3921
  };
@@ -3863,7 +3923,7 @@ var RADIUS3 = 12;
3863
3923
  var PAD = 16;
3864
3924
  var GAP7 = 8;
3865
3925
  var TITLE_FONT = 15;
3866
- var styles44 = reactNative.StyleSheet.create({
3926
+ var styles45 = reactNative.StyleSheet.create({
3867
3927
  card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
3868
3928
  footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
3869
3929
  head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
@@ -3871,14 +3931,14 @@ var styles44 = reactNative.StyleSheet.create({
3871
3931
  });
3872
3932
  var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
3873
3933
  const { theme } = uiFeedback.useUi();
3874
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles44.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3875
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.head, children: [
3934
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles45.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3935
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.head, children: [
3876
3936
  icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
3877
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles44.title, { color: theme.colors.text }], children: title }),
3937
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles45.title, { color: theme.colors.text }], children: title }),
3878
3938
  headerRight
3879
3939
  ] }),
3880
3940
  children,
3881
- footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles44.footer, children: footer })
3941
+ footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.footer, children: footer })
3882
3942
  ] });
3883
3943
  };
3884
3944
  var LEAD_LABEL_SIZE = 14;
@@ -3890,7 +3950,7 @@ var GAP8 = 12;
3890
3950
  var LEAD_GAP = 4;
3891
3951
  var LEAD_BORDER = 1.5;
3892
3952
  var ACCENT_STEP = "500";
3893
- var styles45 = reactNative.StyleSheet.create({
3953
+ var styles46 = reactNative.StyleSheet.create({
3894
3954
  slip: { gap: GAP8, width: "100%" },
3895
3955
  lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
3896
3956
  leadLabel: { fontSize: LEAD_LABEL_SIZE },
@@ -3902,13 +3962,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
3902
3962
  const { theme } = uiFeedback.useUi();
3903
3963
  const { colors } = theme;
3904
3964
  const accent = theme.palette.primary[ACCENT_STEP];
3905
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.slip, testID, children: [
3906
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles45.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3907
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3908
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3909
- recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.recipient, { color: colors.text }], children: recipient })
3965
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.slip, testID, children: [
3966
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles46.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3967
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3968
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3969
+ recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.recipient, { color: colors.text }], children: recipient })
3910
3970
  ] }),
3911
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.rows, children }),
3971
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles46.rows, children }),
3912
3972
  footer
3913
3973
  ] });
3914
3974
  };
@@ -3941,7 +4001,7 @@ var STACK_GAP = 8;
3941
4001
  var ROW_PAD = 10;
3942
4002
  var TEXT_GAP = 2;
3943
4003
  var MONO_SPACING = 1;
3944
- var styles46 = reactNative.StyleSheet.create({
4004
+ var styles47 = reactNative.StyleSheet.create({
3945
4005
  inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: reactNative.StyleSheet.hairlineWidth },
3946
4006
  prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
3947
4007
  text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
@@ -3965,10 +4025,10 @@ var CopyValueRow = ({
3965
4025
  const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
3966
4026
  const action = copyActionLabel(status, labels);
3967
4027
  const prominent = emphasis === "prominent" /* Prominent */;
3968
- const valueStyle = prominent || monospace ? styles46.big : styles46.value;
3969
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles46.prominent : [styles46.inline, { borderTopColor: colors.border }], testID, children: [
3970
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.text, children: [
3971
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.label, { color: colors.textSecondary }], children: label }),
4028
+ const valueStyle = prominent || monospace ? styles47.big : styles47.value;
4029
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles47.prominent : [styles47.inline, { borderTopColor: colors.border }], testID, children: [
4030
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles47.text, children: [
4031
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.label, { color: colors.textSecondary }], children: label }),
3972
4032
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
3973
4033
  ] }),
3974
4034
  copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -4011,7 +4071,7 @@ var TILE_PAD = 12;
4011
4071
  var TILE_RADIUS = 10;
4012
4072
  var TILE_GAP = 2;
4013
4073
  var ALERT_STEP = "500";
4014
- var styles47 = reactNative.StyleSheet.create({
4074
+ var styles48 = reactNative.StyleSheet.create({
4015
4075
  tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: reactNative.StyleSheet.hairlineWidth, gap: TILE_GAP },
4016
4076
  label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
4017
4077
  value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
@@ -4025,19 +4085,19 @@ var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) =
4025
4085
  return /* @__PURE__ */ jsxRuntime.jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
4026
4086
  reactNative.View,
4027
4087
  {
4028
- style: [styles47.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4088
+ style: [styles48.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4029
4089
  testID: `${testID}-${item.key}`,
4030
4090
  children: [
4031
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.label, { color: colors.textSecondary }], children: item.label }),
4091
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.label, { color: colors.textSecondary }], children: item.label }),
4032
4092
  /* @__PURE__ */ jsxRuntime.jsx(
4033
4093
  reactNative.Text,
4034
4094
  {
4035
- style: [styles47.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4095
+ style: [styles48.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4036
4096
  testID: `${testID}-${item.key}-value`,
4037
4097
  children: item.value
4038
4098
  }
4039
4099
  ),
4040
- item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.caption, { color: colors.textSecondary }], children: item.caption })
4100
+ item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.caption, { color: colors.textSecondary }], children: item.caption })
4041
4101
  ]
4042
4102
  },
4043
4103
  item.key
@@ -4099,6 +4159,7 @@ exports.CountBadge = CountBadge;
4099
4159
  exports.DEFAULT_BILLING_ROUTE = DEFAULT_BILLING_ROUTE;
4100
4160
  exports.DayBadgeFill = DayBadgeFill;
4101
4161
  exports.DayCard = DayCard;
4162
+ exports.DayCardLayout = DayCardLayout;
4102
4163
  exports.DropdownVariant = DropdownVariant;
4103
4164
  exports.ELLIPSIS = ELLIPSIS;
4104
4165
  exports.FigureStrip = FigureStrip;
@@ -4132,6 +4193,7 @@ exports.SectionIndex = SectionIndex;
4132
4193
  exports.SectionIndexLayout = SectionIndexLayout;
4133
4194
  exports.SectionVariant = SectionVariant;
4134
4195
  exports.SegmentedControl = SegmentedControl;
4196
+ exports.SegmentedVariant = SegmentedVariant;
4135
4197
  exports.SelectedMarker = SelectedMarker;
4136
4198
  exports.SideSheet = SideSheet;
4137
4199
  exports.SplitLayout = SplitLayout;