@dloizides/ui-forms 1.62.0 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -632,6 +632,16 @@ var FormActions = ({
632
632
  }
633
633
  )
634
634
  ] });
635
+ var ICON_INSET = 12;
636
+ var ICON_ROOM = 36;
637
+ var styles11 = reactNative.StyleSheet.create({
638
+ box: { justifyContent: "center" },
639
+ icon: { position: "absolute", left: ICON_INSET, zIndex: 1 }
640
+ });
641
+ var FieldIcon = ({ icon, children }) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.box, children: [
642
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles11.icon, testID: "form-field-icon", children: icon }),
643
+ children
644
+ ] });
635
645
  var FIELD_GAP = 4;
636
646
  var LABEL_FONT = 11;
637
647
  var LABEL_LETTER_SPACING = 0.4;
@@ -726,7 +736,7 @@ var DETAIL_FONT = 12;
726
736
  var DETAIL_GAP = 12;
727
737
  var STACK_GAP = 2;
728
738
  var DETAIL_BESIDE_MIN_MENU_WIDTH = 400;
729
- var styles11 = reactNative.StyleSheet.create({
739
+ var styles12 = reactNative.StyleSheet.create({
730
740
  beside: { alignItems: "baseline", flexDirection: "row", gap: DETAIL_GAP, justifyContent: "space-between" },
731
741
  stacked: { gap: STACK_GAP },
732
742
  shrink: { flexShrink: 1 },
@@ -761,9 +771,9 @@ function OptionRow({ option, isActive, isHighlighted, isListboxRow, menuWidth, h
761
771
  onPress: () => onSelect(option.value),
762
772
  style: [controlStyles.option, isHighlighted ? { backgroundColor: colors.text } : null],
763
773
  testID: `${testID}-option-${option.value}`,
764
- children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: isDetailBesideTitle(menuWidth) ? styles11.beside : styles11.stacked, children: [
765
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [controlStyles.optionText, styles11.shrink, { color: ink.title, fontWeight: isBold ? ACTIVE_WEIGHT : IDLE_WEIGHT }], children: option.label }),
766
- hasDetail ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.detail, { color: ink.detail }], children: option.detail }) : null
774
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: isDetailBesideTitle(menuWidth) ? styles12.beside : styles12.stacked, children: [
775
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [controlStyles.optionText, styles12.shrink, { color: ink.title, fontWeight: isBold ? ACTIVE_WEIGHT : IDLE_WEIGHT }], children: option.label }),
776
+ hasDetail ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles12.detail, { color: ink.detail }], children: option.detail }) : null
767
777
  ] })
768
778
  }
769
779
  );
@@ -1329,6 +1339,7 @@ function useAutoGrowRows(text, minRows) {
1329
1339
  }, []);
1330
1340
  return { numberOfLines: rowsForText(text, inputWidth, minRows), onLayout };
1331
1341
  }
