@dloizides/ui-layout 1.31.0 → 1.33.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,15 @@ 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
+ },
156
+ badgeDashed: {
157
+ borderWidth: 1,
158
+ borderStyle: "dashed"
159
+ },
149
160
  text: {
150
161
  fontSize: DEFAULT_FONT_SIZE,
151
162
  fontWeight: "600",
@@ -156,24 +167,130 @@ var StatusBadge = ({
156
167
  label,
157
168
  color,
158
169
  backgroundColor,
170
+ icon,
171
+ dashed = false,
159
172
  testID = LAYOUT_TEST_IDS.statusLabel,
160
173
  accessibilityLabel,
161
174
  accessibilityHint
162
175
  }) => {
163
176
  const { t } = useUi();
164
177
  const dynamicBadge = useMemo(() => ({ backgroundColor }), [backgroundColor]);
178
+ const dashedColor = useMemo(() => ({ borderColor: color }), [color]);
165
179
  const dynamicText = useMemo(() => ({ color }), [color]);
166
- return /* @__PURE__ */ jsx(
180
+ const hasIcon = icon !== void 0 && icon !== null;
181
+ return /* @__PURE__ */ jsxs(
167
182
  View,
168
183
  {
169
184
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.statusBadgeHint),
170
185
  accessibilityLabel: accessibilityLabel ?? label,
171
- style: [styles3.badge, dynamicBadge],
186
+ style: [styles3.badge, hasIcon && styles3.badgeWithIcon, dynamicBadge, dashed && styles3.badgeDashed, dashed && dashedColor],
172
187
  testID,
173
- children: /* @__PURE__ */ jsx(Text, { style: [styles3.text, dynamicText], children: label })
188
+ children: [
189
+ hasIcon ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }) : null,
190
+ /* @__PURE__ */ jsx(Text, { style: [styles3.text, dynamicText], children: label })
191
+ ]
174
192
  }
175
193
  );
176
194
  };
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
+ function isPastStickyLine(sentinelTop, isIntersecting, topOffset) {
202
+ return !isIntersecting && sentinelTop < topOffset;
203
+ }
204
+ function useStuckSentinel(topOffset) {
205
+ const sentinelRef = useRef(null);
206
+ const [isStuck, setIsStuck] = useState(false);
207
+ useEffect(() => {
208
+ const node = sentinelRef.current;
209
+ if (node === null || typeof IntersectionObserver === "undefined") return void 0;
210
+ const observer = new IntersectionObserver(
211
+ (entries) => {
212
+ const entry = entries[entries.length - 1];
213
+ if (entry !== void 0) setIsStuck(isPastStickyLine(entry.boundingClientRect.top, entry.isIntersecting, topOffset));
214
+ },
215
+ { rootMargin: `-${topOffset}px 0px 0px 0px` }
216
+ );
217
+ observer.observe(node);
218
+ return () => observer.disconnect();
219
+ }, [topOffset]);
220
+ return { sentinelRef, isStuck };
221
+ }
222
+ var KEYBOARD_HEIGHT_RATIO = 0.75;
223
+ var INITIAL = { offsetTop: 0, keyboardOpen: false };
224
+ function isKeyboardOpen(visibleHeight, tallestHeight) {
225
+ return visibleHeight < tallestHeight * KEYBOARD_HEIGHT_RATIO;
226
+ }
227
+ function useVisibleViewport() {
228
+ const [state, setState] = useState(INITIAL);
229
+ const tallest = useRef({ width: 0, height: 0 });
230
+ useEffect(() => {
231
+ const viewport = typeof window === "undefined" ? void 0 : window.visualViewport;
232
+ if (viewport === void 0 || viewport === null) return void 0;
233
+ const read = () => {
234
+ const unzoomedHeight = viewport.height * viewport.scale;
235
+ const unzoomedWidth = viewport.width * viewport.scale;
236
+ const widthChanged = tallest.current.width !== unzoomedWidth;
237
+ const height = widthChanged ? unzoomedHeight : Math.max(tallest.current.height, unzoomedHeight);
238
+ tallest.current = { width: unzoomedWidth, height };
239
+ const offsetTop = viewport.offsetTop;
240
+ const keyboardOpen = isKeyboardOpen(unzoomedHeight, height);
241
+ setState(
242
+ (previous) => previous.offsetTop === offsetTop && previous.keyboardOpen === keyboardOpen ? previous : { offsetTop, keyboardOpen }
243
+ );
244
+ };
245
+ read();
246
+ viewport.addEventListener("resize", read);
247
+ viewport.addEventListener("scroll", read);
248
+ return () => {
249
+ viewport.removeEventListener("resize", read);
250
+ viewport.removeEventListener("scroll", read);
251
+ };
252
+ }, []);
253
+ return state;
254
+ }
255
+ var STICKY_Z_INDEX = 5;
256
+ var styles4 = StyleSheet.create({
257
+ sentinel: { height: 1, marginBottom: -1 },
258
+ compact: { borderBottomWidth: 1 }
259
+ });
260
+ var StickyPreview = ({
261
+ full,
262
+ compact,
263
+ forceCompact = false,
264
+ topOffset = 0,
265
+ accessibilityLabel,
266
+ testID = LAYOUT_TEST_IDS.stickyPreview
267
+ }) => {
268
+ const { theme } = useUi();
269
+ const { offsetTop, keyboardOpen } = useVisibleViewport();
270
+ const { sentinelRef, isStuck } = useStuckSentinel(topOffset);
271
+ const isCompact = forceCompact || isStuck || keyboardOpen;
272
+ const pinned = useMemo(() => {
273
+ const web = { position: "sticky", top: topOffset + offsetTop, zIndex: STICKY_Z_INDEX };
274
+ return Platform.OS === WEB_PLATFORM ? web : {};
275
+ }, [offsetTop, topOffset]);
276
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
277
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles4.sentinel }),
278
+ /* @__PURE__ */ jsx(
279
+ View,
280
+ {
281
+ accessibilityLabel,
282
+ role: "region",
283
+ style: [
284
+ pinned,
285
+ { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
286
+ isCompact && styles4.compact
287
+ ],
288
+ testID,
289
+ children: /* @__PURE__ */ jsx(View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
290
+ }
291
+ )
292
+ ] });
293
+ };
177
294
  var TRACK_PADDING = 3;
