@dloizides/ui-layout 1.32.0 → 1.34.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
@@ -17,20 +17,79 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
17
17
  var React11__default = /*#__PURE__*/_interopDefault(React11);
18
18
 
19
19
  // src/Section/Section.tsx
20
+
21
+ // src/Section/SectionVariant.ts
22
+ var SectionVariant = /* @__PURE__ */ ((SectionVariant2) => {
23
+ SectionVariant2["Panel"] = "panel";
24
+ SectionVariant2["Card"] = "card";
25
+ return SectionVariant2;
26
+ })(SectionVariant || {});
20
27
  var styles = reactNative.StyleSheet.create({
21
28
  card: {
22
29
  padding: 16,
23
30
  borderWidth: 1,
24
31
  borderRadius: 6
32
+ },
33
+ raised: {
34
+ borderRadius: 12,
35
+ gap: 12
25
36
  }
26
37
  });
27
- var Section = ({ children, style }) => {
38
+ var Section = ({
39
+ children,
40
+ style,
41
+ variant = "panel" /* Panel */,
42
+ testID
43
+ }) => {
28
44
  const { theme } = uiFeedback.useUi();
45
+ const isCard = variant === "card" /* Card */;
46
+ const fill = isCard ? theme.colors.background : theme.colors.surface;
29
47
  const containerStyle = React11__default.default.useMemo(
30
- () => [styles.card, { borderColor: theme.colors.border, backgroundColor: theme.colors.surface }, style],
31
- [theme.colors.border, theme.colors.surface, style]
48
+ () => [styles.card, isCard ? styles.raised : null, { borderColor: theme.colors.border, backgroundColor: fill }, style],
49
+ [theme.colors.border, fill, isCard, style]
50
+ );
51
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: containerStyle, testID, children });
52
+ };
53
+
54
+ // src/AppText/TextKind.ts
55
+ var TextKind = /* @__PURE__ */ ((TextKind2) => {
56
+ TextKind2["Title"] = "title";
57
+ TextKind2["Heading"] = "heading";
58
+ TextKind2["Body"] = "body";
59
+ TextKind2["Strong"] = "strong";
60
+ TextKind2["Muted"] = "muted";
61
+ TextKind2["Small"] = "small";
62
+ return TextKind2;
63
+ })(TextKind || {});
64
+ var SIZES = {
65
+ ["title" /* Title */]: { fontSize: 24, fontWeight: "700", lineHeight: 30 },
66
+ ["heading" /* Heading */]: { fontSize: 17, fontWeight: "700", lineHeight: 24 },
67
+ ["body" /* Body */]: { fontSize: 15, lineHeight: 22 },
68
+ ["strong" /* Strong */]: { fontSize: 15, fontWeight: "700", lineHeight: 22 },
69
+ ["muted" /* Muted */]: { fontSize: 14, lineHeight: 20 },
70
+ ["small" /* Small */]: { fontSize: 12, lineHeight: 16 }
71
+ };
72
+ var AppText = ({
73
+ kind = "body" /* Body */,
74
+ color,
75
+ style,
76
+ testID,
77
+ children
78
+ }) => {
79
+ const { theme } = uiFeedback.useUi();
80
+ const quiet = kind === "muted" /* Muted */ || kind === "small" /* Small */;
81
+ return /* @__PURE__ */ jsxRuntime.jsx(
82
+ reactNative.Text,
83
+ {
84
+ style: [
85
+ SIZES[kind],
86
+ { color: color ?? (quiet ? theme.colors.textSecondary : theme.colors.text) },
87
+ style
88
+ ],
89
+ testID,
90
+ children
91
+ }
32
92
  );
33
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: containerStyle, children });
34
93
  };
35
94
 
36
95
  // src/constants.ts