1342
+ var iconRoom = { paddingLeft: ICON_ROOM };
1332
1343
  var PlainFormField = ({
1333
1344
  label,
1334
1345
  labelHidden = false,
@@ -1339,6 +1350,7 @@ var PlainFormField = ({
1339
1350
  recentMax,
1340
1351
  inputRef,
1341
1352
  labelVariant,
1353
+ icon,
1342
1354
  ...textInputProps
1343
1355
  }) => /* @__PURE__ */ jsxRuntime.jsx(
1344
1356
  Field,
@@ -1359,7 +1371,7 @@ var PlainFormField = ({
1359
1371
  testID: "form-field-input",
1360
1372
  ...textInputProps
1361
1373
  };
1362
- return recentKey !== void 0 && recentKey !== "" ? /* @__PURE__ */ jsxRuntime.jsx(RecentInputField, { label, recentKey, recentMax, ...inputProps }) : /* @__PURE__ */ jsxRuntime.jsx(ThemedTextInput, { ref: inputRef, ...inputProps });
1374
+ return recentKey !== void 0 && recentKey !== "" ? /* @__PURE__ */ jsxRuntime.jsx(RecentInputField, { label, recentKey, recentMax, ...inputProps }) : icon === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(ThemedTextInput, { ref: inputRef, ...inputProps }) : /* @__PURE__ */ jsxRuntime.jsx(FieldIcon, { icon, children: /* @__PURE__ */ jsxRuntime.jsx(ThemedTextInput, { ref: inputRef, style: iconRoom, ...inputProps }) });
1363
1375
  }
1364
1376
  }
1365
1377
  );
@@ -1380,7 +1392,7 @@ var AutoGrowFormField = ({
1380
1392
  };
1381
1393
  var FormField = ({ autoGrowMinRows, ...fieldProps }) => autoGrowMinRows === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(PlainFormField, { ...fieldProps }) : /* @__PURE__ */ jsxRuntime.jsx(AutoGrowFormField, { ...fieldProps, minRows: autoGrowMinRows });
1382
1394
  var TEXT_INPUT_HEIGHT = 48;
1383
- var styles12 = reactNative.StyleSheet.create({
1395
+ var styles13 = reactNative.StyleSheet.create({
1384
1396
  track: { padding: 0, borderWidth: 0 },
1385
1397
  besideTextInput: {
1386
1398
  padding: 0,
@@ -1389,8 +1401,8 @@ var styles12 = reactNative.StyleSheet.create({
1389
1401
  alignItems: "stretch"
1390
1402
  }
1391
1403
  });
1392
- var SEGMENT_BESIDE_FIELD = styles12.track;
1393
- var SEGMENT_BESIDE_TEXT_INPUT = styles12.besideTextInput;
1404
+ var SEGMENT_BESIDE_FIELD = styles13.track;
1405
+ var SEGMENT_BESIDE_TEXT_INPUT = styles13.besideTextInput;
1394
1406
 
1395
1407
  // src/ChipSelector/constants.ts
1396
1408
  var TRANSPARENT_COLOR = "transparent";
@@ -1761,7 +1773,7 @@ function chipIdentity(option, selected, config) {
1761
1773
  ariaChecked: isRadio ? selected : void 0
1762
1774
  };
1763
1775
  }
1764
- var styles13 = reactNative.StyleSheet.create({
1776
+ var styles14 = reactNative.StyleSheet.create({
1765
1777
  chipContainer: {
1766
1778
  flexDirection: "row",
1767
1779
  flexWrap: "wrap",
@@ -1855,7 +1867,7 @@ var ChipSelector = ({
1855
1867
  reactNative.View,
1856
1868
  {
1857
1869
  accessibilityRole: isRadioGroup ? "radiogroup" : void 0,
1858
- style: [styles13.chipContainer, chipRowGap(size)],
1870
+ style: [styles14.chipContainer, chipRowGap(size)],
1859
1871
  ...webFieldA11y({ describedById, hasError }),
1860
1872
  ...radio.groupProps,
1861
1873
  children: options.map(renderChip)
@@ -1865,7 +1877,7 @@ var ChipSelector = ({
1865
1877
  );
1866
1878
  };
1867
1879
  var BOX_SLOT_PAD_H = 10;
1868
- var styles14 = reactNative.StyleSheet.create({
1880
+ var styles15 = reactNative.StyleSheet.create({
1869
1881
  row: {
1870
1882
  minWidth: a11y.MIN_TOUCH_TARGET_PX,
1871
1883
  minHeight: a11y.MIN_TOUCH_TARGET_PX,
@@ -1888,7 +1900,7 @@ var SwitchSlot = ({
1888
1900
  accessibilityHint,
1889
1901
  activeTrackColor,
1890
1902
  inBox = false
1891
- }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: inBox ? styles14.box : styles14.row, testID: `${testID}-hitbox`, children: /* @__PURE__ */ jsxRuntime.jsx(
1903
+ }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: inBox ? styles15.box : styles15.row, testID: `${testID}-hitbox`, children: /* @__PURE__ */ jsxRuntime.jsx(
1892
1904
  reactNative.Switch,
1893
1905
  {
1894
1906
  accessibilityHint: accessibilityHint ?? label,
@@ -1905,7 +1917,7 @@ var BOX_RADIUS = 8;
1905
1917
  var BOX_PAD_LEFT = 10;
1906
1918
  var BOX_BORDER = 1;
1907
1919
  var STATE_FONT_SIZE = 13;
1908
- var styles15 = reactNative.StyleSheet.create({
1920
+ var styles16 = reactNative.StyleSheet.create({
1909
1921
  box: {
1910
1922
  flexDirection: "row",
1911
1923
  alignItems: "center",
@@ -1940,19 +1952,19 @@ var FormSwitchBox = ({
1940
1952
  {
1941
1953
  accessible: false,
1942
1954
  disabled,
1943
- style: [styles15.box, boxColors],
1955
+ style: [styles16.box, boxColors],
1944
1956
  tabIndex: -1,
1945
1957
  testID: slot.testID,
1946
1958
  onPress: toggle2,
1947
1959
  children: [
1948
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles15.state, { color: colors.text }], children: stateLabel ?? "" }),
1960
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles16.state, { color: colors.text }], children: stateLabel ?? "" }),
1949
1961
  /* @__PURE__ */ jsxRuntime.jsx(SwitchSlot, { ...slot, inBox: true })
1950
1962
  ]
1951
1963
  }
1952
1964
  ) });
1953
1965
  };
1954
1966
  var DESCRIPTION_FONT_SIZE2 = 12;
1955
- var styles16 = reactNative.StyleSheet.create({
1967
+ var styles17 = reactNative.StyleSheet.create({
1956
1968
  container: {
1957
1969
  flexDirection: "row",
1958
1970
  justifyContent: "space-between",
@@ -2008,13 +2020,13 @@ var FormSwitchRow = ({
2008
2020
  accessible: false,
2009
2021
  disabled,
2010
2022
  onPress: toggle2,
2011
- style: [styles16.container, containerStyle],
2023
+ style: [styles17.container, containerStyle],
2012
2024
  tabIndex: -1,
2013
2025
  testID,
2014
2026
  children: [
2015
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.textColumn, children: [
2016
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.label, themeStyles.label], children: label }),
2017
- hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.description, themeStyles.description], children: description }) : null
2027
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.textColumn, children: [
2028
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.label, themeStyles.label], children: label }),
2029
+ hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.description, themeStyles.description], children: description }) : null
2018
2030
  ] }),
2019
2031
  /* @__PURE__ */ jsxRuntime.jsx(
2020
2032
  SwitchSlot,
@@ -2065,7 +2077,7 @@ var DISABLED_OPACITY = 0.5;
2065
2077
  var FOCUS_RING_WIDTH = 2;
2066
2078
  var WEB_NO_DEFAULT_OUTLINE = { outlineStyle: "none" };
2067
2079
  var FOCUS_RING_INSET = -6;
2068
- var styles17 = reactNative.StyleSheet.create({
2080
+ var styles18 = reactNative.StyleSheet.create({
2069
2081
  container: {
2070
2082
  flexDirection: "row",
2071
2083
  alignItems: "flex-start",
@@ -2181,9 +2193,9 @@ var FormCheckbox = ({
2181
2193
  onPress: toggle2,
2182
2194
  role: "checkbox",
2183
2195
  style: [
2184
- styles17.container,
2185
- hasHint ? null : styles17.centered,
2186
- labelHidden ? styles17.boxOnly : null,
2196
+ styles18.container,
2197
+ hasHint ? null : styles18.centered,
2198
+ labelHidden ? styles18.boxOnly : null,
2187
2199
  containerStyle,
2188
2200
  disabled ? { opacity: DISABLED_OPACITY } : null,
2189
2201
  reactNative.Platform.OS === "web" ? WEB_NO_DEFAULT_OUTLINE : null
@@ -2191,13 +2203,13 @@ var FormCheckbox = ({
2191
2203
  testID,
2192
2204
  ...keyboardProps,
2193
2205
  children: [
2194
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.box, lookBox, value ? themeStyles.boxOn : themeStyles.boxOff], testID: `${testID}-box`, children: [
2195
- focused ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: [styles17.focusRing, themeStyles.ring], testID: `${testID}-focus-ring` }) : null,
2196
- value ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityElementsHidden: true, pointerEvents: "none", style: [styles17.tick, themeStyles.tick], testID: `${testID}-tick` }) : null
2206
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.box, lookBox, value ? themeStyles.boxOn : themeStyles.boxOff], testID: `${testID}-box`, children: [
2207
+ focused ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: [styles18.focusRing, themeStyles.ring], testID: `${testID}-focus-ring` }) : null,
2208
+ value ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityElementsHidden: true, pointerEvents: "none", style: [styles18.tick, themeStyles.tick], testID: `${testID}-tick` }) : null
2197
2209
  ] }),
2198
- labelHidden ? null : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.textColumn, children: [
2199
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.label, themeStyles.label], children: label }),
2200
- hasHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { nativeID: hintId, style: [styles17.hint, themeStyles.hint], children: hintText }) : null
2210
+ labelHidden ? null : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.textColumn, children: [
2211
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.label, themeStyles.label], children: label }),
2212
+ hasHint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { nativeID: hintId, style: [styles18.hint, themeStyles.hint], children: hintText }) : null
2201
2213
  ] })
2202
2214
  ]
2203
2215
  }
@@ -2544,7 +2556,7 @@ var CHIP_PAD_H = 8;
2544
2556
  var CHIP_PAD_V = 4;
2545
2557
  var CHIP_RADIUS = 999;
2546
2558
  var CHIP_FONT = 13;
2547
- var styles18 = reactNative.StyleSheet.create({
2559
+ var styles19 = reactNative.StyleSheet.create({
2548
2560
  chip: {
2549
2561
  flexDirection: "row",
2550
2562
  alignItems: "center",
@@ -2565,12 +2577,12 @@ function SelectedChip({ option, colors, removeLabel, removeHint, onRemove, testI
2565
2577
  accessibilityLabel: removeLabel,
2566
2578
  accessibilityRole: "button",
2567
2579
  hitSlop: CHIP_HIT_SLOP,
2568
- style: [styles18.chip, { borderColor: colors.border, backgroundColor: colors.surface }],
2580
+ style: [styles19.chip, { borderColor: colors.border, backgroundColor: colors.surface }],
2569
2581
  testID,
2570
2582
  onPress: () => onRemove(option.value),
2571
2583
  children: [
2572
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles18.text, { color: colors.text }], children: option.label }),
2573
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles18.text, { color: colors.text }], children: REMOVE_GLYPH })
2584
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles19.text, { color: colors.text }], children: option.label }),
2585
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles19.text, { color: colors.text }], children: REMOVE_GLYPH })
2574
2586
  ]
2575
2587
  }
2576
2588
  );
@@ -2593,7 +2605,7 @@ var CHEVRON_DOWN2 = "\u25BE";
2593
2605
  var CHEVRON_UP2 = "\u25B4";
2594
2606
  var BOX_GAP = 6;
2595
2607
  var TRIGGER_MIN_WIDTH = 96;
