@dloizides/ui-forms 1.62.0 → 1.64.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
@@ -625,6 +625,16 @@ var FormActions = ({
625
625
  }
626
626
  )
627
627
  ] });
628
+ var ICON_INSET = 12;
629
+ var ICON_ROOM = 36;
630
+ var styles11 = StyleSheet.create({
631
+ box: { justifyContent: "center" },
632
+ icon: { position: "absolute", left: ICON_INSET, zIndex: 1 }
633
+ });
634
+ var FieldIcon = ({ icon, children }) => /* @__PURE__ */ jsxs(View, { style: styles11.box, children: [
635
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, pointerEvents: "none", style: styles11.icon, testID: "form-field-icon", children: icon }),
636
+ children
637
+ ] });
628
638
  var FIELD_GAP = 4;
629
639
  var LABEL_FONT = 11;
630
640
  var LABEL_LETTER_SPACING = 0.4;
@@ -719,7 +729,7 @@ var DETAIL_FONT = 12;
719
729
  var DETAIL_GAP = 12;
720
730
  var STACK_GAP = 2;
721
731
  var DETAIL_BESIDE_MIN_MENU_WIDTH = 400;
722
- var styles11 = StyleSheet.create({
732
+ var styles12 = StyleSheet.create({
723
733
  beside: { alignItems: "baseline", flexDirection: "row", gap: DETAIL_GAP, justifyContent: "space-between" },
724
734
  stacked: { gap: STACK_GAP },
725
735
  shrink: { flexShrink: 1 },
@@ -754,9 +764,9 @@ function OptionRow({ option, isActive, isHighlighted, isListboxRow, menuWidth, h
754
764
  onPress: () => onSelect(option.value),
755
765
  style: [controlStyles.option, isHighlighted ? { backgroundColor: colors.text } : null],
756
766
  testID: `${testID}-option-${option.value}`,
757
- children: /* @__PURE__ */ jsxs(View, { style: isDetailBesideTitle(menuWidth) ? styles11.beside : styles11.stacked, children: [
758
- /* @__PURE__ */ jsx(Text, { style: [controlStyles.optionText, styles11.shrink, { color: ink.title, fontWeight: isBold ? ACTIVE_WEIGHT : IDLE_WEIGHT }], children: option.label }),
759
- hasDetail ? /* @__PURE__ */ jsx(Text, { style: [styles11.detail, { color: ink.detail }], children: option.detail }) : null
767
+ children: /* @__PURE__ */ jsxs(View, { style: isDetailBesideTitle(menuWidth) ? styles12.beside : styles12.stacked, children: [
768
+ /* @__PURE__ */ jsx(Text, { style: [controlStyles.optionText, styles12.shrink, { color: ink.title, fontWeight: isBold ? ACTIVE_WEIGHT : IDLE_WEIGHT }], children: option.label }),
769
+ hasDetail ? /* @__PURE__ */ jsx(Text, { style: [styles12.detail, { color: ink.detail }], children: option.detail }) : null
760
770
  ] })
761
771
  }
762
772
  );
@@ -1322,6 +1332,7 @@ function useAutoGrowRows(text, minRows) {
1322
1332
  }, []);
1323
1333
  return { numberOfLines: rowsForText(text, inputWidth, minRows), onLayout };
1324
1334
  }
1335
+ var iconRoom = { paddingLeft: ICON_ROOM };
1325
1336
  var PlainFormField = ({
1326
1337
  label,
1327
1338
  labelHidden = false,
@@ -1332,6 +1343,7 @@ var PlainFormField = ({
1332
1343
  recentMax,
1333
1344
  inputRef,
1334
1345
  labelVariant,
1346
+ icon,
1335
1347
  ...textInputProps
1336
1348
  }) => /* @__PURE__ */ jsx(
1337
1349
  Field,
@@ -1352,7 +1364,7 @@ var PlainFormField = ({
1352
1364
  testID: "form-field-input",
1353
1365
  ...textInputProps
1354
1366
  };
1355
- return recentKey !== void 0 && recentKey !== "" ? /* @__PURE__ */ jsx(RecentInputField, { label, recentKey, recentMax, ...inputProps }) : /* @__PURE__ */ jsx(ThemedTextInput, { ref: inputRef, ...inputProps });
1367
+ return recentKey !== void 0 && recentKey !== "" ? /* @__PURE__ */ jsx(RecentInputField, { label, recentKey, recentMax, ...inputProps }) : icon === void 0 ? /* @__PURE__ */ jsx(ThemedTextInput, { ref: inputRef, ...inputProps }) : /* @__PURE__ */ jsx(FieldIcon, { icon, children: /* @__PURE__ */ jsx(ThemedTextInput, { ref: inputRef, style: iconRoom, ...inputProps }) });
1356
1368
  }
1357
1369
  }
1358
1370
  );
@@ -1373,7 +1385,7 @@ var AutoGrowFormField = ({
1373
1385
  };
1374
1386
  var FormField = ({ autoGrowMinRows, ...fieldProps }) => autoGrowMinRows === void 0 ? /* @__PURE__ */ jsx(PlainFormField, { ...fieldProps }) : /* @__PURE__ */ jsx(AutoGrowFormField, { ...fieldProps, minRows: autoGrowMinRows });
1375
1387
  var TEXT_INPUT_HEIGHT = 48;
1376
- var styles12 = StyleSheet.create({
1388
+ var styles13 = StyleSheet.create({
1377
1389
  track: { padding: 0, borderWidth: 0 },
1378
1390
  besideTextInput: {
1379
1391
  padding: 0,
@@ -1382,8 +1394,8 @@ var styles12 = StyleSheet.create({
1382
1394
  alignItems: "stretch"
1383
1395
  }
1384
1396
  });
1385
- var SEGMENT_BESIDE_FIELD = styles12.track;
1386
- var SEGMENT_BESIDE_TEXT_INPUT = styles12.besideTextInput;
1397
+ var SEGMENT_BESIDE_FIELD = styles13.track;
1398
+ var SEGMENT_BESIDE_TEXT_INPUT = styles13.besideTextInput;
1387
1399
 
1388
1400
  // src/ChipSelector/constants.ts
1389
1401
  var TRANSPARENT_COLOR = "transparent";
@@ -1754,7 +1766,7 @@ function chipIdentity(option, selected, config) {
1754
1766
  ariaChecked: isRadio ? selected : void 0
1755
1767
  };
1756
1768
  }
1757
- var styles13 = StyleSheet.create({
1769
+ var styles14 = StyleSheet.create({
1758
1770
  chipContainer: {
1759
1771
  flexDirection: "row",
1760
1772
  flexWrap: "wrap",
@@ -1848,7 +1860,7 @@ var ChipSelector = ({
1848
1860
  View,
1849
1861
  {
1850
1862
  accessibilityRole: isRadioGroup ? "radiogroup" : void 0,
1851
- style: [styles13.chipContainer, chipRowGap(size)],
1863
+ style: [styles14.chipContainer, chipRowGap(size)],
1852
1864
  ...webFieldA11y({ describedById, hasError }),
1853
1865
  ...radio.groupProps,
1854
1866
  children: options.map(renderChip)
@@ -1858,7 +1870,7 @@ var ChipSelector = ({
1858
1870
  );
1859
1871
  };
1860
1872
  var BOX_SLOT_PAD_H = 10;
1861
- var styles14 = StyleSheet.create({
1873
+ var styles15 = StyleSheet.create({
1862
1874
  row: {
1863
1875
  minWidth: MIN_TOUCH_TARGET_PX,
1864
1876
  minHeight: MIN_TOUCH_TARGET_PX,
@@ -1881,7 +1893,7 @@ var SwitchSlot = ({
1881
1893
  accessibilityHint,
1882
1894
  activeTrackColor,
1883
1895
  inBox = false
1884
- }) => /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: inBox ? styles14.box : styles14.row, testID: `${testID}-hitbox`, children: /* @__PURE__ */ jsx(
1896
+ }) => /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: inBox ? styles15.box : styles15.row, testID: `${testID}-hitbox`, children: /* @__PURE__ */ jsx(
1885
1897
  Switch,
1886
1898
  {
1887
1899
  accessibilityHint: accessibilityHint ?? label,
@@ -1898,7 +1910,7 @@ var BOX_RADIUS = 8;
1898
1910
  var BOX_PAD_LEFT = 10;
1899
1911
  var BOX_BORDER = 1;
1900
1912
  var STATE_FONT_SIZE = 13;
1901
- var styles15 = StyleSheet.create({
1913
+ var styles16 = StyleSheet.create({
1902
1914
  box: {
1903
1915
  flexDirection: "row",
1904
1916
  alignItems: "center",
@@ -1933,19 +1945,19 @@ var FormSwitchBox = ({
1933
1945
  {
1934
1946
  accessible: false,
1935
1947
  disabled,
1936
- style: [styles15.box, boxColors],
1948
+ style: [styles16.box, boxColors],
1937
1949
  tabIndex: -1,
1938
1950
  testID: slot.testID,
1939
1951
  onPress: toggle2,
1940
1952
  children: [
1941
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles15.state, { color: colors.text }], children: stateLabel ?? "" }),
1953
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles16.state, { color: colors.text }], children: stateLabel ?? "" }),
1942
1954
  /* @__PURE__ */ jsx(SwitchSlot, { ...slot, inBox: true })
1943
1955
  ]
1944
1956
  }
1945
1957
  ) });
1946
1958
  };
1947
1959
  var DESCRIPTION_FONT_SIZE2 = 12;
1948
- var styles16 = StyleSheet.create({
1960
+ var styles17 = StyleSheet.create({
1949
1961
  container: {
1950
1962
  flexDirection: "row",
1951
1963
  justifyContent: "space-between",
@@ -2001,13 +2013,13 @@ var FormSwitchRow = ({
2001
2013
  accessible: false,
2002
2014
  disabled,
2003
2015
  onPress: toggle2,
2004
- style: [styles16.container, containerStyle],
2016
+ style: [styles17.container, containerStyle],
2005
2017
  tabIndex: -1,
2006
2018
  testID,
2007
2019
  children: [
2008
- /* @__PURE__ */ jsxs(View, { style: styles16.textColumn, children: [
2009
- /* @__PURE__ */ jsx(Text, { style: [styles16.label, themeStyles.label], children: label }),
2010
- hasDescription ? /* @__PURE__ */ jsx(Text, { style: [styles16.description, themeStyles.description], children: description }) : null
2020
+ /* @__PURE__ */ jsxs(View, { style: styles17.textColumn, children: [
2021
+ /* @__PURE__ */ jsx(Text, { style: [styles17.label, themeStyles.label], children: label }),
2022
+ hasDescription ? /* @__PURE__ */ jsx(Text, { style: [styles17.description, themeStyles.description], children: description }) : null
2011
2023
  ] }),
2012
2024
  /* @__PURE__ */ jsx(
2013
2025
  SwitchSlot,
@@ -2035,6 +2047,7 @@ var FormSwitch = ({
2035
2047
  }) => variant === "box" ? /* @__PURE__ */ jsx(FormSwitchBox, { ...props, disabled, stateLabel, testID }) : /* @__PURE__ */ jsx(FormSwitchRow, { ...props, disabled, testID });
2036
2048
  var checkboxBoxColors = (colors, brand, checked) => checked ? { backgroundColor: brand, borderColor: brand } : { backgroundColor: "transparent", borderColor: colors.textSecondary };
2037
2049
  var checkboxTickColor = (brand) => resolveOnBrand(brand);
2050
+ var CHECKBOX_TEXT_COLUMN = { flexGrow: 1, flexShrink: 1 };
2038
2051
  var COMPACT_BOX = { width: 16, height: 16, borderRadius: 4, borderWidth: 1.5 };
2039
2052
  var CheckboxLookContext = createContext("default");
2040
2053
  function CheckboxLookProvider({ look, children }) {
@@ -2058,7 +2071,7 @@ var DISABLED_OPACITY = 0.5;
2058
2071
  var FOCUS_RING_WIDTH = 2;
2059
2072
  var WEB_NO_DEFAULT_OUTLINE = { outlineStyle: "none" };
2060
2073
  var FOCUS_RING_INSET = -6;
2061
- var styles17 = StyleSheet.create({
2074
+ var styles18 = StyleSheet.create({
2062
2075
  container: {
2063
2076
  flexDirection: "row",
2064
2077
  alignItems: "flex-start",
@@ -2104,9 +2117,7 @@ var styles17 = StyleSheet.create({
2104
2117
  borderBottomWidth: TICK_STROKE,
2105
2118
  transform: [{ rotate: "45deg" }]
2106
2119
  },
2107
- textColumn: {
2108
- flex: 1
2109
- },
2120
+ textColumn: CHECKBOX_TEXT_COLUMN,
2110
2121
  label: {
2111
2122
  fontWeight: "600"
2112
2123
  },
@@ -2174,9 +2185,9 @@ var FormCheckbox = ({
2174
2185
  onPress: toggle2,
2175
2186
  role: "checkbox",
2176
2187
  style: [
2177
- styles17.container,
2178
- hasHint ? null : styles17.centered,
2179
- labelHidden ? styles17.boxOnly : null,
2188
+ styles18.container,
2189
+ hasHint ? null : styles18.centered,
2190
+ labelHidden ? styles18.boxOnly : null,
2180
2191
  containerStyle,
2181
2192
  disabled ? { opacity: DISABLED_OPACITY } : null,
2182
2193
  Platform.OS === "web" ? WEB_NO_DEFAULT_OUTLINE : null
@@ -2184,13 +2195,13 @@ var FormCheckbox = ({
2184
2195
  testID,
2185
2196
  ...keyboardProps,
2186
2197
  children: [
2187
- /* @__PURE__ */ jsxs(View, { style: [styles17.box, lookBox, value ? themeStyles.boxOn : themeStyles.boxOff], testID: `${testID}-box`, children: [
2188
- focused ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: [styles17.focusRing, themeStyles.ring], testID: `${testID}-focus-ring` }) : null,
2189
- value ? /* @__PURE__ */ jsx(View, { accessibilityElementsHidden: true, pointerEvents: "none", style: [styles17.tick, themeStyles.tick], testID: `${testID}-tick` }) : null
2198
+ /* @__PURE__ */ jsxs(View, { style: [styles18.box, lookBox, value ? themeStyles.boxOn : themeStyles.boxOff], testID: `${testID}-box`, children: [
2199
+ focused ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: [styles18.focusRing, themeStyles.ring], testID: `${testID}-focus-ring` }) : null,
2200
+ value ? /* @__PURE__ */ jsx(View, { accessibilityElementsHidden: true, pointerEvents: "none", style: [styles18.tick, themeStyles.tick], testID: `${testID}-tick` }) : null
2190
2201
  ] }),
2191
- labelHidden ? null : /* @__PURE__ */ jsxs(View, { style: styles17.textColumn, children: [
2192
- /* @__PURE__ */ jsx(Text, { style: [styles17.label, themeStyles.label], children: label }),
2193
- hasHint ? /* @__PURE__ */ jsx(Text, { nativeID: hintId, style: [styles17.hint, themeStyles.hint], children: hintText }) : null
2202
+ labelHidden ? null : /* @__PURE__ */ jsxs(View, { style: styles18.textColumn, children: [
2203
+ /* @__PURE__ */ jsx(Text, { style: [styles18.label, themeStyles.label], children: label }),
2204
+ hasHint ? /* @__PURE__ */ jsx(Text, { nativeID: hintId, style: [styles18.hint, themeStyles.hint], children: hintText }) : null
2194
2205
  ] })
2195
2206
  ]
2196
2207
  }
@@ -2537,7 +2548,7 @@ var CHIP_PAD_H = 8;
2537
2548
  var CHIP_PAD_V = 4;
2538
2549
  var CHIP_RADIUS = 999;
2539
2550
  var CHIP_FONT = 13;
2540
- var styles18 = StyleSheet.create({
2551
+ var styles19 = StyleSheet.create({
2541
2552
  chip: {
2542
2553
  flexDirection: "row",
2543
2554
  alignItems: "center",
@@ -2558,12 +2569,12 @@ function SelectedChip({ option, colors, removeLabel, removeHint, onRemove, testI
2558
2569
  accessibilityLabel: removeLabel,
2559
2570
  accessibilityRole: "button",
2560
2571
  hitSlop: CHIP_HIT_SLOP,
2561
- style: [styles18.chip, { borderColor: colors.border, backgroundColor: colors.surface }],
2572
+ style: [styles19.chip, { borderColor: colors.border, backgroundColor: colors.surface }],
2562
2573
  testID,
2563
2574
  onPress: () => onRemove(option.value),
2564
2575
  children: [
2565
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles18.text, { color: colors.text }], children: option.label }),
2566
- /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles18.text, { color: colors.text }], children: REMOVE_GLYPH })
2576
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles19.text, { color: colors.text }], children: option.label }),
2577
+ /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles19.text, { color: colors.text }], children: REMOVE_GLYPH })
2567
2578
  ]
2568
2579
  }
2569
2580
  );
@@ -2586,7 +2597,7 @@ var CHEVRON_DOWN2 = "\u25BE";
2586
2597
  var CHEVRON_UP2 = "\u25B4";
2587
2598
  var BOX_GAP = 6;
2588
2599
  var TRIGGER_MIN_WIDTH = 96;
2589
- var styles19 = StyleSheet.create({
2600
+ var styles20 = StyleSheet.create({
2590
2601
  box: { flexWrap: "wrap", justifyContent: "flex-start", gap: BOX_GAP },
2591
2602
  trigger: {
2592
2603
  flexGrow: 1,
@@ -2620,7 +2631,7 @@ function MultiSelectBox(props) {
2620
2631
  const chipColors = { text: colors.text, border: colors.border, surface: colors.surface };
2621
2632
  const summary = chosen.map((option) => option.label).join(", ");
2622
2633
  return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: controlStyles.anchor, children: [
2623
- /* @__PURE__ */ jsxs(View, { style: [controlStyles.selectTrigger, styles19.box, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], testID: `${testID}-box`, children: [
2634
+ /* @__PURE__ */ jsxs(View, { style: [controlStyles.selectTrigger, styles20.box, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], testID: `${testID}-box`, children: [
2624
2635
  chosen.map((option) => /* @__PURE__ */ jsx(
2625
2636
  SelectedChip,
2626
2637
  {
@@ -2644,7 +2655,7 @@ function MultiSelectBox(props) {
2644
2655
  "aria-haspopup": "menu",
2645
2656
  "aria-labelledby": labelId,
2646
2657
  disabled: remaining.length === 0,
2647
- style: styles19.trigger,
2658
+ style: styles20.trigger,
2648
2659
  testID: `${testID}-trigger`,
2649
2660
  onPress: toggle2,
2650
2661
  children: [
@@ -3084,20 +3095,20 @@ function DropdownSurface({ progress, translateY, anchorRef, onDismiss, closeLabe
3084
3095
  const place = frame === null ? null : { left: frame.left, width: frame.width, top: frame.top, bottom: frame.bottom };
3085
3096
  return /* @__PURE__ */ jsxs(Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: [
3086
3097
  /* @__PURE__ */ jsx(Pressable, { accessibilityHint: closeHint, accessibilityLabel: closeLabel, accessibilityRole: "button", style: StyleSheet.absoluteFill, testID: `${testID}-backdrop`, onPress: onDismiss }),
3087
- frame !== null ? /* @__PURE__ */ jsx(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
3098
+ frame !== null ? /* @__PURE__ */ jsx(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
3088
3099
  ] });
3089
3100
  }
3090
- var styles20 = StyleSheet.create({
3101
+ var styles21 = StyleSheet.create({
3091
3102
  dropdown: { position: "absolute" },
3092
3103
  growFromField: { transformOrigin: "top left" }
3093
3104
  });
3094
3105
  function SheetSurface({ translateY, onDismiss, closeLabel, closeHint, testID, children, progress, scale, accessibilityLabel }) {
3095
- return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: /* @__PURE__ */ jsxs(View, { style: styles21.backdrop, children: [
3106
+ return /* @__PURE__ */ jsx(Modal, { transparent: true, visible: true, animationType: "none", "aria-label": accessibilityLabel, onRequestClose: onDismiss, children: /* @__PURE__ */ jsxs(View, { style: styles22.backdrop, children: [
3096
3107
  /* @__PURE__ */ jsx(Pressable, { accessibilityHint: closeHint, accessibilityLabel: closeLabel, accessibilityRole: "button", style: StyleSheet.absoluteFill, testID: `${testID}-backdrop`, onPress: onDismiss }),
3097
- /* @__PURE__ */ jsx(Animated.View, { testID: `${testID}-sheet`, style: [styles21.sheet, { transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, progress === void 0 ? null : { opacity: progress }], children })
3108
+ /* @__PURE__ */ jsx(Animated.View, { testID: `${testID}-sheet`, style: [styles22.sheet, { transform: scale === void 0 ? [{ translateY }] : [{ translateY }, { scale }] }, progress === void 0 ? null : { opacity: progress }], children })
3098
3109
  ] }) });
3099
3110
  }
3100
- var styles21 = StyleSheet.create({
3111
+ var styles22 = StyleSheet.create({
3101
3112
  backdrop: { flex: 1, justifyContent: "flex-end" },
3102
3113
  sheet: { width: "100%", alignSelf: "stretch" }
3103
3114
  });
@@ -3117,6 +3128,9 @@ function useReducedMotion() {
3117
3128
  return reduced;
3118
3129
  }
3119
3130
 
3131
+ // src/DatePicker/data/defaultLocale.ts
3132
+ var DEFAULT_DATE_LOCALE = "en-GB";
3133
+
3120
3134
  // src/DatePicker/data/defaultLabels.ts
3121
3135
  var DEFAULT_DATE_PICKER_LABELS = {
3122
3136
  dialog: "Choose a date",
@@ -3322,8 +3336,9 @@ function DatePickerProvider({ labels, locale, today, display, children }) {
3322
3336
  }
3323
3337
  function useDatePickerConfig() {
3324
3338
  const config = useContext(DatePickerContext);
3325
- const firstDay = useMemo(() => weekFirstDay(config.locale), [config.locale]);
3326
- return { labels: config.labels, locale: config.locale, today: config.today ?? todayIso(), firstDay, display: config.display ?? "long" /* Long */ };
3339
+ const locale = config.locale ?? DEFAULT_DATE_LOCALE;
3340
+ const firstDay = useMemo(() => weekFirstDay(locale), [locale]);
3341
+ return { labels: config.labels, locale, today: config.today ?? todayIso(), firstDay, display: config.display ?? "long" /* Long */ };
3327
3342
  }
3328
3343
 
3329
3344
  // src/DatePicker/utils/motionStyles.ts
@@ -3673,9 +3688,9 @@ var GLYPH_EM = 0.62;
3673
3688
  var PAD_INLINE = 12;
3674
3689
  var BORDER = 1;
3675
3690
  var PLACEHOLDER_CHARS = 15;
3676
- function closedFieldMinWidth(text, iconRoom) {
3691
+ function closedFieldMinWidth(text, iconRoom2) {
3677
3692
  const chars = Math.max(text.length, PLACEHOLDER_CHARS);
3678
- return Math.ceil(chars * FONT_PX * GLYPH_EM) + PAD_INLINE + iconRoom + BORDER + BORDER;
3693
+ return Math.ceil(chars * FONT_PX * GLYPH_EM) + PAD_INLINE + iconRoom2 + BORDER + BORDER;
3679
3694
  }
3680
3695
 
3681
3696
  // src/DatePicker/utils/datePattern.ts
@@ -3731,7 +3746,7 @@ function typedEditBind(typed) {
3731
3746
  };
3732
3747
  }
3733
3748
  var SINGLE_PICKER_WIDTH = 340;
3734
- var ICON_ROOM = 48;
3749
+ var ICON_ROOM2 = 48;
3735
3750
  var ICON_SLOT = { position: "absolute", right: 2, top: 0, bottom: 0, display: "flex", alignItems: "center" };
3736
3751
  var anchorStyles = StyleSheet.create({ wrap: { position: "relative", width: "100%" } });
3737
3752
  function DatePickerInput({ fieldProps, context, onTypedError }) {
@@ -3766,7 +3781,7 @@ function DatePickerInput({ fieldProps, context, onTypedError }) {
3766
3781
  event.preventDefault();
3767
3782
  if (typed.isReady()) onSubmit();
3768
3783
  };
3769
- return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: [anchorStyles.wrap, { minWidth: closedFieldMinWidth(typed.display, ICON_ROOM) }], testID: `${testID}-anchor`, children: [
3784
+ return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: [anchorStyles.wrap, { minWidth: closedFieldMinWidth(typed.display, ICON_ROOM2) }], testID: `${testID}-anchor`, children: [
3770
3785
  /* @__PURE__ */ jsx(
3771
3786
  "input",
3772
3787
  {
@@ -3779,7 +3794,7 @@ function DatePickerInput({ fieldProps, context, onTypedError }) {
3779
3794
  disabled,
3780
3795
  id: context.controlId,
3781
3796
  placeholder: labels.datePlaceholder !== "" ? labels.datePlaceholder : datePattern(locale),
3782
- style: { ...buildNativeInputStyle(style, look), paddingInlineEnd: ICON_ROOM },
3797
+ style: { ...buildNativeInputStyle(style, look), paddingInlineEnd: ICON_ROOM2 },
3783
3798
  title: accessibilityHint,
3784
3799
  type: "text",
3785
3800
  value: typed.display,
@@ -4011,7 +4026,8 @@ function orNone(value) {
4011
4026
  return value !== "" ? value : void 0;
4012
4027
  }
4013
4028
  function WebDateRange({ value, onChange, onSubmit, fromLabel, toLabel, hint, testID, context, onTypedError }) {
4014
- const { labels } = useDatePickerConfig();
4029
+ const { labels, locale } = useDatePickerConfig();
4030
+ const placeholder = labels.datePlaceholder !== "" ? labels.datePlaceholder : datePattern(locale);
4015
4031
  const phone = useIsPhone();
4016
4032
  const [open, setOpen] = useState(false);
4017
4033
  const [fromError, setFromError] = useState(void 0);
@@ -4048,6 +4064,7 @@ function WebDateRange({ value, onChange, onSubmit, fromLabel, toLabel, hint, tes
4048
4064
  autoComplete: "off",
4049
4065
  "data-testid": `${testID}-${side}`,
4050
4066
  id: side === "from" /* From */ ? context.controlId : void 0,
4067
+ placeholder,
4051
4068
  style: SEGMENT,
4052
4069
  title: hint,
4053
4070
  type: "text",
@@ -4071,7 +4088,7 @@ function WebDateRange({ value, onChange, onSubmit, fromLabel, toLabel, hint, tes
4071
4088
  );
4072
4089
  };
4073
4090
  return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: anchorStyles.wrap, children: [
4074
- /* @__PURE__ */ jsxs("div", { ...hoverBind, style: { ...buildNativeInputStyle(style), display: "flex", alignItems: "center", gap: GAP5, paddingInlineEnd: ICON_ROOM }, children: [
4091
+ /* @__PURE__ */ jsxs("div", { ...hoverBind, style: { ...buildNativeInputStyle(style), display: "flex", alignItems: "center", gap: GAP5, paddingInlineEnd: ICON_ROOM2 }, children: [
4075
4092
  segment("from" /* From */, from),
4076
4093
  /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\u2192" }),
4077
4094
  segment("to" /* To */, to)
@@ -4149,7 +4166,7 @@ var ROW_GAP = 4;
4149
4166
  var TAB_PADDING = 4;
4150
4167
  var INDICATOR_WIDTH = 2;
4151
4168
  var TAB_FONT_SIZE = 12;
4152
- var styles22 = StyleSheet.create({
4169
+ var styles23 = StyleSheet.create({
4153
4170
  row: { flexDirection: "row", flexWrap: "nowrap", gap: ROW_GAP },
4154
4171
  tab: {
4155
4172
  borderBottomWidth: INDICATOR_WIDTH,
@@ -4189,13 +4206,13 @@ var StepperTab = ({
4189
4206
  accessibilityRole: "tab",
4190
4207
  accessibilityState: { selected },
4191
4208
  "aria-selected": selected,
4192
- style: [styles22.tab, { borderBottomColor: indicator }, ring.ringStyle],
4209
+ style: [styles23.tab, { borderBottomColor: indicator }, ring.ringStyle],
4193
4210
  testID,
4194
4211
  onBlur: ring.onBlur,
4195
4212
  onFocus: ring.onFocus,
4196
4213
  onPress: () => onStep(step.key),
4197
4214
  ...webKeyProps,
4198
- children: /* @__PURE__ */ jsx(Text, { style: [styles22.text, { color: theme.colors.text }, selected ? styles22.textSelected : void 0], children: step.label })
4215
+ children: /* @__PURE__ */ jsx(Text, { style: [styles23.text, { color: theme.colors.text }, selected ? styles23.textSelected : void 0], children: step.label })
4199
4216
  }
4200
4217
  );
4201
4218
  };
@@ -4205,7 +4222,7 @@ var StepperTabs = ({
4205
4222
  onStep,
4206
4223
  stepHint,
4207
4224
  testID
4208
- }) => /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", style: styles22.row, testID, children: steps.map((step) => /* @__PURE__ */ jsx(
4225
+ }) => /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", style: styles23.row, testID, children: steps.map((step) => /* @__PURE__ */ jsx(
4209
4226
  StepperTab,
4210
4227
  {
4211
4228
  hint: stepHint,
@@ -4224,7 +4241,7 @@ function resolveStepNeighbours(steps, current) {
4224
4241
  return { previous: steps[index - 1] ?? null, next: steps[index + 1] ?? null };
4225
4242
  }
4226
4243
  var ROW_GAP2 = 8;
4227
- var styles23 = StyleSheet.create({
4244
+ var styles24 = StyleSheet.create({
4228
4245
  cell: { flex: 1, minWidth: 0 },
4229
4246
  row: { flexDirection: "row", gap: ROW_GAP2 }
4230
4247
  });
@@ -4236,8 +4253,8 @@ var StepperNav = ({
4236
4253
  testID
4237
4254
  }) => {
4238
4255
  const { previous, next } = resolveStepNeighbours(steps, current);
4239
- return /* @__PURE__ */ jsxs(View, { style: styles23.row, testID, children: [
4240
- /* @__PURE__ */ jsx(View, { style: styles23.cell, children: /* @__PURE__ */ jsx(
4256
+ return /* @__PURE__ */ jsxs(View, { style: styles24.row, testID, children: [
4257
+ /* @__PURE__ */ jsx(View, { style: styles24.cell, children: /* @__PURE__ */ jsx(
4241
4258
  Button,
4242
4259
  {
4243
4260
  fullWidth: true,
@@ -4253,7 +4270,7 @@ var StepperNav = ({
4253
4270
  }
4254
4271
  }
4255
4272
  ) }),
4256
- next === null ? null : /* @__PURE__ */ jsx(View, { style: styles23.cell, children: /* @__PURE__ */ jsx(
4273
+ next === null ? null : /* @__PURE__ */ jsx(View, { style: styles24.cell, children: /* @__PURE__ */ jsx(
4257
4274
  Button,
4258
4275
  {
4259
4276
  fullWidth: true,
@@ -4268,13 +4285,13 @@ var StepperNav = ({
4268
4285
  ] });
4269
4286
  };
4270
4287
  var STATUS_FONT = 16;
4271
- var styles24 = StyleSheet.create({
4288
+ var styles25 = StyleSheet.create({
4272
4289
  line: { fontSize: STATUS_FONT }
4273
4290
  });
4274
4291
  function FormStatusLine({ message, testID, style }) {
4275
4292
  const { theme } = useUi();
4276
4293
  if (message === null || message === void 0 || message === "") return null;
4277
- return /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles24.line, { color: theme.colors.text }, style], testID, children: message });
4294
+ return /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles25.line, { color: theme.colors.text }, style], testID, children: message });
4278
4295
  }
4279
4296
  function useFocusFirstInvalid(refs) {
4280
4297
  const latest = useRef(refs);
@@ -4363,7 +4380,7 @@ function useKeepInView(trigger) {
4363
4380
  }
4364
4381
  var IS_WEB10 = Platform.OS === "web";
4365
4382
  var INPUT_FONT2 = 14;
4366
- var styles25 = StyleSheet.create({
4383
+ var styles26 = StyleSheet.create({
4367
4384
  nativeButton: { minHeight: MIN_TOUCH_TARGET_PX, minWidth: MIN_TOUCH_TARGET_PX, justifyContent: "center" },
4368
4385
  nativeText: { fontSize: INPUT_FONT2 }
4369
4386
  });
@@ -4391,10 +4408,10 @@ function FileInput({
4391
4408
  accessibilityRole: "button",
4392
4409
  accessibilityState: { disabled },
4393
4410
  disabled,
4394
- style: styles25.nativeButton,
4411
+ style: styles26.nativeButton,
4395
4412
  testID,
4396
4413
  onPress: onNativePick,
4397
- children: /* @__PURE__ */ jsx(Text, { style: [styles25.nativeText, { color: colors.text }], children: nativeLabel ?? accessibilityLabel })
4414
+ children: /* @__PURE__ */ jsx(Text, { style: [styles26.nativeText, { color: colors.text }], children: nativeLabel ?? accessibilityLabel })
4398
4415
  }
4399
4416
  );
4400
4417
  }
@@ -4424,7 +4441,7 @@ var PREVIEW_RADIUS = 8;
4424
4441
  var GAP6 = 8;
4425
4442
  var TITLE_FONT_SIZE = 14;
4426
4443
  var HELP_FONT_SIZE = 13;
4427
- var styles26 = StyleSheet.create({
4444
+ var styles27 = StyleSheet.create({
4428
4445
  help: { flex: 1, fontSize: HELP_FONT_SIZE },
4429
4446
  root: { gap: GAP6 },
4430
4447
  tile: { alignItems: "center", flexDirection: "row", gap: GAP6 },
@@ -4446,11 +4463,11 @@ var UploadWithLinkField = ({
4446
4463
  const url = value ?? "";
4447
4464
  const [pasting, setPasting] = useState(url !== "");
4448
4465
  const previewBox = { borderRadius: PREVIEW_RADIUS, height: previewSize, width: previewSize };
4449
- return /* @__PURE__ */ jsxs(View, { style: styles26.root, children: [
4450
- /* @__PURE__ */ jsx(Text, { style: [styles26.title, { color: theme.colors.text }], children: labels.title }),
4451
- /* @__PURE__ */ jsxs(View, { style: styles26.tile, children: [
4466
+ return /* @__PURE__ */ jsxs(View, { style: styles27.root, children: [
4467
+ /* @__PURE__ */ jsx(Text, { style: [styles27.title, { color: theme.colors.text }], children: labels.title }),
4468
+ /* @__PURE__ */ jsxs(View, { style: styles27.tile, children: [
4452
4469
  url === "" ? /* @__PURE__ */ jsx(View, { style: [previewBox, { backgroundColor: theme.colors.border }] }) : /* @__PURE__ */ jsx(Image, { accessible: false, source: { uri: url }, style: previewBox, testID: `${testID}-preview` }),
4453
- labels.help === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles26.help, { color: theme.colors.text }], children: labels.help })
4470
+ labels.help === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles27.help, { color: theme.colors.text }], children: labels.help })
4454
4471
  ] }),
4455
4472
  uploadControl,
4456
4473
  /* @__PURE__ */ jsx(
@@ -4461,12 +4478,12 @@ var UploadWithLinkField = ({
4461
4478
  accessibilityRole: "button",
4462
4479
  accessibilityState: { expanded: pasting },
4463
4480
  "aria-expanded": pasting,
4464
- style: [styles26.toggle, ring.ringStyle],
4481
+ style: [styles27.toggle, ring.ringStyle],
4465
4482
  testID: `${testID}-paste`,
4466
4483
  onBlur: ring.onBlur,
4467
4484
  onFocus: ring.onFocus,
4468
4485
  onPress: () => setPasting(!pasting),
4469
- children: /* @__PURE__ */ jsx(Text, { style: [styles26.toggleText, { color: theme.colors.text }], children: labels.pasteToggle })
4486
+ children: /* @__PURE__ */ jsx(Text, { style: [styles27.toggleText, { color: theme.colors.text }], children: labels.pasteToggle })
4470
4487
  }
4471
4488
  ),
4472
4489
  pasting ? /* @__PURE__ */ jsx(
@@ -4485,7 +4502,7 @@ var UploadWithLinkField = ({
4485
4502
  };
4486
4503
  var ACTION_GAP = 8;
4487
4504
  var GROUP_GAP = 16;
4488
- var styles27 = StyleSheet.create({
4505
+ var styles28 = StyleSheet.create({
4489
4506
  action: { alignItems: "flex-start", marginTop: ACTION_GAP },
4490
4507
  group: { marginBottom: GROUP_GAP }
4491
4508
  });
@@ -4508,7 +4525,7 @@ var AddOnRequest = ({
4508
4525
  onRemove();
4509
4526
  };
4510
4527
  if (!isAddOnOpen(hasValue, requested))
4511
- return /* @__PURE__ */ jsx(View, { style: [styles27.action, style], children: /* @__PURE__ */ jsx(
4528
+ return /* @__PURE__ */ jsx(View, { style: [styles28.action, style], children: /* @__PURE__ */ jsx(
4512
4529
  Button,
4513
4530
  {
4514
4531
  accessibilityHint: addHint,
@@ -4520,9 +4537,9 @@ var AddOnRequest = ({
4520
4537
  onPress: () => setRequested(true)
4521
4538
  }
4522
4539
  ) });
4523
- return /* @__PURE__ */ jsxs(View, { style: [styles27.group, style], testID, children: [
4540
+ return /* @__PURE__ */ jsxs(View, { style: [styles28.group, style], testID, children: [
4524
4541
  children,
4525
- /* @__PURE__ */ jsx(View, { style: styles27.action, children: /* @__PURE__ */ jsx(
4542
+ /* @__PURE__ */ jsx(View, { style: styles28.action, children: /* @__PURE__ */ jsx(
4526
4543
  Button,
4527
4544
  {
4528
4545
  accessibilityHint: removeHint,
@@ -4539,7 +4556,7 @@ var AddOnRequest = ({
4539
4556
  var ROW_GAP3 = 8;
4540
4557
  var TEXT_SIZE = 13;
4541
4558
  var TEXT_LINE = 18;
4542
- var styles28 = StyleSheet.create({
4559
+ var styles29 = StyleSheet.create({
4543
4560
  row: { alignItems: "center", columnGap: ROW_GAP3, flexDirection: "row", justifyContent: "space-between" },
4544
4561
  text: { flexShrink: 1, fontSize: TEXT_SIZE, fontWeight: "700", lineHeight: TEXT_LINE }
4545
4562
  });
@@ -4547,8 +4564,8 @@ var isFixBarVisible = (count) => count > 0;
4547
4564
  var FixBar = ({ count, message, showLabel, showHint, onShow, testID, style }) => {
4548
4565
  const { theme } = useUi();
4549
4566
  if (!isFixBarVisible(count)) return null;
4550
- return /* @__PURE__ */ jsxs(View, { style: [styles28.row, style], testID, children: [
4551
- /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles28.text, { color: fieldErrorInk(theme) }], testID: `${testID}-count`, children: message }),
4567
+ return /* @__PURE__ */ jsxs(View, { style: [styles29.row, style], testID, children: [
4568
+ /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles29.text, { color: fieldErrorInk(theme) }], testID: `${testID}-count`, children: message }),
4552
4569
  /* @__PURE__ */ jsx(
4553
4570
  Button,
4554
4571
  {
@@ -4579,21 +4596,21 @@ function OptionRow2({ option, active, current, renderLeading, renderDetail, onPi
4579
4596
  accessibilityLabel: option.label,
4580
4597
  accessibilityRole: "button",
4581
4598
  accessibilityState: { selected: active, checked: current },
4582
- style: [styles29.row, active ? { backgroundColor: colors.surface } : null],
4599
+ style: [styles30.row, active ? { backgroundColor: colors.surface } : null],
4583
4600
  testID: `${testID}-option-${option.value}`,
4584
4601
  onPress: () => onPick(option),
4585
4602
  children: [
4586
4603
  renderLeading?.(option),
4587
- /* @__PURE__ */ jsxs(View, { style: styles29.label, children: [
4588
- /* @__PURE__ */ jsx(Text, { style: [styles29.primary, { color: colors.text }], children: option.label }),
4589
- detailBelow ? /* @__PURE__ */ jsx(Text, { style: [styles29.secondary, { color: colors.textSecondary }], children: option.detail }) : null
4604
+ /* @__PURE__ */ jsxs(View, { style: styles30.label, children: [
4605
+ /* @__PURE__ */ jsx(Text, { style: [styles30.primary, { color: colors.text }], children: option.label }),
4606
+ detailBelow ? /* @__PURE__ */ jsx(Text, { style: [styles30.secondary, { color: colors.textSecondary }], children: option.detail }) : null
4590
4607
  ] }),
4591
4608
  renderDetail?.(option)
4592
4609
  ]
4593
4610
  }
4594
4611
  );
4595
4612
  }
4596
- var styles29 = StyleSheet.create({
4613
+ var styles30 = StyleSheet.create({
4597
4614
  row: { minHeight: MIN_TOUCH_TARGET_PX, flexDirection: "row", alignItems: "center", gap: ROW_GAP4, paddingHorizontal: ROW_PAD_H },
4598
4615
  label: { flex: 1 },
4599
4616
  primary: { fontSize: OPTION_FONT2, flexShrink: 1 },
@@ -4607,11 +4624,11 @@ function OptionSection({ title, options, offset, highlight, selectedValue, ...ro
4607
4624
  const { colors } = theme;
4608
4625
  if (options.length === 0) return null;
4609
4626
  return /* @__PURE__ */ jsxs(View, { children: [
4610
- /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles30.header, { color: colors.textSecondary }], children: title }),
4627
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles31.header, { color: colors.textSecondary }], children: title }),
4611
4628
  options.map((option, index) => /* @__PURE__ */ jsx(OptionRow2, { ...row, active: offset + index === highlight, current: option.value === selectedValue, option }, option.value))
4612
4629
  ] });
4613
4630
  }
4614
- var styles30 = StyleSheet.create({
4631
+ var styles31 = StyleSheet.create({
4615
4632
  header: { fontSize: HEADER_FONT, paddingHorizontal: ROW_PAD_H2, paddingTop: ROW_GAP5, textTransform: "uppercase" }
4616
4633
  });
4617
4634
  var KEY_ESCAPE = "Escape";
@@ -4641,7 +4658,7 @@ function SearchSelectPanel({ motion, state, labels, anchorRef, renderLeading, re
4641
4658
  const translateY = progress.interpolate({ inputRange: [0, 1], outputRange: [motion.fromY, 0] });
4642
4659
  const isSheet = motion.surface === "sheet" /* Sheet */;
4643
4660
  const shared = { selectedValue, renderLeading, renderDetail, onPick: pick, optionHint: labels.optionHint, testID, highlight };
4644
- const list = /* @__PURE__ */ jsxs(View, { style: [styles31.panel, { backgroundColor: colors.surfaceElevated, borderColor: colors.border }], testID: `${testID}-panel`, children: [
4661
+ const list = /* @__PURE__ */ jsxs(View, { style: [styles32.panel, { backgroundColor: colors.surfaceElevated, borderColor: colors.border }], testID: `${testID}-panel`, children: [
4645
4662
  /* @__PURE__ */ jsx(
4646
4663
  TextInput,
4647
4664
  {
@@ -4658,16 +4675,16 @@ function SearchSelectPanel({ motion, state, labels, anchorRef, renderLeading, re
4658
4675
  onSubmitEditing: submit
4659
4676
  }
4660
4677
  ),
4661
- /* @__PURE__ */ jsxs(ScrollView, { keyboardShouldPersistTaps: "handled", style: isSheet ? styles31.sheetList : styles31.dropList, children: [
4678
+ /* @__PURE__ */ jsxs(ScrollView, { keyboardShouldPersistTaps: "handled", style: isSheet ? styles32.sheetList : styles32.dropList, children: [
4662
4679
  /* @__PURE__ */ jsx(OptionSection, { ...shared, offset: 0, options: sections.recent, title: labels.recent }),
4663
4680
  /* @__PURE__ */ jsx(OptionSection, { ...shared, offset: sections.recent.length, options: sections.all, title: labels.all }),
4664
- sections.flat.length === 0 ? /* @__PURE__ */ jsx(Text, { style: [styles31.empty, { color: colors.textSecondary }], children: labels.empty }) : null
4681
+ sections.flat.length === 0 ? /* @__PURE__ */ jsx(Text, { style: [styles32.empty, { color: colors.textSecondary }], children: labels.empty }) : null
4665
4682
  ] })
4666
4683
  ] });
4667
4684
  if (!isSheet) return /* @__PURE__ */ jsx(DropdownSurface, { anchorRef, closeHint: labels.closeHint, closeLabel: labels.close, progress, testID, translateY, onDismiss: dismiss, children: list });
4668
4685
  return /* @__PURE__ */ jsx(SheetSurface, { closeHint: labels.closeHint, closeLabel: labels.close, testID, translateY, onDismiss: dismiss, children: list });
4669
4686
  }
4670
- var styles31 = StyleSheet.create({
4687
+ var styles32 = StyleSheet.create({
4671
4688
  panel: { borderWidth: 1, borderRadius: PANEL_RADIUS, padding: PANEL_PAD, gap: PANEL_PAD },
4672
4689
  dropList: { maxHeight: MENU_MAX_HEIGHT },
4673
4690
  sheetList: { maxHeight: SHEET_MAX_HEIGHT2 },
@@ -4764,7 +4781,7 @@ function SearchSelect(props) {
4764
4781
  const onTriggerBlur = useCallback(() => {
4765
4782
  if (!openRef.current) onBlur?.();
4766
4783
  }, [onBlur]);
4767
- return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: styles32.anchor, children: [
4784
+ return /* @__PURE__ */ jsxs(View, { ref: anchorRef, style: styles33.anchor, children: [
4768
4785
  /* @__PURE__ */ jsx(
4769
4786
  Pressable,
4770
4787
  {
@@ -4773,7 +4790,7 @@ function SearchSelect(props) {
4773
4790
  accessibilityLabel,
4774
4791
  accessibilityRole: "button",
4775
4792
  accessibilityState: { expanded: state.open },
4776
- style: renderTrigger === void 0 ? [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }] : styles32.customTrigger,
4793
+ style: renderTrigger === void 0 ? [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }] : styles33.customTrigger,
4777
4794
  testID,
4778
4795
  onBlur: onTriggerBlur,
4779
4796
  onPress,
@@ -4785,7 +4802,7 @@ function SearchSelect(props) {
4785
4802
  }
4786
4803
  function FieldBoxContent({ selected, placeholder, colors, renderLeading, renderDetail }) {
4787
4804
  return /* @__PURE__ */ jsxs(Fragment, { children: [
4788
- /* @__PURE__ */ jsxs(View, { style: styles32.value, children: [
4805
+ /* @__PURE__ */ jsxs(View, { style: styles33.value, children: [
4789
4806
  selected !== null && renderLeading !== void 0 ? renderLeading(selected) : null,
4790
4807
  /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [controlStyles.selectTriggerText, { color: selected === null ? colors.textSecondary : colors.text }], children: selected?.label ?? placeholder }),
4791
4808
  selected !== null ? /* @__PURE__ */ jsx(SelectedDetail, { colors, option: selected, renderDetail }) : null
@@ -4798,7 +4815,7 @@ function SelectedDetail({ option, colors, renderDetail }) {
4798
4815
  if (option.detail === void 0) return null;
4799
4816
  return /* @__PURE__ */ jsx(Text, { style: [controlStyles.selectTriggerText, { color: colors.textSecondary }], children: option.detail });
4800
4817
  }
4801
- var styles32 = StyleSheet.create({
4818
+ var styles33 = StyleSheet.create({
4802
4819
  anchor: { position: "relative" },
4803
4820
  customTrigger: { minHeight: MIN_TOUCH, minWidth: MIN_TOUCH, alignSelf: "flex-start", justifyContent: "center" },
4804
4821
  value: { flex: 1, flexDirection: "row", alignItems: "center", gap: VALUE_GAP }
@@ -5575,7 +5592,7 @@ function CountryField({ value, onChange, accessibilityLabel, accessibilityHint,
5575
5592
  const { theme } = useUi();
5576
5593
  const { textSecondary } = theme.colors;
5577
5594
  const options = useMemo(() => countryFieldOptions(countries, noneLabel), [countries, noneLabel]);
5578
- const renderCode = useCallback((option) => /* @__PURE__ */ jsx(Text, { style: [styles33.code, { color: textSecondary }], children: option.detail }), [textSecondary]);
5595
+ const renderCode = useCallback((option) => /* @__PURE__ */ jsx(Text, { style: [styles34.code, { color: textSecondary }], children: option.detail }), [textSecondary]);
5579
5596
  return /* @__PURE__ */ jsx(
5580
5597
  SearchSelect,
5581
5598
  {
@@ -5593,7 +5610,7 @@ function CountryField({ value, onChange, accessibilityLabel, accessibilityHint,
5593
5610
  }
5594
5611
  );
5595
5612
  }
5596
- var styles33 = StyleSheet.create({
5613
+ var styles34 = StyleSheet.create({
5597
5614
  code: { fontSize: CODE_FONT }
5598
5615
  });
5599
5616
  function useBlurVerdict(validate) {
@@ -5849,9 +5866,9 @@ var LINE_GAP = 4;
5849
5866
  function RejectionLine({ message, testID }) {
5850
5867
  const { theme } = useUi();
5851
5868
  if (message === null) return null;
5852
- return /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "polite", style: [styles34.line, { color: fieldErrorInk(theme) }], testID: `${testID}-rejection`, children: message });
5869
+ return /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "polite", style: [styles35.line, { color: fieldErrorInk(theme) }], testID: `${testID}-rejection`, children: message });
5853
5870
  }
5854
- var styles34 = StyleSheet.create({
5871
+ var styles35 = StyleSheet.create({
5855
5872
  line: { marginTop: LINE_GAP }
5856
5873
  });
5857
5874
 
@@ -5998,7 +6015,7 @@ var PAD_V = 10;
5998
6015
  var PAD_H = 16;
5999
6016
  var TEXT_SIZE2 = 13;
6000
6017
  var TEXT_LINE2 = 18;
6001
- var styles35 = StyleSheet.create({
6018
+ var styles36 = StyleSheet.create({
6002
6019
  bar: { borderTopWidth: 1, paddingHorizontal: PAD_H, paddingVertical: PAD_V, rowGap: BAR_GAP },
6003
6020
  actions: { flexDirection: "row", flexWrap: "wrap", gap: BAR_GAP },
6004
6021
  message: { fontSize: TEXT_SIZE2, fontWeight: "700", lineHeight: TEXT_LINE2 }
@@ -6010,9 +6027,9 @@ var ActionBar = ({ children, message, sticky = false, testID, style }) => {
6010
6027
  const { colors } = theme;
6011
6028
  const pinned = actionBarPosition(sticky, Platform.OS) === "sticky" ? PINNED : null;
6012
6029
  const hasMessage = message !== void 0 && message !== "";
6013
- return /* @__PURE__ */ jsxs(View, { style: [styles35.bar, { backgroundColor: colors.surface, borderTopColor: colors.border }, pinned, style], testID, children: [
6014
- hasMessage ? /* @__PURE__ */ jsx(Text, { role: "status", style: [styles35.message, { color: colors.text }], testID: `${testID}-message`, children: message }) : null,
6015
- /* @__PURE__ */ jsx(View, { style: styles35.actions, children })
6030
+ return /* @__PURE__ */ jsxs(View, { style: [styles36.bar, { backgroundColor: colors.surface, borderTopColor: colors.border }, pinned, style], testID, children: [
6031
+ hasMessage ? /* @__PURE__ */ jsx(Text, { role: "status", style: [styles36.message, { color: colors.text }], testID: `${testID}-message`, children: message }) : null,
6032
+ /* @__PURE__ */ jsx(View, { style: styles36.actions, children })
6016
6033
  ] });
6017
6034
  };
6018
6035
 
@@ -6020,14 +6037,14 @@ var ActionBar = ({ children, message, sticky = false, testID, style }) => {
6020
6037
  var isChecklistComplete = (items, checked) => items.every((item) => checked.includes(item.id));
6021
6038
  var TITLE_SIZE = 13;
6022
6039
  var TITLE_GAP = 6;
6023
- var styles36 = StyleSheet.create({
6040
+ var styles37 = StyleSheet.create({
6024
6041
  title: { fontSize: TITLE_SIZE, fontWeight: "700", marginBottom: TITLE_GAP }
6025
6042
  });
6026
6043
  var GatedChecklist = ({ title, items, checked, onToggle, testID, disabled = false, children }) => {
6027
6044
  const { theme } = useUi();
6028
6045
  const complete = isChecklistComplete(items, checked);
6029
6046
  return /* @__PURE__ */ jsxs(View, { testID, children: [
6030
- /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles36.title, { color: theme.colors.text }], children: title }),
6047
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles37.title, { color: theme.colors.text }], children: title }),
6031
6048
  items.map((item) => /* @__PURE__ */ jsx(
6032
6049
  FormCheckbox,
6033
6050
  {
@@ -6053,7 +6070,7 @@ var RADIUS2 = 8;
6053
6070
  var LABEL_SIZE = 14;
6054
6071
  var DESCRIPTION_SIZE = 12;
6055
6072
  var DESCRIPTION_LINE = 16;
6056
- var styles37 = StyleSheet.create({
6073
+ var styles38 = StyleSheet.create({
6057
6074
  row: {
6058
6075
  alignItems: "center",
6059
6076
  borderRadius: RADIUS2,
@@ -6084,15 +6101,15 @@ function RadioRow({ option, identity, colors, tabIndex, hostRef, onPress }) {
6084
6101
  accessibilityState: identity.accessibilityState,
6085
6102
  "aria-checked": checked,
6086
6103
  disabled,
6087
- style: [styles37.row, { borderColor: accent, backgroundColor: checked ? colors.tint : colors.muted }],
6104
+ style: [styles38.row, { borderColor: accent, backgroundColor: checked ? colors.tint : colors.muted }],
6088
6105
  tabIndex,
6089
6106
  testID: identity.testID,
6090
6107
  onPress,
6091
6108
  children: [
6092
- /* @__PURE__ */ jsx(View, { style: [styles37.dot, { borderColor: accent }], children: checked ? /* @__PURE__ */ jsx(View, { style: [styles37.dotInner, { backgroundColor: colors.primary }] }) : null }),
6093
- /* @__PURE__ */ jsxs(View, { style: styles37.text, children: [
6094
- /* @__PURE__ */ jsx(Text, { style: [styles37.label, { color: checked ? colors.primary : colors.textStrong }], children: option.label }),
6095
- hasDescription ? /* @__PURE__ */ jsx(Text, { style: [styles37.description, { color: colors.textMuted }], testID: `${identity.testID}-description`, children: option.description }) : null
6109
+ /* @__PURE__ */ jsx(View, { style: [styles38.dot, { borderColor: accent }], children: checked ? /* @__PURE__ */ jsx(View, { style: [styles38.dotInner, { backgroundColor: colors.primary }] }) : null }),
6110
+ /* @__PURE__ */ jsxs(View, { style: styles38.text, children: [
6111
+ /* @__PURE__ */ jsx(Text, { style: [styles38.label, { color: checked ? colors.primary : colors.textStrong }], children: option.label }),
6112
+ hasDescription ? /* @__PURE__ */ jsx(Text, { style: [styles38.description, { color: colors.textMuted }], testID: `${identity.testID}-description`, children: option.description }) : null
6096
6113
  ] })
6097
6114
  ]
6098
6115
  }
@@ -6109,7 +6126,7 @@ var radioRowIdentity = (option, selected, disabled, prefix) => {
6109
6126
  };
6110
6127
  };
6111
6128
  var ROW_GAP7 = 8;
6112
- var styles38 = StyleSheet.create({
6129
+ var styles39 = StyleSheet.create({
6113
6130
  list: { rowGap: ROW_GAP7 }
6114
6131
  });
6115
6132
  function RadioList(props) {
@@ -6122,7 +6139,7 @@ function RadioList(props) {
6122
6139
  View,
6123
6140
  {
6124
6141
  accessibilityRole: "radiogroup",
6125
- style: styles38.list,
6142
+ style: styles39.list,
6126
6143
  ...webFieldA11y({ describedById, hasError }),
6127
6144
  ...radio.groupProps,
6128
6145
  children: options.map((option, index) => /* @__PURE__ */ jsx(
@@ -6176,11 +6193,11 @@ function DecisionNote({ state, labels, testID, disabled }) {
6176
6193
  );
6177
6194
  }
6178
6195
  var BUTTON_BASIS = "40%";
6179
- var styles39 = StyleSheet.create({
6196
+ var styles40 = StyleSheet.create({
6180
6197
  cell: { flexBasis: BUTTON_BASIS, flexGrow: 1 }
6181
6198
  });
6182
6199
  function OutcomeButtons({ outcomes, pending, disabled, testID, onPress }) {
6183
- return /* @__PURE__ */ jsx(Fragment, { children: outcomes.map((item) => /* @__PURE__ */ jsx(View, { style: styles39.cell, children: /* @__PURE__ */ jsx(
6200
+ return /* @__PURE__ */ jsx(Fragment, { children: outcomes.map((item) => /* @__PURE__ */ jsx(View, { style: styles40.cell, children: /* @__PURE__ */ jsx(
6184
6201
  Button,
6185
6202
  {
6186
6203
  fullWidth: true,
@@ -6261,12 +6278,12 @@ function StickyBarDecision(props) {
6261
6278
  }
6262
6279
  var TEXT_SIZE3 = 13;
6263
6280
  var TEXT_LINE3 = 18;
6264
- var styles40 = StyleSheet.create({
6281
+ var styles41 = StyleSheet.create({
6265
6282
  text: { fontSize: TEXT_SIZE3, fontWeight: "700", lineHeight: TEXT_LINE3 }
6266
6283
  });
6267
6284
  var SubmitError = ({ message, testID }) => {
6268
6285
  const { theme } = useUi();
6269
- return /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles40.text, { color: fieldErrorInk(theme) }], testID, children: message });
6286
+ return /* @__PURE__ */ jsx(Text, { role: "alert", style: [styles41.text, { color: fieldErrorInk(theme) }], testID, children: message });
6270
6287
  };
6271
6288
  var toggle = (list, id) => list.includes(id) ? list.filter((item) => item !== id) : [...list, id];
6272
6289
  function useDecisionPanel(outcomes, onSubmit) {
@@ -6309,7 +6326,7 @@ function useDecisionPanel(outcomes, onSubmit) {
6309
6326
  }
6310
6327
  var TITLE_SIZE2 = 15;
6311
6328
  var PANEL_GAP = 12;
6312
- var styles41 = StyleSheet.create({
6329
+ var styles42 = StyleSheet.create({
6313
6330
  panel: { rowGap: PANEL_GAP },
6314
6331
  title: { fontSize: TITLE_SIZE2, fontWeight: "700" }
6315
6332
  });
@@ -6323,8 +6340,8 @@ function DecisionPanel(props) {
6323
6340
  const { theme } = useUi();
6324
6341
  const state = useDecisionPanel(outcomes, onSubmit);
6325
6342
  const body = (locked) => renderVariant(variant, { state, outcomes, labels, testID, disabled: disabled || locked, reasons, leadOutcome });
6326
- return /* @__PURE__ */ jsxs(View, { style: [styles41.panel, style], testID, children: [
6327
- /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles41.title, { color: theme.colors.text }], children: labels.title }),
6343
+ return /* @__PURE__ */ jsxs(View, { style: [styles42.panel, style], testID, children: [
6344
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles42.title, { color: theme.colors.text }], children: labels.title }),
6328
6345
  checklist !== void 0 ? /* @__PURE__ */ jsx(GatedChecklist, { checked: state.checked, items: checklist.items, testID: `${testID}-checklist`, title: checklist.title, onToggle: state.toggleCheck, children: (complete) => body(!complete) }) : body(false),
6329
6346
  state.error === "submit" ? /* @__PURE__ */ jsx(SubmitError, { message: labels.submitError, testID: `${testID}-error` }) : null
6330
6347
  ] });
@@ -6357,7 +6374,7 @@ var POP_FROM = 0.6;
6357
6374
  var POP_PEAK = 1.12;
6358
6375
  var POP_UP_MS = 160;
6359
6376
  var POP_SETTLE_MS = 100;
6360
- var styles42 = StyleSheet.create({
6377
+ var styles43 = StyleSheet.create({
6361
6378
  mark: { width: MARK_SIZE, height: MARK_SIZE, borderRadius: MARK_SIZE / 2, alignItems: "center", justifyContent: "center" },
6362
6379
  ring: { borderWidth: RING_WIDTH }
6363
6380
  });
@@ -6377,8 +6394,8 @@ function RuleMark({ tone, colors }) {
6377
6394
  ]).start();
6378
6395
  }, [met, reduced, scale]);
6379
6396
  const color = colors.mark[tone];
6380
- const shape = met ? { backgroundColor: color } : [styles42.ring, { borderColor: color }];
6381
- return /* @__PURE__ */ jsx(Animated.View, { style: { transform: [{ scale }] }, children: /* @__PURE__ */ jsx(View, { style: [styles42.mark, shape], children: met ? /* @__PURE__ */ jsx(SvgIcon, { color: colors.onMark, name: "check", size: CHECK_SIZE2 }) : null }) });
6397
+ const shape = met ? { backgroundColor: color } : [styles43.ring, { borderColor: color }];
6398
+ return /* @__PURE__ */ jsx(Animated.View, { style: { transform: [{ scale }] }, children: /* @__PURE__ */ jsx(View, { style: [styles43.mark, shape], children: met ? /* @__PURE__ */ jsx(SvgIcon, { color: colors.onMark, name: "check", size: CHECK_SIZE2 }) : null }) });
6382
6399
  }
6383
6400
  var GAP8 = 6;
6384
6401
  var ROW_GAP8 = 8;
@@ -6390,7 +6407,7 @@ var CHIP_PAD_V2 = 4;
6390
6407
  var CHIP_PAD_H2 = 10;
6391
6408
  var CHIP_BORDER2 = 1;
6392
6409
  var HALF4 = "50%";
6393
- var styles43 = StyleSheet.create({
6410
+ var styles44 = StyleSheet.create({
6394
6411
  column: { gap: GAP8 },
6395
6412
  row: { flexDirection: "row", alignItems: "center", gap: ROW_GAP8 },
6396
6413
  text: { fontSize: FONT5, lineHeight: LINE, flexShrink: 1 },
@@ -6406,31 +6423,31 @@ function RuleList({ rules, flagUnmet, colors, testID, listStyle, itemStyle, outl
6406
6423
  return /* @__PURE__ */ jsx(View, { role: "list", style: listStyle, testID, children: rules.map((rule) => {
6407
6424
  const tone = ruleTone(rule.met, flagUnmet);
6408
6425
  const outline = outlined ? { borderColor: colors.mark[tone] } : null;
6409
- return /* @__PURE__ */ jsxs(View, { role: "listitem", style: [styles43.row, itemStyle, outline], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6426
+ return /* @__PURE__ */ jsxs(View, { role: "listitem", style: [styles44.row, itemStyle, outline], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6410
6427
  /* @__PURE__ */ jsx(RuleMark, { colors, tone }),
6411
- /* @__PURE__ */ jsx(Text, { style: [styles43.text, { color: colors.text[tone] }], children: rule.label })
6428
+ /* @__PURE__ */ jsx(Text, { style: [styles44.text, { color: colors.text[tone] }], children: rule.label })
6412
6429
  ] }, rule.id);
6413
6430
  }) });
6414
6431
  }
6415
6432
  function RulesChecklist(props) {
6416
- return /* @__PURE__ */ jsx(RuleList, { ...props, listStyle: styles43.column });
6433
+ return /* @__PURE__ */ jsx(RuleList, { ...props, listStyle: styles44.column });
6417
6434
  }
6418
6435
  function RulesChips(props) {
6419
- return /* @__PURE__ */ jsx(RuleList, { ...props, outlined: true, itemStyle: styles43.chip, listStyle: styles43.chips });
6436
+ return /* @__PURE__ */ jsx(RuleList, { ...props, outlined: true, itemStyle: styles44.chip, listStyle: styles44.chips });
6420
6437
  }
6421
6438
  function RulesMeterGrid(props) {
6422
6439
  const { rules, flagUnmet, colors, testID } = props;
6423
6440
  const metCount = rules.filter((rule) => rule.met).length;
6424
6441
  const unfilled = flagUnmet ? colors.mark.refused : colors.track;
6425
- return /* @__PURE__ */ jsxs(View, { style: styles43.column, children: [
6426
- /* @__PURE__ */ jsx(View, { style: styles43.meter, testID: `${testID}-meter`, children: rules.map((rule, index) => /* @__PURE__ */ jsx(View, { style: [styles43.segment, { backgroundColor: index < metCount ? colors.mark.met : unfilled }] }, rule.id)) }),
6427
- /* @__PURE__ */ jsx(RuleList, { ...props, itemStyle: styles43.cell, listStyle: styles43.grid })
6442
+ return /* @__PURE__ */ jsxs(View, { style: styles44.column, children: [
6443
+ /* @__PURE__ */ jsx(View, { style: styles44.meter, testID: `${testID}-meter`, children: rules.map((rule, index) => /* @__PURE__ */ jsx(View, { style: [styles44.segment, { backgroundColor: index < metCount ? colors.mark.met : unfilled }] }, rule.id)) }),
6444
+ /* @__PURE__ */ jsx(RuleList, { ...props, itemStyle: styles44.cell, listStyle: styles44.grid })
6428
6445
  ] });
6429
6446
  }
6430
6447
  function RulesSentence({ rules, flagUnmet, colors, testID }) {
6431
- return /* @__PURE__ */ jsx(Text, { style: [styles43.text, { color: colors.text.unmet }], testID, children: rules.map((rule, index) => {
6448
+ return /* @__PURE__ */ jsx(Text, { style: [styles44.text, { color: colors.text.unmet }], testID, children: rules.map((rule, index) => {
6432
6449
  const tone = ruleTone(rule.met, flagUnmet);
6433
- return /* @__PURE__ */ jsxs(Text, { style: [{ color: colors.text[tone] }, rule.met ? styles43.metPhrase : null], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6450
+ return /* @__PURE__ */ jsxs(Text, { style: [{ color: colors.text[tone] }, rule.met ? styles44.metPhrase : null], testID: `${testID}-${rule.id}`, ...{ dataSet: { tone } }, children: [
6434
6451
  index > 0 ? ", " : "",
6435
6452
  rule.label
6436
6453
  ] }, rule.id);
@@ -6449,7 +6466,7 @@ function PasswordRules({ display, ...variant }) {
6449
6466
  }
6450
6467
  }
6451
6468
  var ICON_SIZE = 20;
6452
- var styles44 = StyleSheet.create({
6469
+ var styles45 = StyleSheet.create({
6453
6470
  button: { width: MIN_TOUCH_TARGET_PX, height: MIN_TOUCH_TARGET_PX, alignItems: "center", justifyContent: "center" }
6454
6471
  });
6455
6472
  function RevealToggle({ revealed, onToggle, onPressIn, showLabel, hideLabel, color, testID }) {
@@ -6461,7 +6478,7 @@ function RevealToggle({ revealed, onToggle, onPressIn, showLabel, hideLabel, col
6461
6478
  accessibilityLabel: label,
6462
6479
  accessibilityRole: "button",
6463
6480
  "aria-pressed": revealed,
6464
- style: styles44.button,
6481
+ style: styles45.button,
6465
6482
  testID,
6466
6483
  onPress: onToggle,
6467
6484
  onPressIn,
@@ -6515,7 +6532,7 @@ function useRuleColors(override) {
6515
6532
  var RULES_GAP = 8;
6516
6533
  var TOGGLE_INSET = 48;
6517
6534
  var NO_RULES = [];
6518
- var styles45 = StyleSheet.create({
6535
+ var styles46 = StyleSheet.create({
6519
6536
  inputRow: { position: "relative", justifyContent: "center" },
6520
6537
  input: { paddingRight: TOGGLE_INSET },
6521
6538
  toggle: { position: "absolute", right: 0, top: 0, bottom: 0, justifyContent: "center" },
@@ -6557,7 +6574,7 @@ var PasswordField = React41.forwardRef(function PasswordField2({ label, value, o
6557
6574
  const rulesId = `${testID}-rules`;
6558
6575
  const hasRules = rules.length > 0;
6559
6576
  return /* @__PURE__ */ jsx(Field, { error, label, testID: `${testID}-field`, children: (context) => /* @__PURE__ */ jsxs(View, { children: [
6560
- /* @__PURE__ */ jsxs(View, { style: styles45.inputRow, children: [
6577
+ /* @__PURE__ */ jsxs(View, { style: styles46.inputRow, children: [
6561
6578
  /* @__PURE__ */ jsx(
6562
6579
  ThemedTextInput,
6563
6580
  {
@@ -6569,18 +6586,18 @@ var PasswordField = React41.forwardRef(function PasswordField2({ label, value, o
6569
6586
  hasError: context.hasError || flagUnmet && rules.some((rule) => !rule.met),
6570
6587
  id: context.controlId,
6571
6588
  secureTextEntry: !toggle2.revealed,
6572
- style: [styles45.input, inputProps?.style],
6589
+ style: [styles46.input, inputProps?.style],
6573
6590
  testID,
6574
6591
  value,
6575
6592
  onChangeText,
6576
6593
  onSelectionChange: toggle2.onSelectionChange
6577
6594
  }
6578
6595
  ),
6579
- /* @__PURE__ */ jsx(View, { style: styles45.toggle, children: /* @__PURE__ */ jsx(RevealToggle, { color: colors.text.unmet, hideLabel: labels.hide, revealed: toggle2.revealed, showLabel: labels.show, testID: `${testID}-reveal`, onPressIn: toggle2.onPressIn, onToggle: toggle2.onToggle }) })
6596
+ /* @__PURE__ */ jsx(View, { style: styles46.toggle, children: /* @__PURE__ */ jsx(RevealToggle, { color: colors.text.unmet, hideLabel: labels.hide, revealed: toggle2.revealed, showLabel: labels.show, testID: `${testID}-reveal`, onPressIn: toggle2.onPressIn, onToggle: toggle2.onToggle }) })
6580
6597
  ] }),
6581
- hasRules ? /* @__PURE__ */ jsxs(View, { nativeID: rulesId, style: styles45.rules, children: [
6598
+ hasRules ? /* @__PURE__ */ jsxs(View, { nativeID: rulesId, style: styles46.rules, children: [
6582
6599
  /* @__PURE__ */ jsx(PasswordRules, { colors, display: rulesDisplay, flagUnmet, rules, testID: rulesId }),
6583
- /* @__PURE__ */ jsx(Text, { "aria-live": "polite", accessibilityLiveRegion: "polite", style: styles45.live, testID: `${testID}-announce`, children: announcement })
6600
+ /* @__PURE__ */ jsx(Text, { "aria-live": "polite", accessibilityLiveRegion: "polite", style: styles46.live, testID: `${testID}-announce`, children: announcement })
6584
6601
  ] }) : null
6585
6602
  ] }) });
6586
6603
  });