@@ -110,7 +169,31 @@ var LAYOUT_I18N = {
110
169
  var TYPE_SCALE_BREAKPOINT = 600;
111
170
  var LAYOUT_COLLAPSE_BREAKPOINT = 768;
112
171
  var MIN_TARGET_PX = 44;
172
+
173
+ // src/responsive.ts
174
+ var WEB_PLATFORM = "web";
175
+ function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
176
+ return platformOS === WEB_PLATFORM && width >= breakpoint;
177
+ }
178
+
179
+ // src/hooks/useIsWideViewport.ts
180
+ function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
181
+ const { width } = reactNative.useWindowDimensions();
182
+ return isWideWebViewport(width, reactNative.Platform.OS, breakpoint);
183
+ }
113
184
  var styles2 = reactNative.StyleSheet.create({
185
+ outer: { alignItems: "center", width: "100%" },
186
+ column: { width: "100%", gap: 16 },
187
+ desktop: { paddingHorizontal: 32, paddingVertical: 24 },
188
+ mobile: { paddingHorizontal: 16, paddingVertical: 16 },
189
+ wide: { maxWidth: 1200 },
190
+ narrow: { maxWidth: 720 }
191
+ });
192
+ var ScreenColumn = ({ children, narrow = false }) => {
193
+ const isWide = useIsWideViewport();
194
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles2.outer, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles2.column, isWide ? styles2.desktop : styles2.mobile, narrow ? styles2.narrow : styles2.wide], children }) });
195
+ };
196
+ var styles3 = reactNative.StyleSheet.create({
114
197
  heading: {
115
198
  fontWeight: "700",
116
199
  fontSize: 16
@@ -126,7 +209,7 @@ var Heading = ({
126
209
  }) => {
127
210
  const { theme } = uiFeedback.useUi();
128
211
  const headingStyle = React11__default.default.useMemo(
129
- () => [styles2.heading, { color: theme.colors.text }, style],
212
+ () => [styles3.heading, { color: theme.colors.text }, style],
130
213
  [theme.colors.text, style]
131
214
  );
132
215
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -145,7 +228,7 @@ var DEFAULT_PADDING_V = 4;
145
228
  var DEFAULT_BORDER_RADIUS = 12;
146
229
  var DEFAULT_FONT_SIZE = 12;
147
230
  var ICON_GAP = 4;
148
- var styles3 = reactNative.StyleSheet.create({
231
+ var styles4 = reactNative.StyleSheet.create({
149
232
  badge: {
150
233
  paddingHorizontal: DEFAULT_PADDING_H,
151
234
  paddingVertical: DEFAULT_PADDING_V,
@@ -159,6 +242,10 @@ var styles3 = reactNative.StyleSheet.create({
159
242
  alignItems: "center",
160
243
  gap: ICON_GAP
161
244
  },
245
+ badgeDashed: {
246
+ borderWidth: 1,
247
+ borderStyle: "dashed"
248
+ },
162
249
  text: {
163
250
  fontSize: DEFAULT_FONT_SIZE,
164
251
  fontWeight: "600",
@@ -170,12 +257,14 @@ var StatusBadge = ({
170
257
  color,
171
258
  backgroundColor,
172
259
  icon,
260
+ dashed = false,
173
261
  testID = LAYOUT_TEST_IDS.statusLabel,
174
262
  accessibilityLabel,
175
263
  accessibilityHint
176
264
  }) => {
177
265
  const { t } = uiFeedback.useUi();
178
266
  const dynamicBadge = React11.useMemo(() => ({ backgroundColor }), [backgroundColor]);
267
+ const dashedColor = React11.useMemo(() => ({ borderColor: color }), [color]);
179
268
  const dynamicText = React11.useMemo(() => ({ color }), [color]);
180
269
  const hasIcon = icon !== void 0 && icon !== null;
181
270
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -183,21 +272,15 @@ var StatusBadge = ({
183
272
  {
184
273
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.statusBadgeHint),
185
274
  accessibilityLabel: accessibilityLabel ?? label,
186
- style: [styles3.badge, hasIcon && styles3.badgeWithIcon, dynamicBadge],
275
+ style: [styles4.badge, hasIcon && styles4.badgeWithIcon, dynamicBadge, dashed && styles4.badgeDashed, dashed && dashedColor],
187
276
  testID,
188
277
  children: [
189
278
  hasIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }) : null,
190
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles3.text, dynamicText], children: label })
279
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles4.text, dynamicText], children: label })
191
280
  ]
192
281
  }
193
282
  );
194
283
  };
195
-
196
- // src/responsive.ts
197
- var WEB_PLATFORM = "web";
198
- function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
199
- return platformOS === WEB_PLATFORM && width >= breakpoint;
200
- }
201
284
  function isPastStickyLine(sentinelTop, isIntersecting, topOffset) {
202
285
  return !isIntersecting && sentinelTop < topOffset;
203
286
  }
@@ -253,7 +336,7 @@ function useVisibleViewport() {
253
336
  return state;
254
337
  }
255
338
  var STICKY_Z_INDEX = 5;
256
- var styles4 = reactNative.StyleSheet.create({
339
+ var styles5 = reactNative.StyleSheet.create({
257
340
  sentinel: { height: 1, marginBottom: -1 },
258
341
  compact: { borderBottomWidth: 1 }
259
342
  });
@@ -274,7 +357,7 @@ var StickyPreview = ({
274
357
  return reactNative.Platform.OS === WEB_PLATFORM ? web : {};
275
358
  }, [offsetTop, topOffset]);
276
359
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
277
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, ref: sentinelRef, style: styles4.sentinel }),
360
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, ref: sentinelRef, style: styles5.sentinel }),
278
361
  /* @__PURE__ */ jsxRuntime.jsx(
279
362
  reactNative.View,
280
363
  {
@@ -283,7 +366,7 @@ var StickyPreview = ({
283
366
  style: [
284
367
  pinned,
285
368
  { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
286
- isCompact && styles4.compact
369
+ isCompact && styles5.compact
287
370
  ],
288
371
  testID,
289
372
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
@@ -302,7 +385,7 @@ var BORDER_WIDTH = 1;
302
385
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
303
386
  var SHADOW_ELEVATION = 2;
304
387
  var TRANSPARENT = "transparent";
305
- var styles5 = reactNative.StyleSheet.create({
388
+ var styles6 = reactNative.StyleSheet.create({
306
389
  track: {
307
390
  flexDirection: "row",
308
391
  alignSelf: "flex-start",
@@ -347,7 +430,7 @@ function SegmentedControl({
347
430
  {
348
431
  accessibilityRole: "tablist",
349
432
  "aria-label": accessibilityLabel,
350
- style: [styles5.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
433
+ style: [styles6.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
351
434
  testID,
352
435
  children: options.map((opt) => {
353
436
  const selected = opt.value === value;
@@ -360,13 +443,13 @@ function SegmentedControl({
360
443
  accessibilityHint: opt.accessibilityHint,
361
444
  onPress: () => onChange(opt.value),
362
445
  style: [
363
- styles5.segment,
364
- selected ? styles5.segmentSelected : null,
446
+ styles6.segment,
447
+ selected ? styles6.segmentSelected : null,
365
448
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
366
449
  ],
367
450
  testID: opt.testID,
368
451
  ...ariaSelectedProps(selected),
369
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles5.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
452
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles6.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
370
453
  },
371
454
  opt.value
372
455
  );
@@ -503,7 +586,7 @@ var HEADING_PADDING_H = 16;
503
586
  var HEADING_PADDING_TOP = 8;
504
587
  var HEADING_PADDING_BOTTOM = 4;
505
588
  var HEADING_LETTER_SPACING = 0.5;
506
- var styles6 = reactNative.StyleSheet.create({
589
+ var styles7 = reactNative.StyleSheet.create({
507
590
  heading: {
508
591
  fontSize: HEADING_FONT_SIZE,
509
592
  fontWeight: HEADING_FONT_WEIGHT,
@@ -519,7 +602,7 @@ var MenuHeading = ({ testID, text }) => {
519
602
  reactNative.Text,
520
603
  {
521
604
  accessibilityRole: "header",
522
- style: [styles6.heading, { color: theme.colors.textSecondary }],
605
+ style: [styles7.heading, { color: theme.colors.textSecondary }],
523
606
  testID: `${testID}-menu-heading`,
524
607
  children: text
525
608
  }
@@ -540,7 +623,7 @@ var OPTION_PADDING_V = 12;
540
623
  var ACCENT_BAR_WIDTH = 3;
541
624
  var CHECK_GAP = 8;
542
625
  var CHECK_GLYPH = "\u2713";
543
- var styles7 = reactNative.StyleSheet.create({
626
+ var styles8 = reactNative.StyleSheet.create({
544
627
  option: {
545
628
  paddingHorizontal: OPTION_PADDING_H,
546
629
  paddingVertical: OPTION_PADDING_V,
@@ -579,16 +662,16 @@ var OptionRow = ({
579
662
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
580
663
  const isActive = isSelected || isHighlighted;
581
664
  const rowStyle = [
582
- styles7.option,
583
- isMarked ? styles7.markedRow : null,
665
+ styles8.option,
666
+ isMarked ? styles8.markedRow : null,
584
667
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
585
668
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
586
669
  ];
587
670
  const textStyle = [
588
- styles7.optionText,
671
+ styles8.optionText,
589
672
  { color: colors.text },
590
- isSelected ? styles7.selectedText : null,
591
- isMarked ? styles7.markedText : null
673
+ isSelected ? styles8.selectedText : null,
674
+ isMarked ? styles8.markedText : null
592
675
  ];
593
676
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
594
677
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -604,7 +687,7 @@ var OptionRow = ({
604
687
  onPress: handlePress,
605
688
  children: [
606
689
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: textStyle, children: label }),
607
- isMarked && isSelected ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles7.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
690
+ isMarked && isSelected ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
608
691
  ]
609
692
  }
610
693
  );
@@ -762,7 +845,7 @@ var IS_WEB2 = reactNative.Platform.OS === "web";
762
845
  var BORDER_RADIUS2 = 8;
763
846
  var BORDER_WIDTH3 = 1;
764
847
  var MENU_PADDING2 = 4;
765
- var styles8 = reactNative.StyleSheet.create({
848
+ var styles9 = reactNative.StyleSheet.create({
766
849
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
767
850
  popover: {
768
851
  position: "absolute",
@@ -849,7 +932,7 @@ var InlineMenu = ({
849
932
  themed
850
933
  ];
851
934
  }
852
- return [styles8.popover, { minWidth: menuMinWidth }, themed];
935
+ return [styles9.popover, { minWidth: menuMinWidth }, themed];
853
936
  }, [colors.border, colors.surface, menuMinWidth, rect]);
854
937
  const menu = /* @__PURE__ */ jsxRuntime.jsx(
855
938
  reactNative.View,
@@ -864,10 +947,10 @@ var InlineMenu = ({
864
947
  reactNative.Animated.View,
865
948
  {
866
949
  pointerEvents: isOpen ? "auto" : "none",
867
- style: [styles8.animated, animatedStyle, isOpen ? null : styles8.inert],
950
+ style: [styles9.animated, animatedStyle, isOpen ? null : styles9.inert],
868
951
  children: [
869
952
  menuHeading !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(MenuHeading, { testID, text: menuHeading }) : null,
870
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { style: styles8.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
953
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { style: styles9.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
871
954
  OptionRow,
872
955
  {
873
956
  asMenuItem: true,
@@ -915,7 +998,7 @@ var CARET_OPEN_ROTATION = "180deg";
915
998
  var CARET_CLOSED_ROTATION = "0deg";
916
999
  var POPOVER_ENTER_SCALE = 0.96;
917
1000
  var POPOVER_MOTION_MS = 120;
918
- var styles9 = reactNative.StyleSheet.create({
1001
+ var styles10 = reactNative.StyleSheet.create({
919
1002
  anchor: { position: "relative" },
920
1003
  container: {
921
1004
  borderWidth: BORDER_WIDTH4,
@@ -1030,19 +1113,19 @@ var ModalDropdown = ({
1030
1113
  const isCaret = showCaret && !isHamburger;
1031
1114
  const containerStyle = React11.useMemo(
1032
1115
  () => renderTrigger !== void 0 ? void 0 : [
1033
- styles9.container,
1034
- isHamburger ? styles9.containerHamburger : isCaret ? styles9.containerMenu : null,
1116
+ styles10.container,
1117
+ isHamburger ? styles10.containerHamburger : isCaret ? styles10.containerMenu : null,
1035
1118
  { borderColor: colors.border, backgroundColor: colors.surface }
1036
1119
  ],
1037
1120
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1038
1121
  );
1039
1122
  const hamburgerStyle = React11.useMemo(
1040
- () => [styles9.hamburger, { color: colors.textSecondary }],
1123
+ () => [styles10.hamburger, { color: colors.textSecondary }],
1041
1124
  [colors.textSecondary]
1042
1125
  );
1043
1126
  const caretStyle = React11.useMemo(
1044
1127
  () => [
1045
- styles9.caret,
1128
+ styles10.caret,
1046
1129
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1047
1130
  ],
1048
1131
  [colors.textSecondary, isOpen]
@@ -1052,11 +1135,11 @@ var ModalDropdown = ({
1052
1135
  [optionTestID, testID]
1053
1136
  );
1054
1137
  const anchorStyle = React11.useMemo(
1055
- () => [styles9.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1138
+ () => [styles10.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1056
1139
  [isMenu, isOpen]
1057
1140
  );
1058
1141
  const modalContentStyle = React11.useMemo(
1059
- () => [styles9.modalContent, { backgroundColor: colors.surface }],
1142
+ () => [styles10.modalContent, { backgroundColor: colors.surface }],
1060
1143
  [colors.surface]
1061
1144
  );
1062
1145
  const renderModalOption = React11.useCallback(
@@ -1077,11 +1160,11 @@ var ModalDropdown = ({
1077
1160
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1078
1161
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1079
1162
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1080
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1163
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles10.selectedText, styles10.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1081
1164
  ] }) : isCaret ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1082
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1165
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles10.selectedText, styles10.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1083
1166
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: caretStyle, children: CARET_GLYPH })
1084
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.selectedText, { color: colors.text }], children: selectedLabel }),
1167
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.selectedText, { color: colors.text }], children: selectedLabel }),
1085
1168
  hintNode
1086
1169
  ] }),
1087
1170
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1102,7 +1185,7 @@ var ModalDropdown = ({
1102
1185
  onSelect: handleSelect
1103
1186
  }
1104
1187
  ) : null,
1105
- !isMenu ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.modalOverlay, children: [
1188
+ !isMenu ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.modalOverlay, children: [
1106
1189
  /* @__PURE__ */ jsxRuntime.jsx(
1107
1190
  reactNative.TouchableOpacity,
1108
1191
  {
@@ -1195,7 +1278,7 @@ var ROW_PAD_V = 8;
1195
1278
  var PANEL_PAD_TOP = 16;
1196
1279
  var BORDER_WIDTH5 = 1;
1197
1280
  var TEXT_ON_PRIMARY = "#ffffff";
1198
- var styles10 = reactNative.StyleSheet.create({
1281
+ var styles11 = reactNative.StyleSheet.create({
1199
1282
  root: {
1200
1283
  width: "100%"
1201
1284
  },
@@ -1249,7 +1332,7 @@ var WideTabStrip = ({
1249
1332
  textSecondary,
1250
1333
  surfaceElevated,
1251
1334
  stripStyle
1252
- }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles10.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles10.strip, stripStyle], children: tabs.map((tab) => {
1335
+ }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles11.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles11.strip, stripStyle], children: tabs.map((tab) => {
1253
1336
  const selected = tab.key === activeKey;
1254
1337
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1255
1338
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1263,10 +1346,10 @@ var WideTabStrip = ({
1263
1346
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1264
1347
  accessibilityHint: tab.accessibilityHint,
1265
1348
  onPress: () => onChange(tab.key),
1266
- style: [styles10.pill, { backgroundColor: pillColor }],
1349
+ style: [styles11.pill, { backgroundColor: pillColor }],
1267
1350
  testID: tab.testID,
1268
1351
  ...ariaTabProps(selected, panelId, tabId),
1269
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.pillText, { color: textColor }], children: tab.label })
1352
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.pillText, { color: textColor }], children: tab.label })
1270
1353
  },
1271
1354
  tab.key
1272
1355
  );
@@ -1291,7 +1374,7 @@ var Tabs = ({
1291
1374
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1292
1375
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1293
1376
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1294
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles10.root, style], testID, children: [
1377
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles11.root, style], testID, children: [
1295
1378
  collapsed ? /* @__PURE__ */ jsxRuntime.jsx(
1296
1379
  TabsMenu,
1297
1380
  {
@@ -1318,7 +1401,7 @@ var Tabs = ({
1318
1401
  onChange
1319
1402
  }
1320
1403
  ),
1321
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "none", style: [styles10.panel, panelStyle], ...panelAria, children })
1404
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "none", style: [styles11.panel, panelStyle], ...panelAria, children })
1322
1405
  ] });
1323
1406
  };
1324
1407
  var PROMPT_PADDING = 20;
@@ -1333,7 +1416,7 @@ var DISMISS_FONT_SIZE = 13;
1333
1416
  var TITLE_MARGIN_BOTTOM = 8;
1334
1417
  var MESSAGE_MARGIN_BOTTOM = 16;
1335
1418
  var CTA_MARGIN_BOTTOM = 8;
1336
- var styles11 = reactNative.StyleSheet.create({
1419
+ var styles12 = reactNative.StyleSheet.create({
1337
1420
  container: {
1338
1421
  padding: PROMPT_PADDING,
1339
1422
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1368,21 +1451,21 @@ var UpgradePrompt = ({
1368
1451
  return /* @__PURE__ */ jsxRuntime.jsxs(
1369
1452
  reactNative.View,
1370
1453
  {
1371
- style: [styles11.container, { borderColor: primary, backgroundColor: colors.surface }],
1454
+ style: [styles12.container, { borderColor: primary, backgroundColor: colors.surface }],
1372
1455
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1373
1456
  children: [
1374
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1375
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1457
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1458
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1376
1459
  /* @__PURE__ */ jsxRuntime.jsx(
1377
1460
  reactNative.TouchableOpacity,
1378
1461
  {
1379
1462
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1380
1463
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1381
1464
  accessibilityRole: "button",
1382
- style: [styles11.cta, { backgroundColor: primary }],
1465
+ style: [styles12.cta, { backgroundColor: primary }],
1383
1466
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1384
1467
  onPress: handleUpgradePress,
1385
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1468
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1386
1469
  }
1387
1470
  ),
1388
1471
  onDismiss ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1391,10 +1474,10 @@ var UpgradePrompt = ({
1391
1474
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1392
1475
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1393
1476
  accessibilityRole: "button",
1394
- style: styles11.dismiss,
1477
+ style: styles12.dismiss,
1395
1478
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1396
1479
  onPress: onDismiss,
1397
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1480
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1398
1481
  }
1399
1482
  ) : null
1400
1483
  ]
@@ -1403,7 +1486,7 @@ var UpgradePrompt = ({
1403
1486
  };
1404
1487
  var CLOSE_ICON_SIZE = 18;
1405
1488
  var PANEL_ENTER_SCALE = 0.96;
1406
- var styles12 = reactNative.StyleSheet.create({
1489
+ var styles13 = reactNative.StyleSheet.create({
1407
1490
  animatedFill: { flex: 1 },
1408
1491
  container: {
1409
1492
  flex: 1,
@@ -1430,7 +1513,7 @@ var ModalShell = ({
1430
1513
  const { theme, t } = uiFeedback.useUi();
1431
1514
  const { style: sheetStyle, mounted } = uiMotion.useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE });
1432
1515
  const containerStyle = React11__default.default.useMemo(
1433
- () => [styles12.container, { backgroundColor: theme.colors.background }, contentStyle],
1516
+ () => [styles13.container, { backgroundColor: theme.colors.background }, contentStyle],
1434
1517
  [theme.colors.background, contentStyle]
1435
1518
  );
1436
1519
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1442,7 +1525,7 @@ var ModalShell = ({
1442
1525
  testID: LAYOUT_TEST_IDS.modalShell,
1443
1526
  visible: mounted,
1444
1527
  onRequestClose: onCancel,
1445
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles12.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxRuntime.jsxs(
1528
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles13.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxRuntime.jsxs(
1446
1529
  reactNative.ScrollView,
1447
1530
  {
1448
1531
  accessibilityViewIsModal: true,
@@ -1450,7 +1533,7 @@ var ModalShell = ({
1450
1533
  role: "dialog",
1451
1534
  style: containerStyle,
1452
1535
  children: [
1453
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles12.headerRow, children: [
1536
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.headerRow, children: [
1454
1537
  /* @__PURE__ */ jsxRuntime.jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1455
1538
  showClose ? /* @__PURE__ */ jsxRuntime.jsx(
1456
1539
  reactNative.TouchableOpacity,
@@ -1458,7 +1541,7 @@ var ModalShell = ({
1458
1541
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1459
1542
  accessibilityLabel: closeA11yLabel,
1460
1543
  accessibilityRole: "button",
1461
- style: styles12.closeButton,
1544
+ style: styles13.closeButton,
1462
1545
  testID: LAYOUT_TEST_IDS.modalShellClose,
1463
1546
  onPress: onCancel,
1464
1547
  children: /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1504,7 +1587,7 @@ var HEADER_MARGIN = 12;
1504
1587
  var DIALOG_MAX_HEIGHT = "90%";
1505
1588
  var PANEL_ENTER_SCALE2 = 0.96;
1506
1589
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640 };
1507
- var styles13 = reactNative.StyleSheet.create({
1590
+ var styles14 = reactNative.StyleSheet.create({
1508
1591
  overlay: {
1509
1592
  flex: 1,
1510
1593
  justifyContent: "center",
@@ -1556,15 +1639,15 @@ var Modal3 = ({
1556
1639
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
1557
1640
  const closeLabel = t(LAYOUT_I18N.dialogClose);
1558
1641
  const dialogStyle = React11.useMemo(
1559
- () => [styles13.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1642
+ () => [styles14.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1560
1643
  [theme.colors.surface, size]
1561
1644
  );
1562
1645
  const hasHeader = title !== void 0 || showClose;
1563
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.overlay, children: [
1646
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.overlay, children: [
1564
1647
  /* @__PURE__ */ jsxRuntime.jsx(
1565
1648
  reactNative.Animated.View,
1566
1649
  {
1567
- style: [reactNative.StyleSheet.absoluteFill, styles13.scrim, { opacity: backdrop.style.opacity }]
1650
+ style: [reactNative.StyleSheet.absoluteFill, styles14.scrim, { opacity: backdrop.style.opacity }]
1568
1651
  }
1569
1652
  ),
1570
1653
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1590,8 +1673,8 @@ var Modal3 = ({
1590
1673
  style: [dialogStyle, panel.style],
1591
1674
  testID,
1592
1675
  children: [
1593
- hasHeader ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.headerRow, children: [
1594
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles13.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(Heading, { children: title }) : null }),
1676
+ hasHeader ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.headerRow, children: [
1677
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(Heading, { children: title }) : null }),
1595
1678
  showClose ? /* @__PURE__ */ jsxRuntime.jsx(
1596
1679
  uiButtons.IconButton,
1597
1680
  {
@@ -1608,7 +1691,7 @@ var Modal3 = ({
1608
1691
  ) : null
1609
1692
  ] }) : null,
1610
1693
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { children }),
1611
- footer !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles13.footer, children: footer }) : null
1694
+ footer !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.footer, children: footer }) : null
1612
1695
  ]
1613
1696
  }
1614
1697
  )
@@ -1617,7 +1700,7 @@ var Modal3 = ({
1617
1700
  var MESSAGE_FONT_SIZE2 = 14;
1618
1701
  var MESSAGE_LINE_HEIGHT = 20;
1619
1702
  var BUTTON_GAP = 12;
1620
- var styles14 = reactNative.StyleSheet.create({
1703
+ var styles15 = reactNative.StyleSheet.create({
1621
1704
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1622
1705
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1623
1706
  });
@@ -1636,7 +1719,7 @@ var ConfirmDialog = ({
1636
1719
  const { theme, t } = uiFeedback.useUi();
1637
1720
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1638
1721
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1639
- const footer = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.footer, children: [
1722
+ const footer = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.footer, children: [
1640
1723
  /* @__PURE__ */ jsxRuntime.jsx(
1641
1724
  uiButtons.Button,
1642
1725
  {
@@ -1672,7 +1755,7 @@ var ConfirmDialog = ({
1672
1755
  title,
1673
1756
  visible,
1674
1757
  onClose: onCancel,
1675
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1758
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1676
1759
  }
1677
1760
  );
1678
1761
  };
@@ -1685,7 +1768,7 @@ function useAccordionContext() {
1685
1768
  return value;
1686
1769
  }
1687
1770
  var BOXED_GAP = 12;
1688
- var styles15 = reactNative.StyleSheet.create({
1771
+ var styles16 = reactNative.StyleSheet.create({
1689
1772
  container: { alignSelf: "stretch" },
1690
1773
  boxed: { gap: BOXED_GAP }
1691
1774
  });
@@ -1742,7 +1825,7 @@ var Accordion = ({
1742
1825
  [openSet, toggle, allowMultiple, variant]
1743
1826
  );
1744
1827
  const containerStyle = React11.useMemo(() => {
1745
- const base = variant === "boxed" ? [styles15.container, styles15.boxed] : [styles15.container];
1828
+ const base = variant === "boxed" ? [styles16.container, styles16.boxed] : [styles16.container];
1746
1829
  if (style === void 0) return base;
1747
1830
  return [...base, ...Array.isArray(style) ? style : [style]];
1748
1831
  }, [style, variant]);
@@ -1774,7 +1857,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1774
1857
  var BOX_MARKER_FONT_SIZE = 13;
1775
1858
  var BOX_MARKER_GAP = 6;
1776
1859
  var BOX_MARKER = "\u25B8";
1777
- var styles16 = reactNative.StyleSheet.create({
1860
+ var styles17 = reactNative.StyleSheet.create({
1778
1861
  item: { borderTopWidth: reactNative.StyleSheet.hairlineWidth },
1779
1862
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1780
1863
  header: {
@@ -1850,19 +1933,19 @@ var AccordionItem = ({
1850
1933
  );
1851
1934
  const keyboardProps = reactNative.Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
1852
1935
  const itemStyle = React11.useMemo(
1853
- () => boxed ? [styles16.boxItem, { borderColor: colors.border }] : [styles16.item, { borderTopColor: colors.border }],
1936
+ () => boxed ? [styles17.boxItem, { borderColor: colors.border }] : [styles17.item, { borderTopColor: colors.border }],
1854
1937
  [boxed, colors.border]
1855
1938
  );
1856
1939
  const headerStyle = React11.useMemo(
1857
1940
  () => [
1858
- styles16.header,
1859
- ...boxed ? [styles16.boxHeader] : [],
1941
+ styles17.header,
1942
+ ...boxed ? [styles17.boxHeader] : [],
1860
1943
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
1861
1944
  ],
1862
1945
  [boxed, disabled]
1863
1946
  );
1864
1947
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
1865
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [boxed ? styles16.boxTitle : styles16.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1948
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [boxed ? styles17.boxTitle : styles17.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1866
1949
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: itemStyle, children: [
1867
1950
  /* @__PURE__ */ jsxRuntime.jsxs(
1868
1951
  reactNative.Pressable,
@@ -1879,7 +1962,7 @@ var AccordionItem = ({
1879
1962
  onPress: handlePress,
1880
1963
  ...keyboardProps,
1881
1964
  children: [
1882
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.headerLeft, boxed ? styles16.headerLeftRow : null], children: [
1965
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.headerLeft, boxed ? styles17.headerLeftRow : null], children: [
1883
1966
  boxed ? (
1884
1967
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
1885
1968
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1888,15 +1971,15 @@ var AccordionItem = ({
1888
1971
  accessibilityElementsHidden: true,
1889
1972
  "aria-hidden": true,
1890
1973
  importantForAccessibility: "no-hide-descendants",
1891
- style: [styles16.marker, { transform: [{ rotate }] }],
1974
+ style: [styles17.marker, { transform: [{ rotate }] }],
1892
1975
  testID: chevronTestID,
1893
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1976
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1894
1977
  }
1895
1978
  )
1896
1979
  ) : null,
1897
1980
  titleNode
1898
1981
  ] }),
1899
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.headerRight, children: [
1982
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.headerRight, children: [
1900
1983
  right,
1901
1984
  boxed ? null : /* @__PURE__ */ jsxRuntime.jsx(
1902
1985
  reactNative.Animated.View,
@@ -1904,7 +1987,7 @@ var AccordionItem = ({
1904
1987
  accessibilityElementsHidden: true,
1905
1988
  "aria-hidden": true,
1906
1989
  importantForAccessibility: "no-hide-descendants",
1907
- style: [styles16.chevron, { transform: [{ rotate }] }],
1990
+ style: [styles17.chevron, { transform: [{ rotate }] }],
1908
1991
  children: /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
1909
1992
  }
1910
1993
  )
@@ -1918,7 +2001,7 @@ var AccordionItem = ({
1918
2001
  accessibilityLabel: resolvedLabel,
1919
2002
  nativeID: bodyTestID,
1920
2003
  role: ROLE_REGION,
1921
- style: boxed ? styles16.boxBody : styles16.body,
2004
+ style: boxed ? styles17.boxBody : styles17.body,
1922
2005
  testID: bodyTestID,
1923
2006
  children
1924
2007
  }
@@ -1981,7 +2064,7 @@ function useAvailableWidth() {
1981
2064
  var AVG_CHAR_WIDTH_RATIO = 0.58;
1982
2065
  var DEFAULT_FONT_SIZE2 = 13;
1983
2066
  var UNMEASURED2 = 0;
1984
- var styles17 = reactNative.StyleSheet.create({
2067
+ var styles18 = reactNative.StyleSheet.create({
1985
2068
  base: { fontSize: DEFAULT_FONT_SIZE2 },
1986
2069
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
1987
2070
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2012,7 +2095,7 @@ var TruncatedText = ({
2012
2095
  [value, measureRef]
2013
2096
  );
2014
2097
  const flatStyle = React11.useMemo(
2015
- () => reactNative.StyleSheet.flatten([styles17.base, style]),
2098
+ () => reactNative.StyleSheet.flatten([styles18.base, style]),
2016
2099
  [style]
2017
2100
  );
2018
2101
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2027,7 +2110,7 @@ var TruncatedText = ({
2027
2110
  ref: attachRef,
2028
2111
  onLayout,
2029
2112
  numberOfLines: 1,
2030
- style: [styles17.base, styles17.fill, style],
2113
+ style: [styles18.base, styles18.fill, style],
2031
2114
  testID,
2032
2115
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2033
2116
  accessibilityLabel,
@@ -2130,7 +2213,7 @@ var LABEL_LETTER_SPACING = 0.4;
2130
2213
  var ACTION_PADDING_H = 6;
2131
2214
  var ACTION_PADDING_V = 2;
2132
2215
  var ACTION_RADIUS = 6;
2133
- var styles18 = reactNative.StyleSheet.create({
2216
+ var styles19 = reactNative.StyleSheet.create({
2134
2217
  cell: { gap: CELL_GAP },
2135
2218
  label: {
2136
2219
  fontSize: LABEL_FONT_SIZE,
@@ -2195,14 +2278,14 @@ var CopyableId = ({
2195
2278
  const { colors } = theme;
2196
2279
  const { status, copy } = useCopyToClipboard(value, writer);
2197
2280
  const action = useActionState(status);
2198
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.cell, style], testID, children: [
2199
- label !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.label, { color: colors.textSecondary }], children: label }),
2200
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.row, children: [
2201
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.valueWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
2281
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles19.cell, style], testID, children: [
2282
+ label !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.label, { color: colors.textSecondary }], children: label }),
2283
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.row, children: [
2284
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.valueWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
2202
2285
  TruncatedText,
2203
2286
  {
2204
2287
  value,
2205
- style: [styles18.value, { color: colors.text }],
2288
+ style: [styles19.value, { color: colors.text }],
2206
2289
  testID: `${testID}-value`,
2207
2290
  accessibilityLabel: accessibilityLabel ?? value,
2208
2291
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2216,7 +2299,7 @@ var CopyableId = ({
2216
2299
  accessibilityLabel: t(action.key),
2217
2300
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2218
2301
  testID: `${testID}-copy`,
2219
- style: [styles18.action, { color: action.color }],
2302
+ style: [styles19.action, { color: action.color }],
2220
2303
  children: t(action.key)
2221
2304
  }
2222
2305
  )
@@ -2271,7 +2354,7 @@ var FOOTER_PADDING_V = 6;
2271
2354
  var FOOTER_PADDING_H = 12;
2272
2355
  var FOOTER_FONT_SIZE = 11;
2273
2356
  var FOOTER_OPACITY = 0.75;
2274
- var styles19 = reactNative.StyleSheet.create({
2357
+ var styles20 = reactNative.StyleSheet.create({
2275
2358
  footer: {
2276
2359
  paddingVertical: FOOTER_PADDING_V,
2277
2360
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2297,7 +2380,7 @@ var BuildInfoFooter = ({
2297
2380
  const commit = apiCommit ?? fetchedCommit;
2298
2381
  const label = formatBuildInfo(buildVersion, commit);
2299
2382
  const textStyle = React11.useMemo(
2300
- () => [styles19.text, { color: theme.colors.textSecondary }],
2383
+ () => [styles20.text, { color: theme.colors.textSecondary }],
2301
2384
  [theme.colors.textSecondary]
2302
2385
  );
2303
2386
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -2305,7 +2388,7 @@ var BuildInfoFooter = ({
2305
2388
  {
2306
2389
  accessibilityLabel: accessibilityLabel ?? label,
2307
2390
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2308
- style: [styles19.footer, style],
2391
+ style: [styles20.footer, style],
2309
2392
  testID,
2310
2393
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: textStyle, children: label })
2311
2394
  }
@@ -2315,6 +2398,7 @@ var BuildInfoFooter = ({
2315
2398
  exports.API_COMMIT_SEPARATOR = API_COMMIT_SEPARATOR;
2316
2399
  exports.Accordion = Accordion;
2317
2400
  exports.AccordionItem = AccordionItem;
2401
+ exports.AppText = AppText;
2318
2402
  exports.BUILD_INFO_PREFIX = BUILD_INFO_PREFIX;
2319
2403
  exports.BuildInfoFooter = BuildInfoFooter;
2320
2404
  exports.COPY_FEEDBACK_MS = COPY_FEEDBACK_MS;
@@ -2332,7 +2416,9 @@ exports.MIN_TARGET_PX = MIN_TARGET_PX;
2332
2416
  exports.Modal = Modal3;
2333
2417
  exports.ModalDropdown = ModalDropdown;
2334
2418
  exports.ModalShell = ModalShell;
2419
+ exports.ScreenColumn = ScreenColumn;
2335
2420
  exports.Section = Section;
2421
+ exports.SectionVariant = SectionVariant;
2336
2422
  exports.SegmentedControl = SegmentedControl;
2337
2423
  exports.SelectedMarker = SelectedMarker;
2338
2424
  exports.StatusBadge = StatusBadge;
@@ -2340,6 +2426,7 @@ exports.StickyPreview = StickyPreview;
2340
2426
  exports.TYPE_SCALE_BREAKPOINT = TYPE_SCALE_BREAKPOINT;
2341
2427
  exports.Tabs = Tabs;
2342
2428
  exports.TabsCollapsedTrigger = TabsCollapsedTrigger;
2429
+ exports.TextKind = TextKind;
2343
2430
  exports.TruncatedText = TruncatedText;
2344
2431
  exports.UpgradePrompt = UpgradePrompt;
2345
2432
  exports.copyText = copyText;
@@ -2353,6 +2440,7 @@ exports.truncateMiddle = truncateMiddle;
2353
2440
  exports.useApiCommit = useApiCommit;
2354
2441
  exports.useCopyToClipboard = useCopyToClipboard;
2355
2442
  exports.useFocusTrap = useFocusTrap;
2443
+ exports.useIsWideViewport = useIsWideViewport;
2356
2444
  exports.useVisibleViewport = useVisibleViewport;
2357
2445
  //# sourceMappingURL=index.js.map
2358
2446
  //# sourceMappingURL=index.js.map