2596
- var styles19 = reactNative.StyleSheet.create({
2608
+ var styles20 = reactNative.StyleSheet.create({
2597
2609
  box: { flexWrap: "wrap", justifyContent: "flex-start", gap: BOX_GAP },
2598
2610
  trigger: {
2599
2611
  flexGrow: 1,
@@ -2627,7 +2639,7 @@ function MultiSelectBox(props) {
2627
2639
  const chipColors = { text: colors.text, border: colors.border, surface: colors.surface };
2628
2640
  const summary = chosen.map((option) => option.label).join(", ");
2629
2641
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: controlStyles.anchor, children: [
2630
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [controlStyles.selectTrigger, styles19.box, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], testID: `${testID}-box`, children: [
2642
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [controlStyles.selectTrigger, styles20.box, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], testID: `${testID}-box`, children: [
2631
2643
  chosen.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
2632
2644
  SelectedChip,
2633
2645
  {
@@ -2651,7 +2663,7 @@ function MultiSelectBox(props) {
2651
2663
  "aria-haspopup": "menu",
2652
2664
  "aria-labelledby": labelId,
2653
2665
  disabled: remaining.length === 0,
2654
- style: styles19.trigger,
2666
+ style: styles20.trigger,
2655
2667
  testID: `${testID}-trigger`,
2656
2668
  onPress: toggle2,
2657
2669
  children: [
@@ -3091,20 +3103,20 @@ function DropdownSurface({ progress, translateY, anchorRef, onDismiss, closeLabe
3091
3103
  const place = frame === null ? null : { left: frame.left, width: frame.width, top: frame.top, bottom: frame.bottom };
3092
3104
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: [
3093
3105
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { accessibilityHint: closeHint, accessibilityLabel: closeLabel, accessibilityRole: "button", style: reactNative.StyleSheet.absoluteFill, testID: `${testID}-backdrop`, onPress: onDismiss }),
3094
- frame !== null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles20.dropdown, place, { opacity: progress, transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, scale === void 0 ? null : styles20.growFromField], testID: `${testID}-dropdown-${frame.placement}`, onLayout, children }) : null
3106
+ frame !== null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles21.dropdown, place, { opacity: progress, transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, scale === void 0 ? null : styles21.growFromField], testID: `${testID}-dropdown-${frame.placement}`, onLayout, children }) : null
3095
3107
  ] });
3096
3108
  }
3097
- var styles20 = reactNative.StyleSheet.create({
3109
+ var styles21 = reactNative.StyleSheet.create({
3098
3110
  dropdown: { position: "absolute" },
3099
3111
  growFromField: { transformOrigin: "top left" }
3100
3112
  });
3101
3113
  function SheetSurface({ translateY, onDismiss, closeLabel, closeHint, testID, children, progress, scale, accessibilityLabel }) {
3102
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles21.backdrop, children: [
3114
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.backdrop, children: [
3103
3115
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { accessibilityHint: closeHint, accessibilityLabel: closeLabel, accessibilityRole: "button", style: reactNative.StyleSheet.absoluteFill, testID: `${testID}-backdrop`, onPress: onDismiss }),
3104
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { testID: `${testID}-sheet`, style: [styles21.sheet, { transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, progress === void 0 ? null : { opacity: progress }], children })
3116
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { testID: `${testID}-sheet`, style: [styles22.sheet, { transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, progress === void 0 ? null : { opacity: progress }], children })
3105
3117
  ] }) });
3106
3118
  }
3107
- var styles21 = reactNative.StyleSheet.create({
3119
+ var styles22 = reactNative.StyleSheet.create({
3108
3120
  backdrop: { flex: 1, justifyContent: "flex-end" },
3109
3121
  sheet: { width: "100%", alignSelf: "stretch" }
3110
3122
  });
@@ -3680,9 +3692,9 @@ var GLYPH_EM = 0.62;
3680
3692
  var PAD_INLINE = 12;
3681
3693
  var BORDER = 1;
3682
3694
  var PLACEHOLDER_CHARS = 15;
3683
- function closedFieldMinWidth(text, iconRoom) {
3695
+ function closedFieldMinWidth(text, iconRoom2) {
3684
3696
  const chars = Math.max(text.length, PLACEHOLDER_CHARS);
3685
- return Math.ceil(chars * FONT_PX * GLYPH_EM) + PAD_INLINE + iconRoom + BORDER + BORDER;
3697
+ return Math.ceil(chars * FONT_PX * GLYPH_EM) + PAD_INLINE + iconRoom2 + BORDER + BORDER;
3686
3698
  }
3687
3699
 
3688
3700
  // src/DatePicker/utils/datePattern.ts
@@ -3738,7 +3750,7 @@ function typedEditBind(typed) {
3738
3750
  };
3739
3751
  }
3740
3752
  var SINGLE_PICKER_WIDTH = 340;
3741
- var ICON_ROOM = 48;
3753
+ var ICON_ROOM2 = 48;
3742
3754
  var ICON_SLOT = { position: "absolute", right: 2, top: 0, bottom: 0, display: "flex", alignItems: "center" };
3743
3755
  var anchorStyles = reactNative.StyleSheet.create({ wrap: { position: "relative", width: "100%" } });
3744
3756
  function DatePickerInput({ fieldProps, context, onTypedError }) {
@@ -3773,7 +3785,7 @@ function DatePickerInput({ fieldProps, context, onTypedError }) {
3773
3785
  event.preventDefault();
3774
3786
  if (typed.isReady()) onSubmit();
3775
3787
  };
3776
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: [anchorStyles.wrap, { minWidth: closedFieldMinWidth(typed.display, ICON_ROOM) }], testID: `${testID}-anchor`, children: [
3788
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: [anchorStyles.wrap, { minWidth: closedFieldMinWidth(typed.display, ICON_ROOM2) }], testID: `${testID}-anchor`, children: [
3777
3789
  /* @__PURE__ */ jsxRuntime.jsx(
3778
3790
  "input",
3779
3791
  {
@@ -3786,7 +3798,7 @@ function DatePickerInput({ fieldProps, context, onTypedError }) {
3786
3798
  disabled,
3787
3799
  id: context.controlId,
3788
3800
  placeholder: labels.datePlaceholder !== "" ? labels.datePlaceholder : datePattern(locale),
3789
- style: { ...buildNativeInputStyle(style, look), paddingInlineEnd: ICON_ROOM },
3801
+ style: { ...buildNativeInputStyle(style, look), paddingInlineEnd: ICON_ROOM2 },
3790
3802
  title: accessibilityHint,
3791
3803
  type: "text",
3792
3804
  value: typed.display,
@@ -4078,7 +4090,7 @@ function WebDateRange({ value, onChange, onSubmit, fromLabel, toLabel, hint, tes
4078
4090
  );
4079
4091
  };
4080
4092
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: anchorStyles.wrap, children: [
4081
- /* @__PURE__ */ jsxRuntime.jsxs("div", { ...hoverBind, style: { ...buildNativeInputStyle(style), display: "flex", alignItems: "center", gap: GAP5, paddingInlineEnd: ICON_ROOM }, children: [
4093
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { ...hoverBind, style: { ...buildNativeInputStyle(style), display: "flex", alignItems: "center", gap: GAP5, paddingInlineEnd: ICON_ROOM2 }, children: [
4082
4094
  segment("from" /* From */, from),
4083
4095
  /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\u2192" }),
4084
4096
  segment("to" /* To */, to)
@@ -4156,7 +4168,7 @@ var ROW_GAP = 4;
4156
4168
  var TAB_PADDING = 4;
4157
4169
  var INDICATOR_WIDTH = 2;
4158
4170
  var TAB_FONT_SIZE = 12;
4159
- var styles22 = reactNative.StyleSheet.create({
4171
+ var styles23 = reactNative.StyleSheet.create({
4160
4172
  row: { flexDirection: "row", flexWrap: "nowrap", gap: ROW_GAP },
4161
4173
  tab: {
4162
4174
  borderBottomWidth: INDICATOR_WIDTH,
@@ -4196,13 +4208,13 @@ var StepperTab = ({
4196
4208
  accessibilityRole: "tab",
4197
4209
  accessibilityState: { selected },
4198
4210
  "aria-selected": selected,
4199
- style: [styles22.tab, { borderBottomColor: indicator }, ring.ringStyle],
4211
+ style: [styles23.tab, { borderBottomColor: indicator }, ring.ringStyle],
4200
4212
  testID,
4201
4213
  onBlur: ring.onBlur,
4202
4214
  onFocus: ring.onFocus,
4203
4215
  onPress: () => onStep(step.key),
4204
4216
  ...webKeyProps,
4205
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.text, { color: theme.colors.text }, selected ? styles22.textSelected : void 0], children: step.label })
4217
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.text, { color: theme.colors.text }, selected ? styles23.textSelected : void 0], children: step.label })
4206
4218
  }
4207
4219
  );
4208
4220
  };
@@ -4212,7 +4224,7 @@ var StepperTabs = ({
4212
4224
  onStep,
4213
4225
  stepHint,
4214
4226
  testID
4215
- }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", style: styles22.row, testID, children: steps.map((step) => /* @__PURE__ */ jsxRuntime.jsx(
4227
+ }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityRole: "tablist", style: styles23.row, testID, children: steps.map((step) => /* @__PURE__ */ jsxRuntime.jsx(
4216
4228
  StepperTab,
4217
4229
  {
4218
4230
  hint: stepHint,
@@ -4231,7 +4243,7 @@ function resolveStepNeighbours(steps, current) {
4231
4243
  return { previous: steps[index - 1] ?? null, next: steps[index + 1] ?? null };
4232
4244
  }
4233
4245
  var ROW_GAP2 = 8;
4234
- var styles23 = reactNative.StyleSheet.create({
4246
+ var styles24 = reactNative.StyleSheet.create({
4235
4247
  cell: { flex: 1, minWidth: 0 },
4236
4248
  row: { flexDirection: "row", gap: ROW_GAP2 }
4237
4249
  });
@@ -4243,8 +4255,8 @@ var StepperNav = ({
4243
4255
  testID
4244
4256
  }) => {
4245
4257
  const { previous, next } = resolveStepNeighbours(steps, current);
4246
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.row, testID, children: [
4247
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
4258
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.row, testID, children: [
4259
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
4248
4260
  uiButtons.Button,
4249
4261
  {
4250
4262
  fullWidth: true,
@@ -4260,7 +4272,7 @@ var StepperNav = ({
4260
4272
  }
4261
4273
  }
4262
4274
  ) }),
4263
- next === null ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
4275
+ next === null ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
4264
4276
  uiButtons.Button,
4265
4277
  {
4266
4278
  fullWidth: true,
@@ -4275,13 +4287,13 @@ var StepperNav = ({
4275
4287
  ] });
4276
4288
  };
4277
4289
  var STATUS_FONT = 16;
4278
- var styles24 = reactNative.StyleSheet.create({
4290
+ var styles25 = reactNative.StyleSheet.create({
4279
4291
  line: { fontSize: STATUS_FONT }
4280
4292
  });
4281
4293
  function FormStatusLine({ message, testID, style }) {
4282
4294
  const { theme } = uiFeedback.useUi();
4283
4295
  if (message === null || message === void 0 || message === "") return null;
4284
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles24.line, { color: theme.colors.text }, style], testID, children: message });
4296
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles25.line, { color: theme.colors.text }, style], testID, children: message });
4285
4297
  }
4286
4298
  function useFocusFirstInvalid(refs) {
4287
4299
  const latest = React41.useRef(refs);
@@ -4370,7 +4382,7 @@ function useKeepInView(trigger) {
4370
4382
  }
4371
4383
  var IS_WEB10 = reactNative.Platform.OS === "web";
4372
4384
  var INPUT_FONT2 = 14;
4373
- var styles25 = reactNative.StyleSheet.create({
4385
+ var styles26 = reactNative.StyleSheet.create({
4374
4386
  nativeButton: { minHeight: a11y.MIN_TOUCH_TARGET_PX, minWidth: a11y.MIN_TOUCH_TARGET_PX, justifyContent: "center" },
4375
4387
  nativeText: { fontSize: INPUT_FONT2 }
4376
4388
  });
@@ -4398,10 +4410,10 @@ function FileInput({
4398
4410
  accessibilityRole: "button",
4399
4411
  accessibilityState: { disabled },
4400
4412
  disabled,
4401
- style: styles25.nativeButton,
4413
+ style: styles26.nativeButton,
4402
4414
  testID,
4403
4415
  onPress: onNativePick,
4404
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.nativeText, { color: colors.text }], children: nativeLabel ?? accessibilityLabel })
4416
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.nativeText, { color: colors.text }], children: nativeLabel ?? accessibilityLabel })
4405
4417
  }
4406
4418
  );
4407
4419
  }
@@ -4431,7 +4443,7 @@ var PREVIEW_RADIUS = 8;
4431
4443
  var GAP6 = 8;
4432
4444
  var TITLE_FONT_SIZE = 14;
4433
4445
  var HELP_FONT_SIZE = 13;
4434
- var styles26 = reactNative.StyleSheet.create({
4446
+ var styles27 = reactNative.StyleSheet.create({
4435
4447
  help: { flex: 1, fontSize: HELP_FONT_SIZE },
4436
4448
  root: { gap: GAP6 },
4437
4449
  tile: { alignItems: "center", flexDirection: "row", gap: GAP6 },
@@ -4453,11 +4465,11 @@ var UploadWithLinkField = ({
4453
4465
  const url = value ?? "";
4454
4466
  const [pasting, setPasting] = React41.useState(url !== "");
4455
4467
  const previewBox = { borderRadius: PREVIEW_RADIUS, height: previewSize, width: previewSize };
4456
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.root, children: [
4457
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.title, { color: theme.colors.text }], children: labels.title }),
4458
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.tile, children: [
4468
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.root, children: [
4469
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.title, { color: theme.colors.text }], children: labels.title }),
4470
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.tile, children: [
4459
4471
  url === "" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [previewBox, { backgroundColor: theme.colors.border }] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Image, { accessible: false, source: { uri: url }, style: previewBox, testID: `${testID}-preview` }),
4460
- labels.help === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.help, { color: theme.colors.text }], children: labels.help })
4472
+ labels.help === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.help, { color: theme.colors.text }], children: labels.help })
4461
4473
  ] }),
4462
4474
  uploadControl,
4463
4475
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -4468,12 +4480,12 @@ var UploadWithLinkField = ({
4468
4480
  accessibilityRole: "button",
4469
4481
  accessibilityState: { expanded: pasting },
4470
4482
  "aria-expanded": pasting,
4471
- style: [styles26.toggle, ring.ringStyle],
4483
+ style: [styles27.toggle, ring.ringStyle],
4472
4484
  testID: `${testID}-paste`,
4473
4485
  onBlur: ring.onBlur,
4474
4486
  onFocus: ring.onFocus,
4475
4487
  onPress: () => setPasting(!pasting),
4476
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.toggleText, { color: theme.colors.text }], children: labels.pasteToggle })
4488
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.toggleText, { color: theme.colors.text }], children: labels.pasteToggle })
4477
4489
  }
4478
4490
  ),
4479
4491
  pasting ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -4492,7 +4504,7 @@ var UploadWithLinkField = ({
4492
4504
  };
4493
4505
  var ACTION_GAP = 8;
4494
4506
  var GROUP_GAP = 16;
4495
- var styles27 = reactNative.StyleSheet.create({
4507
+ var styles28 = reactNative.StyleSheet.create({
4496
4508
  action: { alignItems: "flex-start", marginTop: ACTION_GAP },
4497
4509
  group: { marginBottom: GROUP_GAP }
4498
4510
  });
@@ -4515,7 +4527,7 @@ var AddOnRequest = ({
4515
4527
  onRemove();
4516
4528
  };
4517
4529
  if (!isAddOnOpen(hasValue, requested))
4518
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles27.action, style], children: /* @__PURE__ */ jsxRuntime.jsx(
4530
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles28.action, style], children: /* @__PURE__ */ jsxRuntime.jsx(
4519
4531
  uiButtons.Button,
4520
4532
  {
4521
4533
  accessibilityHint: addHint,
@@ -4527,9 +4539,9 @@ var AddOnRequest = ({
4527
4539
  onPress: () => setRequested(true)
4528
4540
  }
4529
4541
  ) });
4530
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles27.group, style], testID, children: [
4542
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles28.group, style], testID, children: [
4531
4543
  children,
4532
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles27.action, children: /* @__PURE__ */ jsxRuntime.jsx(
4544
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.action, children: /* @__PURE__ */ jsxRuntime.jsx(
4533
4545
  uiButtons.Button,
4534
4546
  {
4535
4547
  accessibilityHint: removeHint,
@@ -4546,7 +4558,7 @@ var AddOnRequest = ({
4546
4558
  var ROW_GAP3 = 8;
4547
4559
  var TEXT_SIZE = 13;
4548
4560
  var TEXT_LINE = 18;
4549
- var styles28 = reactNative.StyleSheet.create({
4561
+ var styles29 = reactNative.StyleSheet.create({
4550
4562
  row: { alignItems: "center", columnGap: ROW_GAP3, flexDirection: "row", justifyContent: "space-between" },
4551
4563
  text: { flexShrink: 1, fontSize: TEXT_SIZE, fontWeight: "700", lineHeight: TEXT_LINE }
4552
4564
  });
@@ -4554,8 +4566,8 @@ var isFixBarVisible = (count) => count > 0;
4554
4566
  var FixBar = ({ count, message, showLabel, showHint, onShow, testID, style }) => {
4555
4567
  const { theme } = uiFeedback.useUi();
4556
4568
  if (!isFixBarVisible(count)) return null;
4557
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles28.row, style], testID, children: [
4558
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles28.text, { color: fieldErrorInk(theme) }], testID: `${testID}-count`, children: message }),
4569
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles29.row, style], testID, children: [
4570
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles29.text, { color: fieldErrorInk(theme) }], testID: `${testID}-count`, children: message }),
4559
4571
  /* @__PURE__ */ jsxRuntime.jsx(
4560
4572
  uiButtons.Button,
4561
4573
  {
@@ -4586,21 +4598,21 @@ function OptionRow2({ option, active, current, renderLeading, renderDetail, onPi
4586
4598
  accessibilityLabel: option.label,
4587
4599
  accessibilityRole: "button",
4588
4600
  accessibilityState: { selected: active, checked: current },
4589
- style: [styles29.row, active ? { backgroundColor: colors.surface } : null],
4601
+ style: [styles30.row, active ? { backgroundColor: colors.surface } : null],
4590
4602
  testID: `${testID}-option-${option.value}`,
4591
4603
  onPress: () => onPick(option),
4592
4604
  children: [
4593
4605
  renderLeading?.(option),
4594
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.label, children: [
4595
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.primary, { color: colors.text }], children: option.label }),
4596
- detailBelow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.secondary, { color: colors.textSecondary }], children: option.detail }) : null
4606
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles30.label, children: [
4607
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.primary, { color: colors.text }], children: option.label }),
4608
+ detailBelow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.secondary, { color: colors.textSecondary }], children: option.detail }) : null
4597
4609
  ] }),