178
295
  var TRACK_RADIUS = 999;
179
296
  var SEGMENT_RADIUS = 999;
@@ -185,7 +302,7 @@ var BORDER_WIDTH = 1;
185
302
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
186
303
  var SHADOW_ELEVATION = 2;
187
304
  var TRANSPARENT = "transparent";
188
- var styles4 = StyleSheet.create({
305
+ var styles5 = StyleSheet.create({
189
306
  track: {
190
307
  flexDirection: "row",
191
308
  alignSelf: "flex-start",
@@ -230,7 +347,7 @@ function SegmentedControl({
230
347
  {
231
348
  accessibilityRole: "tablist",
232
349
  "aria-label": accessibilityLabel,
233
- style: [styles4.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
350
+ style: [styles5.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
234
351
  testID,
235
352
  children: options.map((opt) => {
236
353
  const selected = opt.value === value;
@@ -243,13 +360,13 @@ function SegmentedControl({
243
360
  accessibilityHint: opt.accessibilityHint,
244
361
  onPress: () => onChange(opt.value),
245
362
  style: [
246
- styles4.segment,
247
- selected ? styles4.segmentSelected : null,
363
+ styles5.segment,
364
+ selected ? styles5.segmentSelected : null,
248
365
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
249
366
  ],
250
367
  testID: opt.testID,
251
368
  ...ariaSelectedProps(selected),
252
- children: /* @__PURE__ */ jsx(Text, { style: [styles4.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
369
+ children: /* @__PURE__ */ jsx(Text, { style: [styles5.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
253
370
  },
254
371
  opt.value
255
372
  );
@@ -386,7 +503,7 @@ var HEADING_PADDING_H = 16;
386
503
  var HEADING_PADDING_TOP = 8;
387
504
  var HEADING_PADDING_BOTTOM = 4;
388
505
  var HEADING_LETTER_SPACING = 0.5;
389
- var styles5 = StyleSheet.create({
506
+ var styles6 = StyleSheet.create({
390
507
  heading: {
391
508
  fontSize: HEADING_FONT_SIZE,
392
509
  fontWeight: HEADING_FONT_WEIGHT,
@@ -402,7 +519,7 @@ var MenuHeading = ({ testID, text }) => {
402
519
  Text,
403
520
  {
404
521
  accessibilityRole: "header",
405
- style: [styles5.heading, { color: theme.colors.textSecondary }],
522
+ style: [styles6.heading, { color: theme.colors.textSecondary }],
406
523
  testID: `${testID}-menu-heading`,
407
524
  children: text
408
525
  }
@@ -423,7 +540,7 @@ var OPTION_PADDING_V = 12;
423
540
  var ACCENT_BAR_WIDTH = 3;
424
541
  var CHECK_GAP = 8;
425
542
  var CHECK_GLYPH = "\u2713";
426
- var styles6 = StyleSheet.create({
543
+ var styles7 = StyleSheet.create({
427
544
  option: {
428
545
  paddingHorizontal: OPTION_PADDING_H,
429
546
  paddingVertical: OPTION_PADDING_V,
@@ -462,16 +579,16 @@ var OptionRow = ({
462
579
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
463
580
  const isActive = isSelected || isHighlighted;
464
581
  const rowStyle = [
465
- styles6.option,
466
- isMarked ? styles6.markedRow : null,
582
+ styles7.option,
583
+ isMarked ? styles7.markedRow : null,
467
584
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
468
585
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
469
586
  ];
470
587
  const textStyle = [
471
- styles6.optionText,
588
+ styles7.optionText,
472
589
  { color: colors.text },
473
- isSelected ? styles6.selectedText : null,
474
- isMarked ? styles6.markedText : null
590
+ isSelected ? styles7.selectedText : null,
591
+ isMarked ? styles7.markedText : null
475
592
  ];
476
593
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
477
594
  return /* @__PURE__ */ jsxs(
@@ -487,7 +604,7 @@ var OptionRow = ({
487
604
  onPress: handlePress,
488
605
  children: [
489
606
  /* @__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
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
491
608
  ]
492
609
  }
493
610
  );
@@ -645,7 +762,7 @@ var IS_WEB2 = Platform.OS === "web";
645
762
  var BORDER_RADIUS2 = 8;
646
763
  var BORDER_WIDTH3 = 1;
647
764
  var MENU_PADDING2 = 4;
648
- var styles7 = StyleSheet.create({
765
+ var styles8 = StyleSheet.create({
649
766
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
650
767
  popover: {
651
768
  position: "absolute",
@@ -732,7 +849,7 @@ var InlineMenu = ({
732
849
  themed
733
850
  ];
734
851
  }
735
- return [styles7.popover, { minWidth: menuMinWidth }, themed];
852
+ return [styles8.popover, { minWidth: menuMinWidth }, themed];
736
853
  }, [colors.border, colors.surface, menuMinWidth, rect]);
737
854
  const menu = /* @__PURE__ */ jsx(
738
855
  View,
@@ -747,10 +864,10 @@ var InlineMenu = ({
747
864
  Animated.View,
748
865
  {
749
866
  pointerEvents: isOpen ? "auto" : "none",
750
- style: [styles7.animated, animatedStyle, isOpen ? null : styles7.inert],
867
+ style: [styles8.animated, animatedStyle, isOpen ? null : styles8.inert],
751
868
  children: [
752
869
  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(
870
+ /* @__PURE__ */ jsx(ScrollView, { style: styles8.scroll, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
754
871
  OptionRow,
755
872
  {
756
873
  asMenuItem: true,
@@ -771,14 +888,6 @@ var InlineMenu = ({
771
888
  if (IS_WEB2) return createPortal(menu, document.body);
772
889
  return menu;
773
890
  };
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
891
  var MENU_BREAKPOINT = LAYOUT_COLLAPSE_BREAKPOINT;
783
892
  function resolveDropdownVariant(explicit, width, platformOS) {
784
893
  if (explicit !== void 0) return explicit;
@@ -806,7 +915,7 @@ var CARET_OPEN_ROTATION = "180deg";
806
915
  var CARET_CLOSED_ROTATION = "0deg";
807
916
  var POPOVER_ENTER_SCALE = 0.96;
808
917
  var POPOVER_MOTION_MS = 120;
809
- var styles8 = StyleSheet.create({
918
+ var styles9 = StyleSheet.create({
810
919
  anchor: { position: "relative" },
811
920
  container: {
812
921
  borderWidth: BORDER_WIDTH4,
@@ -921,19 +1030,19 @@ var ModalDropdown = ({
921
1030
  const isCaret = showCaret && !isHamburger;
922
1031
  const containerStyle = useMemo(
923
1032
  () => renderTrigger !== void 0 ? void 0 : [
924
- styles8.container,
925
- isHamburger ? styles8.containerHamburger : isCaret ? styles8.containerMenu : null,
1033
+ styles9.container,
1034
+ isHamburger ? styles9.containerHamburger : isCaret ? styles9.containerMenu : null,
926
1035
  { borderColor: colors.border, backgroundColor: colors.surface }
927
1036
  ],
928
1037
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
929
1038
  );
930
1039
  const hamburgerStyle = useMemo(
931
- () => [styles8.hamburger, { color: colors.textSecondary }],
1040
+ () => [styles9.hamburger, { color: colors.textSecondary }],
932
1041
  [colors.textSecondary]
933
1042
  );
934
1043
  const caretStyle = useMemo(
935
1044
  () => [
936
- styles8.caret,
1045
+ styles9.caret,
937
1046
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
938
1047
  ],
939
1048
  [colors.textSecondary, isOpen]
@@ -943,11 +1052,11 @@ var ModalDropdown = ({
943
1052
  [optionTestID, testID]
944
1053
  );
945
1054
  const anchorStyle = useMemo(
946
- () => [styles8.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1055
+ () => [styles9.anchor, buildAnchorStackStyle(isMenu && isOpen)],
947
1056
  [isMenu, isOpen]
948
1057
  );
949
1058
  const modalContentStyle = useMemo(
950
- () => [styles8.modalContent, { backgroundColor: colors.surface }],
1059
+ () => [styles9.modalContent, { backgroundColor: colors.surface }],
951
1060
  [colors.surface]
952
1061
  );
953
1062
  const renderModalOption = useCallback(
@@ -968,11 +1077,11 @@ var ModalDropdown = ({
968
1077
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
969
1078
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
970
1079
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
971
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles8.selectedText, styles8.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1080
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel })
972
1081
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
973
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles8.selectedText, styles8.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1082
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles9.selectedText, styles9.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
974
1083
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
975
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles8.selectedText, { color: colors.text }], children: selectedLabel }),
1084
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles9.selectedText, { color: colors.text }], children: selectedLabel }),
976
1085
  hintNode
977
1086
  ] }),
978
1087
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -993,7 +1102,7 @@ var ModalDropdown = ({
993
1102
  onSelect: handleSelect
994
1103
  }
995
1104
  ) : null,
996
- !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles8.modalOverlay, children: [
1105
+ !isMenu ? /* @__PURE__ */ jsx(Modal, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles9.modalOverlay, children: [
997
1106
  /* @__PURE__ */ jsx(
998
1107
  TouchableOpacity,
999
1108
  {
@@ -1086,7 +1195,7 @@ var ROW_PAD_V = 8;
1086
1195
  var PANEL_PAD_TOP = 16;
1087
1196
  var BORDER_WIDTH5 = 1;
1088
1197
  var TEXT_ON_PRIMARY = "#ffffff";
1089
- var styles9 = StyleSheet.create({
1198
+ var styles10 = StyleSheet.create({
1090
1199
  root: {
1091
1200
  width: "100%"
1092
1201
  },
@@ -1140,7 +1249,7 @@ var WideTabStrip = ({
1140
1249
  textSecondary,
1141
1250
  surfaceElevated,
1142
1251
  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) => {
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) => {
1144
1253
  const selected = tab.key === activeKey;
1145
1254
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1146
1255
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1154,10 +1263,10 @@ var WideTabStrip = ({
1154
1263
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1155
1264
  accessibilityHint: tab.accessibilityHint,
1156
1265
  onPress: () => onChange(tab.key),
1157
- style: [styles9.pill, { backgroundColor: pillColor }],
1266
+ style: [styles10.pill, { backgroundColor: pillColor }],
1158
1267
  testID: tab.testID,
1159
1268
  ...ariaTabProps(selected, panelId, tabId),
1160
- children: /* @__PURE__ */ jsx(Text, { style: [styles9.pillText, { color: textColor }], children: tab.label })
1269
+ children: /* @__PURE__ */ jsx(Text, { style: [styles10.pillText, { color: textColor }], children: tab.label })
1161
1270
  },
1162
1271
  tab.key
1163
1272
  );
@@ -1182,7 +1291,7 @@ var Tabs = ({
1182
1291
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1183
1292
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1184
1293
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1185
- return /* @__PURE__ */ jsxs(View, { style: [styles9.root, style], testID, children: [
1294
+ return /* @__PURE__ */ jsxs(View, { style: [styles10.root, style], testID, children: [
1186
1295
  collapsed ? /* @__PURE__ */ jsx(
1187
1296
  TabsMenu,
1188
1297
  {
@@ -1209,7 +1318,7 @@ var Tabs = ({
1209
1318
  onChange
1210
1319
  }
1211
1320
  ),
1212
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles9.panel, panelStyle], ...panelAria, children })
1321
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles10.panel, panelStyle], ...panelAria, children })
1213
1322
  ] });
1214
1323
  };
1215
1324
  var PROMPT_PADDING = 20;
@@ -1224,7 +1333,7 @@ var DISMISS_FONT_SIZE = 13;
1224
1333
  var TITLE_MARGIN_BOTTOM = 8;
1225
1334
  var MESSAGE_MARGIN_BOTTOM = 16;
1226
1335
  var CTA_MARGIN_BOTTOM = 8;
1227
- var styles10 = StyleSheet.create({
1336
+ var styles11 = StyleSheet.create({
1228
1337
  container: {
1229
1338
  padding: PROMPT_PADDING,
1230
1339
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1259,21 +1368,21 @@ var UpgradePrompt = ({
1259
1368
  return /* @__PURE__ */ jsxs(
1260
1369
  View,
1261
1370
  {
1262
- style: [styles10.container, { borderColor: primary, backgroundColor: colors.surface }],
1371
+ style: [styles11.container, { borderColor: primary, backgroundColor: colors.surface }],
1263
1372
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1264
1373
  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) }),
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) }),
1267
1376
  /* @__PURE__ */ jsx(
1268
1377
  TouchableOpacity,
1269
1378
  {
1270
1379
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1271
1380
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1272
1381
  accessibilityRole: "button",
1273
- style: [styles10.cta, { backgroundColor: primary }],
1382
+ style: [styles11.cta, { backgroundColor: primary }],
1274
1383
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1275
1384
  onPress: handleUpgradePress,
1276
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1385
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1277
1386
  }
1278
1387
  ),
1279
1388
  onDismiss ? /* @__PURE__ */ jsx(
@@ -1282,10 +1391,10 @@ var UpgradePrompt = ({
1282
1391
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1283
1392
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1284
1393
  accessibilityRole: "button",
1285
- style: styles10.dismiss,
1394
+ style: styles11.dismiss,
1286
1395
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1287
1396
  onPress: onDismiss,
1288
- children: /* @__PURE__ */ jsx(Text, { style: [styles10.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1397
+ children: /* @__PURE__ */ jsx(Text, { style: [styles11.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1289
1398
  }
1290
1399
  ) : null
1291
1400
  ]
@@ -1294,7 +1403,7 @@ var UpgradePrompt = ({
1294
1403
  };
1295
1404
  var CLOSE_ICON_SIZE = 18;
1296
1405
  var PANEL_ENTER_SCALE = 0.96;
1297
- var styles11 = StyleSheet.create({
1406
+ var styles12 = StyleSheet.create({
1298
1407
  animatedFill: { flex: 1 },
1299
1408
  container: {
1300
1409
  flex: 1,
@@ -1320,8 +1429,8 @@ var ModalShell = ({
1320
1429
  }) => {
1321
1430
  const { theme, t } = useUi();
1322
1431
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE });
1323
- const containerStyle = React10.useMemo(
1324
- () => [styles11.container, { backgroundColor: theme.colors.background }, contentStyle],
1432
+ const containerStyle = React11.useMemo(
1433
+ () => [styles12.container, { backgroundColor: theme.colors.background }, contentStyle],
1325
1434
  [theme.colors.background, contentStyle]
1326
1435
  );
1327
1436
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1333,7 +1442,7 @@ var ModalShell = ({
1333
1442
  testID: LAYOUT_TEST_IDS.modalShell,
1334
1443
  visible: mounted,
1335
1444
  onRequestClose: onCancel,
1336
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles11.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1445
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles12.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1337
1446
  ScrollView,
1338
1447
  {
1339
1448
  accessibilityViewIsModal: true,
@@ -1341,7 +1450,7 @@ var ModalShell = ({
1341
1450
  role: "dialog",
1342
1451
  style: containerStyle,
1343
1452
  children: [
1344
- /* @__PURE__ */ jsxs(View, { style: styles11.headerRow, children: [
1453
+ /* @__PURE__ */ jsxs(View, { style: styles12.headerRow, children: [
1345
1454
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1346
1455
  showClose ? /* @__PURE__ */ jsx(
1347
1456
  TouchableOpacity,
@@ -1349,7 +1458,7 @@ var ModalShell = ({
1349
1458
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1350
1459
  accessibilityLabel: closeA11yLabel,
1351
1460
  accessibilityRole: "button",
1352
- style: styles11.closeButton,
1461
+ style: styles12.closeButton,
1353
1462
  testID: LAYOUT_TEST_IDS.modalShellClose,
1354
1463
  onPress: onCancel,
1355
1464
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1395,7 +1504,7 @@ var HEADER_MARGIN = 12;
1395
1504
  var DIALOG_MAX_HEIGHT = "90%";
1396
1505
  var PANEL_ENTER_SCALE2 = 0.96;
1397
1506
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640 };
1398
- var styles12 = StyleSheet.create({
1507
+ var styles13 = StyleSheet.create({
1399
1508
  overlay: {
1400
1509
  flex: 1,
1401
1510
  justifyContent: "center",
@@ -1447,15 +1556,15 @@ var Modal3 = ({
1447
1556
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
1448
1557
  const closeLabel = t(LAYOUT_I18N.dialogClose);
1449
1558
  const dialogStyle = useMemo(
1450
- () => [styles12.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1559
+ () => [styles13.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
1451
1560
  [theme.colors.surface, size]
1452
1561
  );
1453
1562
  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: [
1563
+ return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles13.overlay, children: [
1455
1564
  /* @__PURE__ */ jsx(
1456
1565
  Animated.View,
1457
1566
  {
1458
- style: [StyleSheet.absoluteFill, styles12.scrim, { opacity: backdrop.style.opacity }]
1567
+ style: [StyleSheet.absoluteFill, styles13.scrim, { opacity: backdrop.style.opacity }]
1459
1568
  }
1460
1569
  ),
1461
1570
  /* @__PURE__ */ jsx(
@@ -1481,8 +1590,8 @@ var Modal3 = ({
1481
1590
  style: [dialogStyle, panel.style],
1482
1591
  testID,
1483
1592
  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 }),
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 }),
1486
1595
  showClose ? /* @__PURE__ */ jsx(
1487
1596
  IconButton,
1488
1597
  {
@@ -1499,7 +1608,7 @@ var Modal3 = ({
1499
1608
  ) : null
1500
1609
  ] }) : null,
1501
1610
  /* @__PURE__ */ jsx(ScrollView, { children }),
1502
- footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles12.footer, children: footer }) : null
1611
+ footer !== void 0 ? /* @__PURE__ */ jsx(View, { style: styles13.footer, children: footer }) : null
1503
1612
  ]
1504
1613
  }
1505
1614
  )
@@ -1508,7 +1617,7 @@ var Modal3 = ({
1508
1617
  var MESSAGE_FONT_SIZE2 = 14;
1509
1618
  var MESSAGE_LINE_HEIGHT = 20;
1510
1619
  var BUTTON_GAP = 12;
1511
- var styles13 = StyleSheet.create({
1620
+ var styles14 = StyleSheet.create({
1512
1621
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1513
1622
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1514
1623
  });
@@ -1527,7 +1636,7 @@ var ConfirmDialog = ({
1527
1636
  const { theme, t } = useUi();
1528
1637
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1529
1638
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1530
- const footer = /* @__PURE__ */ jsxs(View, { style: styles13.footer, children: [
1639
+ const footer = /* @__PURE__ */ jsxs(View, { style: styles14.footer, children: [
1531
1640
  /* @__PURE__ */ jsx(
1532
1641
  Button,
1533
1642
  {
@@ -1563,7 +1672,7 @@ var ConfirmDialog = ({
1563
1672
  title,
1564
1673
  visible,
1565
1674
  onClose: onCancel,
1566
- children: /* @__PURE__ */ jsx(Text, { style: [styles13.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1675
+ children: /* @__PURE__ */ jsx(Text, { style: [styles14.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1567
1676
  }
1568
1677
  );
1569
1678
  };
@@ -1576,14 +1685,14 @@ function useAccordionContext() {
1576
1685
  return value;
1577
1686
  }
1578
1687
  var BOXED_GAP = 12;
1579
- var styles14 = StyleSheet.create({
1688
+ var styles15 = StyleSheet.create({
1580
1689
  container: { alignSelf: "stretch" },
1581
1690
  boxed: { gap: BOXED_GAP }
1582
1691
  });
1583
1692
  function computeInitialOpen(children, defaultOpenIds, allowMultiple) {
1584
1693
  const ids = new Set(defaultOpenIds ?? []);
1585
- React10.Children.forEach(children, (child) => {
1586
- if (!React10.isValidElement(child)) return;
1694
+ React11.Children.forEach(children, (child) => {
1695
+ if (!React11.isValidElement(child)) return;
1587
1696
  const props = child.props;
1588
1697
  if (props.defaultOpen === true && typeof props.id === "string") {
1589
1698
  ids.add(props.id);
@@ -1633,7 +1742,7 @@ var Accordion = ({
1633
1742
  [openSet, toggle, allowMultiple, variant]
1634
1743
  );
1635
1744
  const containerStyle = useMemo(() => {
1636
- const base = variant === "boxed" ? [styles14.container, styles14.boxed] : [styles14.container];
1745
+ const base = variant === "boxed" ? [styles15.container, styles15.boxed] : [styles15.container];
1637
1746
  if (style === void 0) return base;
1638
1747
  return [...base, ...Array.isArray(style) ? style : [style]];
1639
1748
  }, [style, variant]);
@@ -1665,7 +1774,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1665
1774
  var BOX_MARKER_FONT_SIZE = 13;
1666
1775
  var BOX_MARKER_GAP = 6;
1667
1776
  var BOX_MARKER = "\u25B8";
1668
- var styles15 = StyleSheet.create({
1777
+ var styles16 = StyleSheet.create({
1669
1778
  item: { borderTopWidth: StyleSheet.hairlineWidth },
1670
1779
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1671
1780
  header: {
@@ -1741,19 +1850,19 @@ var AccordionItem = ({
1741
1850
  );
1742
1851
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
1743
1852
  const itemStyle = useMemo(
1744
- () => boxed ? [styles15.boxItem, { borderColor: colors.border }] : [styles15.item, { borderTopColor: colors.border }],
1853
+ () => boxed ? [styles16.boxItem, { borderColor: colors.border }] : [styles16.item, { borderTopColor: colors.border }],
1745
1854
  [boxed, colors.border]
1746
1855
  );
1747
1856
  const headerStyle = useMemo(
1748
1857
  () => [
1749
- styles15.header,
1750
- ...boxed ? [styles15.boxHeader] : [],
1858
+ styles16.header,
1859
+ ...boxed ? [styles16.boxHeader] : [],
1751
1860
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
1752
1861
  ],
1753
1862
  [boxed, disabled]
1754
1863
  );
1755
1864
  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;
1865
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles16.boxTitle : styles16.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
1757
1866
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
1758
1867
  /* @__PURE__ */ jsxs(
1759
1868
  Pressable,
@@ -1770,7 +1879,7 @@ var AccordionItem = ({
1770
1879
  onPress: handlePress,
1771
1880
  ...keyboardProps,
1772
1881
  children: [
1773
- /* @__PURE__ */ jsxs(View, { style: [styles15.headerLeft, boxed ? styles15.headerLeftRow : null], children: [
1882
+ /* @__PURE__ */ jsxs(View, { style: [styles16.headerLeft, boxed ? styles16.headerLeftRow : null], children: [
1774
1883
  boxed ? (
1775
1884
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
1776
1885
  /* @__PURE__ */ jsx(
@@ -1779,15 +1888,15 @@ var AccordionItem = ({
1779
1888
  accessibilityElementsHidden: true,
1780
1889
  "aria-hidden": true,
1781
1890
  importantForAccessibility: "no-hide-descendants",
1782
- style: [styles15.marker, { transform: [{ rotate }] }],
1891
+ style: [styles16.marker, { transform: [{ rotate }] }],
1783
1892
  testID: chevronTestID,
1784
- children: /* @__PURE__ */ jsx(Text, { style: [styles15.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1893
+ children: /* @__PURE__ */ jsx(Text, { style: [styles16.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
1785
1894
  }
1786
1895
  )
1787
1896
  ) : null,
1788
1897
  titleNode
1789
1898
  ] }),
1790
- /* @__PURE__ */ jsxs(View, { style: styles15.headerRight, children: [
1899
+ /* @__PURE__ */ jsxs(View, { style: styles16.headerRight, children: [
1791
1900
  right,
1792
1901
  boxed ? null : /* @__PURE__ */ jsx(
1793
1902
  Animated.View,
@@ -1795,7 +1904,7 @@ var AccordionItem = ({
1795
1904
  accessibilityElementsHidden: true,
1796
1905
  "aria-hidden": true,
1797
1906
  importantForAccessibility: "no-hide-descendants",
1798
- style: [styles15.chevron, { transform: [{ rotate }] }],
1907
+ style: [styles16.chevron, { transform: [{ rotate }] }],
1799
1908
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
1800
1909
  }
1801
1910
  )
@@ -1809,7 +1918,7 @@ var AccordionItem = ({
1809
1918
  accessibilityLabel: resolvedLabel,
1810
1919
  nativeID: bodyTestID,
1811
1920
  role: ROLE_REGION,
1812
- style: boxed ? styles15.boxBody : styles15.body,
1921
+ style: boxed ? styles16.boxBody : styles16.body,
1813
1922
  testID: bodyTestID,
1814
1923
  children
1815
1924
  }
@@ -1872,7 +1981,7 @@ function useAvailableWidth() {
1872
1981
  var AVG_CHAR_WIDTH_RATIO = 0.58;
1873
1982
  var DEFAULT_FONT_SIZE2 = 13;
1874
1983
  var UNMEASURED2 = 0;
1875
- var styles16 = StyleSheet.create({
1984
+ var styles17 = StyleSheet.create({
1876
1985
  base: { fontSize: DEFAULT_FONT_SIZE2 },
1877
1986
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
1878
1987
  fill: { flexShrink: 1, minWidth: 0 }
@@ -1903,7 +2012,7 @@ var TruncatedText = ({
1903
2012
  [value, measureRef]
1904
2013
  );
1905
2014
  const flatStyle = useMemo(
1906
- () => StyleSheet.flatten([styles16.base, style]),
2015
+ () => StyleSheet.flatten([styles17.base, style]),
1907
2016
  [style]
1908
2017
  );
1909
2018
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -1918,7 +2027,7 @@ var TruncatedText = ({
1918
2027
  ref: attachRef,
1919
2028
  onLayout,
1920
2029
  numberOfLines: 1,
1921
- style: [styles16.base, styles16.fill, style],
2030
+ style: [styles17.base, styles17.fill, style],
1922
2031
  testID,
1923
2032
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
1924
2033
  accessibilityLabel,
@@ -2021,7 +2130,7 @@ var LABEL_LETTER_SPACING = 0.4;
2021
2130
  var ACTION_PADDING_H = 6;
2022
2131
  var ACTION_PADDING_V = 2;
2023
2132
  var ACTION_RADIUS = 6;
2024
- var styles17 = StyleSheet.create({
2133
+ var styles18 = StyleSheet.create({
2025
2134
  cell: { gap: CELL_GAP },
2026
2135
  label: {
2027
2136
  fontSize: LABEL_FONT_SIZE,
@@ -2086,14 +2195,14 @@ var CopyableId = ({
2086
2195
  const { colors } = theme;
2087
2196
  const { status, copy } = useCopyToClipboard(value, writer);
2088
2197
  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(
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(
2093
2202
  TruncatedText,
2094
2203
  {
2095
2204
  value,
2096
- style: [styles17.value, { color: colors.text }],
2205
+ style: [styles18.value, { color: colors.text }],
2097
2206
  testID: `${testID}-value`,
2098
2207
  accessibilityLabel: accessibilityLabel ?? value,
2099
2208
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2107,7 +2216,7 @@ var CopyableId = ({
2107
2216
  accessibilityLabel: t(action.key),
2108
2217
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2109
2218
  testID: `${testID}-copy`,
2110
- style: [styles17.action, { color: action.color }],
2219
+ style: [styles18.action, { color: action.color }],
2111
2220
  children: t(action.key)
2112
2221
  }
2113
2222
  )
@@ -2162,7 +2271,7 @@ var FOOTER_PADDING_V = 6;
2162
2271
  var FOOTER_PADDING_H = 12;
2163
2272
  var FOOTER_FONT_SIZE = 11;
2164
2273
  var FOOTER_OPACITY = 0.75;
2165
- var styles18 = StyleSheet.create({
2274
+ var styles19 = StyleSheet.create({
2166
2275
  footer: {
2167
2276
  paddingVertical: FOOTER_PADDING_V,
2168
2277
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2188,7 +2297,7 @@ var BuildInfoFooter = ({
2188
2297
  const commit = apiCommit ?? fetchedCommit;
2189
2298
  const label = formatBuildInfo(buildVersion, commit);
2190
2299
  const textStyle = useMemo(
2191
- () => [styles18.text, { color: theme.colors.textSecondary }],
2300
+ () => [styles19.text, { color: theme.colors.textSecondary }],
2192
2301
  [theme.colors.textSecondary]
2193
2302
  );
2194
2303
  return /* @__PURE__ */ jsx(
@@ -2196,13 +2305,13 @@ var BuildInfoFooter = ({
2196
2305
  {
2197
2306
  accessibilityLabel: accessibilityLabel ?? label,
2198
2307
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2199
- style: [styles18.footer, style],
2308
+ style: [styles19.footer, style],
2200
2309
  testID,
2201
2310
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2202
2311
  }
2203
2312
  );
2204
2313
  };
2205
2314
 
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 };
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 };
2207
2316
  //# sourceMappingURL=index.mjs.map
2208
2317
  //# sourceMappingURL=index.mjs.map