@dloizides/ui-layout 1.31.0 → 1.32.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,4 +1,4 @@
1
- import React10, { createContext, useMemo, useRef, useEffect, useState, useCallback, useContext, useLayoutEffect } from 'react';
1
+ import React11, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
2
2
  import { StyleSheet, Platform, View, Text, Pressable, TouchableOpacity, Modal, Animated, FlatList, ScrollView, Easing, useWindowDimensions } from 'react-native';
3
3
  import { MODAL_OVERLAY_COLOR, useUi } from '@dloizides/ui-feedback';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -20,7 +20,7 @@ var styles = StyleSheet.create({
20
20
  });
21
21
  var Section = ({ children, style }) => {
22
22
  const { theme } = useUi();
23
- const containerStyle = React10.useMemo(
23
+ const containerStyle = React11.useMemo(
24
24
  () => [styles.card, { borderColor: theme.colors.border, backgroundColor: theme.colors.surface }, style],
25
25
  [theme.colors.border, theme.colors.surface, style]
26
26
  );
@@ -31,6 +31,7 @@ var Section = ({ children, style }) => {
31
31
  var LAYOUT_TEST_IDS = {
32
32
  headingText: "heading-text",
33
33
  statusLabel: "status-label",
34
+ stickyPreview: "sticky-preview",
34
35
  upgradePrompt: "upgrade-prompt",
35
36
  upgradePromptCta: "upgrade-prompt-cta",
36
37
  upgradePromptDismiss: "upgrade-prompt-dismiss",
@@ -118,7 +119,7 @@ var Heading = ({
118
119
  testID
119
120
  }) => {
120
121
  const { theme } = useUi();
121
- const headingStyle = React10.useMemo(
122
+ const headingStyle = React11.useMemo(
122
123
  () => [styles2.heading, { color: theme.colors.text }, style],
123
124
  [theme.colors.text, style]
124
125
  );
@@ -137,6 +138,7 @@ var DEFAULT_PADDING_H = 10;
137
138
  var DEFAULT_PADDING_V = 4;
138
139
  var DEFAULT_BORDER_RADIUS = 12;
139
140
  var DEFAULT_FONT_SIZE = 12;
141
+ var ICON_GAP = 4;
140
142
  var styles3 = StyleSheet.create({
141
143
  badge: {
142
144
  paddingHorizontal: DEFAULT_PADDING_H,
@@ -146,6 +148,11 @@ var styles3 = StyleSheet.create({
146
148
  // Never wider than the container: a long label wraps inside the pill instead of being clipped.
147
149
  maxWidth: "100%"
148
150
  },
151
+ badgeWithIcon: {
152
+ flexDirection: "row",
153
+ alignItems: "center",
154
+ gap: ICON_GAP
155
+ },
149
156
  text: {
150
157
  fontSize: DEFAULT_FONT_SIZE,
151
158
  fontWeight: "600",
@@ -156,6 +163,7 @@ var StatusBadge = ({
156
163
  label,
157
164
  color,
158
165
  backgroundColor,
166
+ icon,
159
167
  testID = LAYOUT_TEST_IDS.statusLabel,
160
168
  accessibilityLabel,
161
169
  accessibilityHint
@@ -163,17 +171,120 @@ var StatusBadge = ({
163
171
  const { t } = useUi();
164
172
  const dynamicBadge = useMemo(() => ({ backgroundColor }), [backgroundColor]);
165
173
  const dynamicText = useMemo(() => ({ color }), [color]);
166
- return /* @__PURE__ */ jsx(
174
+ const hasIcon = icon !== void 0 && icon !== null;
175
+ return /* @__PURE__ */ jsxs(
167
176
  View,
168
177
  {
169
178
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.statusBadgeHint),
170
179
  accessibilityLabel: accessibilityLabel ?? label,
171
- style: [styles3.badge, dynamicBadge],
180
+ style: [styles3.badge, hasIcon && styles3.badgeWithIcon, dynamicBadge],
172
181
  testID,
173
- children: /* @__PURE__ */ jsx(Text, { style: [styles3.text, dynamicText], children: label })
182
+ children: [
183
+ hasIcon ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }) : null,
184
+ /* @__PURE__ */ jsx(Text, { style: [styles3.text, dynamicText], children: label })
185
+ ]
174
186
  }
175
187
  );
176
188
  };
189
+
190
+ // src/responsive.ts
191
+ var WEB_PLATFORM = "web";
192
+ function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
193
+ return platformOS === WEB_PLATFORM && width >= breakpoint;
194
+ }
195
+ function isPastStickyLine(sentinelTop, isIntersecting, topOffset) {
196
+ return !isIntersecting && sentinelTop < topOffset;
197
+ }
198
+ function useStuckSentinel(topOffset) {
199
+ const sentinelRef = useRef(null);
200
+ const [isStuck, setIsStuck] = useState(false);
201
+ useEffect(() => {
202
+ const node = sentinelRef.current;
203
+ if (node === null || typeof IntersectionObserver === "undefined") return void 0;
204
+ const observer = new IntersectionObserver(
205
+ (entries) => {
206
+ const entry = entries[entries.length - 1];
207
+ if (entry !== void 0) setIsStuck(isPastStickyLine(entry.boundingClientRect.top, entry.isIntersecting, topOffset));
208
+ },
209
+ { rootMargin: `-${topOffset}px 0px 0px 0px` }
210
+ );
211
+ observer.observe(node);
212
+ return () => observer.disconnect();
213
+ }, [topOffset]);
214
+ return { sentinelRef, isStuck };
215
+ }
216
+ var KEYBOARD_HEIGHT_RATIO = 0.75;
217
+ var INITIAL = { offsetTop: 0, keyboardOpen: false };
218
+ function isKeyboardOpen(visibleHeight, tallestHeight) {
219
+ return visibleHeight < tallestHeight * KEYBOARD_HEIGHT_RATIO;
220
+ }
221
+ function useVisibleViewport() {
222
+ const [state, setState] = useState(INITIAL);
223
+ const tallest = useRef({ width: 0, height: 0 });
224
+ useEffect(() => {
225
+ const viewport = typeof window === "undefined" ? void 0 : window.visualViewport;
226
+ if (viewport === void 0 || viewport === null) return void 0;
227
+ const read = () => {
228
+ const unzoomedHeight = viewport.height * viewport.scale;
229
+ const unzoomedWidth = viewport.width * viewport.scale;
230
+ const widthChanged = tallest.current.width !== unzoomedWidth;
231
+ const height = widthChanged ? unzoomedHeight : Math.max(tallest.current.height, unzoomedHeight);
232
+ tallest.current = { width: unzoomedWidth, height };
233
+ const offsetTop = viewport.offsetTop;
234
+ const keyboardOpen = isKeyboardOpen(unzoomedHeight, height);
235
+ setState(
236
+ (previous) => previous.offsetTop === offsetTop && previous.keyboardOpen === keyboardOpen ? previous : { offsetTop, keyboardOpen }
237
+ );
238
+ };
239
+ read();
240
+ viewport.addEventListener("resize", read);
241
+ viewport.addEventListener("scroll", read);
242
+ return () => {
243
+ viewport.removeEventListener("resize", read);
244
+ viewport.removeEventListener("scroll", read);
245
+ };
246
+ }, []);
247
+ return state;
248
+ }
249
+ var STICKY_Z_INDEX = 5;
250
+ var styles4 = StyleSheet.create({
251
+ sentinel: { height: 1, marginBottom: -1 },
252
+ compact: { borderBottomWidth: 1 }
253
+ });
254
+ var StickyPreview = ({
255
+ full,
256
+ compact,
257
+ forceCompact = false,
258
+ topOffset = 0,
259
+ accessibilityLabel,
260
+ testID = LAYOUT_TEST_IDS.stickyPreview
261
+ }) => {
262
+ const { theme } = useUi();
263
+ const { offsetTop, keyboardOpen } = useVisibleViewport();
264
+ const { sentinelRef, isStuck } = useStuckSentinel(topOffset);
265
+ const isCompact = forceCompact || isStuck || keyboardOpen;
266
+ const pinned = useMemo(() => {
267
+ const web = { position: "sticky", top: topOffset + offsetTop, zIndex: STICKY_Z_INDEX };
268
+ return Platform.OS === WEB_PLATFORM ? web : {};
269
+ }, [offsetTop, topOffset]);
270
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
271
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles4.sentinel }),
272
+ /* @__PURE__ */ jsx(
273
+ View,
274
+ {
275
+ accessibilityLabel,
276
+ role: "region",
277
+ style: [
278
+ pinned,
279
+ { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
280
+ isCompact && styles4.compact
281
+ ],
282
+ testID,
283
+ children: /* @__PURE__ */ jsx(View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
284
+ }
285
+ )
286
+ ] });
287
+ };
177
288
  var TRACK_PADDING = 3;
178
289
  var TRACK_RADIUS = 999;
179
290
  var SEGMENT_RADIUS = 999;
@@ -185,7 +296,7 @@ var BORDER_WIDTH = 1;
185
296
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
186
297
  var SHADOW_ELEVATION = 2;
187
298
  var TRANSPARENT = "transparent";
188
- var styles4 = StyleSheet.create({
299
+ var styles5 = StyleSheet.create({
189
300
  track: {
190
301
  flexDirection: "row",
191
302
  alignSelf: "flex-start",
@@ -230,7 +341,7 @@ function SegmentedControl({
230
341
  {
231
342
  accessibilityRole: "tablist",
232
343
  "aria-label": accessibilityLabel,
233
- style: [styles4.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
344
+ style: [styles5.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
234
345
  testID,
235
346
  children: options.map((opt) => {
236
347
  const selected = opt.value === value;
@@ -243,13 +354,13 @@ function SegmentedControl({
243
354
  accessibilityHint: opt.accessibilityHint,
244
355
  onPress: () => onChange(opt.value),
245
356
  style: [
246
- styles4.segment,
247
- selected ? styles4.segmentSelected : null,
357
+ styles5.segment,
358
+ selected ? styles5.segmentSelected : null,
248
359
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
249
360
  ],
250
361
  testID: opt.testID,
251
362
  ...ariaSelectedProps(selected),
252
- children: /* @__PURE__ */ jsx(Text, { style: [styles4.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
363
+ children: /* @__PURE__ */ jsx(Text, { style: [styles5.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
253
364
  },
254
365
  opt.value
255
366
  );
@@ -386,7 +497,7 @@ var HEADING_PADDING_H = 16;
386
497
  var HEADING_PADDING_TOP = 8;
387
498
  var HEADING_PADDING_BOTTOM = 4;
388
499
  var HEADING_LETTER_SPACING = 0.5;
389
- var styles5 = StyleSheet.create({
500
+ var styles6 = StyleSheet.create({
390
501
  heading: {
391
502
  fontSize: HEADING_FONT_SIZE,
392
503
  fontWeight: HEADING_FONT_WEIGHT,
@@ -402,7 +513,7 @@ var MenuHeading = ({ testID, text }) => {
402
513
  Text,
403
514
  {
404
515
  accessibilityRole: "header",
405
- style: [styles5.heading, { color: theme.colors.textSecondary }],
516
+ style: [styles6.heading, { color: theme.colors.textSecondary }],
406
517
  testID: `${testID}-menu-heading`,
407
518
  children: text
408
519
  }
@@ -423,7 +534,7 @@ var OPTION_PADDING_V = 12;
423
534
  var ACCENT_BAR_WIDTH = 3;
424
535
  var CHECK_GAP = 8;
425
536
  var CHECK_GLYPH = "\u2713";
426
- var styles6 = StyleSheet.create({
537
+ var styles7 = StyleSheet.create({
427
538
  option: {
428
539
  paddingHorizontal: OPTION_PADDING_H,
429
540
  paddingVertical: OPTION_PADDING_V,
@@ -462,16 +573,16 @@ var OptionRow = ({
462
573
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
463
574
  const isActive = isSelected || isHighlighted;
464
575
  const rowStyle = [
465
- styles6.option,
466
- isMarked ? styles6.markedRow : null,
576
+ styles7.option,
577
+ isMarked ? styles7.markedRow : null,
467
578
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
468
579
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
469
580
  ];
470
581
  const textStyle = [
471
- styles6.optionText,
582
+ styles7.optionText,
472
583
  { color: colors.text },
473
- isSelected ? styles6.selectedText : null,
474
- isMarked ? styles6.markedText : null
584
+ isSelected ? styles7.selectedText : null,
585
+ isMarked ? styles7.markedText : null
475
586
  ];
476
587
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
477
588
  return /* @__PURE__ */ jsxs(
@@ -487,7 +598,7 @@ var OptionRow = ({
487
598
  onPress: handlePress,
488
599
  children: [
489
600
  /* @__PURE__ */ jsx(Text, { style: textStyle, children: label }),
490
- isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles6.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
601
+ isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles7.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
491
602
  ]
492
603
  }
493
604
  );
@@ -645,7 +756,7 @@ var IS_WEB2 = Platform.OS === "web";
645
756
  var BORDER_RADIUS2 = 8;
646
757
  var BORDER_WIDTH3 = 1;
647
758
  var MENU_PADDING2 = 4;
648
- var styles7 = StyleSheet.create({
759
+ var styles8 = StyleSheet.create({
649
760
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
650
761
  popover: {
651
762
  position: "absolute",
@@ -732,7 +843,7 @@ var InlineMenu = ({
732
843
  themed
733
844
  ];
734
845
  }
735
- return [styles7.popover, { minWidth: menuMinWidth }, themed];
846
+ return [styles8.popover, { minWidth: menuMinWidth }, themed];
736
847
  }, [colors.border, colors.surface, menuMinWidth, rect]);
737
848
  const menu = /* @__PURE__ */ jsx(
738
849
  View,
@@ -747,10 +858,10 @@ var InlineMenu = ({
747
858
  Animated.View,
748
859
  {
749
860
  pointerEvents: isOpen ? "auto" : "none",
750
- style: [styles7.animated, animatedStyle, isOpen ? null : styles7.inert],
861
+ style: [styles8.animated, animatedStyle, isOpen ? null : styles8.inert],
751
862
  children: [
752
863
  menuHeading !== void 0 ? /* @__PURE__ */ jsx(MenuHeading, { testID, text: menuHeading }) : null,
753
- /* @__PURE__ */ jsx(ScrollView, { style: styles7.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
864
+ /* @__PURE__ */ jsx(ScrollView, { style: styles8.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
754
865
  OptionRow,
755
866
  {
756
867
  asMenuItem: true,
@@ -771,14 +882,6 @@ var InlineMenu = ({
771
882
  if (IS_WEB2) return createPortal(menu, document.body);
772
883
  return menu;
773
884
  };
774
-
775
- // src/responsive.ts
776
- var WEB_PLATFORM = "web";
777
- function isWideWebViewport(width, platformOS, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
778
- return platformOS === WEB_PLATFORM && width >= breakpoint;
779
- }
780
-
781
- // src/ModalDropdown/resolveDropdownVariant.ts
782
885
  var MENU_BREAKPOINT = LAYOUT_COLLAPSE_BREAKPOINT;
783
886
  function resolveDropdownVariant(explicit, width, platformOS) {
784
887
  if (explicit !== void 0) return explicit;
@@ -806,7 +909,7 @@ var CARET_OPEN_ROTATION = "180deg";
806
909
  var CARET_CLOSED_ROTATION = "0deg";
807
910
  var POPOVER_ENTER_SCALE = 0.96;
808
911
  var POPOVER_MOTION_MS = 120;
809
- var styles8 = StyleSheet.create({
912
+ var styles9 = StyleSheet.create({
810
913
  anchor: { position: "relative" },
811
914
  container: {
812
915
  borderWidth: BORDER_WIDTH4,
@@ -921,19 +1024,19 @@ var ModalDropdown = ({
921
1024
  const isCaret = showCaret && !isHamburger;
922
1025
  const containerStyle = useMemo(
923
1026
  () => renderTrigger !== void 0 ? void 0 : [
924
- styles8.container,
925
- isHamburger ? styles8.containerHamburger : isCaret ? styles8.containerMenu : null,
1027
+ styles9.container,
1028
+ isHamburger ? styles9.containerHamburger : isCaret ? styles9.containerMenu : null,
926
1029
  { borderColor: colors.border, backgroundColor: colors.surface }
927
1030
  ],
928
1031
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
929
1032
  );
930
1033
  const hamburgerStyle = useMemo(
931
- () => [styles8.hamburger, { color: colors.textSecondary }],
1034
+ () => [styles9.hamburger, { color: colors.textSecondary }],
932
1035
  [colors.textSecondary]
933
1036
  );
934
1037
  const caretStyle = useMemo(
935
1038
  () => [
936
- styles8.caret,
1039
+ styles9.caret,
937
1040
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
938
1041
  ],
939
1042
  [colors.textSecondary, isOpen]
@@ -943,11 +1046,11 @@ var ModalDropdown = ({
943
1046
  [optionTestID, testID]
944
1047
  );
945
1048
  const anchorStyle = useMemo(
946
- () => [styles8.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1049
+ () => [styles9.anchor, buildAnchorStackStyle(isMenu && isOpen)],
947
1050
  [isMenu, isOpen]
948
1051
  );
949
1052
  const modalContentStyle = useMemo(
950
- () => [styles8.modalContent, { backgroundColor: colors.surface }],
1053
+ () => [styles9.modalContent, { backgroundColor: colors.surface }],
951
1054
  [colors.surface]
952
1055
  );
953
1056
  const renderModalOption = useCallback(
@@ -968,11 +1071,11 @@ var ModalDropdown = ({
968
1071
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
969
1072
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
970
1073
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
971
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles8.selectedText, styles8.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1074
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel })
972
1075
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
973
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles8.selectedText, styles8.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1076
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
974
1077
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
975
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles8.selectedText, { color: colors.text }], children: selectedLabel }),
1078
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles9.selectedText, { color: colors.text }], children: selectedLabel }),
976
1079
  hintNode
977
1080
  ] }),
978
1081
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -993,7 +1096,7 @@ var ModalDropdown = ({
993
1096
  onSelect: handleSelect
994
1097
  }
995
1098
  ) : null,
996
- !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles8.modalOverlay, children: [
1099
+ !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles9.modalOverlay, children: [
997
1100
  /* @__PURE__ */ jsx(
998
1101
  TouchableOpacity,
999
1102
  {
@@ -1086,7 +1189,7 @@ var ROW_PAD_V = 8;
1086
1189
  var PANEL_PAD_TOP = 16;
1087
1190
  var BORDER_WIDTH5 = 1;
1088
1191
  var TEXT_ON_PRIMARY = "#ffffff";
1089
- var styles9 = StyleSheet.create({
1192
+ var styles10 = StyleSheet.create({
1090
1193
  root: {
1091
1194
  width: "100%"
1092
1195
  },
@@ -1140,7 +1243,7 @@ var WideTabStrip = ({
1140
1243
  textSecondary,
1141
1244
  surfaceElevated,
1142
1245
  stripStyle
1143
- }) => /* @__PURE__ */ jsx(View, { style: [styles9.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles9.strip, stripStyle], children: tabs.map((tab) => {
1246
+ }) => /* @__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) => {
1144
1247
  const selected = tab.key === activeKey;
1145
1248
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1146
1249
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1154,10 +1257,10 @@ var WideTabStrip = ({
1154
1257
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1155
1258
  accessibilityHint: tab.accessibilityHint,
1156
1259
  onPress: () => onChange(tab.key),
1157
- style: [styles9.pill, { backgroundColor: pillColor }],
1260
+ style: [styles10.pill, { backgroundColor: pillColor }],
1158
1261
  testID: tab.testID,
1159
1262
  ...ariaTabProps(selected, panelId, tabId),
1160
- children: /* @__PURE__ */ jsx(Text, { style: [styles9.pillText, { color: textColor }], children: tab.label })
1263
+ children: /* @__PURE__ */ jsx(Text, { style: [styles10.pillText, { color: textColor }], children: tab.label })
1161
1264
  },
1162
1265
  tab.key
1163
1266
  );
@@ -1182,7 +1285,7 @@ var Tabs = ({
1182
1285
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1183
1286
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1184
1287
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1185
- return /* @__PURE__ */ jsxs(View, { style: [styles9.root, style], testID, children: [
1288
+ return /* @__PURE__ */ jsxs(View, { style: [styles10.root, style], testID, children: [
1186
1289
  collapsed ? /* @__PURE__ */ jsx(
1187
1290
  TabsMenu,
1188
1291
  {
@@ -1209,7 +1312,7 @@ var Tabs = ({
1209
1312
  onChange
1210
1313
  }
1211
1314
  ),
1212
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles9.panel, panelStyle], ...panelAria, children })
1315
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles10.panel, panelStyle], ...panelAria, children })
1213
1316
  ] });
1214
1317
  };
1215
1318
  var PROMPT_PADDING = 20;
@@ -1224,7 +1327,7 @@ var DISMISS_FONT_SIZE = 13;
1224
1327
  var TITLE_MARGIN_BOTTOM = 8;
1225
1328
  var MESSAGE_MARGIN_BOTTOM = 16;
1226
1329
  var CTA_MARGIN_BOTTOM = 8;
1227
- var styles10 = StyleSheet.create({
1330
+ var styles11 = StyleSheet.create({
1228
1331
  container: {
1229
1332
  padding: PROMPT_PADDING,
1230
1333
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1259,21 +1362,21 @@ var UpgradePrompt = ({
1259
1362
  return /* @__PURE__ */ jsxs(
1260
1363
  View,
1261
1364
  {
1262
- style: [styles10.container, { borderColor: primary, backgroundColor: colors.surface }],
1365
+ style: [styles11.container, { borderColor: primary, backgroundColor: colors.surface }],
1263
1366
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1264
1367
  children: [
1265
- /* @__PURE__ */ jsx(Text, { style: [styles10.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1266
- /* @__PURE__ */ jsx(Text, { style: [styles10.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1368
+ /* @__PURE__ */ jsx(Text, { style: [styles11.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1369
+ /* @__PURE__ */ jsx(Text, { style: [styles11.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1267
1370
  /* @__PURE__ */ jsx(
1268
1371
  TouchableOpacity,
1269
1372
  {
1270
1373
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1271
1374
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1272
1375
  accessibilityRole: "button",
1273
- style: [styles10.cta, { backgroundColor: primary }],
1376
+ style: [styles11.cta, { backgroundColor: primary }],
1274
1377
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1275
1378
  onPress: handleUpgradePress,
1276
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1379
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1277
1380
  }
1278
1381
  ),
1279
1382
  onDismiss ? /* @__PURE__ */ jsx(
@@ -1282,10 +1385,10 @@ var UpgradePrompt = ({
1282
1385
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1283
1386
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1284
1387
  accessibilityRole: "button",
1285
- style: styles10.dismiss,
1388
+ style: styles11.dismiss,
1286
1389
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1287
1390
  onPress: onDismiss,
1288
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1391
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1289
1392
  }
1290
1393
  ) : null
1291
1394
  ]
@@ -1294,7 +1397,7 @@ var UpgradePrompt = ({
1294
1397
  };
1295
1398
  var CLOSE_ICON_SIZE = 18;
1296
1399
  var PANEL_ENTER_SCALE = 0.96;
1297
- var styles11 = StyleSheet.create({
1400
+ var styles12 = StyleSheet.create({
1298
1401
  animatedFill: { flex: 1 },
1299
1402
  container: {
1300
1403
  flex: 1,
@@ -1320,8 +1423,8 @@ var ModalShell = ({
1320
1423
  }) => {
1321
1424
  const { theme, t } = useUi();
1322
1425
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE });
1323
- const containerStyle = React10.useMemo(
1324
- () => [styles11.container, { backgroundColor: theme.colors.background }, contentStyle],
1426
+ const containerStyle = React11.useMemo(
1427
+ () => [styles12.container, { backgroundColor: theme.colors.background }, contentStyle],
1325
1428
  [theme.colors.background, contentStyle]
1326
1429
  );
1327
1430
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1333,7 +1436,7 @@ var ModalShell = ({
1333
1436
  testID: LAYOUT_TEST_IDS.modalShell,
1334
1437
  visible: mounted,
1335
1438
  onRequestClose: onCancel,
1336
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles11.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1439
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles12.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1337
1440
  ScrollView,
1338
1441
  {
1339
1442
  accessibilityViewIsModal: true,
@@ -1341,7 +1444,7 @@ var ModalShell = ({
1341
1444
  role: "dialog",
1342
1445
  style: containerStyle,
1343
1446
  children: [
1344
- /* @__PURE__ */ jsxs(View, { style: styles11.headerRow, children: [
1447
+ /* @__PURE__ */ jsxs(View, { style: styles12.headerRow, children: [
1345
1448
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1346
1449
  showClose ? /* @__PURE__ */ jsx(
1347
1450
  TouchableOpacity,
@@ -1349,7 +1452,7 @@ var ModalShell = ({
1349
1452
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1350
1453
  accessibilityLabel: closeA11yLabel,
1351
1454
  accessibilityRole: "button",
1352
- style: styles11.closeButton,
1455
+ style: styles12.closeButton,
1353
1456
  testID: LAYOUT_TEST_IDS.modalShellClose,
1354
1457
  onPress: onCancel,
1355
1458
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1395,7 +1498,7 @@ var HEADER_MARGIN = 12;
1395
1498
  var DIALOG_MAX_HEIGHT = "90%";
1396
1499
  var PANEL_ENTER_SCALE2 = 0.96;
1397
1500
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640 };
1398
- var styles12 = StyleSheet.create({
1501
+ var styles13 = StyleSheet.create({
1399
1502
  overlay: {
1400
1503
  flex: 1,
1401
1504
  justifyContent: "center",
@@ -1447,15 +1550,15 @@ var Modal3 = ({
1447
1550
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
1448
1551
  const closeLabel = t(LAYOUT_I18N.dialogClose);
1449
1552
  const dialogStyle = useMemo(
1450
- () => [styles12.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1553
+ () => [styles13.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1451
1554
  [theme.colors.surface, size]
1452
1555
  );
1453
1556
  const hasHeader = title !== void 0 || showClose;
1454
- return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles12.overlay, children: [
1557
+ return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles13.overlay, children: [
1455
1558
  /* @__PURE__ */ jsx(
1456
1559
  Animated.View,
1457
1560
  {
1458
- style: [StyleSheet.absoluteFill, styles12.scrim, { opacity: backdrop.style.opacity }]
1561
+ style: [StyleSheet.absoluteFill, styles13.scrim, { opacity: backdrop.style.opacity }]
1459
1562
  }
1460
1563
  ),
1461
1564
  /* @__PURE__ */ jsx(
@@ -1481,8 +1584,8 @@ var Modal3 = ({
1481
1584
  style: [dialogStyle, panel.style],
1482
1585
  testID,
1483
1586
  children: [
1484
- hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles12.headerRow, children: [
1485
- /* @__PURE__ */ jsx(View, { style: styles12.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
1587
+ hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles13.headerRow, children: [
1588
+ /* @__PURE__ */ jsx(View, { style: styles13.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
1486
1589
  showClose ? /* @__PURE__ */ jsx(
1487
1590
  IconButton,
1488
1591
  {
@@ -1499,7 +1602,7 @@ var Modal3 = ({
1499
1602
  ) : null
1500
1603
  ] }) : null,
1501
1604
  /* @__PURE__ */ jsx(ScrollView, { children }),
1502
- footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles12.footer, children: footer }) : null
1605
+ footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles13.footer, children: footer }) : null
1503
1606
  ]
1504
1607
  }
1505
1608
  )
@@ -1508,7 +1611,7 @@ var Modal3 = ({
1508
1611
  var MESSAGE_FONT_SIZE2 = 14;
1509
1612
  var MESSAGE_LINE_HEIGHT = 20;
1510
1613
  var BUTTON_GAP = 12;
1511
- var styles13 = StyleSheet.create({
1614
+ var styles14 = StyleSheet.create({
1512
1615
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1513
1616
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1514
1617
  });
@@ -1527,7 +1630,7 @@ var ConfirmDialog = ({
1527
1630
  const { theme, t } = useUi();
1528
1631
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1529
1632
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1530
- const footer = /* @__PURE__ */ jsxs(View, { style: styles13.footer, children: [
1633
+ const footer = /* @__PURE__ */ jsxs(View, { style: styles14.footer, children: [
1531
1634
  /* @__PURE__ */ jsx(
1532
1635
  Button,
1533
1636
  {
@@ -1563,7 +1666,7 @@ var ConfirmDialog = ({
1563
1666
  title,
1564
1667
  visible,
1565
1668
  onClose: onCancel,
1566
- children: /* @__PURE__ */ jsx(Text, { style: [styles13.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1669
+ children: /* @__PURE__ */ jsx(Text, { style: [styles14.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1567
1670
  }
1568
1671
  );
1569
1672
  };
@@ -1576,14 +1679,14 @@ function useAccordionContext() {
1576
1679
  return value;
1577
1680
  }
1578
1681
  var BOXED_GAP = 12;
1579
- var styles14 = StyleSheet.create({
1682
+ var styles15 = StyleSheet.create({
1580
1683
  container: { alignSelf: "stretch" },
1581
1684
  boxed: { gap: BOXED_GAP }
1582
1685
  });
1583
1686
  function computeInitialOpen(children, defaultOpenIds, allowMultiple) {
1584
1687
  const ids = new Set(defaultOpenIds ?? []);
1585
- React10.Children.forEach(children, (child) => {
1586
- if (!React10.isValidElement(child)) return;
1688
+ React11.Children.forEach(children, (child) => {
1689
+ if (!React11.isValidElement(child)) return;
1587
1690
  const props = child.props;
1588
1691
  if (props.defaultOpen === true && typeof props.id === "string") {
1589
1692
  ids.add(props.id);
@@ -1633,7 +1736,7 @@ var Accordion = ({
1633
1736
  [openSet, toggle, allowMultiple, variant]
1634
1737
  );
1635
1738
  const containerStyle = useMemo(() => {
1636
- const base = variant === "boxed" ? [styles14.container, styles14.boxed] : [styles14.container];
1739
+ const base = variant === "boxed" ? [styles15.container, styles15.boxed] : [styles15.container];
1637
1740
  if (style === void 0) return base;
1638
1741
  return [...base, ...Array.isArray(style) ? style : [style]];
1639
1742
  }, [style, variant]);
@@ -1665,7 +1768,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1665
1768
  var BOX_MARKER_FONT_SIZE = 13;
1666
1769
  var BOX_MARKER_GAP = 6;
1667
1770
  var BOX_MARKER = "\u25B8";
1668
- var styles15 = StyleSheet.create({
1771
+ var styles16 = StyleSheet.create({
1669
1772
  item: { borderTopWidth: StyleSheet.hairlineWidth },
1670
1773
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1671
1774
  header: {
@@ -1741,19 +1844,19 @@ var AccordionItem = ({
1741
1844
  );
1742
1845
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
1743
1846
  const itemStyle = useMemo(
1744
- () => boxed ? [styles15.boxItem, { borderColor: colors.border }] : [styles15.item, { borderTopColor: colors.border }],
1847
+ () => boxed ? [styles16.boxItem, { borderColor: colors.border }] : [styles16.item, { borderTopColor: colors.border }],
1745
1848
  [boxed, colors.border]
1746
1849
  );
1747
1850
  const headerStyle = useMemo(
1748
1851
  () => [
1749
- styles15.header,
1750
- ...boxed ? [styles15.boxHeader] : [],
1852
+ styles16.header,
1853
+ ...boxed ? [styles16.boxHeader] : [],
1751
1854
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
1752
1855
  ],
1753
1856
  [boxed, disabled]
1754
1857
  );
1755
1858
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
1756
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles15.boxTitle : styles15.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1859
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles16.boxTitle : styles16.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1757
1860
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
1758
1861
  /* @__PURE__ */ jsxs(
1759
1862
  Pressable,
@@ -1770,7 +1873,7 @@ var AccordionItem = ({
1770
1873
  onPress: handlePress,
1771
1874
  ...keyboardProps,
1772
1875
  children: [
1773
- /* @__PURE__ */ jsxs(View, { style: [styles15.headerLeft, boxed ? styles15.headerLeftRow : null], children: [
1876
+ /* @__PURE__ */ jsxs(View, { style: [styles16.headerLeft, boxed ? styles16.headerLeftRow : null], children: [
1774
1877
  boxed ? (
1775
1878
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
1776
1879
  /* @__PURE__ */ jsx(
@@ -1779,15 +1882,15 @@ var AccordionItem = ({
1779
1882
  accessibilityElementsHidden: true,
1780
1883
  "aria-hidden": true,
1781
1884
  importantForAccessibility: "no-hide-descendants",
1782
- style: [styles15.marker, { transform: [{ rotate }] }],
1885
+ style: [styles16.marker, { transform: [{ rotate }] }],
1783
1886
  testID: chevronTestID,
1784
- children: /* @__PURE__ */ jsx(Text, { style: [styles15.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1887
+ children: /* @__PURE__ */ jsx(Text, { style: [styles16.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1785
1888
  }
1786
1889
  )
1787
1890
  ) : null,
1788
1891
  titleNode
1789
1892
  ] }),
1790
- /* @__PURE__ */ jsxs(View, { style: styles15.headerRight, children: [
1893
+ /* @__PURE__ */ jsxs(View, { style: styles16.headerRight, children: [
1791
1894
  right,
1792
1895
  boxed ? null : /* @__PURE__ */ jsx(
1793
1896
  Animated.View,
@@ -1795,7 +1898,7 @@ var AccordionItem = ({
1795
1898
  accessibilityElementsHidden: true,
1796
1899
  "aria-hidden": true,
1797
1900
  importantForAccessibility: "no-hide-descendants",
1798
- style: [styles15.chevron, { transform: [{ rotate }] }],
1901
+ style: [styles16.chevron, { transform: [{ rotate }] }],
1799
1902
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
1800
1903
  }
1801
1904
  )
@@ -1809,7 +1912,7 @@ var AccordionItem = ({
1809
1912
  accessibilityLabel: resolvedLabel,
1810
1913
  nativeID: bodyTestID,
1811
1914
  role: ROLE_REGION,
1812
- style: boxed ? styles15.boxBody : styles15.body,
1915
+ style: boxed ? styles16.boxBody : styles16.body,
1813
1916
  testID: bodyTestID,
1814
1917
  children
1815
1918
  }
@@ -1872,7 +1975,7 @@ function useAvailableWidth() {
1872
1975
  var AVG_CHAR_WIDTH_RATIO = 0.58;
1873
1976
  var DEFAULT_FONT_SIZE2 = 13;
1874
1977
  var UNMEASURED2 = 0;
1875
- var styles16 = StyleSheet.create({
1978
+ var styles17 = StyleSheet.create({
1876
1979
  base: { fontSize: DEFAULT_FONT_SIZE2 },
1877
1980
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
1878
1981
  fill: { flexShrink: 1, minWidth: 0 }
@@ -1903,7 +2006,7 @@ var TruncatedText = ({
1903
2006
  [value, measureRef]
1904
2007
  );
1905
2008
  const flatStyle = useMemo(
1906
- () => StyleSheet.flatten([styles16.base, style]),
2009
+ () => StyleSheet.flatten([styles17.base, style]),
1907
2010
  [style]
1908
2011
  );
1909
2012
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -1918,7 +2021,7 @@ var TruncatedText = ({
1918
2021
  ref: attachRef,
1919
2022
  onLayout,
1920
2023
  numberOfLines: 1,
1921
- style: [styles16.base, styles16.fill, style],
2024
+ style: [styles17.base, styles17.fill, style],
1922
2025
  testID,
1923
2026
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
1924
2027
  accessibilityLabel,
@@ -2021,7 +2124,7 @@ var LABEL_LETTER_SPACING = 0.4;
2021
2124
  var ACTION_PADDING_H = 6;
2022
2125
  var ACTION_PADDING_V = 2;
2023
2126
  var ACTION_RADIUS = 6;
2024
- var styles17 = StyleSheet.create({
2127
+ var styles18 = StyleSheet.create({
2025
2128
  cell: { gap: CELL_GAP },
2026
2129
  label: {
2027
2130
  fontSize: LABEL_FONT_SIZE,
@@ -2086,14 +2189,14 @@ var CopyableId = ({
2086
2189
  const { colors } = theme;
2087
2190
  const { status, copy } = useCopyToClipboard(value, writer);
2088
2191
  const action = useActionState(status);
2089
- return /* @__PURE__ */ jsxs(View, { style: [styles17.cell, style], testID, children: [
2090
- label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles17.label, { color: colors.textSecondary }], children: label }),
2091
- /* @__PURE__ */ jsxs(View, { style: styles17.row, children: [
2092
- /* @__PURE__ */ jsx(View, { style: styles17.valueWrap, children: /* @__PURE__ */ jsx(
2192
+ return /* @__PURE__ */ jsxs(View, { style: [styles18.cell, style], testID, children: [
2193
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles18.label, { color: colors.textSecondary }], children: label }),
2194
+ /* @__PURE__ */ jsxs(View, { style: styles18.row, children: [
2195
+ /* @__PURE__ */ jsx(View, { style: styles18.valueWrap, children: /* @__PURE__ */ jsx(
2093
2196
  TruncatedText,
2094
2197
  {
2095
2198
  value,
2096
- style: [styles17.value, { color: colors.text }],
2199
+ style: [styles18.value, { color: colors.text }],
2097
2200
  testID: `${testID}-value`,
2098
2201
  accessibilityLabel: accessibilityLabel ?? value,
2099
2202
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2107,7 +2210,7 @@ var CopyableId = ({
2107
2210
  accessibilityLabel: t(action.key),
2108
2211
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2109
2212
  testID: `${testID}-copy`,
2110
- style: [styles17.action, { color: action.color }],
2213
+ style: [styles18.action, { color: action.color }],
2111
2214
  children: t(action.key)
2112
2215
  }
2113
2216
  )
@@ -2162,7 +2265,7 @@ var FOOTER_PADDING_V = 6;
2162
2265
  var FOOTER_PADDING_H = 12;
2163
2266
  var FOOTER_FONT_SIZE = 11;
2164
2267
  var FOOTER_OPACITY = 0.75;
2165
- var styles18 = StyleSheet.create({
2268
+ var styles19 = StyleSheet.create({
2166
2269
  footer: {
2167
2270
  paddingVertical: FOOTER_PADDING_V,
2168
2271
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2188,7 +2291,7 @@ var BuildInfoFooter = ({
2188
2291
  const commit = apiCommit ?? fetchedCommit;
2189
2292
  const label = formatBuildInfo(buildVersion, commit);
2190
2293
  const textStyle = useMemo(
2191
- () => [styles18.text, { color: theme.colors.textSecondary }],
2294
+ () => [styles19.text, { color: theme.colors.textSecondary }],
2192
2295
  [theme.colors.textSecondary]
2193
2296
  );
2194
2297
  return /* @__PURE__ */ jsx(
@@ -2196,13 +2299,13 @@ var BuildInfoFooter = ({
2196
2299
  {
2197
2300
  accessibilityLabel: accessibilityLabel ?? label,
2198
2301
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2199
- style: [styles18.footer, style],
2302
+ style: [styles19.footer, style],
2200
2303
  testID,
2201
2304
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2202
2305
  }
2203
2306
  );
2204
2307
  };
2205
2308
 
2206
- 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, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isWideWebViewport, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap };
2309
+ 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 };
2207
2310
  //# sourceMappingURL=index.mjs.map
2208
2311
  //# sourceMappingURL=index.mjs.map