4598
4610
  renderDetail?.(option)
4599
4611
  ]
4600
4612
  }
4601
4613
  );
4602
4614
  }
4603
- var styles29 = reactNative.StyleSheet.create({
4615
+ var styles30 = reactNative.StyleSheet.create({
4604
4616
  row: { minHeight: a11y.MIN_TOUCH_TARGET_PX, flexDirection: "row", alignItems: "center", gap: ROW_GAP4, paddingHorizontal: ROW_PAD_H },
4605
4617
  label: { flex: 1 },
4606
4618
  primary: { fontSize: OPTION_FONT2, flexShrink: 1 },
@@ -4614,11 +4626,11 @@ function OptionSection({ title, options, offset, highlight, selectedValue, ...ro
4614
4626
  const { colors } = theme;
4615
4627
  if (options.length === 0) return null;
4616
4628
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
4617
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles30.header, { color: colors.textSecondary }], children: title }),
4629
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles31.header, { color: colors.textSecondary }], children: title }),
4618
4630
  options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(OptionRow2, { ...row, active: offset + index === highlight, current: option.value === selectedValue, option }, option.value))
4619
4631
  ] });
4620
4632
  }
4621
- var styles30 = reactNative.StyleSheet.create({
4633
+ var styles31 = reactNative.StyleSheet.create({
4622
4634
  header: { fontSize: HEADER_FONT, paddingHorizontal: ROW_PAD_H2, paddingTop: ROW_GAP5, textTransform: "uppercase" }
4623
4635
  });
4624
4636
  var KEY_ESCAPE = "Escape";
@@ -4648,7 +4660,7 @@ function SearchSelectPanel({ motion, state, labels, anchorRef, renderLeading, re
4648
4660
  const translateY = progress.interpolate({ inputRange: [0, 1], outputRange: [motion.fromY, 0] });
4649
4661
  const isSheet = motion.surface === "sheet" /* Sheet */;
4650
4662
  const shared = { selectedValue, renderLeading, renderDetail, onPick: pick, optionHint: labels.optionHint, testID, highlight };
4651
- const list = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles31.panel, { backgroundColor: colors.surfaceElevated, borderColor: colors.border }], testID: `${testID}-panel`, children: [
4663
+ const list = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles32.panel, { backgroundColor: colors.surfaceElevated, borderColor: colors.border }], testID: `${testID}-panel`, children: [
4652
4664
  /* @__PURE__ */ jsxRuntime.jsx(
4653
4665
  reactNative.TextInput,
4654
4666
  {
@@ -4665,16 +4677,16 @@ function SearchSelectPanel({ motion, state, labels, anchorRef, renderLeading, re
4665
4677
  onSubmitEditing: submit
4666
4678
  }
4667
4679
  ),
4668
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.ScrollView, { keyboardShouldPersistTaps: "handled", style: isSheet ? styles31.sheetList : styles31.dropList, children: [
4680
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.ScrollView, { keyboardShouldPersistTaps: "handled", style: isSheet ? styles32.sheetList : styles32.dropList, children: [
4669
4681
  /* @__PURE__ */ jsxRuntime.jsx(OptionSection, { ...shared, offset: 0, options: sections.recent, title: labels.recent }),
4670
4682
  /* @__PURE__ */ jsxRuntime.jsx(OptionSection, { ...shared, offset: sections.recent.length, options: sections.all, title: labels.all }),
4671
- sections.flat.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.empty, { color: colors.textSecondary }], children: labels.empty }) : null
4683
+ sections.flat.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.empty, { color: colors.textSecondary }], children: labels.empty }) : null
4672
4684
  ] })
4673
4685
  ] });
