@dloizides/ui-layout 1.33.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import React11, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
2
- import { StyleSheet, Platform, View, Text, Pressable, TouchableOpacity, Modal, Animated, FlatList, ScrollView, Easing, useWindowDimensions } from 'react-native';
2
+ import { StyleSheet, Platform, View, Text, useWindowDimensions, Pressable, TouchableOpacity, Modal, Animated, FlatList, ScrollView, Easing } from 'react-native';
3
3
  import { MODAL_OVERLAY_COLOR, useUi } from '@dloizides/ui-feedback';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { MIN_TOUCH_TARGET_PX, useA11y } from '@dloizides/a11y';
@@ -11,20 +11,79 @@ import { IconButton, Button } from '@dloizides/ui-buttons';
11
11
  import { useReducedMotion } from '@dloizides/rn-web-hooks';
12
12
 
13
13
  // src/Section/Section.tsx
14
+
15
+ // src/Section/SectionVariant.ts
16
+ var SectionVariant = /* @__PURE__ */ ((SectionVariant2) => {
17
+ SectionVariant2["Panel"] = "panel";
18
+ SectionVariant2["Card"] = "card";
19
+ return SectionVariant2;
20
+ })(SectionVariant || {});
14
21
  var styles = StyleSheet.create({
15
22
  card: {
16
23
  padding: 16,
17
24
  borderWidth: 1,
18
25
  borderRadius: 6
26
+ },
27
+ raised: {
28
+ borderRadius: 12,
29
+ gap: 12
19
30
  }
20
31
  });
