@dloizides/ui-layout 1.33.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.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
  });
@@ -274,7 +351,7 @@ var StickyPreview = ({
274
351
  return Platform.OS === WEB_PLATFORM ? web : {};
275
352
  }, [offsetTop, topOffset]);
276
353
  return /* @__PURE__ */ jsxs(Fragment, { children: [
277
- /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles4.sentinel }),
354
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles5.sentinel }),
278
355
  /* @__PURE__ */ jsx(
279
356
  View,
280
357
  {
@@ -283,7 +360,7 @@ var StickyPreview = ({
283
360
  style: [
284
361
  pinned,
285
362
  { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
286
- isCompact && styles4.compact
363
+ isCompact && styles5.compact
287
364
  ],
288
365
  testID,
289
366
  children: /* @__PURE__ */ jsx(View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
@@ -302,7 +379,7 @@ var BORDER_WIDTH = 1;
302
379
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
303
380
  var SHADOW_ELEVATION = 2;
304
381
  var TRANSPARENT = "transparent";
305
- var styles5 = StyleSheet.create({
382
+ var styles6 = StyleSheet.create({
306
383
  track: {
307
384
  flexDirection: "row",
308
385
  alignSelf: "flex-start",
@@ -347,7 +424,7 @@ function SegmentedControl({
347
424
  {
348
425
  accessibilityRole: "tablist",
349
426
  "aria-label": accessibilityLabel,
350
- style: [styles5.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
427
+ style: [styles6.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
351
428
  testID,
352
429
  children: options.map((opt) => {
353
430
  const selected = opt.value === value;
@@ -360,13 +437,13 @@ function SegmentedControl({
360
437
  accessibilityHint: opt.accessibilityHint,
361
438
  onPress: () => onChange(opt.value),
362
439
  style: [
363
- styles5.segment,
364
- selected ? styles5.segmentSelected : null,
440
+ styles6.segment,
441
+ selected ? styles6.segmentSelected : null,
365
442
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
366
443
  ],
367
444
  testID: opt.testID,
368
445
  ...ariaSelectedProps(selected),
369
- children: /* @__PURE__ */ jsx(Text, { style: [styles5.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
446
+ children: /* @__PURE__ */ jsx(Text, { style: [styles6.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
370
447
  },
371
448
  opt.value
372
449
  );
@@ -503,7 +580,7 @@ var HEADING_PADDING_H = 16;
503
580
  var HEADING_PADDING_TOP = 8;
504
581
  var HEADING_PADDING_BOTTOM = 4;
505
582
  var HEADING_LETTER_SPACING = 0.5;
506
- var styles6 = StyleSheet.create({
583
+ var styles7 = StyleSheet.create({
507
584
  heading: {
508
585
  fontSize: HEADING_FONT_SIZE,
509
586
  fontWeight: HEADING_FONT_WEIGHT,
@@ -519,7 +596,7 @@ var MenuHeading = ({ testID, text }) => {
519
596
  Text,
520
597
  {
521
598
  accessibilityRole: "header",
522
- style: [styles6.heading, { color: theme.colors.textSecondary }],
599
+ style: [styles7.heading, { color: theme.colors.textSecondary }],
523
600
  testID: `${testID}-menu-heading`,
524
601
  children: text
525
602
  }
@@ -540,7 +617,7 @@ var OPTION_PADDING_V = 12;
540
617
  var ACCENT_BAR_WIDTH = 3;
541
618
  var CHECK_GAP = 8;
542
619
  var CHECK_GLYPH = "\u2713";
543
- var styles7 = StyleSheet.create({
620
+ var styles8 = StyleSheet.create({
544
621
  option: {
545
622
  paddingHorizontal: OPTION_PADDING_H,
546
623
  paddingVertical: OPTION_PADDING_V,
@@ -579,16 +656,16 @@ var OptionRow = ({
579
656
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
580
657
  const isActive = isSelected || isHighlighted;
581
658
  const rowStyle = [
582
- styles7.option,
583
- isMarked ? styles7.markedRow : null,
659
+ styles8.option,
660
+ isMarked ? styles8.markedRow : null,
584
661
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
585
662
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
586
663
  ];
587
664
  const textStyle = [
588
- styles7.optionText,
665
+ styles8.optionText,
589
666
  { color: colors.text },
590
- isSelected ? styles7.selectedText : null,
591
- isMarked ? styles7.markedText : null
667
+ isSelected ? styles8.selectedText : null,
668
+ isMarked ? styles8.markedText : null
592
669
  ];
593
670
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
594
671
  return /* @__PURE__ */ jsxs(
@@ -604,7 +681,7 @@ var OptionRow = ({
604
681
  onPress: handlePress,
605
682
  children: [
606
683
  /* @__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
684
+ 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
685
  ]
609
686
  }
610
687
  );
@@ -762,7 +839,7 @@ var IS_WEB2 = Platform.OS === "web";
762
839
  var BORDER_RADIUS2 = 8;
763
840
  var BORDER_WIDTH3 = 1;
764
841
  var MENU_PADDING2 = 4;
765
- var styles8 = StyleSheet.create({
842
+ var styles9 = StyleSheet.create({
766
843
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
767
844
  popover: {
768
845
  position: "absolute",
@@ -849,7 +926,7 @@ var InlineMenu = ({
849
926
  themed
850
927
  ];
851
928
  }
852
- return [styles8.popover, { minWidth: menuMinWidth }, themed];
929
+ return [styles9.popover, { minWidth: menuMinWidth }, themed];
853
930
  }, [colors.border, colors.surface, menuMinWidth, rect]);
854
931
  const menu = /* @__PURE__ */ jsx(
855
932
  View,
@@ -864,10 +941,10 @@ var InlineMenu = ({
864
941
  Animated.View,
865
942
  {
866
943
  pointerEvents: isOpen ? "auto" : "none",
867
- style: [styles8.animated, animatedStyle, isOpen ? null : styles8.inert],
944
+ style: [styles9.animated, animatedStyle, isOpen ? null : styles9.inert],
868
945
  children: [
869
946
  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(
947
+ /* @__PURE__ */ jsx(ScrollView, { style: styles9.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
871
948
  OptionRow,
872
949
  {
873
950
  asMenuItem: true,
@@ -915,7 +992,7 @@ var CARET_OPEN_ROTATION = "180deg";
915
992
  var CARET_CLOSED_ROTATION = "0deg";
916
993
  var POPOVER_ENTER_SCALE = 0.96;
917
994
  var POPOVER_MOTION_MS = 120;
918
- var styles9 = StyleSheet.create({
995
+ var styles10 = StyleSheet.create({
919
996
  anchor: { position: "relative" },
920
997
  container: {
921
998
  borderWidth: BORDER_WIDTH4,
@@ -1030,19 +1107,19 @@ var ModalDropdown = ({
1030
1107
  const isCaret = showCaret && !isHamburger;
1031
1108
  const containerStyle = useMemo(
1032
1109
  () => renderTrigger !== void 0 ? void 0 : [
1033
- styles9.container,
1034
- isHamburger ? styles9.containerHamburger : isCaret ? styles9.containerMenu : null,
1110
+ styles10.container,
1111
+ isHamburger ? styles10.containerHamburger : isCaret ? styles10.containerMenu : null,
1035
1112
  { borderColor: colors.border, backgroundColor: colors.surface }
1036
1113
  ],
1037
1114
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1038
1115
  );
1039
1116
  const hamburgerStyle = useMemo(
1040
- () => [styles9.hamburger, { color: colors.textSecondary }],
1117
+ () => [styles10.hamburger, { color: colors.textSecondary }],
1041
1118
  [colors.textSecondary]
1042
1119
  );
1043
1120
  const caretStyle = useMemo(
1044
1121
  () => [
1045
- styles9.caret,
1122
+ styles10.caret,
1046
1123
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1047
1124
  ],
1048
1125
  [colors.textSecondary, isOpen]
@@ -1052,11 +1129,11 @@ var ModalDropdown = ({
1052
1129
  [optionTestID, testID]
1053
1130
  );
1054
1131
  const anchorStyle = useMemo(
1055
- () => [styles9.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1132
+ () => [styles10.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1056
1133
  [isMenu, isOpen]
1057
1134
  );
1058
1135
  const modalContentStyle = useMemo(
1059
- () => [styles9.modalContent, { backgroundColor: colors.surface }],
1136
+ () => [styles10.modalContent, { backgroundColor: colors.surface }],
1060
1137
  [colors.surface]
1061
1138
  );
1062
1139
  const renderModalOption = useCallback(
@@ -1077,11 +1154,11 @@ var ModalDropdown = ({
1077
1154
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1078
1155
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
1079
1156
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1080
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1157
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles10.selectedText, styles10.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1081
1158
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
1082
- /* @__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 }),
1083
1160
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
1084
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles9.selectedText, { color: colors.text }], children: selectedLabel }),
1161
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles10.selectedText, { color: colors.text }], children: selectedLabel }),
1085
1162
  hintNode
1086
1163
  ] }),
1087
1164
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -1102,7 +1179,7 @@ var ModalDropdown = ({
1102
1179
  onSelect: handleSelect
1103
1180
  }
1104
1181
  ) : null,
1105
- !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles9.modalOverlay, children: [
1182
+ !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles10.modalOverlay, children: [
1106
1183
  /* @__PURE__ */ jsx(
1107
1184
  TouchableOpacity,
1108
1185
  {
@@ -1195,7 +1272,7 @@ var ROW_PAD_V = 8;
1195
1272
  var PANEL_PAD_TOP = 16;
1196
1273
  var BORDER_WIDTH5 = 1;
1197
1274
  var TEXT_ON_PRIMARY = "#ffffff";
1198
- var styles10 = StyleSheet.create({
1275
+ var styles11 = StyleSheet.create({
1199
1276
  root: {
1200
1277
  width: "100%"
1201
1278
  },
@@ -1249,7 +1326,7 @@ var WideTabStrip = ({
1249
1326
  textSecondary,
1250
1327
  surfaceElevated,
1251
1328
  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) => {
1329
+ }) => /* @__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
1330
  const selected = tab.key === activeKey;
1254
1331
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1255
1332
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1263,10 +1340,10 @@ var WideTabStrip = ({
1263
1340
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1264
1341
  accessibilityHint: tab.accessibilityHint,
1265
1342
  onPress: () => onChange(tab.key),
1266
- style: [styles10.pill, { backgroundColor: pillColor }],
1343
+ style: [styles11.pill, { backgroundColor: pillColor }],
1267
1344
  testID: tab.testID,
1268
1345
  ...ariaTabProps(selected, panelId, tabId),
1269
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.pillText, { color: textColor }], children: tab.label })
1346
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.pillText, { color: textColor }], children: tab.label })
1270
1347
  },
1271
1348
  tab.key
1272
1349
  );
@@ -1291,7 +1368,7 @@ var Tabs = ({
1291
1368
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1292
1369
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1293
1370
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1294
- return /* @__PURE__ */ jsxs(View, { style: [styles10.root, style], testID, children: [
1371
+ return /* @__PURE__ */ jsxs(View, { style: [styles11.root, style], testID, children: [
1295
1372
  collapsed ? /* @__PURE__ */ jsx(
1296
1373
  TabsMenu,
1297
1374
  {
@@ -1318,7 +1395,7 @@ var Tabs = ({
1318
1395
  onChange
1319
1396
  }
1320
1397
  ),
1321
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles10.panel, panelStyle], ...panelAria, children })
1398
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles11.panel, panelStyle], ...panelAria, children })
1322
1399
  ] });
1323
1400
  };
1324
1401
  var PROMPT_PADDING = 20;
@@ -1333,7 +1410,7 @@ var DISMISS_FONT_SIZE = 13;
1333
1410
  var TITLE_MARGIN_BOTTOM = 8;
1334
1411
  var MESSAGE_MARGIN_BOTTOM = 16;
1335
1412
  var CTA_MARGIN_BOTTOM = 8;
1336
- var styles11 = StyleSheet.create({
1413
+ var styles12 = StyleSheet.create({
1337
1414
  container: {
1338
1415
  padding: PROMPT_PADDING,
1339
1416
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1368,21 +1445,21 @@ var UpgradePrompt = ({
1368
1445
  return /* @__PURE__ */ jsxs(
1369
1446
  View,
1370
1447
  {
1371
- style: [styles11.container, { borderColor: primary, backgroundColor: colors.surface }],
1448
+ style: [styles12.container, { borderColor: primary, backgroundColor: colors.surface }],
1372
1449
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1373
1450
  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) }),
1451
+ /* @__PURE__ */ jsx(Text, { style: [styles12.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1452
+ /* @__PURE__ */ jsx(Text, { style: [styles12.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1376
1453
  /* @__PURE__ */ jsx(
1377
1454
  TouchableOpacity,
1378
1455
  {
1379
1456
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1380
1457
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1381
1458
  accessibilityRole: "button",
1382
- style: [styles11.cta, { backgroundColor: primary }],
1459
+ style: [styles12.cta, { backgroundColor: primary }],
1383
1460
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1384
1461
  onPress: handleUpgradePress,
1385
- children: /* @__PURE__ */ jsx(Text, { style: [styles11.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1462
+ children: /* @__PURE__ */ jsx(Text, { style: [styles12.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1386
1463
  }
1387
1464
  ),
1388
1465
  onDismiss ? /* @__PURE__ */ jsx(
@@ -1391,10 +1468,10 @@ var UpgradePrompt = ({
1391
1468
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1392
1469
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1393
1470
  accessibilityRole: "button",
1394
- style: styles11.dismiss,
1471
+ style: styles12.dismiss,
1395
1472
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1396
1473
  onPress: onDismiss,
1397
- children: /* @__PURE__ */ jsx(Text, { style: [styles11.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1474
+ children: /* @__PURE__ */ jsx(Text, { style: [styles12.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1398
1475
  }
1399
1476
  ) : null
1400
1477
  ]
@@ -1403,7 +1480,7 @@ var UpgradePrompt = ({
1403
1480
  };
1404
1481
  var CLOSE_ICON_SIZE = 18;
1405
1482
  var PANEL_ENTER_SCALE = 0.96;
1406
- var styles12 = StyleSheet.create({
1483
+ var styles13 = StyleSheet.create({
1407
1484
  animatedFill: { flex: 1 },
1408
1485
  container: {
1409
1486
  flex: 1,
@@ -1430,7 +1507,7 @@ var ModalShell = ({
1430
1507
  const { theme, t } = useUi();
1431
1508
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE });
1432
1509
  const containerStyle = React11.useMemo(
1433
- () => [styles12.container, { backgroundColor: theme.colors.background }, contentStyle],
1510
+ () => [styles13.container, { backgroundColor: theme.colors.background }, contentStyle],
1434
1511
  [theme.colors.background, contentStyle]
1435
1512
  );
1436
1513
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1442,7 +1519,7 @@ var ModalShell = ({
1442
1519
  testID: LAYOUT_TEST_IDS.modalShell,
1443
1520
  visible: mounted,
1444
1521
  onRequestClose: onCancel,
1445
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles12.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1522
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles13.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1446
1523
  ScrollView,
1447
1524
  {
1448
1525
  accessibilityViewIsModal: true,
@@ -1450,7 +1527,7 @@ var ModalShell = ({
1450
1527
  role: "dialog",
1451
1528
  style: containerStyle,
1452
1529
  children: [
1453
- /* @__PURE__ */ jsxs(View, { style: styles12.headerRow, children: [
1530
+ /* @__PURE__ */ jsxs(View, { style: styles13.headerRow, children: [
1454
1531
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1455
1532
  showClose ? /* @__PURE__ */ jsx(
1456
1533
  TouchableOpacity,
@@ -1458,7 +1535,7 @@ var ModalShell = ({
1458
1535
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1459
1536
  accessibilityLabel: closeA11yLabel,
1460
1537
  accessibilityRole: "button",
1461
- style: styles12.closeButton,
1538
+ style: styles13.closeButton,
1462
1539
  testID: LAYOUT_TEST_IDS.modalShellClose,
1463
1540
  onPress: onCancel,
1464
1541
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1504,7 +1581,7 @@ var HEADER_MARGIN = 12;
1504
1581
  var DIALOG_MAX_HEIGHT = "90%";
1505
1582
  var PANEL_ENTER_SCALE2 = 0.96;
1506
1583
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640 };
1507
- var styles13 = StyleSheet.create({
1584
+ var styles14 = StyleSheet.create({
1508
1585
  overlay: {
1509
1586
  flex: 1,
1510
1587
  justifyContent: "center",
@@ -1556,15 +1633,15 @@ var Modal3 = ({
1556
1633
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
1557
1634
  const closeLabel = t(LAYOUT_I18N.dialogClose);
1558
1635
  const dialogStyle = useMemo(
1559
- () => [styles13.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1636
+ () => [styles14.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1560
1637
  [theme.colors.surface, size]
1561
1638
  );
1562
1639
  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: [
1640
+ return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles14.overlay, children: [
1564
1641
  /* @__PURE__ */ jsx(
1565
1642
  Animated.View,
1566
1643
  {
1567
- style: [StyleSheet.absoluteFill, styles13.scrim, { opacity: backdrop.style.opacity }]
1644
+ style: [StyleSheet.absoluteFill, styles14.scrim, { opacity: backdrop.style.opacity }]
1568
1645
  }
1569
1646
  ),
1570
1647
  /* @__PURE__ */ jsx(
@@ -1590,8 +1667,8 @@ var Modal3 = ({
1590
1667
  style: [dialogStyle, panel.style],
1591
1668
  testID,
1592
1669
  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 }),
1670
+ hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles14.headerRow, children: [
1671
+ /* @__PURE__ */ jsx(View, { style: styles14.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
1595
1672
  showClose ? /* @__PURE__ */ jsx(
1596
1673
  IconButton,
1597
1674
  {
@@ -1608,7 +1685,7 @@ var Modal3 = ({
1608
1685
  ) : null
1609
1686
  ] }) : null,
1610
1687
  /* @__PURE__ */ jsx(ScrollView, { children }),
1611
- footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles13.footer, children: footer }) : null
1688
+ footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles14.footer, children: footer }) : null
1612
1689
  ]
1613
1690
  }
1614
1691
  )
@@ -1617,7 +1694,7 @@ var Modal3 = ({
1617
1694
  var MESSAGE_FONT_SIZE2 = 14;
1618
1695
  var MESSAGE_LINE_HEIGHT = 20;
1619
1696
  var BUTTON_GAP = 12;
1620
- var styles14 = StyleSheet.create({
1697
+ var styles15 = StyleSheet.create({
1621
1698
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1622
1699
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1623
1700
  });
@@ -1636,7 +1713,7 @@ var ConfirmDialog = ({
1636
1713
  const { theme, t } = useUi();
1637
1714
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1638
1715
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1639
- const footer = /* @__PURE__ */ jsxs(View, { style: styles14.footer, children: [
1716
+ const footer = /* @__PURE__ */ jsxs(View, { style: styles15.footer, children: [
1640
1717
  /* @__PURE__ */ jsx(
1641
1718
  Button,
1642
1719
  {
@@ -1672,7 +1749,7 @@ var ConfirmDialog = ({
1672
1749
  title,
1673
1750
  visible,
1674
1751
  onClose: onCancel,
1675
- children: /* @__PURE__ */ jsx(Text, { style: [styles14.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1752
+ children: /* @__PURE__ */ jsx(Text, { style: [styles15.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1676
1753
  }
1677
1754
  );
1678
1755
  };
@@ -1685,7 +1762,7 @@ function useAccordionContext() {
1685
1762
  return value;
1686
1763
  }
1687
1764
  var BOXED_GAP = 12;
1688
- var styles15 = StyleSheet.create({
1765
+ var styles16 = StyleSheet.create({
1689
1766
  container: { alignSelf: "stretch" },
1690
1767
  boxed: { gap: BOXED_GAP }
1691
1768
  });
@@ -1742,7 +1819,7 @@ var Accordion = ({
1742
1819
  [openSet, toggle, allowMultiple, variant]
1743
1820
  );
1744
1821
  const containerStyle = useMemo(() => {
1745
- const base = variant === "boxed" ? [styles15.container, styles15.boxed] : [styles15.container];
1822
+ const base = variant === "boxed" ? [styles16.container, styles16.boxed] : [styles16.container];
1746
1823
  if (style === void 0) return base;
1747
1824
  return [...base, ...Array.isArray(style) ? style : [style]];
1748
1825
  }, [style, variant]);
@@ -1774,7 +1851,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1774
1851
  var BOX_MARKER_FONT_SIZE = 13;
1775
1852
  var BOX_MARKER_GAP = 6;
1776
1853
  var BOX_MARKER = "\u25B8";
1777
- var styles16 = StyleSheet.create({
1854
+ var styles17 = StyleSheet.create({
1778
1855
  item: { borderTopWidth: StyleSheet.hairlineWidth },
1779
1856
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1780
1857
  header: {
@@ -1850,19 +1927,19 @@ var AccordionItem = ({
1850
1927
  );
1851
1928
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
1852
1929
  const itemStyle = useMemo(
1853
- () => boxed ? [styles16.boxItem, { borderColor: colors.border }] : [styles16.item, { borderTopColor: colors.border }],
1930
+ () => boxed ? [styles17.boxItem, { borderColor: colors.border }] : [styles17.item, { borderTopColor: colors.border }],
1854
1931
  [boxed, colors.border]
1855
1932
  );
1856
1933
  const headerStyle = useMemo(
1857
1934
  () => [
1858
- styles16.header,
1859
- ...boxed ? [styles16.boxHeader] : [],
1935
+ styles17.header,
1936
+ ...boxed ? [styles17.boxHeader] : [],
1860
1937
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
1861
1938
  ],
1862
1939
  [boxed, disabled]
1863
1940
  );
1864
1941
  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;
1942
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles17.boxTitle : styles17.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1866
1943
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
1867
1944
  /* @__PURE__ */ jsxs(
1868
1945
  Pressable,
@@ -1879,7 +1956,7 @@ var AccordionItem = ({
1879
1956
  onPress: handlePress,
1880
1957
  ...keyboardProps,
1881
1958
  children: [
1882
- /* @__PURE__ */ jsxs(View, { style: [styles16.headerLeft, boxed ? styles16.headerLeftRow : null], children: [
1959
+ /* @__PURE__ */ jsxs(View, { style: [styles17.headerLeft, boxed ? styles17.headerLeftRow : null], children: [
1883
1960
  boxed ? (
1884
1961
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
1885
1962
  /* @__PURE__ */ jsx(
@@ -1888,15 +1965,15 @@ var AccordionItem = ({
1888
1965
  accessibilityElementsHidden: true,
1889
1966
  "aria-hidden": true,
1890
1967
  importantForAccessibility: "no-hide-descendants",
1891
- style: [styles16.marker, { transform: [{ rotate }] }],
1968
+ style: [styles17.marker, { transform: [{ rotate }] }],
1892
1969
  testID: chevronTestID,
1893
- children: /* @__PURE__ */ jsx(Text, { style: [styles16.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1970
+ children: /* @__PURE__ */ jsx(Text, { style: [styles17.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1894
1971
  }
1895
1972
  )
1896
1973
  ) : null,
1897
1974
  titleNode
1898
1975
  ] }),
1899
- /* @__PURE__ */ jsxs(View, { style: styles16.headerRight, children: [
1976
+ /* @__PURE__ */ jsxs(View, { style: styles17.headerRight, children: [
1900
1977
  right,
1901
1978
  boxed ? null : /* @__PURE__ */ jsx(
1902
1979
  Animated.View,
@@ -1904,7 +1981,7 @@ var AccordionItem = ({
1904
1981
  accessibilityElementsHidden: true,
1905
1982
  "aria-hidden": true,
1906
1983
  importantForAccessibility: "no-hide-descendants",
1907
- style: [styles16.chevron, { transform: [{ rotate }] }],
1984
+ style: [styles17.chevron, { transform: [{ rotate }] }],
1908
1985
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
1909
1986
  }
1910
1987
  )
@@ -1918,7 +1995,7 @@ var AccordionItem = ({
1918
1995
  accessibilityLabel: resolvedLabel,
1919
1996
  nativeID: bodyTestID,
1920
1997
  role: ROLE_REGION,
1921
- style: boxed ? styles16.boxBody : styles16.body,
1998
+ style: boxed ? styles17.boxBody : styles17.body,
1922
1999
  testID: bodyTestID,
1923
2000
  children
1924
2001
  }
@@ -1981,7 +2058,7 @@ function useAvailableWidth() {
1981
2058
  var AVG_CHAR_WIDTH_RATIO = 0.58;
1982
2059
  var DEFAULT_FONT_SIZE2 = 13;
1983
2060
  var UNMEASURED2 = 0;
1984
- var styles17 = StyleSheet.create({
2061
+ var styles18 = StyleSheet.create({
1985
2062
  base: { fontSize: DEFAULT_FONT_SIZE2 },
1986
2063
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
1987
2064
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2012,7 +2089,7 @@ var TruncatedText = ({
2012
2089
  [value, measureRef]
2013
2090
  );
2014
2091
  const flatStyle = useMemo(
2015
- () => StyleSheet.flatten([styles17.base, style]),
2092
+ () => StyleSheet.flatten([styles18.base, style]),
2016
2093
  [style]
2017
2094
  );
2018
2095
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2027,7 +2104,7 @@ var TruncatedText = ({
2027
2104
  ref: attachRef,
2028
2105
  onLayout,
2029
2106
  numberOfLines: 1,
2030
- style: [styles17.base, styles17.fill, style],
2107
+ style: [styles18.base, styles18.fill, style],
2031
2108
  testID,
2032
2109
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2033
2110
  accessibilityLabel,
@@ -2130,7 +2207,7 @@ var LABEL_LETTER_SPACING = 0.4;
2130
2207
  var ACTION_PADDING_H = 6;
2131
2208
  var ACTION_PADDING_V = 2;
2132
2209
  var ACTION_RADIUS = 6;
2133
- var styles18 = StyleSheet.create({
2210
+ var styles19 = StyleSheet.create({
2134
2211
  cell: { gap: CELL_GAP },
2135
2212
  label: {
2136
2213
  fontSize: LABEL_FONT_SIZE,
@@ -2195,14 +2272,14 @@ var CopyableId = ({
2195
2272
  const { colors } = theme;
2196
2273
  const { status, copy } = useCopyToClipboard(value, writer);
2197
2274
  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(
2275
+ return /* @__PURE__ */ jsxs(View, { style: [styles19.cell, style], testID, children: [
2276
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles19.label, { color: colors.textSecondary }], children: label }),
2277
+ /* @__PURE__ */ jsxs(View, { style: styles19.row, children: [
2278
+ /* @__PURE__ */ jsx(View, { style: styles19.valueWrap, children: /* @__PURE__ */ jsx(
2202
2279
  TruncatedText,
2203
2280
  {
2204
2281
  value,
2205
- style: [styles18.value, { color: colors.text }],
2282
+ style: [styles19.value, { color: colors.text }],
2206
2283
  testID: `${testID}-value`,
2207
2284
  accessibilityLabel: accessibilityLabel ?? value,
2208
2285
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2216,7 +2293,7 @@ var CopyableId = ({
2216
2293
  accessibilityLabel: t(action.key),
2217
2294
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2218
2295
  testID: `${testID}-copy`,
2219
- style: [styles18.action, { color: action.color }],
2296
+ style: [styles19.action, { color: action.color }],
2220
2297
  children: t(action.key)
2221
2298
  }
2222
2299
  )
@@ -2271,7 +2348,7 @@ var FOOTER_PADDING_V = 6;
2271
2348
  var FOOTER_PADDING_H = 12;
2272
2349
  var FOOTER_FONT_SIZE = 11;
2273
2350
  var FOOTER_OPACITY = 0.75;
2274
- var styles19 = StyleSheet.create({
2351
+ var styles20 = StyleSheet.create({
2275
2352
  footer: {
2276
2353
  paddingVertical: FOOTER_PADDING_V,
2277
2354
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2297,7 +2374,7 @@ var BuildInfoFooter = ({
2297
2374
  const commit = apiCommit ?? fetchedCommit;
2298
2375
  const label = formatBuildInfo(buildVersion, commit);
2299
2376
  const textStyle = useMemo(
2300
- () => [styles19.text, { color: theme.colors.textSecondary }],
2377
+ () => [styles20.text, { color: theme.colors.textSecondary }],
2301
2378
  [theme.colors.textSecondary]
2302
2379
  );
2303
2380
  return /* @__PURE__ */ jsx(
@@ -2305,13 +2382,13 @@ var BuildInfoFooter = ({
2305
2382
  {
2306
2383
  accessibilityLabel: accessibilityLabel ?? label,
2307
2384
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2308
- style: [styles19.footer, style],
2385
+ style: [styles20.footer, style],
2309
2386
  testID,
2310
2387
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2311
2388
  }
2312
2389
  );
2313
2390
  };
2314
2391
 
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 };
2392
+ 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
2393
  //# sourceMappingURL=index.mjs.map
2317
2394
  //# sourceMappingURL=index.mjs.map