4674
4686
  if (!isSheet) return /* @__PURE__ */ jsxRuntime.jsx(DropdownSurface, { anchorRef, closeHint: labels.closeHint, closeLabel: labels.close, progress, testID, translateY, onDismiss: dismiss, children: list });
4675
4687
  return /* @__PURE__ */ jsxRuntime.jsx(SheetSurface, { closeHint: labels.closeHint, closeLabel: labels.close, testID, translateY, onDismiss: dismiss, children: list });
4676
4688
  }
4677
- var styles31 = reactNative.StyleSheet.create({
4689
+ var styles32 = reactNative.StyleSheet.create({
4678
4690
  panel: { borderWidth: 1, borderRadius: PANEL_RADIUS, padding: PANEL_PAD, gap: PANEL_PAD },
4679
4691
  dropList: { maxHeight: MENU_MAX_HEIGHT },
4680
4692
  sheetList: { maxHeight: SHEET_MAX_HEIGHT2 },
@@ -4771,7 +4783,7 @@ function SearchSelect(props) {
4771
4783
  const onTriggerBlur = React41.useCallback(() => {
4772
4784
  if (!openRef.current) onBlur?.();
4773
4785
  }, [onBlur]);
4774
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: styles32.anchor, children: [
4786
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: anchorRef, style: styles33.anchor, children: [
4775
4787
  /* @__PURE__ */ jsxRuntime.jsx(
4776
4788
  reactNative.Pressable,
4777
4789
  {
@@ -4780,7 +4792,7 @@ function SearchSelect(props) {
4780
4792
  accessibilityLabel,
4781
4793
  accessibilityRole: "button",
4782
4794
  accessibilityState: { expanded: state.open },
4783
- style: renderTrigger === void 0 ? [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }] : styles32.customTrigger,
4795
+ style: renderTrigger === void 0 ? [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }] : styles33.customTrigger,
4784
4796
  testID,
4785
4797
  onBlur: onTriggerBlur,
4786
4798
  onPress,
@@ -4792,7 +4804,7 @@ function SearchSelect(props) {
4792
4804
  }
4793
4805
  function FieldBoxContent({ selected, placeholder, colors, renderLeading, renderDetail }) {
4794
4806
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4795
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.value, children: [
4807
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.value, children: [
4796
4808
  selected !== null && renderLeading !== void 0 ? renderLeading(selected) : null,
4797
4809
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [controlStyles.selectTriggerText, { color: selected === null ? colors.textSecondary : colors.text }], children: selected?.label ?? placeholder }),
4798
4810
  selected !== null ? /* @__PURE__ */ jsxRuntime.jsx(SelectedDetail, { colors, option: selected, renderDetail }) : null
@@ -4805,7 +4817,7 @@ function SelectedDetail({ option, colors, renderDetail }) {
4805
4817
  if (option.detail === void 0) return null;
4806
4818
  return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [controlStyles.selectTriggerText, { color: colors.textSecondary }], children: option.detail });
4807
4819
  }
4808
- var styles32 = reactNative.StyleSheet.create({
4820
+ var styles33 = reactNative.StyleSheet.create({
4809
4821
  anchor: { position: "relative" },
4810
4822
  customTrigger: { minHeight: MIN_TOUCH, minWidth: MIN_TOUCH, alignSelf: "flex-start", justifyContent: "center" },
4811
4823
  value: { flex: 1, flexDirection: "row", alignItems: "center", gap: VALUE_GAP }
@@ -5582,7 +5594,7 @@ function CountryField({ value, onChange, accessibilityLabel, accessibilityHint,
5582
5594
  const { theme } = uiFeedback.useUi();
5583
5595
  const { textSecondary } = theme.colors;
5584
5596
  const options = React41.useMemo(() => countryFieldOptions(countries, noneLabel), [countries, noneLabel]);
5585
- const renderCode = React41.useCallback((option) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles33.code, { color: textSecondary }], children: option.detail }), [textSecondary]);
5597
+ const renderCode = React41.useCallback((option) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles34.code, { color: textSecondary }], children: option.detail }), [textSecondary]);
5586
5598
  return /* @__PURE__ */ jsxRuntime.jsx(
5587
5599
  SearchSelect,
5588
5600
  {
@@ -5600,7 +5612,7 @@ function CountryField({ value, onChange, accessibilityLabel, accessibilityHint,
5600
5612
  }
5601
5613
  );
5602
5614
  }
5603
- var styles33 = reactNative.StyleSheet.create({
5615
+ var styles34 = reactNative.StyleSheet.create({
5604
5616
  code: { fontSize: CODE_FONT }
5605
5617
  });
5606
5618
  function useBlurVerdict(validate) {
@@ -5856,9 +5868,9 @@ var LINE_GAP = 4;
5856
5868
  function RejectionLine({ message, testID }) {
5857
5869
  const { theme } = uiFeedback.useUi();
5858
5870
  if (message === null) return null;
5859
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "polite", style: [styles34.line, { color: fieldErrorInk(theme) }], testID: `${testID}-rejection`, children: message });
5871
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "polite", style: [styles35.line, { color: fieldErrorInk(theme) }], testID: `${testID}-rejection`, children: message });
5860
5872
  }
5861
- var styles34 = reactNative.StyleSheet.create({
5873
+ var styles35 = reactNative.StyleSheet.create({
5862
5874
  line: { marginTop: LINE_GAP }
5863
5875
  });
5864
5876
 
@@ -6005,7 +6017,7 @@ var PAD_V = 10;
6005
6017
  var PAD_H = 16;
6006
6018
  var TEXT_SIZE2 = 13;
6007
6019
  var TEXT_LINE2 = 18;
6008
- var styles35 = reactNative.StyleSheet.create({
6020
+ var styles36 = reactNative.StyleSheet.create({
6009
6021
  bar: { borderTopWidth: 1, paddingHorizontal: PAD_H, paddingVertical: PAD_V, rowGap: BAR_GAP },
6010
6022
  actions: { flexDirection: "row", flexWrap: "wrap", gap: BAR_GAP },
6011
6023
  message: { fontSize: TEXT_SIZE2, fontWeight: "700", lineHeight: TEXT_LINE2 }
@@ -6017,9 +6029,9 @@ var ActionBar = ({ children, message, sticky = false, testID, style }) => {
6017
6029
  const { colors } = theme;
6018
6030
  const pinned = actionBarPosition(sticky, reactNative.Platform.OS) === "sticky" ? PINNED : null;
6019
6031
  const hasMessage = message !== void 0 && message !== "";
6020
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles35.bar, { backgroundColor: colors.surface, borderTopColor: colors.border }, pinned, style], testID, children: [
6021
- hasMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "status", style: [styles35.message, { color: colors.text }], testID: `${testID}-message`, children: message }) : null,
6022
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles35.actions, children })
6032
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles36.bar, { backgroundColor: colors.surface, borderTopColor: colors.border }, pinned, style], testID, children: [
6033
+ hasMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "status", style: [styles36.message, { color: colors.text }], testID: `${testID}-message`, children: message }) : null,
6034
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles36.actions, children })
6023
6035
  ] });
6024
6036
  };
6025
6037
 
@@ -6027,14 +6039,14 @@ var ActionBar = ({ children, message, sticky = false, testID, style }) => {
6027
6039
  var isChecklistComplete = (items, checked) => items.every((item) => checked.includes(item.id));
6028
6040
  var TITLE_SIZE = 13;
6029
6041
  var TITLE_GAP = 6;
6030
- var styles36 = reactNative.StyleSheet.create({
6042
+ var styles37 = reactNative.StyleSheet.create({
6031
6043
  title: { fontSize: TITLE_SIZE, fontWeight: "700", marginBottom: TITLE_GAP }
6032
6044
  });
6033
6045
  var GatedChecklist = ({ title, items, checked, onToggle, testID, disabled = false, children }) => {
6034
6046
  const { theme } = uiFeedback.useUi();
6035
6047
  const complete = isChecklistComplete(items, checked);
6036
6048
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { testID, children: [
6037
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles36.title, { color: theme.colors.text }], children: title }),
6049
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles37.title, { color: theme.colors.text }], children: title }),
6038
6050
  items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
6039
6051
  FormCheckbox,
6040
6052
  {
@@ -6060,7 +6072,7 @@ var RADIUS2 = 8;
6060
6072
  var LABEL_SIZE = 14;
6061
6073
  var DESCRIPTION_SIZE = 12;
6062
6074
  var DESCRIPTION_LINE = 16;
6063
- var styles37 = reactNative.StyleSheet.create({
6075
+ var styles38 = reactNative.StyleSheet.create({
6064
6076
  row: {
6065
6077
  alignItems: "center",
6066
6078
  borderRadius: RADIUS2,
@@ -6091,15 +6103,15 @@ function RadioRow({ option, identity, colors, tabIndex, hostRef, onPress }) {
6091
6103
  accessibilityState: identity.accessibilityState,
6092
6104
  "aria-checked": checked,
6093
6105
  disabled,
6094
- style: [styles37.row, { borderColor: accent, backgroundColor: checked ? colors.tint : colors.muted }],
6106
+ style: [styles38.row, { borderColor: accent, backgroundColor: checked ? colors.tint : colors.muted }],
6095
6107
  tabIndex,
6096
6108
  testID: identity.testID,
6097
6109
  onPress,
6098
6110
  children: [
6099
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles37.dot, { borderColor: accent }], children: checked ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles37.dotInner, { backgroundColor: colors.primary }] }) : null }),
6100
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.text, children: [
6101
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.label, { color: checked ? colors.primary : colors.textStrong }], children: option.label }),
6102
- hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles37.description, { color: colors.textMuted }], testID: `${identity.testID}-description`, children: option.description }) : null
6111
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles38.dot, { borderColor: accent }], children: checked ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles38.dotInner, { backgroundColor: colors.primary }] }) : null }),
6112
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.text, children: [
6113
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles38.label, { color: checked ? colors.primary : colors.textStrong }], children: option.label }),
6114
+ hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles38.description, { color: colors.textMuted }], testID: `${identity.testID}-description`, children: option.description }) : null
6103
6115
  ] })