21
- var Section = ({ children, style }) => {
32
+ var Section = ({
33
+ children,
34
+ style,
35
+ variant = "panel" /* Panel */,
36
+ testID
37
+ }) => {
22
38
  const { theme } = useUi();
39
+ const isCard = variant === "card" /* Card */;
40
+ const fill = isCard ? theme.colors.background : theme.colors.surface;
23
41
  const containerStyle = React11.useMemo(
24
- () => [styles.card, { borderColor: theme.colors.border, backgroundColor: theme.colors.surface }, style],
25
- [theme.colors.border, theme.colors.surface, style]
42
+ () => [styles.card, isCard ? styles.raised : null, { borderColor: theme.colors.border, backgroundColor: fill }, style],
43
+ [theme.colors.border, fill, isCard, style]
44
+ );
45
+ return /* @__PURE__ */ jsx(View, { style: containerStyle, testID, children });
46
+ };
47
+
48
+ // src/AppText/TextKind.ts
49
+ var TextKind = /* @__PURE__ */ ((TextKind2) => {
50
+ TextKind2["Title"] = "title";
51
+ TextKind2["Heading"] = "heading";
52
+ TextKind2["Body"] = "body";
53
+ TextKind2["Strong"] = "strong";
54
+ TextKind2["Muted"] = "muted";
55
+ TextKind2["Small"] = "small";
56
+ return TextKind2;
57
+ })(TextKind || {});
58
+ var SIZES = {
59
+ ["title" /* Title */]: { fontSize: 24, fontWeight: "700", lineHeight: 30 },
60
+ ["heading" /* Heading */]: { fontSize: 17, fontWeight: "700", lineHeight: 24 },
61
+ ["body" /* Body */]: { fontSize: 15, lineHeight: 22 },
62
+ ["strong" /* Strong */]: { fontSize: 15, fontWeight: "700", lineHeight: 22 },
63
+ ["muted" /* Muted */]: { fontSize: 14, lineHeight: 20 },
64
+ ["small" /* Small */]: { fontSize: 12, lineHeight: 16 }
65
+ };
66
+ var AppText = ({
67
+ kind = "body" /* Body */,
68
+ color,
69
+ style,
70
+ testID,
71
+ children
72
+ }) => {
73
+ const { theme } = useUi();
74
+ const quiet = kind === "muted" /* Muted */ || kind === "small" /* Small */;
75
+ return /* @__PURE__ */ jsx(
76
+ Text,
77
+ {
78
+ style: [
79
+ SIZES[kind],
80
+ { color: color ?? (quiet ? theme.colors.textSecondary : theme.colors.text) },
81
+ style
82
+ ],
83
+ testID,
84
+ children
85
+ }
26
86
  );
27
- return /* @__PURE__ */ jsx(View, { style: containerStyle, children });
28
87
  };
29
88
 
30
89
  // src/constants.ts
@@ -104,7 +163,31 @@ var LAYOUT_I18N = {
104
163
  var TYPE_SCALE_BREAKPOINT = 600;
105
164
  var LAYOUT_COLLAPSE_BREAKPOINT = 768;
106
165
  var MIN_TARGET_PX = 44;
166
+
167
+ // src/responsive.ts
168
+ var WEB_PLATFORM = "web";
169
+ function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
170
+ return platformOS === WEB_PLATFORM && width >= breakpoint;
171
+ }
172
+
173
+ // src/hooks/useIsWideViewport.ts
174
+ function useIsWideViewport(breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
175
+ const { width } = useWindowDimensions();
176
+ return isWideWebViewport(width, Platform.OS, breakpoint);
177
+ }
107
178
  var styles2 = StyleSheet.create({
179
+ outer: { alignItems: "center", width: "100%" },
180
+ column: { width: "100%", gap: 16 },
181
+ desktop: { paddingHorizontal: 32, paddingVertical: 24 },
182
+ mobile: { paddingHorizontal: 16, paddingVertical: 16 },
183
+ wide: { maxWidth: 1200 },
184
+ narrow: { maxWidth: 720 }
185
+ });
186
+ var ScreenColumn = ({ children, narrow = false }) => {
187
+ const isWide = useIsWideViewport();
188
+ return /* @__PURE__ */ jsx(View, { style: styles2.outer, children: /* @__PURE__ */ jsx(View, { style: [styles2.column, isWide ? styles2.desktop : styles2.mobile, narrow ? styles2.narrow : styles2.wide], children }) });
189
+ };
190
+ var styles3 = StyleSheet.create({
108
191
  heading: {
109
192
  fontWeight: "700",
110
193
  fontSize: 16
@@ -120,7 +203,7 @@ var Heading = ({
120
203
  }) => {
121
204
  const { theme } = useUi();
122
205
  const headingStyle = React11.useMemo(
123
- () => [styles2.heading, { color: theme.colors.text }, style],
206
+ () => [styles3.heading, { color: theme.colors.text }, style],
124
207
  [theme.colors.text, style]
125
208
  );
126
209
  return /* @__PURE__ */ jsx(
@@ -139,7 +222,7 @@ var DEFAULT_PADDING_V = 4;
139
222
  var DEFAULT_BORDER_RADIUS = 12;
140
223
  var DEFAULT_FONT_SIZE = 12;
141
224
  var ICON_GAP = 4;
142
- var styles3 = StyleSheet.create({
225
+ var styles4 = StyleSheet.create({
143
226
  badge: {
144
227
  paddingHorizontal: DEFAULT_PADDING_H,
145
228
  paddingVertical: DEFAULT_PADDING_V,
@@ -183,21 +266,15 @@ var StatusBadge = ({
183
266
  {
184
267
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.statusBadgeHint),
185
268
  accessibilityLabel: accessibilityLabel ?? label,
186
- style: [styles3.badge, hasIcon && styles3.badgeWithIcon, dynamicBadge, dashed && styles3.badgeDashed, dashed && dashedColor],
269
+ style: [styles4.badge, hasIcon && styles4.badgeWithIcon, dynamicBadge, dashed && styles4.badgeDashed, dashed && dashedColor],
187
270
  testID,
188
271
  children: [
189
272
  hasIcon ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }) : null,
190
- /* @__PURE__ */ jsx(Text, { style: [styles3.text, dynamicText], children: label })
273
+ /* @__PURE__ */ jsx(Text, { style: [styles4.text, dynamicText], children: label })
191
274
  ]
192
275
  }
193
276
  );
194
277
  };
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
278
  function isPastStickyLine(sentinelTop, isIntersecting, topOffset) {
202
279
  return !isIntersecting && sentinelTop < topOffset;
203
280
  }
@@ -253,7 +330,7 @@ function useVisibleViewport() {
253
330
  return state;
254
331
  }
255
332
  var STICKY_Z_INDEX = 5;
256
- var styles4 = StyleSheet.create({
333
+ var styles5 = StyleSheet.create({
257
334
  sentinel: { height: 1, marginBottom: -1 },
258
335
  compact: { borderBottomWidth: 1 }
259
336
  });
@@ -263,6 +340,7 @@ var StickyPreview = ({
263
340
  forceCompact = false,
264
341
  topOffset = 0,
265
342
  accessibilityLabel,
343
+ accessibilityHint,
266
344
  testID = LAYOUT_TEST_IDS.stickyPreview
267
345
  }) => {
268
346
  const { theme } = useUi();
@@ -274,16 +352,17 @@ var StickyPreview = ({
274
352
  return Platform.OS === WEB_PLATFORM ? web : {};
275
353
  }, [offsetTop, topOffset]);
276
354
  return /* @__PURE__ */ jsxs(Fragment, { children: [
277
- /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles4.sentinel }),
355
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles5.sentinel }),
278
356
  /* @__PURE__ */ jsx(
279
357
  View,
280
358
  {
359
+ accessibilityHint,
281
360
  accessibilityLabel,
282
361
  role: "region",
283
362
  style: [
284
363
  pinned,
285
364
  { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
286
- isCompact && styles4.compact
365
+ isCompact && styles5.compact
287
366
  ],
288
367
  testID,
289
368
  children: /* @__PURE__ */ jsx(View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
@@ -302,7 +381,7 @@ var BORDER_WIDTH = 1;
302
381
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
303
382
  var SHADOW_ELEVATION = 2;
304
383
  var TRANSPARENT = "transparent";
305
- var styles5 = StyleSheet.create({
384
+ var styles6 = StyleSheet.create({
306
385
  track: {
307
386
  flexDirection: "row",
308
387
  alignSelf: "flex-start",
@@ -347,7 +426,7 @@ function SegmentedControl({
347
426
  {
348
427
  accessibilityRole: "tablist",
349
428
  "aria-label": accessibilityLabel,
350
- style: [styles5.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
429
+ style: [styles6.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
351
430
  testID,
352
431
  children: options.map((opt) => {
353
432
  const selected = opt.value === value;
@@ -360,13 +439,13 @@ function SegmentedControl({
360
439
  accessibilityHint: opt.accessibilityHint,
361
440
  onPress: () => onChange(opt.value),
362
441
  style: [
363
- styles5.segment,
364
- selected ? styles5.segmentSelected : null,
442
+ styles6.segment,
443
+ selected ? styles6.segmentSelected : null,
365
444
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
366
445
  ],
367
446
  testID: opt.testID,
368
447
  ...ariaSelectedProps(selected),
369
- children: /* @__PURE__ */ jsx(Text, { style: [styles5.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
448
+ children: /* @__PURE__ */ jsx(Text, { style: [styles6.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
370
449
  },
371
450
  opt.value
372
451
  );
@@ -503,7 +582,7 @@ var HEADING_PADDING_H = 16;
503
582
  var HEADING_PADDING_TOP = 8;
504
583
  var HEADING_PADDING_BOTTOM = 4;
505
584
  var HEADING_LETTER_SPACING = 0.5;
506
- var styles6 = StyleSheet.create({
585
+ var styles7 = StyleSheet.create({
507
586
  heading: {
508
587
  fontSize: HEADING_FONT_SIZE,
509
588
  fontWeight: HEADING_FONT_WEIGHT,
@@ -519,7 +598,7 @@ var MenuHeading = ({ testID, text }) => {
519
598
  Text,
520
599
  {
521
600
  accessibilityRole: "header",
522
- style: [styles6.heading, { color: theme.colors.textSecondary }],
601
+ style: [styles7.heading, { color: theme.colors.textSecondary }],
523
602
  testID: `${testID}-menu-heading`,
524
603
  children: text
525
604
  }
@@ -540,7 +619,7 @@ var OPTION_PADDING_V = 12;
540
619
  var ACCENT_BAR_WIDTH = 3;
541
620
  var CHECK_GAP = 8;
542
621
  var CHECK_GLYPH = "\u2713";
543
- var styles7 = StyleSheet.create({
622
+ var styles8 = StyleSheet.create({
544
623
  option: {
545
624
  paddingHorizontal: OPTION_PADDING_H,
546
625
  paddingVertical: OPTION_PADDING_V,
@@ -579,16 +658,16 @@ var OptionRow = ({
579
658
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
580
659
  const isActive = isSelected || isHighlighted;
581
660
  const rowStyle = [
582
- styles7.option,
583
- isMarked ? styles7.markedRow : null,
661
+ styles8.option,
662
+ isMarked ? styles8.markedRow : null,
584
663
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
585
664
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
586
665
  ];
587
666
  const textStyle = [
588
- styles7.optionText,
667
+ styles8.optionText,
589
668
  { color: colors.text },
590
- isSelected ? styles7.selectedText : null,
591
- isMarked ? styles7.markedText : null
669
+ isSelected ? styles8.selectedText : null,
670
+ isMarked ? styles8.markedText : null
592
671
  ];
593
672
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
594
673
  return /* @__PURE__ */ jsxs(
@@ -604,7 +683,7 @@ var OptionRow = ({
604
683
  onPress: handlePress,
605
684
  children: [
606
685
  /* @__PURE__ */ jsx(Text, { style: textStyle, children: label }),
607
- isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles7.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
686
+ isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles8.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
608
687
  ]
609
688
  }
610
689
  );
@@ -762,7 +841,7 @@ var IS_WEB2 = Platform.OS === "web";
762
841
  var BORDER_RADIUS2 = 8;
763
842
  var BORDER_WIDTH3 = 1;
764
843
  var MENU_PADDING2 = 4;
765
- var styles8 = StyleSheet.create({
844
+ var styles9 = StyleSheet.create({
766
845
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
767
846
  popover: {
768
847
  position: "absolute",
@@ -849,7 +928,7 @@ var InlineMenu = ({
849
928
  themed
850
929
  ];
851
930
  }
852
- return [styles8.popover, { minWidth: menuMinWidth }, themed];
931
+ return [styles9.popover, { minWidth: menuMinWidth }, themed];
853
932
  }, [colors.border, colors.surface, menuMinWidth, rect]);
854
933
  const menu = /* @__PURE__ */ jsx(
855
934
  View,
@@ -864,10 +943,10 @@ var InlineMenu = ({
864
943
  Animated.View,
865
944
  {
866
945
  pointerEvents: isOpen ? "auto" : "none",
867
- style: [styles8.animated, animatedStyle, isOpen ? null : styles8.inert],
946
+ style: [styles9.animated, animatedStyle, isOpen ? null : styles9.inert],
868
947
  children: [
869
948
  menuHeading !== void 0 ? /* @__PURE__ */ jsx(MenuHeading, { testID, text: menuHeading }) : null,
870
- /* @__PURE__ */ jsx(ScrollView, { style: styles8.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
949
+ /* @__PURE__ */ jsx(ScrollView, { style: styles9.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
871
950
  OptionRow,
872
951
  {
873
952
  asMenuItem: true,
@@ -915,7 +994,7 @@ var CARET_OPEN_ROTATION = "180deg";
915
994
  var CARET_CLOSED_ROTATION = "0deg";
916
995
  var POPOVER_ENTER_SCALE = 0.96;
917
996
  var POPOVER_MOTION_MS = 120;
918
- var styles9 = StyleSheet.create({
997
+ var styles10 = StyleSheet.create({
919
998
  anchor: { position: "relative" },
920
999
  container: {
921
1000
  borderWidth: BORDER_WIDTH4,
@@ -1030,19 +1109,19 @@ var ModalDropdown = ({
1030
1109
  const isCaret = showCaret && !isHamburger;
1031
1110
  const containerStyle = useMemo(
1032
1111
  () => renderTrigger !== void 0 ? void 0 : [
1033
- styles9.container,
1034
- isHamburger ? styles9.containerHamburger : isCaret ? styles9.containerMenu : null,
1112
+ styles10.container,
1113
+ isHamburger ? styles10.containerHamburger : isCaret ? styles10.containerMenu : null,
1035
1114
  { borderColor: colors.border, backgroundColor: colors.surface }
1036
1115
  ],
1037
1116
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1038
1117
  );
1039
1118
  const hamburgerStyle = useMemo(
1040
- () => [styles9.hamburger, { color: colors.textSecondary }],
1119
+ () => [styles10.hamburger, { color: colors.textSecondary }],
1041
1120
  [colors.textSecondary]
1042
1121
  );
1043
1122
  const caretStyle = useMemo(
1044
1123
  () => [
1045
- styles9.caret,
1124
+ styles10.caret,
1046
1125
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1047
1126
  ],
1048
1127
  [colors.textSecondary, isOpen]
@@ -1052,11 +1131,11 @@ var ModalDropdown = ({
1052
1131
  [optionTestID, testID]
1053
1132
  );
1054
1133
  const anchorStyle = useMemo(
1055
- () => [styles9.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1134
+ () => [styles10.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1056
1135
  [isMenu, isOpen]
1057
1136
  );
1058
1137
  const modalContentStyle = useMemo(
1059
- () => [styles9.modalContent, { backgroundColor: colors.surface }],
1138
+ () => [styles10.modalContent, { backgroundColor: colors.surface }],
1060
1139
  [colors.surface]
1061
1140
  );
1062
1141
  const renderModalOption = useCallback(
@@ -1077,11 +1156,11 @@ var ModalDropdown = ({
1077
1156
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1078
1157
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
1079
1158
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1080
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1159
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles10.selectedText, styles10.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1081
1160
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
1082
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1161
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles10.selectedText, styles10.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1083
1162
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
1084
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles9.selectedText, { color: colors.text }], children: selectedLabel }),
1163
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles10.selectedText, { color: colors.text }], children: selectedLabel }),
1085
1164
  hintNode
1086
1165
  ] }),
1087
1166
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -1102,7 +1181,7 @@ var ModalDropdown = ({
1102
1181
  onSelect: handleSelect
1103
1182
  }
1104
1183
  ) : null,
1105
- !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles9.modalOverlay, children: [
1184
+ !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles10.modalOverlay, children: [
1106
1185
  /* @__PURE__ */ jsx(
1107
1186
  TouchableOpacity,
1108
1187
  {
@@ -1195,7 +1274,7 @@ var ROW_PAD_V = 8;
1195
1274
  var PANEL_PAD_TOP = 16;
1196
1275
  var BORDER_WIDTH5 = 1;
1197
1276
  var TEXT_ON_PRIMARY = "#ffffff";
1198
- var styles10 = StyleSheet.create({
1277
+ var styles11 = StyleSheet.create({
1199
1278
  root: {
1200
1279
  width: "100%"
1201
1280
  },
@@ -1249,7 +1328,7 @@ var WideTabStrip = ({
1249
1328
  textSecondary,
1250
1329
  surfaceElevated,
1251
1330
  stripStyle
1252
- }) => /* @__PURE__ */ jsx(View, { style: [styles10.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles10.strip, stripStyle], children: tabs.map((tab) => {
1331
+ }) => /* @__PURE__ */ jsx(View, { style: [styles11.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles11.strip, stripStyle], children: tabs.map((tab) => {
1253
1332
  const selected = tab.key === activeKey;
1254
1333
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1255
1334
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1263,10 +1342,10 @@ var WideTabStrip = ({
1263
1342
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1264
1343
  accessibilityHint: tab.accessibilityHint,
1265
1344
  onPress: () => onChange(tab.key),
1266
- style: [styles10.pill, { backgroundColor: pillColor }],
1345
+ style: [styles11.pill, { backgroundColor: pillColor }],
1267
1346
  testID: tab.testID,
1268
1347
  ...ariaTabProps(selected, panelId, tabId),
1269
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.pillText, { color: textColor }], children: tab.label })
1348
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.pillText, { color: textColor }], children: tab.label })
1270
1349
  },
1271
1350
  tab.key
1272
1351
  );
@@ -1291,7 +1370,7 @@ var Tabs = ({
1291
1370
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1292
1371
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1293
1372
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1294
- return /* @__PURE__ */ jsxs(View, { style: [styles10.root, style], testID, children: [
1373
+ return /* @__PURE__ */ jsxs(View, { style: [styles11.root, style], testID, children: [
1295
1374
  collapsed ? /* @__PURE__ */ jsx(
1296
1375
  TabsMenu,
1297
1376
  {
@@ -1318,7 +1397,7 @@ var Tabs = ({
1318
1397
  onChange
1319
1398
  }
1320
1399
  ),
1321
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles10.panel, panelStyle], ...panelAria, children })
1400
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles11.panel, panelStyle], ...panelAria, children })
1322
1401
  ] });
1323
1402
  };
1324
1403
  var PROMPT_PADDING = 20;
@@ -1333,7 +1412,7 @@ var DISMISS_FONT_SIZE = 13;
1333
1412
  var TITLE_MARGIN_BOTTOM = 8;
1334
1413
  var MESSAGE_MARGIN_BOTTOM = 16;
1335
1414
  var CTA_MARGIN_BOTTOM = 8;
1336
- var styles11 = StyleSheet.create({
1415
+ var styles12 = StyleSheet.create({
1337
1416
  container: {
1338
1417
  padding: PROMPT_PADDING,
1339
1418
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1368,21 +1447,21 @@ var UpgradePrompt = ({
1368
1447
  return /* @__PURE__ */ jsxs(
1369
1448
  View,
1370
1449
  {
1371
- style: [styles11.container, { borderColor: primary, backgroundColor: colors.surface }],
1450
+ style: [styles12.container, { borderColor: primary, backgroundColor: colors.surface }],
1372
1451
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1373
1452
  children: [
1374
- /* @__PURE__ */ jsx(Text, { style: [styles11.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1375
- /* @__PURE__ */ jsx(Text, { style: [styles11.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1453
+ /* @__PURE__ */ jsx(Text, { style: [styles12.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1454
+ /* @__PURE__ */ jsx(Text, { style: [styles12.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1376
1455
  /* @__PURE__ */ jsx(
1377
1456
  TouchableOpacity,
1378
1457
  {
1379
1458
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1380
1459
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1381
1460
  accessibilityRole: "button",
1382
- style: [styles11.cta, { backgroundColor: primary }],
1461
+ style: [styles12.cta, { backgroundColor: primary }],
1383
1462
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1384
1463
  onPress: handleUpgradePress,
1385
- children: /* @__PURE__ */ jsx(Text, { style: [styles11.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1464
+ children: /* @__PURE__ */ jsx(Text, { style: [styles12.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1386
1465
  }
1387
1466
  ),
1388
1467
  onDismiss ? /* @__PURE__ */ jsx(
@@ -1391,10 +1470,10 @@ var UpgradePrompt = ({
1391
1470
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1392
1471
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1393
1472
  accessibilityRole: "button",
1394
- style: styles11.dismiss,
1473
+ style: styles12.dismiss,
1395
1474
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1396
1475
  onPress: onDismiss,
1397
- children: /* @__PURE__ */ jsx(Text, { style: [styles11.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1476
+ children: /* @__PURE__ */ jsx(Text, { style: [styles12.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1398
1477
  }
1399
1478
  ) : null
1400
1479
  ]
@@ -1403,7 +1482,7 @@ var UpgradePrompt = ({
1403
1482
  };
1404
1483
  var CLOSE_ICON_SIZE = 18;
1405
1484
  var PANEL_ENTER_SCALE = 0.96;
1406
- var styles12 = StyleSheet.create({
1485
+ var styles13 = StyleSheet.create({
1407
1486
  animatedFill: { flex: 1 },
1408
1487
  container: {
1409
1488
  flex: 1,
@@ -1430,7 +1509,7 @@ var ModalShell = ({
1430
1509
  const { theme, t } = useUi();
1431
1510
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE });
1432
1511
  const containerStyle = React11.useMemo(
1433
- () => [styles12.container, { backgroundColor: theme.colors.background }, contentStyle],
1512
+ () => [styles13.container, { backgroundColor: theme.colors.background }, contentStyle],
1434
1513
  [theme.colors.background, contentStyle]
1435
1514
  );
1436
1515
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1442,7 +1521,7 @@ var ModalShell = ({
1442
1521
  testID: LAYOUT_TEST_IDS.modalShell,
1443
1522
  visible: mounted,
1444
1523
  onRequestClose: onCancel,
1445
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles12.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1524
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles13.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1446
1525
  ScrollView,
1447
1526
  {
1448
1527
  accessibilityViewIsModal: true,
@@ -1450,7 +1529,7 @@ var ModalShell = ({
1450
1529
  role: "dialog",
1451
1530
  style: containerStyle,
1452
1531
  children: [
1453
- /* @__PURE__ */ jsxs(View, { style: styles12.headerRow, children: [
1532
+ /* @__PURE__ */ jsxs(View, { style: styles13.headerRow, children: [
1454
1533
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1455
1534
  showClose ? /* @__PURE__ */ jsx(
1456
1535
  TouchableOpacity,
@@ -1458,7 +1537,7 @@ var ModalShell = ({
1458
1537
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1459
1538
  accessibilityLabel: closeA11yLabel,
1460
1539
  accessibilityRole: "button",
1461
- style: styles12.closeButton,
1540
+ style: styles13.closeButton,
1462
1541
  testID: LAYOUT_TEST_IDS.modalShellClose,
1463
1542
  onPress: onCancel,
1464
1543
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1504,7 +1583,7 @@ var HEADER_MARGIN = 12;
1504
1583
  var DIALOG_MAX_HEIGHT = "90%";
1505
1584
  var PANEL_ENTER_SCALE2 = 0.96;
1506
1585
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640 };
1507
- var styles13 = StyleSheet.create({
1586
+ var styles14 = StyleSheet.create({
1508
1587
  overlay: {
1509
1588
  flex: 1,
1510
1589
  justifyContent: "center",
@@ -1556,15 +1635,15 @@ var Modal3 = ({
1556
1635
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
1557
1636
  const closeLabel = t(LAYOUT_I18N.dialogClose);
1558
1637
  const dialogStyle = useMemo(
1559
- () => [styles13.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1638
+ () => [styles14.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1560
1639
  [theme.colors.surface, size]
1561
1640
  );
1562
1641
  const hasHeader = title !== void 0 || showClose;
1563
- return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles13.overlay, children: [
1642
+ return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles14.overlay, children: [
1564
1643
  /* @__PURE__ */ jsx(
1565
1644
  Animated.View,
1566
1645
  {
1567
- style: [StyleSheet.absoluteFill, styles13.scrim, { opacity: backdrop.style.opacity }]
1646
+ style: [StyleSheet.absoluteFill, styles14.scrim, { opacity: backdrop.style.opacity }]
1568
1647
  }
1569
1648
  ),
1570
1649
  /* @__PURE__ */ jsx(
@@ -1590,8 +1669,8 @@ var Modal3 = ({
1590
1669
  style: [dialogStyle, panel.style],
1591
1670
  testID,
1592
1671
  children: [
1593
- hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles13.headerRow, children: [
1594
- /* @__PURE__ */ jsx(View, { style: styles13.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
1672
+ hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles14.headerRow, children: [
1673
+ /* @__PURE__ */ jsx(View, { style: styles14.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
1595
1674
  showClose ? /* @__PURE__ */ jsx(
1596
1675
  IconButton,
1597
1676
  {
@@ -1608,7 +1687,7 @@ var Modal3 = ({
1608
1687
  ) : null
1609
1688
  ] }) : null,
1610
1689
  /* @__PURE__ */ jsx(ScrollView, { children }),
1611
- footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles13.footer, children: footer }) : null
1690
+ footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles14.footer, children: footer }) : null
1612
1691
  ]
1613
1692
  }
1614
1693
  )
@@ -1617,7 +1696,7 @@ var Modal3 = ({
1617
1696
  var MESSAGE_FONT_SIZE2 = 14;
1618
1697
  var MESSAGE_LINE_HEIGHT = 20;
1619
1698
  var BUTTON_GAP = 12;
1620
- var styles14 = StyleSheet.create({
1699
+ var styles15 = StyleSheet.create({
1621
1700
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1622
1701
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1623
1702
  });
@@ -1636,7 +1715,7 @@ var ConfirmDialog = ({
1636
1715
  const { theme, t } = useUi();
1637
1716
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1638
1717
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1639
- const footer = /* @__PURE__ */ jsxs(View, { style: styles14.footer, children: [
1718
+ const footer = /* @__PURE__ */ jsxs(View, { style: styles15.footer, children: [
1640
1719
  /* @__PURE__ */ jsx(
1641
1720
  Button,
1642
1721
  {
@@ -1672,7 +1751,7 @@ var ConfirmDialog = ({
1672
1751
  title,
1673
1752
  visible,
1674
1753
  onClose: onCancel,
1675
- children: /* @__PURE__ */ jsx(Text, { style: [styles14.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1754
+ children: /* @__PURE__ */ jsx(Text, { style: [styles15.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1676
1755
  }
1677
1756
  );
1678
1757
  };
@@ -1685,7 +1764,7 @@ function useAccordionContext() {
1685
1764
  return value;
1686
1765
  }
1687
1766
  var BOXED_GAP = 12;
1688
- var styles15 = StyleSheet.create({
1767
+ var styles16 = StyleSheet.create({
1689
1768
  container: { alignSelf: "stretch" },
1690
1769
  boxed: { gap: BOXED_GAP }
1691
1770
  });
@@ -1742,7 +1821,7 @@ var Accordion = ({
1742
1821
  [openSet, toggle, allowMultiple, variant]
1743
1822
  );
1744
1823
  const containerStyle = useMemo(() => {
1745
- const base = variant === "boxed" ? [styles15.container, styles15.boxed] : [styles15.container];
1824
+ const base = variant === "boxed" ? [styles16.container, styles16.boxed] : [styles16.container];
1746
1825
  if (style === void 0) return base;
1747
1826
  return [...base, ...Array.isArray(style) ? style : [style]];
1748
1827
  }, [style, variant]);
@@ -1774,7 +1853,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1774
1853
  var BOX_MARKER_FONT_SIZE = 13;
1775
1854
  var BOX_MARKER_GAP = 6;
1776
1855
  var BOX_MARKER = "\u25B8";
1777
- var styles16 = StyleSheet.create({
1856
+ var styles17 = StyleSheet.create({
1778
1857
  item: { borderTopWidth: StyleSheet.hairlineWidth },
1779
1858
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1780
1859
  header: {
@@ -1850,19 +1929,19 @@ var AccordionItem = ({
1850
1929
  );
1851
1930
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
1852
1931
  const itemStyle = useMemo(
1853
- () => boxed ? [styles16.boxItem, { borderColor: colors.border }] : [styles16.item, { borderTopColor: colors.border }],
1932
+ () => boxed ? [styles17.boxItem, { borderColor: colors.border }] : [styles17.item, { borderTopColor: colors.border }],
1854
1933
  [boxed, colors.border]
1855
1934
  );
1856
1935
  const headerStyle = useMemo(
1857
1936
  () => [
1858
- styles16.header,
1859
- ...boxed ? [styles16.boxHeader] : [],
1937
+ styles17.header,
1938
+ ...boxed ? [styles17.boxHeader] : [],
1860
1939
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
1861
1940
  ],
1862
1941
  [boxed, disabled]
1863
1942
  );
1864
1943
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
1865
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles16.boxTitle : styles16.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1944
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles17.boxTitle : styles17.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1866
1945
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
1867
1946
  /* @__PURE__ */ jsxs(
1868
1947
  Pressable,
@@ -1879,7 +1958,7 @@ var AccordionItem = ({
1879
1958
  onPress: handlePress,
1880
1959
  ...keyboardProps,
1881
1960
  children: [
1882
- /* @__PURE__ */ jsxs(View, { style: [styles16.headerLeft, boxed ? styles16.headerLeftRow : null], children: [
1961
+ /* @__PURE__ */ jsxs(View, { style: [styles17.headerLeft, boxed ? styles17.headerLeftRow : null], children: [
1883
1962
  boxed ? (
1884
1963
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
1885
1964
  /* @__PURE__ */ jsx(
@@ -1888,15 +1967,15 @@ var AccordionItem = ({
1888
1967
  accessibilityElementsHidden: true,
1889
1968
  "aria-hidden": true,
1890
1969
  importantForAccessibility: "no-hide-descendants",
1891
- style: [styles16.marker, { transform: [{ rotate }] }],
1970
+ style: [styles17.marker, { transform: [{ rotate }] }],
1892
1971
  testID: chevronTestID,
1893
- children: /* @__PURE__ */ jsx(Text, { style: [styles16.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1972
+ children: /* @__PURE__ */ jsx(Text, { style: [styles17.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1894
1973
  }
1895
1974
  )
1896
1975
  ) : null,
1897
1976
  titleNode
1898
1977
  ] }),
1899
- /* @__PURE__ */ jsxs(View, { style: styles16.headerRight, children: [
1978
+ /* @__PURE__ */ jsxs(View, { style: styles17.headerRight, children: [
1900
1979
  right,
1901
1980
  boxed ? null : /* @__PURE__ */ jsx(
1902
1981
  Animated.View,
@@ -1904,7 +1983,7 @@ var AccordionItem = ({
1904
1983
  accessibilityElementsHidden: true,
1905
1984
  "aria-hidden": true,
1906
1985
  importantForAccessibility: "no-hide-descendants",
1907
- style: [styles16.chevron, { transform: [{ rotate }] }],
1986
+ style: [styles17.chevron, { transform: [{ rotate }] }],
1908
1987
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
1909
1988
  }
1910
1989
  )
@@ -1918,7 +1997,7 @@ var AccordionItem = ({
1918
1997
  accessibilityLabel: resolvedLabel,
1919
1998
  nativeID: bodyTestID,
1920
1999
  role: ROLE_REGION,
1921
- style: boxed ? styles16.boxBody : styles16.body,
2000
+ style: boxed ? styles17.boxBody : styles17.body,
1922
2001
  testID: bodyTestID,
1923
2002
  children
1924
2003
  }
@@ -1981,7 +2060,7 @@ function useAvailableWidth() {
1981
2060
  var AVG_CHAR_WIDTH_RATIO = 0.58;
1982
2061
  var DEFAULT_FONT_SIZE2 = 13;
1983
2062
  var UNMEASURED2 = 0;
1984
- var styles17 = StyleSheet.create({
2063
+ var styles18 = StyleSheet.create({
1985
2064
  base: { fontSize: DEFAULT_FONT_SIZE2 },
1986
2065
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
1987
2066
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2012,7 +2091,7 @@ var TruncatedText = ({
2012
2091
  [value, measureRef]
2013
2092
  );
2014
2093
  const flatStyle = useMemo(
2015
- () => StyleSheet.flatten([styles17.base, style]),
2094
+ () => StyleSheet.flatten([styles18.base, style]),
2016
2095
  [style]
2017
2096
  );
2018
2097
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2027,7 +2106,7 @@ var TruncatedText = ({
2027
2106
  ref: attachRef,
2028
2107
  onLayout,
2029
2108
  numberOfLines: 1,
2030
- style: [styles17.base, styles17.fill, style],
2109
+ style: [styles18.base, styles18.fill, style],
2031
2110
  testID,
2032
2111
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2033
2112
  accessibilityLabel,
@@ -2130,7 +2209,7 @@ var LABEL_LETTER_SPACING = 0.4;
2130
2209
  var ACTION_PADDING_H = 6;
2131
2210
  var ACTION_PADDING_V = 2;
2132
2211
  var ACTION_RADIUS = 6;
2133
- var styles18 = StyleSheet.create({
2212
+ var styles19 = StyleSheet.create({
2134
2213
  cell: { gap: CELL_GAP },
2135
2214
  label: {
2136
2215
  fontSize: LABEL_FONT_SIZE,
@@ -2195,14 +2274,14 @@ var CopyableId = ({
2195
2274
  const { colors } = theme;
2196
2275
  const { status, copy } = useCopyToClipboard(value, writer);
2197
2276
  const action = useActionState(status);
2198
- return /* @__PURE__ */ jsxs(View, { style: [styles18.cell, style], testID, children: [
2199
- label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles18.label, { color: colors.textSecondary }], children: label }),
2200
- /* @__PURE__ */ jsxs(View, { style: styles18.row, children: [
2201
- /* @__PURE__ */ jsx(View, { style: styles18.valueWrap, children: /* @__PURE__ */ jsx(
2277
+ return /* @__PURE__ */ jsxs(View, { style: [styles19.cell, style], testID, children: [
2278
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles19.label, { color: colors.textSecondary }], children: label }),
2279
+ /* @__PURE__ */ jsxs(View, { style: styles19.row, children: [
2280
+ /* @__PURE__ */ jsx(View, { style: styles19.valueWrap, children: /* @__PURE__ */ jsx(
2202
2281
  TruncatedText,
2203
2282
  {
2204
2283
  value,
2205
- style: [styles18.value, { color: colors.text }],
2284
+ style: [styles19.value, { color: colors.text }],
2206
2285
  testID: `${testID}-value`,
2207
2286
  accessibilityLabel: accessibilityLabel ?? value,
2208
2287
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2216,7 +2295,7 @@ var CopyableId = ({
2216
2295
  accessibilityLabel: t(action.key),
2217
2296
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2218
2297
  testID: `${testID}-copy`,
2219
- style: [styles18.action, { color: action.color }],
2298
+ style: [styles19.action, { color: action.color }],
2220
2299
  children: t(action.key)
2221
2300
  }
2222
2301
  )
@@ -2271,7 +2350,7 @@ var FOOTER_PADDING_V = 6;
2271
2350
  var FOOTER_PADDING_H = 12;
2272
2351
  var FOOTER_FONT_SIZE = 11;
2273
2352
  var FOOTER_OPACITY = 0.75;
2274
- var styles19 = StyleSheet.create({
2353
+ var styles20 = StyleSheet.create({
2275
2354
  footer: {
2276
2355
  paddingVertical: FOOTER_PADDING_V,
2277
2356
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2297,7 +2376,7 @@ var BuildInfoFooter = ({
2297
2376
  const commit = apiCommit ?? fetchedCommit;
2298
2377
  const label = formatBuildInfo(buildVersion, commit);
2299
2378
  const textStyle = useMemo(
2300
- () => [styles19.text, { color: theme.colors.textSecondary }],
2379
+ () => [styles20.text, { color: theme.colors.textSecondary }],
2301
2380
  [theme.colors.textSecondary]
2302
2381
  );
2303
2382
  return /* @__PURE__ */ jsx(
@@ -2305,13 +2384,13 @@ var BuildInfoFooter = ({
2305
2384
  {
2306
2385
  accessibilityLabel: accessibilityLabel ?? label,
2307
2386
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2308
- style: [styles19.footer, style],
2387
+ style: [styles20.footer, style],
2309
2388
  testID,
2310
2389
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2311
2390
  }
2312
2391
  );
2313
2392
  };
2314
2393
 
2315
- export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, BUILD_INFO_PREFIX, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, CopyStatus, CopyableId, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, MIN_TARGET_PX, Modal3 as Modal, ModalDropdown, ModalShell, Section, SegmentedControl, SelectedMarker, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useVisibleViewport };
2394
+ export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, CopyStatus, CopyableId, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, MIN_TARGET_PX, Modal3 as Modal, ModalDropdown, ModalShell, ScreenColumn, Section, SectionVariant, SegmentedControl, SelectedMarker, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TextKind, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useVisibleViewport };
2316
2395
  //# sourceMappingURL=index.mjs.map
2317
2396
  //# sourceMappingURL=index.mjs.map