6104
6116
  ]
6105
6117
  }
@@ -6116,7 +6128,7 @@ var radioRowIdentity = (option, selected, disabled, prefix) => {
6116
6128
  };
6117
6129
  };
6118
6130
  var ROW_GAP7 = 8;
6119
- var styles38 = reactNative.StyleSheet.create({
6131
+ var styles39 = reactNative.StyleSheet.create({
6120
6132
  list: { rowGap: ROW_GAP7 }
6121
6133
  });
6122
6134
  function RadioList(props) {
@@ -6129,7 +6141,7 @@ function RadioList(props) {
6129
6141
  reactNative.View,
6130
6142
  {
6131
6143
  accessibilityRole: "radiogroup",
6132
- style: styles38.list,
6144
+ style: styles39.list,
6133
6145
  ...webFieldA11y({ describedById, hasError }),
6134
6146
  ...radio.groupProps,
6135
6147
  children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -6183,11 +6195,11 @@ function DecisionNote({ state, labels, testID, disabled }) {
6183
6195
  );
6184
6196
  }
6185
6197
  var BUTTON_BASIS = "40%";
6186
- var styles39 = reactNative.StyleSheet.create({
6198
+ var styles40 = reactNative.StyleSheet.create({
6187
6199
  cell: { flexBasis: BUTTON_BASIS, flexGrow: 1 }
6188
6200
  });
6189
6201
  function OutcomeButtons({ outcomes, pending, disabled, testID, onPress }) {
6190
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: outcomes.map((item) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles39.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
6202
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: outcomes.map((item) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles40.cell, children: /* @__PURE__ */ jsxRuntime.jsx(
6191
6203
  uiButtons.Button,
6192
6204
  {
6193
6205
  fullWidth: true,
@@ -6268,12 +6280,12 @@ function StickyBarDecision(props) {
6268
6280
  }
6269
6281
  var TEXT_SIZE3 = 13;
6270
6282
  var TEXT_LINE3 = 18;
6271
- var styles40 = reactNative.StyleSheet.create({
6283
+ var styles41 = reactNative.StyleSheet.create({
6272
6284
  text: { fontSize: TEXT_SIZE3, fontWeight: "700", lineHeight: TEXT_LINE3 }
6273
6285
  });
6274
6286
  var SubmitError = ({ message, testID }) => {
6275
6287
  const { theme } = uiFeedback.useUi();
6276
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles40.text, { color: fieldErrorInk(theme) }], testID, children: message });
6288
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { role: "alert", style: [styles41.text, { color: fieldErrorInk(theme) }], testID, children: message });
6277
6289
  };
6278
6290
  var toggle = (list, id) => list.includes(id) ? list.filter((item) => item !== id) : [...list, id];
6279
6291
  function useDecisionPanel(outcomes, onSubmit) {
@@ -6316,7 +6328,7 @@ function useDecisionPanel(outcomes, onSubmit) {
6316
6328
  }
6317
6329
  var TITLE_SIZE2 = 15;
6318
6330
  var PANEL_GAP = 12;
6319
- var styles41 = reactNative.StyleSheet.create({
6331
+ var styles42 = reactNative.StyleSheet.create({
6320
6332
  panel: { rowGap: PANEL_GAP },
6321
6333
  title: { fontSize: TITLE_SIZE2, fontWeight: "700" }
6322
6334
  });
@@ -6330,8 +6342,8 @@ function DecisionPanel(props) {
6330
6342
  const { theme } = uiFeedback.useUi();
6331
6343
  const state = useDecisionPanel(outcomes, onSubmit);
6332
6344
  const body = (locked) => renderVariant(variant, { state, outcomes, labels, testID, disabled: disabled || locked, reasons, leadOutcome });
6333
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles41.panel, style], testID, children: [
6334
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles41.title, { color: theme.colors.text }], children: labels.title }),
6345
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles42.panel, style], testID, children: [
6346
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles42.title, { color: theme.colors.text }], children: labels.title }),
6335
6347
  checklist !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(GatedChecklist, { checked: state.checked, items: checklist.items, testID: `${testID}-checklist`, title: checklist.title, onToggle: state.toggleCheck, children: (complete) => body(!complete) }) : body(false),
6336
6348
  state.error === "submit" ? /* @__PURE__ */ jsxRuntime.jsx(SubmitError, { message: labels.submitError, testID: `${testID}-error` }) : null
6337
6349
  ] });
@@ -6364,7 +6376,7 @@ var POP_FROM = 0.6;
6364
6376
  var POP_PEAK = 1.12;
6365
6377
  var POP_UP_MS = 160;
6366
6378
  var POP_SETTLE_MS = 100;
6367
- var styles42 = reactNative.StyleSheet.create({
6379
+ var styles43 = reactNative.StyleSheet.create({
6368
6380
  mark: { width: MARK_SIZE, height: MARK_SIZE, borderRadius: MARK_SIZE / 2, alignItems: "center", justifyContent: "center" },
6369
6381
  ring: { borderWidth: RING_WIDTH }
6370
6382
  });
@@ -6384,8 +6396,8 @@ function RuleMark({ tone, colors }) {
6384
6396
  ]).start();
6385
6397
  }, [met, reduced, scale]);
6386
6398
  const color = colors.mark[tone];
6387
- const shape = met ? { backgroundColor: color } : [styles42.ring, { borderColor: color }];
6388
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: { transform: [{ scale }] }, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles42.mark, shape], children: met ? /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: colors.onMark, name: "check", size: CHECK_SIZE2 }) : null }) });
6399
+ const shape = met ? { backgroundColor: color } : [styles43.ring, { borderColor: color }];
6400
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: { transform: [{ scale }] }, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles43.mark, shape], children: met ? /* @__PURE__ */ jsxRuntime.jsx(uiIcons.SvgIcon, { color: colors.onMark, name: "check", size: CHECK_SIZE2 }) : null }) });
6389
6401
  }
6390
6402
  var GAP8 = 6;
6391
6403
  var ROW_GAP8 = 8;
@@ -6397,7 +6409,7 @@ var CHIP_PAD_V2 = 4;
6397
6409
  var CHIP_PAD_H2 = 10;
6398
6410
  var CHIP_BORDER2 = 1;
6399
6411
  var HALF4 = "50%";
6400
- var styles43 = reactNative.StyleSheet.create({
6412
+ var styles44 = reactNative.StyleSheet.create({
6401
6413
  column: { gap: GAP8 },
6402
6414
  row: { flexDirection: "row", alignItems: "center", gap: ROW_GAP8 },
6403
6415
  text: { fontSize: FONT5, lineHeight: LINE, flexShrink: 1 },
@@ -6413,31 +6425,31 @@ function RuleList({ rules, flagUnmet, colors, testID, listStyle, itemStyle, outl
6413
6425
  return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { role: "list", style: listStyle, testID, children: rules.map((rule) => {
6414
6426
  const tone = ruleTone(rule.met, flagUnmet);
6415
6427
  const outline = outlined ? { borderColor: colors.mark[tone] } : null;
6416
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { role: "listitem", style: [styles43.row, itemStyle, outline], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6428
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { role: "listitem", style: [styles44.row, itemStyle, outline], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6417
6429
  /* @__PURE__ */ jsxRuntime.jsx(RuleMark, { colors, tone }),
6418
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.text, { color: colors.text[tone] }], children: rule.label })
6430
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.text, { color: colors.text[tone] }], children: rule.label })
6419
6431
  ] }, rule.id);
6420
6432
  }) });
6421
6433
  }
6422
6434
  function RulesChecklist(props) {
6423
- return /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, listStyle: styles43.column });
6435
+ return /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, listStyle: styles44.column });
6424
6436
  }
6425
6437
  function RulesChips(props) {
6426
- return /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, outlined: true, itemStyle: styles43.chip, listStyle: styles43.chips });
6438
+ return /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, outlined: true, itemStyle: styles44.chip, listStyle: styles44.chips });
6427
6439
  }
6428
6440
  function RulesMeterGrid(props) {
6429
6441
  const { rules, flagUnmet, colors, testID } = props;
6430
6442
  const metCount = rules.filter((rule) => rule.met).length;
6431
6443
  const unfilled = flagUnmet ? colors.mark.refused : colors.track;
6432
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles43.column, children: [
6433
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles43.meter, testID: `${testID}-meter`, children: rules.map((rule, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles43.segment, { backgroundColor: index < metCount ? colors.mark.met : unfilled }] }, rule.id)) }),
6434
- /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, itemStyle: styles43.cell, listStyle: styles43.grid })
6444
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.column, children: [
6445
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles44.meter, testID: `${testID}-meter`, children: rules.map((rule, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles44.segment, { backgroundColor: index < metCount ? colors.mark.met : unfilled }] }, rule.id)) }),
6446
+ /* @__PURE__ */ jsxRuntime.jsx(RuleList, { ...props, itemStyle: styles44.cell, listStyle: styles44.grid })
6435
6447
  ] });
6436
6448
  }
6437
6449
  function RulesSentence({ rules, flagUnmet, colors, testID }) {
6438
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.text, { color: colors.text.unmet }], testID, children: rules.map((rule, index) => {
6450
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.text, { color: colors.text.unmet }], testID, children: rules.map((rule, index) => {
6439
6451
  const tone = ruleTone(rule.met, flagUnmet);
6440
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [{ color: colors.text[tone] }, rule.met ? styles43.metPhrase : null], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6452
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [{ color: colors.text[tone] }, rule.met ? styles44.metPhrase : null], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6441
6453
  index > 0 ? ", " : "",
6442
6454
  rule.label
6443
6455
  ] }, rule.id);
@@ -6456,7 +6468,7 @@ function PasswordRules({ display, ...variant }) {
6456
6468
  }
6457
6469
  }
6458
6470
  var ICON_SIZE = 20;
6459
- var styles44 = reactNative.StyleSheet.create({
6471
+ var styles45 = reactNative.StyleSheet.create({
6460
6472
  button: { width: a11y.MIN_TOUCH_TARGET_PX, height: a11y.MIN_TOUCH_TARGET_PX, alignItems: "center", justifyContent: "center" }
6461
6473
  });
6462
6474
  function RevealToggle({ revealed, onToggle, onPressIn, showLabel, hideLabel, color, testID }) {
@@ -6468,7 +6480,7 @@ function RevealToggle({ revealed, onToggle, onPressIn, showLabel, hideLabel, col
6468
6480
  accessibilityLabel: label,
6469
6481
  accessibilityRole: "button",
6470
6482
  "aria-pressed": revealed,
6471
- style: styles44.button,
6483
+ style: styles45.button,
6472
6484
  testID,
6473
6485
  onPress: onToggle,
6474
6486
  onPressIn,
@@ -6522,7 +6534,7 @@ function useRuleColors(override) {
6522
6534
  var RULES_GAP = 8;
6523
6535
  var TOGGLE_INSET = 48;
6524
6536
  var NO_RULES = [];
6525
- var styles45 = reactNative.StyleSheet.create({
6537
+ var styles46 = reactNative.StyleSheet.create({
6526
6538
  inputRow: { position: "relative", justifyContent: "center" },
6527
6539
  input: { paddingRight: TOGGLE_INSET },
6528
6540
  toggle: { position: "absolute", right: 0, top: 0, bottom: 0, justifyContent: "center" },
@@ -6564,7 +6576,7 @@ var PasswordField = React41__default.default.forwardRef(function PasswordField2(
6564
6576
  const rulesId = `${testID}-rules`;
6565
6577
  const hasRules = rules.length > 0;
6566
6578
  return /* @__PURE__ */ jsxRuntime.jsx(Field, { error, label, testID: `${testID}-field`, children: (context) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
6567
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.inputRow, children: [
6579
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.inputRow, children: [
6568
6580
  /* @__PURE__ */ jsxRuntime.jsx(
6569
6581
  ThemedTextInput,
6570
6582
  {
@@ -6576,18 +6588,18 @@ var PasswordField = React41__default.default.forwardRef(function PasswordField2(
6576
6588
  hasError: context.hasError || flagUnmet && rules.some((rule) => !rule.met),
6577
6589
  id: context.controlId,
6578
6590
  secureTextEntry: !toggle2.revealed,
6579
- style: [styles45.input, inputProps?.style],
6591
+ style: [styles46.input, inputProps?.style],
6580
6592
  testID,
6581
6593
  value,
6582
6594
  onChangeText,
6583
6595
  onSelectionChange: toggle2.onSelectionChange
6584
6596
  }
6585
6597
  ),
6586
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.toggle, children: /* @__PURE__ */ jsxRuntime.jsx(RevealToggle, { color: colors.text.unmet, hideLabel: labels.hide, revealed: toggle2.revealed, showLabel: labels.show, testID: `${testID}-reveal`, onPressIn: toggle2.onPressIn, onToggle: toggle2.onToggle }) })
6598
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles46.toggle, children: /* @__PURE__ */ jsxRuntime.jsx(RevealToggle, { color: colors.text.unmet, hideLabel: labels.hide, revealed: toggle2.revealed, showLabel: labels.show, testID: `${testID}-reveal`, onPressIn: toggle2.onPressIn, onToggle: toggle2.onToggle }) })
6587
6599
  ] }),
6588
- hasRules ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { nativeID: rulesId, style: styles45.rules, children: [
6600
+ hasRules ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { nativeID: rulesId, style: styles46.rules, children: [
6589
6601
  /* @__PURE__ */ jsxRuntime.jsx(PasswordRules, { colors, display: rulesDisplay, flagUnmet, rules, testID: rulesId }),
6590
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-live": "polite", accessibilityLiveRegion: "polite", style: styles45.live, testID: `${testID}-announce`, children: announcement })
6602
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-live": "polite", accessibilityLiveRegion: "polite", style: styles46.live, testID: `${testID}-announce`, children: announcement })
6591
6603
  ] }) : null
6592
6604
  ] }) });
6593
6605
  });