dhre-ui-kit 3.0.1 → 3.1.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/lib/index.mjs CHANGED
@@ -187,6 +187,8 @@ var Theme = /* @__PURE__ */ ((Theme2) => {
187
187
  Theme2["STROKE_DISABLED_DARK"] = "STROKE_DISABLED_DARK";
188
188
  Theme2["STROKE_DISABLED_DARK2"] = "STROKE_DISABLED_DARK2";
189
189
  Theme2["STROKE_ACTIVE"] = "STROKE_ACTIVE";
190
+ Theme2["STROKE_DISABLED_SELECTED"] = "STROKE_DISABLED_SELECTED";
191
+ Theme2["SHADOW_10"] = "SHADOW_10";
190
192
  return Theme2;
191
193
  })(Theme || {});
192
194
 
@@ -458,6 +460,70 @@ const DHRE_CONFIRMATION_BASE_GRADIENT = {
458
460
  light: ["rgba(165, 233, 255, 0)", "#52C5E8"],
459
461
  dark: ["rgba(165, 233, 255, 0)", "#279DC1"]
460
462
  };
463
+ const GRADIENT_COLORS_SUCCESS = {
464
+ light: [
465
+ "#89C798",
466
+ "#FFFFFF",
467
+ "#A5E9FF",
468
+ "#52C5E8",
469
+ "#0B214A",
470
+ "#355D7A"
471
+ ],
472
+ // NEED TO UPDATE GRADIENT COLORS
473
+ dark: [
474
+ "#24584B",
475
+ "#123D46",
476
+ "#00113A",
477
+ "#000A28",
478
+ "#0B214A",
479
+ "#355D7A"
480
+ ]
481
+ };
482
+ const GRADIENT_COLORS_ERROR = {
483
+ light: [
484
+ "#F0809E",
485
+ "#FFFFFF",
486
+ "#A5E9FF",
487
+ "#52C5E8",
488
+ "#0B214A",
489
+ "#355D7A"
490
+ ],
491
+ // NEED TO UPDATE GRADIENT COLORS
492
+ dark: [
493
+ "#EB0542",
494
+ // 0%
495
+ "#780835",
496
+ // ~2%
497
+ "#00113A",
498
+ // 28%
499
+ "#000A28",
500
+ // 45%
501
+ "#0B214A",
502
+ // 88%
503
+ "#355D7A"
504
+ // 100%
505
+ ]
506
+ };
507
+ const GRADIENT_COLORS_PENDING = {
508
+ light: ["#E9F8FF", "#52C5E8"],
509
+ // NEED TO UPDATE GRADIENT COLORS
510
+ dark: [
511
+ "#EB0542",
512
+ // 0%
513
+ "#780835",
514
+ // ~2%
515
+ "#00113A",
516
+ // 28%
517
+ "#000A28",
518
+ // 45%
519
+ "#000A28",
520
+ // 72%
521
+ "#0B214A",
522
+ // 88%
523
+ "#355D7A"
524
+ // 100%
525
+ ]
526
+ };
461
527
 
462
528
  const theme = {
463
529
  [Theme.SURFACE_PRIMARY]: {
@@ -800,6 +866,14 @@ const theme = {
800
866
  dark: "#009db3",
801
867
  light: "#009db3"
802
868
  // light-theme value pending DHDS Figma spec
869
+ },
870
+ [Theme.STROKE_DISABLED_SELECTED]: {
871
+ dark: "#003f48",
872
+ light: "#9ADFE8"
873
+ },
874
+ [Theme.SHADOW_10]: {
875
+ dark: "rgba(255, 255, 255, 0.20)",
876
+ light: "rgba(0, 0, 0, 0.10)"
803
877
  }
804
878
  };
805
879
 
@@ -904,13 +978,13 @@ const CustomTypography = ({
904
978
  Text,
905
979
  {
906
980
  testID,
907
- style: [textStyle, styles$B.container, style],
981
+ style: [textStyle, styles$A.container, style],
908
982
  ...props
909
983
  },
910
984
  text
911
985
  );
912
986
  };
913
- const styles$B = StyleSheet.create({
987
+ const styles$A = StyleSheet.create({
914
988
  container: { writingDirection: "auto", alignSelf: "flex-start" }
915
989
  });
916
990
 
@@ -949,7 +1023,7 @@ const commonStyles = StyleSheet.create({
949
1023
  }
950
1024
  });
951
1025
 
952
- const styles$A = StyleSheet.create({
1026
+ const styles$z = StyleSheet.create({
953
1027
  badge: {
954
1028
  backgroundColor: DHRE_COLORS_ALERT.DH_SUCCESS_GREEN,
955
1029
  borderRadius: 15,
@@ -976,16 +1050,16 @@ const Badge = ({
976
1050
  return /* @__PURE__ */ React.createElement(
977
1051
  Pressable,
978
1052
  {
979
- style: [styles$A.badge, commonStyles.centerRow, style],
1053
+ style: [styles$z.badge, commonStyles.centerRow, style],
980
1054
  testID: "BADGE",
981
1055
  onPress: handleIconPress
982
1056
  },
983
- iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$A.icon, iconStyle] }, React.cloneElement(iconName)),
1057
+ iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$z.icon, iconStyle] }, React.cloneElement(iconName)),
984
1058
  text && /* @__PURE__ */ React.createElement(
985
1059
  CustomTypography,
986
1060
  {
987
1061
  variant: "B3semiBold",
988
- style: [styles$A.text, textStyle],
1062
+ style: [styles$z.text, textStyle],
989
1063
  text
990
1064
  }
991
1065
  )
@@ -1153,7 +1227,7 @@ const chipStyles = StyleSheet.create({
1153
1227
  justifyContent: "center",
1154
1228
  borderWidth: 1,
1155
1229
  borderRadius: DHRE_RADIUS.PILL,
1156
- gap: DHRE_SPACING.XS
1230
+ gap: DHRE_PADDING.SM
1157
1231
  },
1158
1232
  sizeLarge: {
1159
1233
  height: DHRE_SPACING_BASE.SPACE_40,
@@ -1224,7 +1298,7 @@ const Chip = ({
1224
1298
  disabled
1225
1299
  );
1226
1300
  const contentColor = resolveContentColor(themeColors, selected, disabled);
1227
- const textVariant = size === "large" ? FontStyle.BODY2_LIGHT : FontStyle.BODY3_LIGHT;
1301
+ const textVariant = size === "large" ? selected ? FontStyle.BODY2_MEDIUM : FontStyle.BODY2_LIGHT : selected ? FontStyle.BODY3_MEDIUM : FontStyle.BODY3_LIGHT;
1228
1302
  return /* @__PURE__ */ React.createElement(
1229
1303
  Pressable,
1230
1304
  {
@@ -1266,7 +1340,7 @@ var BackgroundVariant = /* @__PURE__ */ ((BackgroundVariant2) => {
1266
1340
  return BackgroundVariant2;
1267
1341
  })(BackgroundVariant || {});
1268
1342
 
1269
- const styles$z = StyleSheet.create({
1343
+ const styles$y = StyleSheet.create({
1270
1344
  container: {
1271
1345
  flex: 1,
1272
1346
  overflow: "hidden"
@@ -1330,7 +1404,7 @@ const Background = ({
1330
1404
  View,
1331
1405
  {
1332
1406
  testID,
1333
- style: [styles$z.container, { backgroundColor: config.base }, style]
1407
+ style: [styles$y.container, { backgroundColor: config.base }, style]
1334
1408
  },
1335
1409
  /* @__PURE__ */ React.createElement(
1336
1410
  Svg,
@@ -1385,12 +1459,12 @@ const Background = ({
1385
1459
  ))),
1386
1460
  config.type === "linear" ? /* @__PURE__ */ React.createElement(Rect, { x: "0", y: "0", width: "100", height: "100", fill: "url(#bg)" }) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Rect, { x: "0", y: "0", width: "100", height: "100", fill: config.base }), /* @__PURE__ */ React.createElement(Rect, { x: "0", y: "0", width: "100", height: "100", fill: "url(#glowLeft)" }), /* @__PURE__ */ React.createElement(Rect, { x: "0", y: "0", width: "100", height: "100", fill: "url(#glowRight)" }))
1387
1461
  ),
1388
- /* @__PURE__ */ React.createElement(View, { style: [styles$z.content, contentStyle] }, children)
1462
+ /* @__PURE__ */ React.createElement(View, { style: [styles$y.content, contentStyle] }, children)
1389
1463
  );
1390
1464
  };
1391
1465
  var Background$1 = withThemeProvider(Background);
1392
1466
 
1393
- const styles$y = StyleSheet.create({
1467
+ const styles$x = StyleSheet.create({
1394
1468
  mainContainer: {
1395
1469
  flex: 1,
1396
1470
  justifyContent: "flex-end"
@@ -1412,21 +1486,19 @@ const styles$y = StyleSheet.create({
1412
1486
  },
1413
1487
  separator: {
1414
1488
  height: verticalScale(3),
1415
- width: horizontalScale(32),
1489
+ width: DHRE_SPACING_BASE.SPACE_32,
1416
1490
  alignSelf: "center",
1417
- backgroundColor: "#A7A7A7",
1418
1491
  borderRadius: moderateScale(25)
1419
1492
  },
1420
1493
  headerContainer: {
1421
1494
  flexDirection: "row",
1422
1495
  justifyContent: "space-between",
1423
1496
  alignItems: "center",
1424
- marginTop: verticalScale(24)
1497
+ marginTop: DHRE_SPACING_BASE.SPACE_16
1425
1498
  },
1426
- title: { flex: 1, color: "#fff", textAlign: "left" },
1499
+ title: { flex: 1, textAlign: "left" },
1427
1500
  leftIconStyle: { marginRight: 8 },
1428
1501
  rightTitle: {
1429
- color: "#fff",
1430
1502
  textAlign: "right",
1431
1503
  marginRight: DHRE_PADDING.LG
1432
1504
  },
@@ -1497,11 +1569,11 @@ const BottomDrawer = ({
1497
1569
  behavior: isIos() ? "padding" : "height",
1498
1570
  style: { flex: 1 }
1499
1571
  },
1500
- /* @__PURE__ */ React.createElement(View, { style: [styles$y.mainContainer, style], testID }, /* @__PURE__ */ React.createElement(
1572
+ /* @__PURE__ */ React.createElement(View, { style: [styles$x.mainContainer, style], testID }, /* @__PURE__ */ React.createElement(
1501
1573
  View,
1502
1574
  {
1503
1575
  style: [
1504
- styles$y.modalContainer,
1576
+ styles$x.modalContainer,
1505
1577
  { backgroundColor: theme.SURFACE_PRIMARY },
1506
1578
  modalContainerStyle
1507
1579
  ]
@@ -1511,35 +1583,51 @@ const BottomDrawer = ({
1511
1583
  {
1512
1584
  onPressOut: () => swipeDirection === "" && toggleModal()
1513
1585
  },
1514
- showSeparator && /* @__PURE__ */ React.createElement(View, { style: styles$y.separator }),
1515
- /* @__PURE__ */ React.createElement(View, { style: styles$y.headerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$y.leftSideStyle }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
1516
- style: styles$y.leftIconStyle,
1586
+ showSeparator && /* @__PURE__ */ React.createElement(
1587
+ View,
1588
+ {
1589
+ style: [
1590
+ styles$x.separator,
1591
+ { backgroundColor: theme.STROKE_TERTIARY }
1592
+ ]
1593
+ }
1594
+ ),
1595
+ /* @__PURE__ */ React.createElement(View, { style: styles$x.headerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$x.leftSideStyle }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
1596
+ style: styles$x.leftIconStyle,
1517
1597
  onPressOut: onLeftIconPress
1518
1598
  }) : null, /* @__PURE__ */ React.createElement(
1519
1599
  CustomTypography,
1520
1600
  {
1521
1601
  variant: titleVariant,
1522
1602
  text: title,
1523
- style: { ...styles$y.title, ...titleStyle }
1603
+ style: {
1604
+ ...styles$x.title,
1605
+ color: theme.CONTENT_PRIMARY,
1606
+ ...titleStyle
1607
+ }
1524
1608
  }
1525
1609
  )), /* @__PURE__ */ React.createElement(
1526
1610
  View,
1527
1611
  {
1528
- style: rightTitle && rightTitle?.length > 0 ? styles$y.rightSideStyle : {}
1612
+ style: rightTitle && rightTitle?.length > 0 ? styles$x.rightSideStyle : {}
1529
1613
  },
1530
1614
  rightTitle && rightTitle?.length > 0 ? /* @__PURE__ */ React.createElement(Pressable, { onPressOut: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
1531
1615
  CustomTypography,
1532
1616
  {
1533
1617
  variant: rightTitleVariant,
1534
1618
  text: rightTitle,
1535
- style: { ...styles$y.rightTitle, ...rightTitleStyle }
1619
+ style: {
1620
+ ...styles$x.rightTitle,
1621
+ color: theme.CONTENT_PRIMARY,
1622
+ ...rightTitleStyle
1623
+ }
1536
1624
  }
1537
1625
  )) : null,
1538
1626
  showRightIcon && rightIcon ? /* @__PURE__ */ React.createElement(
1539
1627
  Pressable,
1540
1628
  {
1541
1629
  onPressOut: toggleModal,
1542
- style: styles$y.rightIconStyle
1630
+ style: styles$x.rightIconStyle
1543
1631
  },
1544
1632
  React.cloneElement(rightIcon, {
1545
1633
  width: DHRE_SPACING.LG,
@@ -1556,7 +1644,7 @@ const BottomDrawer = ({
1556
1644
  };
1557
1645
  var BottomDrawer$1 = withThemeProvider(BottomDrawer);
1558
1646
 
1559
- const styles$x = StyleSheet.create({
1647
+ const styles$w = StyleSheet.create({
1560
1648
  mainContainer: {
1561
1649
  marginHorizontal: horizontalScale(16)
1562
1650
  },
@@ -1842,7 +1930,7 @@ const CustomButton = ({
1842
1930
  text: title,
1843
1931
  variant: titleVariant ?? defaultTextVariant,
1844
1932
  textColor: effectiveTextColor,
1845
- style: [styles$x.buttonText, disabledHexStyle, textStyle]
1933
+ style: [styles$w.buttonText, disabledHexStyle, textStyle]
1846
1934
  }
1847
1935
  ), rightIcon && React.cloneElement(rightIcon, {
1848
1936
  width: iconSize,
@@ -1904,7 +1992,7 @@ const CustomButton = ({
1904
1992
  };
1905
1993
  var Button = withThemeProvider(CustomButton);
1906
1994
 
1907
- const styles$w = StyleSheet.create({
1995
+ const styles$v = StyleSheet.create({
1908
1996
  container: {
1909
1997
  padding: horizontalScale(20),
1910
1998
  marginHorizontal: horizontalScale(16),
@@ -1969,53 +2057,53 @@ const Cards = ({
1969
2057
  testID,
1970
2058
  onButtonPress
1971
2059
  }) => {
1972
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$w.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$w.topLeft }, /* @__PURE__ */ React.createElement(
2060
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$v.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$v.topLeft }, /* @__PURE__ */ React.createElement(
1973
2061
  CustomTypography,
1974
2062
  {
1975
2063
  variant: "P2regular",
1976
- style: styles$w.title,
2064
+ style: styles$v.title,
1977
2065
  text: topLeftTitle
1978
2066
  }
1979
2067
  )) : null, title ? /* @__PURE__ */ React.createElement(
1980
2068
  CustomTypography,
1981
2069
  {
1982
2070
  variant: "H6bold",
1983
- style: styles$w.subTitleBelow,
2071
+ style: styles$v.subTitleBelow,
1984
2072
  text: title
1985
2073
  }
1986
2074
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
1987
2075
  CustomTypography,
1988
2076
  {
1989
2077
  variant: "P3regular",
1990
- style: styles$w.subtitle,
2078
+ style: styles$v.subtitle,
1991
2079
  text: subtitle
1992
2080
  }
1993
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$w.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
2081
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$v.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
1994
2082
  CustomTypography,
1995
2083
  {
1996
2084
  variant: "P3regular",
1997
- style: styles$w.subTitleLeftBelow,
2085
+ style: styles$v.subTitleLeftBelow,
1998
2086
  text: iconTitle
1999
2087
  }
2000
2088
  ) : null), buttonShown ? /* @__PURE__ */ React.createElement(
2001
2089
  Pressable,
2002
2090
  {
2003
2091
  testID: "Button-Press",
2004
- style: styles$w.button,
2092
+ style: styles$v.button,
2005
2093
  onPress: onButtonPress
2006
2094
  },
2007
2095
  /* @__PURE__ */ React.createElement(
2008
2096
  CustomTypography,
2009
2097
  {
2010
2098
  variant: "B2semiBold",
2011
- style: styles$w.buttonText,
2099
+ style: styles$v.buttonText,
2012
2100
  text: buttonText
2013
2101
  }
2014
2102
  )
2015
2103
  ) : null);
2016
2104
  };
2017
2105
 
2018
- const styles$v = StyleSheet.create({
2106
+ const styles$u = StyleSheet.create({
2019
2107
  directionStyle: {
2020
2108
  flexDirection: "row",
2021
2109
  alignItems: "flex-start",
@@ -2023,7 +2111,15 @@ const styles$v = StyleSheet.create({
2023
2111
  },
2024
2112
  checkboxContainer: {
2025
2113
  alignItems: "center",
2026
- justifyContent: "center"
2114
+ justifyContent: "center",
2115
+ borderRadius: DHRE_RADIUS.SM,
2116
+ borderWidth: 1,
2117
+ overflow: "hidden"
2118
+ },
2119
+ labelContainer: {
2120
+ flexDirection: "row",
2121
+ alignItems: "center",
2122
+ gap: DHRE_PADDING.SM
2027
2123
  }
2028
2124
  });
2029
2125
 
@@ -2057,12 +2153,15 @@ const Checkbox = ({
2057
2153
  partialIcon,
2058
2154
  partialDisabledIcon,
2059
2155
  isPartial = false,
2060
- size,
2156
+ size = "small",
2061
2157
  titleVariant,
2062
2158
  titleStyle,
2063
2159
  containerStyle,
2160
+ checkBoxHeaderStyle,
2161
+ checkboxStyle,
2064
2162
  onPress,
2065
- hideCheckbox = false
2163
+ hideCheckbox = false,
2164
+ labelIcon
2066
2165
  }) => {
2067
2166
  const { theme } = useTheme();
2068
2167
  const [checked, setChecked] = useState(isChecked || false);
@@ -2092,16 +2191,27 @@ const Checkbox = ({
2092
2191
  minWidth: size === "small" ? 20 : 24,
2093
2192
  minHeight: size === "small" ? 20 : 24
2094
2193
  };
2095
- return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(View, { style: styles$v.directionStyle }, hideCheckbox ? null : /* @__PURE__ */ React.createElement(
2194
+ const isFilledState = checked || isPartial;
2195
+ const checkboxContainerDynamicStyle = {
2196
+ backgroundColor: disable ? isFilledState ? theme[Theme.STROKE_DISABLED_SELECTED] : "transparent" : isFilledState ? theme[Theme.STROKE_ACTIVE] : "transparent",
2197
+ borderColor: disable ? theme[Theme.CONTENT_DISABLE_DARK] : theme[Theme.STROKE_ACTIVE],
2198
+ borderWidth: disable && isFilledState ? 0 : 1
2199
+ };
2200
+ return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(View, { style: [styles$u.directionStyle, checkBoxHeaderStyle] }, hideCheckbox ? null : /* @__PURE__ */ React.createElement(
2096
2201
  Pressable,
2097
2202
  {
2098
2203
  testID: "Checkbox-Press",
2099
2204
  onPressIn: handlePress,
2100
2205
  disabled: disable,
2101
- style: [styles$v.checkboxContainer, iconContainerSizeStyle]
2206
+ style: [
2207
+ styles$u.checkboxContainer,
2208
+ iconContainerSizeStyle,
2209
+ checkboxContainerDynamicStyle,
2210
+ checkboxStyle
2211
+ ]
2102
2212
  },
2103
- React.cloneElement(resolvedIcon)
2104
- ), /* @__PURE__ */ React.createElement(
2213
+ resolvedIcon ? React.cloneElement(resolvedIcon) : null
2214
+ ), /* @__PURE__ */ React.createElement(View, { style: styles$u.labelContainer }, labelIcon && React.cloneElement(labelIcon, { width: 20, height: 20 }), /* @__PURE__ */ React.createElement(
2105
2215
  CustomTypography,
2106
2216
  {
2107
2217
  variant: resolvedVariant,
@@ -2109,11 +2219,11 @@ const Checkbox = ({
2109
2219
  style: [labelColorStyle, titleStyle],
2110
2220
  onPressIn: onPress
2111
2221
  }
2112
- )));
2222
+ ))));
2113
2223
  };
2114
2224
  var CheckBox = withThemeProvider(Checkbox);
2115
2225
 
2116
- const styles$u = StyleSheet.create({
2226
+ const styles$t = StyleSheet.create({
2117
2227
  labelStyle: {
2118
2228
  color: DHRE_COLORS_TEXT.DH_TEXTLIGHT
2119
2229
  },
@@ -2167,26 +2277,26 @@ const CustomDropdown$1 = ({
2167
2277
  CustomTypography,
2168
2278
  {
2169
2279
  variant: "P3regular",
2170
- style: styles$u.labelStyle,
2280
+ style: styles$t.labelStyle,
2171
2281
  text: label
2172
2282
  }
2173
2283
  ), /* @__PURE__ */ React.createElement(
2174
2284
  Pressable,
2175
2285
  {
2176
2286
  testID: `${testId}-BTN`,
2177
- style: styles$u.dropDownStyle,
2287
+ style: styles$t.dropDownStyle,
2178
2288
  onPress: () => setShowOptions(!showOptions)
2179
2289
  },
2180
2290
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
2181
2291
  width: moderateScale(24),
2182
2292
  height: moderateScale(24),
2183
- style: styles$u.iconStyle
2293
+ style: styles$t.iconStyle
2184
2294
  })),
2185
2295
  /* @__PURE__ */ React.createElement(
2186
2296
  CustomTypography,
2187
2297
  {
2188
2298
  variant: "P3regular",
2189
- style: styles$u.selectedValueStyle,
2299
+ style: styles$t.selectedValueStyle,
2190
2300
  text: selectedValue ? selectedValue.label : placeholder
2191
2301
  }
2192
2302
  ),
@@ -2197,7 +2307,7 @@ const CustomDropdown$1 = ({
2197
2307
  width: moderateScale(24),
2198
2308
  height: moderateScale(24)
2199
2309
  }))
2200
- ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$u.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
2310
+ ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$t.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
2201
2311
  Pressable,
2202
2312
  {
2203
2313
  key: id,
@@ -2207,7 +2317,7 @@ const CustomDropdown$1 = ({
2207
2317
  oneSelect({ id, value, label: label2 });
2208
2318
  },
2209
2319
  style: [
2210
- styles$u.item,
2320
+ styles$t.item,
2211
2321
  {
2212
2322
  backgroundColor: id === selectedValue?.id ? DHRE_COLORS_BG.DH_GREY1 : DHRE_COLORS_TEXT.DH_WHITE
2213
2323
  }
@@ -2216,7 +2326,7 @@ const CustomDropdown$1 = ({
2216
2326
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
2217
2327
  width: moderateScale(24),
2218
2328
  height: moderateScale(24),
2219
- style: styles$u.iconStyle
2329
+ style: styles$t.iconStyle
2220
2330
  })),
2221
2331
  /* @__PURE__ */ React.createElement(
2222
2332
  CustomTypography,
@@ -2231,7 +2341,7 @@ const CustomDropdown$1 = ({
2231
2341
  ))));
2232
2342
  };
2233
2343
 
2234
- const styles$t = StyleSheet.create({
2344
+ const styles$s = StyleSheet.create({
2235
2345
  labelStyle: {
2236
2346
  color: DHRE_COLORS_TEXT.DH_TEXTDARK
2237
2347
  },
@@ -2313,18 +2423,18 @@ const CustomTextInput = ({
2313
2423
  CustomTypography,
2314
2424
  {
2315
2425
  variant: "P3medium",
2316
- style: [styles$t.labelStyle, disabled && styles$t.disableTextStyle],
2426
+ style: [styles$s.labelStyle, disabled && styles$s.disableTextStyle],
2317
2427
  text: label
2318
2428
  }
2319
2429
  ), /* @__PURE__ */ React.createElement(
2320
2430
  View,
2321
2431
  {
2322
2432
  style: [
2323
- styles$t.inputContainer,
2324
- isFocused && styles$t.inputFocused,
2325
- error && styles$t.inputError,
2326
- disabled && styles$t.disableInputStyle,
2327
- successMessage ? styles$t.inputSucess : {},
2433
+ styles$s.inputContainer,
2434
+ isFocused && styles$s.inputFocused,
2435
+ error && styles$s.inputError,
2436
+ disabled && styles$s.disableInputStyle,
2437
+ successMessage ? styles$s.inputSucess : {},
2328
2438
  {
2329
2439
  height: multiline ? 120 : 48,
2330
2440
  alignItems: multiline ? "flex-start" : "center"
@@ -2334,7 +2444,7 @@ const CustomTextInput = ({
2334
2444
  isSearchBar && searchIcon && React.cloneElement(searchIcon, {
2335
2445
  width: moderateScale(24),
2336
2446
  height: moderateScale(24),
2337
- style: styles$t.searchIconStyle
2447
+ style: styles$s.searchIconStyle
2338
2448
  }),
2339
2449
  /* @__PURE__ */ React.createElement(
2340
2450
  TextInput,
@@ -2342,7 +2452,7 @@ const CustomTextInput = ({
2342
2452
  ...props,
2343
2453
  onFocus,
2344
2454
  onBlur,
2345
- style: styles$t.input,
2455
+ style: styles$s.input,
2346
2456
  placeholderTextColor: DHRE_COLORS_TEXT.DH_TEXTLIGHTEST,
2347
2457
  editable: !disabled,
2348
2458
  value,
@@ -2382,7 +2492,7 @@ const CustomTooltip = (props) => {
2382
2492
  }] }, triggerElement);
2383
2493
  };
2384
2494
 
2385
- const styles$s = StyleSheet.create({
2495
+ const styles$r = StyleSheet.create({
2386
2496
  container: {
2387
2497
  backgroundColor: DHRE_COLORS_TEXT.DH_BLACK,
2388
2498
  paddingHorizontal: horizontalScale(16),
@@ -2432,21 +2542,21 @@ const FileUpload = ({
2432
2542
  return /* @__PURE__ */ React.createElement(
2433
2543
  View,
2434
2544
  {
2435
- style: [styles$s.container, containerStyle],
2545
+ style: [styles$r.container, containerStyle],
2436
2546
  testID: "file-upload-container"
2437
2547
  },
2438
- /* @__PURE__ */ React.createElement(View, { style: styles$s.content }, /* @__PURE__ */ React.createElement(View, { style: [uploadImageStyling], testID: "file-upload-image" }, icon && React.cloneElement(icon, { style: [iconStyle] })), /* @__PURE__ */ React.createElement(CustomTypography, { variant: "H8bold", style: styles$s.title, text: title }), /* @__PURE__ */ React.createElement(
2548
+ /* @__PURE__ */ React.createElement(View, { style: styles$r.content }, /* @__PURE__ */ React.createElement(View, { style: [uploadImageStyling], testID: "file-upload-image" }, icon && React.cloneElement(icon, { style: [iconStyle] })), /* @__PURE__ */ React.createElement(CustomTypography, { variant: "H8bold", style: styles$r.title, text: title }), /* @__PURE__ */ React.createElement(
2439
2549
  CustomTypography,
2440
2550
  {
2441
2551
  variant: "P4regular",
2442
- style: styles$s.description,
2552
+ style: styles$r.description,
2443
2553
  text: `Drop files directly here or `
2444
2554
  }
2445
2555
  ), /* @__PURE__ */ React.createElement(
2446
2556
  CustomTypography,
2447
2557
  {
2448
2558
  variant: "P4regular",
2449
- style: styles$s.browse,
2559
+ style: styles$r.browse,
2450
2560
  text: btnText
2451
2561
  }
2452
2562
  ), /* @__PURE__ */ React.createElement(
@@ -2454,14 +2564,14 @@ const FileUpload = ({
2454
2564
  {
2455
2565
  testID: "file-upload-description",
2456
2566
  variant: "P4regular",
2457
- style: styles$s.description,
2567
+ style: styles$r.description,
2458
2568
  text: ` from your device`
2459
2569
  }
2460
2570
  )),
2461
2571
  /* @__PURE__ */ React.createElement(
2462
2572
  Pressable,
2463
2573
  {
2464
- style: styles$s.button,
2574
+ style: styles$r.button,
2465
2575
  onPress: onUpload,
2466
2576
  testID: "file-upload-button"
2467
2577
  },
@@ -2469,7 +2579,7 @@ const FileUpload = ({
2469
2579
  CustomTypography,
2470
2580
  {
2471
2581
  variant: "B2semiBold",
2472
- style: styles$s.buttonText,
2582
+ style: styles$r.buttonText,
2473
2583
  text: btnText
2474
2584
  }
2475
2585
  )
@@ -2481,7 +2591,7 @@ const PdfView = (props) => {
2481
2591
  return /* @__PURE__ */ React.createElement(Pdf, { ...props, trustAllCerts: false });
2482
2592
  };
2483
2593
 
2484
- const styles$r = StyleSheet.create({
2594
+ const styles$q = StyleSheet.create({
2485
2595
  container: {
2486
2596
  padding: horizontalScale(20),
2487
2597
  marginHorizontal: horizontalScale(16),
@@ -2537,39 +2647,39 @@ const PopUp = ({
2537
2647
  leftButtonShown = false,
2538
2648
  rightButtonShown = false
2539
2649
  }) => {
2540
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$r.container }, title ? /* @__PURE__ */ React.createElement(
2650
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$q.container }, title ? /* @__PURE__ */ React.createElement(
2541
2651
  CustomTypography,
2542
2652
  {
2543
- style: styles$r.subTitleBelow,
2653
+ style: styles$q.subTitleBelow,
2544
2654
  variant: "H6semiBold",
2545
2655
  text: title
2546
2656
  }
2547
2657
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
2548
2658
  CustomTypography,
2549
2659
  {
2550
- style: styles$r.subtitle,
2660
+ style: styles$q.subtitle,
2551
2661
  variant: "P3regular",
2552
2662
  text: subtitle
2553
2663
  }
2554
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$r.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
2664
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$q.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
2555
2665
  Pressable,
2556
2666
  {
2557
2667
  testID: "Left-Button-Press",
2558
- style: styles$r.buttonLeft,
2668
+ style: styles$q.buttonLeft,
2559
2669
  onPress: onButtonPress
2560
2670
  },
2561
2671
  /* @__PURE__ */ React.createElement(
2562
2672
  CustomTypography,
2563
2673
  {
2564
- style: styles$r.buttonLeftText,
2674
+ style: styles$q.buttonLeftText,
2565
2675
  variant: "B2semiBold",
2566
2676
  text: buttonText
2567
2677
  }
2568
2678
  )
2569
- ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$r.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
2679
+ ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$q.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
2570
2680
  CustomTypography,
2571
2681
  {
2572
- style: styles$r.buttonText,
2682
+ style: styles$q.buttonText,
2573
2683
  variant: "B2semiBold",
2574
2684
  text: buttonText
2575
2685
  }
@@ -2625,7 +2735,7 @@ const LINE_COLOR_KEYS = {
2625
2735
  unfilledColor: "SURFACE_PRIMARY_TRANSPARENT"
2626
2736
  };
2627
2737
 
2628
- const styles$q = StyleSheet.create({
2738
+ const styles$p = StyleSheet.create({
2629
2739
  lineContainer: {
2630
2740
  flexDirection: "row",
2631
2741
  alignItems: "center",
@@ -2687,7 +2797,7 @@ const CustomProgressBar = ({
2687
2797
  const effectiveLineFillColor = fillColor ?? theme[LINE_COLOR_KEYS.fillColor];
2688
2798
  const effectiveLineUnfilledColor = unfilledColor ?? theme[LINE_COLOR_KEYS.unfilledColor];
2689
2799
  const effectiveLineHeight = height ?? LINE_DEFAULTS.trackHeight;
2690
- const renderCircleCenter = () => /* @__PURE__ */ React.createElement(View, { style: styles$q.circleCenter }, /* @__PURE__ */ React.createElement(
2800
+ const renderCircleCenter = () => /* @__PURE__ */ React.createElement(View, { style: styles$p.circleCenter }, /* @__PURE__ */ React.createElement(
2691
2801
  CustomText$1,
2692
2802
  {
2693
2803
  text: `${progress}%`,
@@ -2710,7 +2820,7 @@ const CustomProgressBar = ({
2710
2820
  return /* @__PURE__ */ React.createElement(
2711
2821
  View,
2712
2822
  {
2713
- style: [styles$q.lineContainer, isRTL && styles$q.lineContainerRTL],
2823
+ style: [styles$p.lineContainer, isRTL && styles$p.lineContainerRTL],
2714
2824
  testID: "custom-progress-bar-line-wrapper"
2715
2825
  },
2716
2826
  /* @__PURE__ */ React.createElement(
@@ -2759,7 +2869,7 @@ const CustomProgressBar = ({
2759
2869
  };
2760
2870
  var CustomProgressBar$1 = withThemeProvider(CustomProgressBar);
2761
2871
 
2762
- const styles$p = StyleSheet.create({
2872
+ const styles$o = StyleSheet.create({
2763
2873
  container: {
2764
2874
  flexDirection: "row",
2765
2875
  alignItems: "center"
@@ -2825,13 +2935,13 @@ const Star = ({
2825
2935
  emptyStarColor
2826
2936
  );
2827
2937
  stars.push(
2828
- /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$p.star, starStyle] }, starType)
2938
+ /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$o.star, starStyle] }, starType)
2829
2939
  );
2830
2940
  }
2831
- return /* @__PURE__ */ React.createElement(View, { style: styles$p.container, testID: "star" }, stars);
2941
+ return /* @__PURE__ */ React.createElement(View, { style: styles$o.container, testID: "star" }, stars);
2832
2942
  };
2833
2943
 
2834
- var styles$o = StyleSheet.create({
2944
+ var styles$n = StyleSheet.create({
2835
2945
  container: {
2836
2946
  flexDirection: "row",
2837
2947
  gap: DHRE_PADDING.SM,
@@ -2887,12 +2997,12 @@ const Tabs = ({
2887
2997
  onSelectionChange(selectedTabs);
2888
2998
  }
2889
2999
  };
2890
- return /* @__PURE__ */ React.createElement(View, { style: [styles$o.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
3000
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$n.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
2891
3001
  Pressable,
2892
3002
  {
2893
3003
  key: id,
2894
3004
  style: {
2895
- ...styles$o.button,
3005
+ ...styles$n.button,
2896
3006
  backgroundColor: isSelected ? theme.SURFACE_INVERTED : theme.SURFACE_SECONDARY,
2897
3007
  borderColor: isSelected ? theme.SURFACE_INVERTED : theme.STROKE_TERTIARY
2898
3008
  },
@@ -2903,7 +3013,7 @@ const Tabs = ({
2903
3013
  {
2904
3014
  variant: FontStyle.BODY1_MEDIUM,
2905
3015
  style: {
2906
- ...styles$o.textStyle,
3016
+ ...styles$n.textStyle,
2907
3017
  color: isSelected ? theme.CONTENT_INVERTED : theme.CONTENT_PRIMARY
2908
3018
  },
2909
3019
  text: title
@@ -2913,7 +3023,7 @@ const Tabs = ({
2913
3023
  };
2914
3024
  var Tabs$1 = withThemeProvider(Tabs);
2915
3025
 
2916
- const styles$n = StyleSheet.create({
3026
+ const styles$m = StyleSheet.create({
2917
3027
  container: {
2918
3028
  width: "100%"
2919
3029
  },
@@ -2976,8 +3086,8 @@ const Tags = ({
2976
3086
  ScrollView,
2977
3087
  {
2978
3088
  testID,
2979
- style: styles$n.container,
2980
- contentContainerStyle: styles$n.contentContainer,
3089
+ style: styles$m.container,
3090
+ contentContainerStyle: styles$m.contentContainer,
2981
3091
  horizontal: false
2982
3092
  },
2983
3093
  tags?.map((tag) => /* @__PURE__ */ React.createElement(
@@ -2987,16 +3097,16 @@ const Tags = ({
2987
3097
  key: tag,
2988
3098
  onPress: () => toggleTag(tag),
2989
3099
  style: [
2990
- styles$n.tag,
3100
+ styles$m.tag,
2991
3101
  tagStyles,
2992
- selectedTags.includes(tag) ? styles$n.selectedTag : styles$n.tagUnSelected
3102
+ selectedTags.includes(tag) ? styles$m.selectedTag : styles$m.tagUnSelected
2993
3103
  ]
2994
3104
  },
2995
3105
  /* @__PURE__ */ React.createElement(
2996
3106
  CustomTypography,
2997
3107
  {
2998
3108
  variant: selectedTags.includes(tag) ? "H9semiBold" : "P4regular",
2999
- style: selectedTags.includes(tag) ? styles$n.tagText : styles$n.tagUnselectedText,
3109
+ style: selectedTags.includes(tag) ? styles$m.tagText : styles$m.tagUnselectedText,
3000
3110
  text: tag
3001
3111
  }
3002
3112
  ),
@@ -3012,7 +3122,7 @@ const Tags = ({
3012
3122
  );
3013
3123
  };
3014
3124
 
3015
- const styles$m = StyleSheet.create({
3125
+ const styles$l = StyleSheet.create({
3016
3126
  container: {
3017
3127
  width: horizontalScale(70),
3018
3128
  height: verticalScale(25),
@@ -3077,26 +3187,26 @@ const CustomSwitch = ({
3077
3187
  Pressable,
3078
3188
  {
3079
3189
  onPress: toggleSwitch,
3080
- style: [styles$m.container, { width }],
3190
+ style: [styles$l.container, { width }],
3081
3191
  testID: "custom-switch"
3082
3192
  },
3083
3193
  /* @__PURE__ */ React.createElement(
3084
3194
  View,
3085
3195
  {
3086
3196
  style: [
3087
- styles$m.track,
3197
+ styles$l.track,
3088
3198
  {
3089
3199
  backgroundColor: isOn ? DHRE_COLORS_ALERT.DH_SUCCESS_GREEN_ACCENT : DHRE_COLORS_TEXT.DH_TEXTDISABLED
3090
3200
  }
3091
3201
  ]
3092
3202
  },
3093
- /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$m.thumb, animatedStyle] }),
3203
+ /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$l.thumb, animatedStyle] }),
3094
3204
  type !== ToggleButtonType.SMALL && /* @__PURE__ */ React.createElement(
3095
3205
  CustomTypography,
3096
3206
  {
3097
3207
  variant: "B3semiBold",
3098
3208
  style: [
3099
- styles$m.text,
3209
+ styles$l.text,
3100
3210
  { textAlign: isOn ? TextDirectType.left : TextDirectType.right }
3101
3211
  ],
3102
3212
  text: isOn ? ToggleTextType.ON : ToggleTextType.OFF
@@ -3106,10 +3216,9 @@ const CustomSwitch = ({
3106
3216
  );
3107
3217
  };
3108
3218
 
3109
- const styles$l = StyleSheet.create({
3219
+ const styles$k = StyleSheet.create({
3110
3220
  container: {
3111
- paddingVertical: DHRE_PADDING.LG,
3112
- borderBottomWidth: moderateScale(1)
3221
+ paddingVertical: DHRE_PADDING.LG
3113
3222
  },
3114
3223
  header: {
3115
3224
  flexDirection: "row",
@@ -3168,7 +3277,7 @@ const Accordion = ({
3168
3277
  {
3169
3278
  style: [
3170
3279
  {
3171
- ...styles$l.container,
3280
+ ...styles$k.container,
3172
3281
  borderRadius: 0,
3173
3282
  ...containerStyle
3174
3283
  }
@@ -3178,7 +3287,7 @@ const Accordion = ({
3178
3287
  /* @__PURE__ */ React.createElement(
3179
3288
  Pressable,
3180
3289
  {
3181
- style: [styles$l.header, headerStyle, disabled && { opacity: 0.5 }],
3290
+ style: [styles$k.header, headerStyle, disabled && { opacity: 0.5 }],
3182
3291
  onPressOut: !disabled ? onToggle : void 0
3183
3292
  },
3184
3293
  headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(
@@ -3187,7 +3296,7 @@ const Accordion = ({
3187
3296
  variant: titleVariant,
3188
3297
  text: title,
3189
3298
  style: {
3190
- ...styles$l.title,
3299
+ ...styles$k.title,
3191
3300
  color: theme.CONTENT_PRIMARY,
3192
3301
  ...titleStyle
3193
3302
  }
@@ -3196,14 +3305,14 @@ const Accordion = ({
3196
3305
  icon ? React.cloneElement(icon, {
3197
3306
  width: DHRE_SPACING_BASE.SPACE_20,
3198
3307
  height: DHRE_SPACING_BASE.SPACE_20,
3199
- style: styles$l.iconStyle
3308
+ style: styles$k.iconStyle
3200
3309
  }) : null
3201
3310
  ),
3202
3311
  optionalElement ? optionalElement() : null,
3203
3312
  isOpen && /* @__PURE__ */ React.createElement(
3204
3313
  Animated.View,
3205
3314
  {
3206
- style: [styles$l.content, slideAnimation && { height: cardHeight }]
3315
+ style: [styles$k.content, slideAnimation && { height: cardHeight }]
3207
3316
  },
3208
3317
  /* @__PURE__ */ React.createElement(
3209
3318
  View,
@@ -3220,7 +3329,7 @@ const Accordion = ({
3220
3329
  };
3221
3330
  var Accordion$1 = withThemeProvider(Accordion);
3222
3331
 
3223
- const styles$k = StyleSheet.create({
3332
+ const styles$j = StyleSheet.create({
3224
3333
  container: {
3225
3334
  position: "absolute",
3226
3335
  alignSelf: "center",
@@ -3228,8 +3337,7 @@ const styles$k = StyleSheet.create({
3228
3337
  top: DHRE_SPACING.XXL,
3229
3338
  borderRadius: DHRE_RADIUS.MD,
3230
3339
  overflow: "hidden",
3231
- minHeight: DHRE_SPACING.XXL,
3232
- height: DHRE_SPACING.XXL
3340
+ minHeight: DHRE_SPACING.XXL
3233
3341
  },
3234
3342
  toastContainer: {
3235
3343
  paddingVertical: DHRE_PADDING.LG,
@@ -3339,20 +3447,19 @@ const Toast = React.forwardRef(
3339
3447
  Animated.View,
3340
3448
  {
3341
3449
  style: [
3342
- styles$k.container,
3343
- { bottom },
3450
+ styles$j.container,
3344
3451
  { backgroundColor: theme.SURFACE_TERTIARY }
3345
3452
  ],
3346
3453
  testID: "TOAST"
3347
3454
  },
3348
- /* @__PURE__ */ React.createElement(View, { style: styles$k.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$k.innerContainer }, /* @__PURE__ */ React.createElement(Pressable, { onPress: hideToast, style: styles$k.icon }, isSuccess ? sucessIcon : warning ? warningIcon : errorIcon), /* @__PURE__ */ React.createElement(View, { style: styles$k.textContainer }, /* @__PURE__ */ React.createElement(
3455
+ /* @__PURE__ */ React.createElement(View, { style: styles$j.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$j.innerContainer }, /* @__PURE__ */ React.createElement(Pressable, { onPress: hideToast, style: styles$j.icon }, isSuccess ? sucessIcon : warning ? warningIcon : errorIcon), /* @__PURE__ */ React.createElement(View, { style: styles$j.textContainer }, /* @__PURE__ */ React.createElement(
3349
3456
  CustomTypography,
3350
3457
  {
3351
3458
  variant: "BODY2_LIGHT",
3352
3459
  text: message,
3353
- style: [styles$k.messageText, { color: theme.CONTENT_SECONDRY }]
3460
+ style: [styles$j.messageText, { color: theme.CONTENT_SECONDRY }]
3354
3461
  }
3355
- ), subjectText && /* @__PURE__ */ React.createElement(View, { style: styles$k.subContainer }, /* @__PURE__ */ React.createElement(
3462
+ ), subjectText && /* @__PURE__ */ React.createElement(View, { style: styles$j.subContainer }, /* @__PURE__ */ React.createElement(
3356
3463
  Button,
3357
3464
  {
3358
3465
  title: subjectText,
@@ -3377,7 +3484,7 @@ const Toast = React.forwardRef(
3377
3484
  Animated.View,
3378
3485
  {
3379
3486
  style: [
3380
- styles$k.progressBar,
3487
+ styles$j.progressBar,
3381
3488
  {
3382
3489
  width: progressAnim,
3383
3490
  backgroundColor: accentColor
@@ -3394,7 +3501,7 @@ const ToastWithProvider = React.forwardRef(
3394
3501
  );
3395
3502
  ToastWithProvider.displayName = "Toast";
3396
3503
 
3397
- const styles$j = StyleSheet.create({
3504
+ const styles$i = StyleSheet.create({
3398
3505
  inputContainer: {
3399
3506
  flexDirection: "row",
3400
3507
  justifyContent: "center",
@@ -3473,8 +3580,8 @@ const CustomSearchBar = ({
3473
3580
  {
3474
3581
  testID,
3475
3582
  style: [
3476
- styles$j.inputContainer,
3477
- size === "small" ? styles$j.inputContainerSmall : styles$j.inputContainerLarge,
3583
+ styles$i.inputContainer,
3584
+ size === "small" ? styles$i.inputContainerSmall : styles$i.inputContainerLarge,
3478
3585
  {
3479
3586
  ...height !== void 0 && { height: verticalScale(height) },
3480
3587
  backgroundColor: disabled ? theme[Theme.SURFACE_PRIMARY] : theme[Theme.SURFACE_PRIMARY_TRANSPARENT],
@@ -3496,7 +3603,7 @@ const CustomSearchBar = ({
3496
3603
  React.cloneElement(searchIcon, {
3497
3604
  width: DHRE_SPACING.LG,
3498
3605
  height: DHRE_SPACING.LG,
3499
- style: [styles$j.searchIconStyle, searchIconStyle]
3606
+ style: [styles$i.searchIconStyle, searchIconStyle]
3500
3607
  })
3501
3608
  ),
3502
3609
  /* @__PURE__ */ React.createElement(
@@ -3505,7 +3612,7 @@ const CustomSearchBar = ({
3505
3612
  ...props,
3506
3613
  testID: `${testID}-INPUT`,
3507
3614
  style: [
3508
- styles$j.input,
3615
+ styles$i.input,
3509
3616
  { color: theme[Theme.CONTENT_PRIMARY] },
3510
3617
  inputStyle
3511
3618
  ],
@@ -3540,14 +3647,14 @@ const CustomSearchBar = ({
3540
3647
  React.cloneElement(rightIcon, {
3541
3648
  // width: moderateScale(24),
3542
3649
  // height: moderateScale(24),
3543
- style: [styles$j.crossIconStyle, crossIconStyle]
3650
+ style: [styles$i.crossIconStyle, crossIconStyle]
3544
3651
  })
3545
3652
  )
3546
3653
  );
3547
3654
  };
3548
3655
  var CustomSearchBar$1 = withThemeProvider(CustomSearchBar);
3549
3656
 
3550
- const styles$i = StyleSheet.create({
3657
+ const styles$h = StyleSheet.create({
3551
3658
  container: {
3552
3659
  flexDirection: "row",
3553
3660
  justifyContent: "space-between",
@@ -3581,7 +3688,7 @@ const CustomHeader = ({
3581
3688
  rightIcons
3582
3689
  }) => {
3583
3690
  const { theme } = useTheme();
3584
- return /* @__PURE__ */ React.createElement(View, { style: styles$i.container, testID: testId }, /* @__PURE__ */ React.createElement(View, { style: styles$i.pageTitleContainer }, leftIcon && /* @__PURE__ */ React.createElement(HeaderIcon, { config: leftIcon }), /* @__PURE__ */ React.createElement(
3691
+ return /* @__PURE__ */ React.createElement(View, { style: styles$h.container, testID: testId }, /* @__PURE__ */ React.createElement(View, { style: styles$h.pageTitleContainer }, leftIcon && /* @__PURE__ */ React.createElement(HeaderIcon, { config: leftIcon }), /* @__PURE__ */ React.createElement(
3585
3692
  CustomTypography,
3586
3693
  {
3587
3694
  variant: "BODY1_MEDIUM",
@@ -3591,11 +3698,11 @@ const CustomHeader = ({
3591
3698
  ), titleSuffixIcon && React.cloneElement(titleSuffixIcon, {
3592
3699
  width: ICON_SIZE,
3593
3700
  height: ICON_SIZE
3594
- })), rightIcons && rightIcons.length > 0 && /* @__PURE__ */ React.createElement(View, { style: styles$i.iconsContainer }, rightIcons.map((config, index) => /* @__PURE__ */ React.createElement(HeaderIcon, { key: index, config }))));
3701
+ })), rightIcons && rightIcons.length > 0 && /* @__PURE__ */ React.createElement(View, { style: styles$h.iconsContainer }, rightIcons.map((config, index) => /* @__PURE__ */ React.createElement(HeaderIcon, { key: index, config }))));
3595
3702
  };
3596
3703
  var CustomHeader$1 = withThemeProvider(CustomHeader);
3597
3704
 
3598
- const styles$h = StyleSheet.create({
3705
+ const styles$g = StyleSheet.create({
3599
3706
  container: {
3600
3707
  flex: 1
3601
3708
  },
@@ -3625,14 +3732,14 @@ const ActionButton = ({
3625
3732
  {
3626
3733
  testID,
3627
3734
  onPress,
3628
- style: [styles$h.actionButton, style]
3735
+ style: [styles$g.actionButton, style]
3629
3736
  },
3630
3737
  icon,
3631
3738
  /* @__PURE__ */ React.createElement(
3632
3739
  CustomTypography,
3633
3740
  {
3634
3741
  variant: "L1_REGULAR",
3635
- style: [styles$h.titleStyle, titleStyle],
3742
+ style: [styles$g.titleStyle, titleStyle],
3636
3743
  text: title
3637
3744
  }
3638
3745
  )
@@ -3673,7 +3780,7 @@ const SwipableList = (props) => {
3673
3780
  return id;
3674
3781
  });
3675
3782
  }, []);
3676
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$h.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3783
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$g.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3677
3784
  ActionButton,
3678
3785
  {
3679
3786
  icon: leftPrimaryActionIcon,
@@ -3700,7 +3807,7 @@ const SwipableList = (props) => {
3700
3807
  titleStyle
3701
3808
  }
3702
3809
  ));
3703
- const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$h.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3810
+ const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$g.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3704
3811
  ActionButton,
3705
3812
  {
3706
3813
  icon: rightPrimaryActionIcon,
@@ -3714,7 +3821,7 @@ const SwipableList = (props) => {
3714
3821
  titleStyle
3715
3822
  }
3716
3823
  ));
3717
- const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(View, { testID: `${testId}-LIST`, style: styles$h.container }, /* @__PURE__ */ React.createElement(
3824
+ const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(View, { testID: `${testId}-LIST`, style: styles$g.container }, /* @__PURE__ */ React.createElement(
3718
3825
  Swipeable,
3719
3826
  {
3720
3827
  ref: (ref) => swipeableRefs.current[item.id] = ref,
@@ -3740,7 +3847,7 @@ const SwipableList = (props) => {
3740
3847
  View,
3741
3848
  {
3742
3849
  style: {
3743
- ...styles$h.seperator,
3850
+ ...styles$g.seperator,
3744
3851
  backgroundColor: theme.BORDER_SEPRATOR
3745
3852
  }
3746
3853
  }
@@ -3750,7 +3857,15 @@ const SwipableList = (props) => {
3750
3857
  };
3751
3858
  var SwipableList$1 = withThemeProvider(SwipableList);
3752
3859
 
3753
- const styles$g = StyleSheet.create({
3860
+ const OUTLINED_GRADIENT_COLORS = [
3861
+ DHRE_CYAN_HIGHLIGHT[300],
3862
+ "#438CB1"
3863
+ ];
3864
+ const OUTLINED_GRADIENT_START = { x: 0, y: 0 };
3865
+ const OUTLINED_GRADIENT_END = { x: 1, y: 1 };
3866
+ const OUTLINED_BORDER_WIDTH = 1;
3867
+
3868
+ const styles$f = StyleSheet.create({
3754
3869
  container: {
3755
3870
  justifyContent: "center",
3756
3871
  alignItems: "center"
@@ -3790,13 +3905,6 @@ const ICON_BLUR_TYPE_STYLE = StyleSheet.create({
3790
3905
  overflow: "hidden"
3791
3906
  }
3792
3907
  });
3793
- const OUTLINED_GRADIENT_COLORS = [
3794
- DHRE_CYAN_HIGHLIGHT[300],
3795
- "#438CB1"
3796
- ];
3797
- const OUTLINED_GRADIENT_START = { x: 0, y: 0 };
3798
- const OUTLINED_GRADIENT_END = { x: 1, y: 1 };
3799
- const OUTLINED_BORDER_WIDTH = 1;
3800
3908
  const OUTLINED_BUTTON_STYLES = StyleSheet.create({
3801
3909
  shell: {
3802
3910
  borderRadius: ICON_BUTTON_RADIUS,
@@ -3938,7 +4046,7 @@ const CustomIcon = ({
3938
4046
  return renderOutlinedButton();
3939
4047
  }
3940
4048
  };
3941
- const outerStyle = labelPosition ? [ICON_LABEL_POSITION_STYLES[labelPosition], containerStyle ?? {}] : [styles$g.container, containerStyle ?? {}];
4049
+ const outerStyle = labelPosition ? [ICON_LABEL_POSITION_STYLES[labelPosition], containerStyle ?? {}] : [styles$f.container, containerStyle ?? {}];
3942
4050
  const resolvedTitleColor = type ? { color: theme[Theme.CONTENT_PRIMARY] } : void 0;
3943
4051
  const resolvedTitleVariant = titleVariant ?? ICON_TITLE_VARIANT_FOR_SIZE[size ?? "large"];
3944
4052
  return /* @__PURE__ */ React.createElement(
@@ -3954,14 +4062,14 @@ const CustomIcon = ({
3954
4062
  {
3955
4063
  variant: resolvedTitleVariant,
3956
4064
  text: title,
3957
- style: [styles$g.title, resolvedTitleColor, titleStyle]
4065
+ style: [styles$f.title, resolvedTitleColor, titleStyle]
3958
4066
  }
3959
4067
  )
3960
4068
  );
3961
4069
  };
3962
4070
  var CustomIcon$1 = withThemeProvider(CustomIcon);
3963
4071
 
3964
- const createStyles$5 = (theme) => {
4072
+ const createStyles$6 = (theme) => {
3965
4073
  return StyleSheet.create({
3966
4074
  container: {
3967
4075
  position: "absolute",
@@ -10162,7 +10270,7 @@ const CustomLoader = ({
10162
10270
  customeBox
10163
10271
  }) => {
10164
10272
  const { theme, mode } = useTheme();
10165
- const styles = createStyles$5(theme);
10273
+ const styles = createStyles$6(theme);
10166
10274
  const isDP = brandName === "DP";
10167
10275
  const isNakheel = brandName === "Nakheel";
10168
10276
  if (!loading) return null;
@@ -10202,7 +10310,7 @@ const CustomLoader = ({
10202
10310
  };
10203
10311
  var CustomLoader$1 = withThemeProvider(CustomLoader);
10204
10312
 
10205
- const createStyles$4 = (scaledSize, color) => StyleSheet.create({
10313
+ const createStyles$5 = (scaledSize, color) => StyleSheet.create({
10206
10314
  // Full-screen absolute overlay — mirrors CustomLoader `container`
10207
10315
  container: {
10208
10316
  position: "absolute",
@@ -10324,7 +10432,7 @@ const LoaderContent = ({
10324
10432
  }, []);
10325
10433
  const color = theme[Theme.CONTENT_PRIMARY];
10326
10434
  const styles = useMemo(
10327
- () => createStyles$4(scaledSize, color),
10435
+ () => createStyles$5(scaledSize, color),
10328
10436
  [scaledSize, color]
10329
10437
  );
10330
10438
  return /* @__PURE__ */ React.createElement(View, { style: [styles.container, containerStyle], testID }, /* @__PURE__ */ React.createElement(View, { style: [styles.backdrop, backdropStyle] }, /* @__PURE__ */ React.createElement(View, { style: [styles.box, boxStyle] }, /* @__PURE__ */ React.createElement(
@@ -10388,14 +10496,14 @@ const HorizontalLine = ({ backgroundColor = "SURFACE_SECONDARY", style }) => {
10388
10496
  View,
10389
10497
  {
10390
10498
  style: [
10391
- styles$f.line,
10499
+ styles$e.line,
10392
10500
  { backgroundColor: theme[backgroundColor] },
10393
10501
  style
10394
10502
  ]
10395
10503
  }
10396
10504
  );
10397
10505
  };
10398
- const styles$f = StyleSheet.create({
10506
+ const styles$e = StyleSheet.create({
10399
10507
  line: {
10400
10508
  height: 1,
10401
10509
  width: "100%"
@@ -10418,18 +10526,18 @@ const Topic = ({
10418
10526
  TouchableOpacity,
10419
10527
  {
10420
10528
  style: [
10421
- styles$e.button,
10529
+ styles$d.button,
10422
10530
  { backgroundColor: theme[Theme.SURFACE_SECONDARY] },
10423
10531
  containterStyle
10424
10532
  ],
10425
10533
  onPress
10426
10534
  },
10427
- rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$e.rightIconContainer }, React.cloneElement(rightIcon)),
10428
- /* @__PURE__ */ React.createElement(View, { style: styles$e.timeContainer }, time && /* @__PURE__ */ React.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
10429
- /* @__PURE__ */ React.createElement(View, { style: styles$e.textContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$e.paymentView }, statusImage && /* @__PURE__ */ React.createElement(View, null, React.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React.createElement(
10535
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$d.rightIconContainer }, React.cloneElement(rightIcon)),
10536
+ /* @__PURE__ */ React.createElement(View, { style: styles$d.timeContainer }, time && /* @__PURE__ */ React.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
10537
+ /* @__PURE__ */ React.createElement(View, { style: styles$d.textContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$d.paymentView }, statusImage && /* @__PURE__ */ React.createElement(View, null, React.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React.createElement(
10430
10538
  CustomText$1,
10431
10539
  {
10432
- style: [styles$e.subTitle, subTitleStyle],
10540
+ style: [styles$d.subTitle, subTitleStyle],
10433
10541
  text: subTitle,
10434
10542
  variant: FontStyle.L2_REGULAR,
10435
10543
  textColor: Theme.CONTENT_PRIMARY
@@ -10444,7 +10552,7 @@ const Topic = ({
10444
10552
  ))
10445
10553
  );
10446
10554
  };
10447
- const styles$e = StyleSheet.create({
10555
+ const styles$d = StyleSheet.create({
10448
10556
  button: {
10449
10557
  flexDirection: "row",
10450
10558
  alignItems: "center",
@@ -10540,14 +10648,14 @@ const ContactModal = ({
10540
10648
  const renderEmailOptions = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10541
10649
  CustomText$1,
10542
10650
  {
10543
- style: styles$d.title,
10651
+ style: styles$c.title,
10544
10652
  text: "Open email app",
10545
10653
  variant: "L2_REGULAR"
10546
10654
  }
10547
10655
  ), /* @__PURE__ */ React.createElement(
10548
10656
  CustomText$1,
10549
10657
  {
10550
- style: styles$d.subtitle,
10658
+ style: styles$c.subtitle,
10551
10659
  text: "Which app would you like to open?",
10552
10660
  variant: "L2_REGULAR"
10553
10661
  }
@@ -10555,33 +10663,33 @@ const ContactModal = ({
10555
10663
  Pressable,
10556
10664
  {
10557
10665
  onPress: () => handleOptionPress(),
10558
- style: styles$d.optionButton
10666
+ style: styles$c.optionButton
10559
10667
  },
10560
10668
  /* @__PURE__ */ React.createElement(
10561
10669
  CustomText$1,
10562
10670
  {
10563
- style: styles$d.optionText,
10671
+ style: styles$c.optionText,
10564
10672
  text: option,
10565
10673
  variant: "B3_BOLD"
10566
10674
  }
10567
10675
  )
10568
10676
  ))));
10569
- const renderContent = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$d.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React.createElement(Pressable, { onPress: handleCall, style: styles$d.optionButton }, /* @__PURE__ */ React.createElement(
10677
+ const renderContent = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$c.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React.createElement(Pressable, { onPress: handleCall, style: styles$c.optionButton }, /* @__PURE__ */ React.createElement(
10570
10678
  CustomText$1,
10571
10679
  {
10572
- style: styles$d.optionText,
10680
+ style: styles$c.optionText,
10573
10681
  text: `Call ${phoneNumber}`,
10574
10682
  variant: "B3_BOLD"
10575
10683
  }
10576
- ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$d.cancelButton }, /* @__PURE__ */ React.createElement(
10684
+ ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$c.cancelButton }, /* @__PURE__ */ React.createElement(
10577
10685
  CustomText$1,
10578
10686
  {
10579
- style: styles$d.cancelText,
10687
+ style: styles$c.cancelText,
10580
10688
  text: "Cancel",
10581
10689
  variant: "B2_REGULAR"
10582
10690
  }
10583
10691
  )));
10584
- return /* @__PURE__ */ React.createElement(View, { style: styles$d.container }, /* @__PURE__ */ React.createElement(
10692
+ return /* @__PURE__ */ React.createElement(View, { style: styles$c.container }, /* @__PURE__ */ React.createElement(
10585
10693
  Modal$1,
10586
10694
  {
10587
10695
  animationType: "slide",
@@ -10589,10 +10697,10 @@ const ContactModal = ({
10589
10697
  visible,
10590
10698
  onRequestClose: onClose
10591
10699
  },
10592
- /* @__PURE__ */ React.createElement(View, { style: styles$d.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$d.modalContent }, renderContent()))
10700
+ /* @__PURE__ */ React.createElement(View, { style: styles$c.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$c.modalContent }, renderContent()))
10593
10701
  ));
10594
10702
  };
10595
- const styles$d = StyleSheet.create({
10703
+ const styles$c = StyleSheet.create({
10596
10704
  container: {
10597
10705
  flex: 1,
10598
10706
  justifyContent: "center",
@@ -10654,7 +10762,7 @@ const styles$d = StyleSheet.create({
10654
10762
  });
10655
10763
  var ContactModel = withThemeProvider(ContactModal);
10656
10764
 
10657
- const styles$c = StyleSheet.create({
10765
+ const styles$b = StyleSheet.create({
10658
10766
  // Outer card: wraps Calendar (which includes the custom header via renderHeader)
10659
10767
  // and provides the dark-blue background + rounded corners.
10660
10768
  calendarCard: {
@@ -10806,12 +10914,12 @@ const DateRangePicker = (props) => {
10806
10914
  View,
10807
10915
  {
10808
10916
  style: [
10809
- styles$c.calendarHeader,
10917
+ styles$b.calendarHeader,
10810
10918
  { borderBottomColor: theme.STROKE_TERTIARY }
10811
10919
  ]
10812
10920
  },
10813
- /* @__PURE__ */ React.createElement(Text, { style: [styles$c.monthText, { color: theme.CONTENT_PRIMARY }] }, monthLabel),
10814
- /* @__PURE__ */ React.createElement(View, { style: styles$c.arrowsContainer }, /* @__PURE__ */ React.createElement(
10921
+ /* @__PURE__ */ React.createElement(Text, { style: [styles$b.monthText, { color: theme.CONTENT_PRIMARY }] }, monthLabel),
10922
+ /* @__PURE__ */ React.createElement(View, { style: styles$b.arrowsContainer }, /* @__PURE__ */ React.createElement(
10815
10923
  TouchableOpacity,
10816
10924
  {
10817
10925
  onPress: prevMonth,
@@ -10845,81 +10953,86 @@ const DateRangePicker = (props) => {
10845
10953
  ))
10846
10954
  ))
10847
10955
  );
10848
- return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(View, { style: [styles$c.calendarCard, { backgroundColor: theme.SURFACE_SECONDARY }] }, /* @__PURE__ */ React.createElement(
10849
- Calendar,
10850
- {
10851
- key: monthKey,
10852
- current: currentDateStr,
10853
- markedDates: getMarkedDates(),
10854
- markingType: "period",
10855
- hideArrows: true,
10856
- renderHeader: renderCalendarHeader,
10857
- theme: {
10858
- calendarBackground: "transparent",
10859
- dayTextColor: theme.CONTENT_PRIMARY,
10860
- textDisabledColor: theme.CONTENT_DISABLE,
10861
- todayTextColor: theme.CONTENT_PRIMARY,
10862
- textSectionTitleColor: theme.CONTENT_SECONDRY,
10863
- textDayFontSize: 16,
10864
- textDayFontWeight: "500",
10865
- textDayHeaderFontSize: 11,
10866
- textDayHeaderFontWeight: "300",
10867
- // Reduce row gap from default 14px (7+7) to 4px (2+2) to match Figma.
10868
- weekVerticalMargin: 2,
10869
- // Remove the calendar body's default 5px horizontal padding so the date
10870
- // grid aligns flush with the custom renderHeader content.
10871
- "stylesheet.calendar.main": {
10872
- container: {
10873
- paddingLeft: 0,
10874
- paddingRight: 0,
10875
- backgroundColor: "transparent"
10876
- }
10877
- },
10878
- // Strip Calendar header container's default padding/margin, zero the
10879
- // day-names row top margin, and apply uppercase + correct sizing to
10880
- // each day abbreviation label.
10881
- "stylesheet.calendar.header": {
10882
- header: {
10883
- paddingLeft: 0,
10884
- paddingRight: 0,
10885
- marginTop: 0,
10886
- marginBottom: 0
10887
- },
10888
- week: {
10889
- marginTop: 8,
10890
- flexDirection: "row",
10891
- justifyContent: "space-around"
10956
+ return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
10957
+ View,
10958
+ {
10959
+ style: [
10960
+ styles$b.calendarCard,
10961
+ { backgroundColor: theme.SURFACE_SECONDARY }
10962
+ ]
10963
+ },
10964
+ /* @__PURE__ */ React.createElement(
10965
+ Calendar,
10966
+ {
10967
+ key: monthKey,
10968
+ current: currentDateStr,
10969
+ markedDates: getMarkedDates(),
10970
+ markingType: "period",
10971
+ hideArrows: true,
10972
+ renderHeader: renderCalendarHeader,
10973
+ theme: {
10974
+ calendarBackground: "transparent",
10975
+ dayTextColor: theme.CONTENT_PRIMARY,
10976
+ textDisabledColor: theme.CONTENT_DISABLE_DARK,
10977
+ todayTextColor: theme.CONTENT_PRIMARY,
10978
+ textSectionTitleColor: theme.CONTENT_SECONDRY,
10979
+ textDayFontSize: 16,
10980
+ textDayFontWeight: "500",
10981
+ textDayHeaderFontSize: 11,
10982
+ textDayHeaderFontWeight: "300",
10983
+ // Reduce row gap from default 14px (7+7) to 4px (2+2) to match Figma.
10984
+ weekVerticalMargin: 2,
10985
+ // Remove the calendar body's default 5px horizontal padding so the date
10986
+ // grid aligns flush with the custom renderHeader content.
10987
+ "stylesheet.calendar.main": {
10988
+ container: {
10989
+ paddingLeft: 0,
10990
+ paddingRight: 0,
10991
+ backgroundColor: "transparent"
10992
+ }
10892
10993
  },
10893
- dayHeader: {
10894
- marginTop: 2,
10895
- marginBottom: 7,
10896
- width: 32,
10897
- textAlign: "center",
10898
- textTransform: "uppercase",
10899
- fontSize: 11,
10900
- fontWeight: "300",
10901
- color: theme.CONTENT_SECONDRY
10994
+ // Strip Calendar header container's default padding/margin, zero the
10995
+ // day-names row top margin, and apply uppercase + correct sizing to
10996
+ // each day abbreviation label.
10997
+ "stylesheet.calendar.header": {
10998
+ header: {
10999
+ paddingLeft: 0,
11000
+ paddingRight: 0,
11001
+ marginTop: 0,
11002
+ marginBottom: 0
11003
+ },
11004
+ week: {
11005
+ marginTop: 8,
11006
+ flexDirection: "row",
11007
+ justifyContent: "space-around"
11008
+ },
11009
+ dayHeader: {
11010
+ marginTop: 2,
11011
+ marginBottom: 7,
11012
+ width: 32,
11013
+ textAlign: "center",
11014
+ textTransform: "uppercase",
11015
+ fontSize: 11,
11016
+ fontWeight: "300",
11017
+ color: theme.CONTENT_SECONDRY
11018
+ }
10902
11019
  }
10903
- }
10904
- },
10905
- style: { backgroundColor: "transparent", borderRadius: 0 },
10906
- onDayPress,
10907
- firstDay: 1,
10908
- ...calendarProps
10909
- }
10910
- )), /* @__PURE__ */ React.createElement(
11020
+ },
11021
+ style: { backgroundColor: "transparent", borderRadius: 0 },
11022
+ onDayPress,
11023
+ firstDay: 1,
11024
+ ...calendarProps
11025
+ }
11026
+ )
11027
+ ), /* @__PURE__ */ React.createElement(
10911
11028
  Button,
10912
11029
  {
10913
11030
  title: btnTitle,
10914
11031
  onPress: () => {
10915
11032
  onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
10916
11033
  },
10917
- containerStyle: {
10918
- ...styles$c.applyButton,
10919
- backgroundColor: theme.SURFACE_INVERTED,
10920
- borderColor: theme.NOTIFICATIONS_HIGHLIGHT
10921
- },
10922
- textStyle: { color: theme.CONTENT_INVERTED },
11034
+ variant: "primary",
11035
+ size: "large",
10923
11036
  disabled: isButtonDisabled
10924
11037
  }
10925
11038
  ));
@@ -10943,20 +11056,20 @@ const OurOfficesButton = ({
10943
11056
  TouchableOpacity,
10944
11057
  {
10945
11058
  style: [
10946
- styles$b.button,
11059
+ styles$a.button,
10947
11060
  { backgroundColor: theme["SURFACE_SECONDARY"] },
10948
11061
  containerStyle
10949
11062
  ],
10950
11063
  onPress
10951
11064
  },
10952
- leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$b.iconContainer }, React.cloneElement(leftIcon)),
10953
- /* @__PURE__ */ React.createElement(View, { style: styles$b.textContainer }, /* @__PURE__ */ React.createElement(
11065
+ leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$a.iconContainer }, React.cloneElement(leftIcon)),
11066
+ /* @__PURE__ */ React.createElement(View, { style: styles$a.textContainer }, /* @__PURE__ */ React.createElement(
10954
11067
  CustomText$1,
10955
11068
  {
10956
11069
  text: title,
10957
11070
  variant: titleVariant,
10958
11071
  textColor: titleColor,
10959
- style: styles$b.textView
11072
+ style: styles$a.textView
10960
11073
  }
10961
11074
  ), /* @__PURE__ */ React.createElement(
10962
11075
  CustomText$1,
@@ -10964,13 +11077,13 @@ const OurOfficesButton = ({
10964
11077
  text: description,
10965
11078
  variant: descriptionVariant,
10966
11079
  textColor: descriptionColor,
10967
- style: styles$b.flexWrap
11080
+ style: styles$a.flexWrap
10968
11081
  }
10969
11082
  )),
10970
- rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$b.rightIconContainer }, React.cloneElement(rightIcon))
11083
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$a.rightIconContainer }, React.cloneElement(rightIcon))
10971
11084
  );
10972
11085
  };
10973
- const styles$b = StyleSheet.create({
11086
+ const styles$a = StyleSheet.create({
10974
11087
  button: {
10975
11088
  flexDirection: "row",
10976
11089
  alignItems: "center",
@@ -10994,7 +11107,7 @@ const styles$b = StyleSheet.create({
10994
11107
  });
10995
11108
  var OurOffices = withThemeProvider(OurOfficesButton);
10996
11109
 
10997
- const styles$a = StyleSheet.create({
11110
+ const styles$9 = StyleSheet.create({
10998
11111
  iconContainer: {
10999
11112
  position: "relative",
11000
11113
  alignItems: "center"
@@ -11023,10 +11136,10 @@ const NotificationBandge = ({
11023
11136
  if (notificationCount <= 0) {
11024
11137
  return icon;
11025
11138
  }
11026
- return /* @__PURE__ */ React.createElement(View, { style: styles$a.iconContainer }, icon, /* @__PURE__ */ React.createElement(View, { style: styles$a.badge }, /* @__PURE__ */ React.createElement(Text, { style: [styles$a.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
11139
+ return /* @__PURE__ */ React.createElement(View, { style: styles$9.iconContainer }, icon, /* @__PURE__ */ React.createElement(View, { style: styles$9.badge }, /* @__PURE__ */ React.createElement(Text, { style: [styles$9.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
11027
11140
  };
11028
11141
 
11029
- const createStyles$3 = (theme) => {
11142
+ const createStyles$4 = (theme) => {
11030
11143
  return StyleSheet.create({
11031
11144
  // ── ScrollableList ────────────────────────────────────────────
11032
11145
  container: {
@@ -11121,7 +11234,7 @@ const CategoryItem = memo(
11121
11234
  enableTextWrap
11122
11235
  }) => {
11123
11236
  const { theme } = useTheme();
11124
- const styles = useMemo(() => createStyles$3(theme), [theme]);
11237
+ const styles = useMemo(() => createStyles$4(theme), [theme]);
11125
11238
  const handlePress = useCallback(
11126
11239
  () => onPress(item.name, item.value),
11127
11240
  [onPress, item.name, item.value]
@@ -11218,7 +11331,7 @@ const ScrollableList = ({
11218
11331
  data && data.length > 0 ? data[0].name : null
11219
11332
  );
11220
11333
  const { theme } = useTheme();
11221
- const styles = useMemo(() => createStyles$3(theme), [theme]);
11334
+ const styles = useMemo(() => createStyles$4(theme), [theme]);
11222
11335
  const activeKey = activeTab ?? selectedItem;
11223
11336
  const handlePress = useCallback(
11224
11337
  (name, value) => {
@@ -11261,7 +11374,7 @@ const ScrollableList = ({
11261
11374
  };
11262
11375
  var category = withThemeProvider(ScrollableList);
11263
11376
 
11264
- const createStyles$2 = (theme) => {
11377
+ const createStyles$3 = (theme) => {
11265
11378
  return StyleSheet.create({
11266
11379
  container: {
11267
11380
  flex: 1,
@@ -11339,7 +11452,7 @@ const FeedbackForm = ({
11339
11452
  const isFilled = feedback.length > 0;
11340
11453
  const label = inputLabel ?? inputText;
11341
11454
  const { theme } = useTheme();
11342
- const styles = createStyles$2(theme);
11455
+ const styles = createStyles$3(theme);
11343
11456
  return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(
11344
11457
  CustomText$1,
11345
11458
  {
@@ -11424,7 +11537,7 @@ const CountryDropDown = ({
11424
11537
  setCallingCode(`+${country.callingCode[0]}`);
11425
11538
  getCountryCode(`+${country.callingCode[0]}`);
11426
11539
  };
11427
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: [styles$9.container, containerStyle] }, /* @__PURE__ */ React.createElement(View, { style: [styles$9.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React.createElement(
11540
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: [styles$8.container, containerStyle] }, /* @__PURE__ */ React.createElement(View, { style: [styles$8.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React.createElement(
11428
11541
  CountryPicker,
11429
11542
  {
11430
11543
  withFilter: true,
@@ -11438,20 +11551,20 @@ const CountryDropDown = ({
11438
11551
  Text,
11439
11552
  {
11440
11553
  onPress: () => setPickerVisible(true),
11441
- style: [styles$9.callingCode, callingCodeStyle]
11554
+ style: [styles$8.callingCode, callingCodeStyle]
11442
11555
  },
11443
11556
  callingCode
11444
- )), /* @__PURE__ */ React.createElement(View, { style: styles$9.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
11557
+ )), /* @__PURE__ */ React.createElement(View, { style: styles$8.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
11445
11558
  CustomTypography,
11446
11559
  {
11447
11560
  variant: "L2_REGULAR",
11448
11561
  text: label ?? "",
11449
- style: styles$9.floatingLabel
11562
+ style: styles$8.floatingLabel
11450
11563
  }
11451
11564
  ), /* @__PURE__ */ React.createElement(
11452
11565
  TextInput,
11453
11566
  {
11454
- style: [styles$9.input, inputStyle],
11567
+ style: [styles$8.input, inputStyle],
11455
11568
  placeholder: !isFocused ? placeholder : "",
11456
11569
  keyboardType: "phone-pad",
11457
11570
  value,
@@ -11467,13 +11580,13 @@ const CountryDropDown = ({
11467
11580
  variant: "L2_REGULAR",
11468
11581
  text: errorMessage ?? "",
11469
11582
  style: {
11470
- ...styles$9.errorStyle,
11583
+ ...styles$8.errorStyle,
11471
11584
  color: DHRE_DEFAULT.DH_SEMENTIC_ERROR
11472
11585
  }
11473
11586
  }
11474
11587
  ) : null);
11475
11588
  };
11476
- const styles$9 = StyleSheet.create({
11589
+ const styles$8 = StyleSheet.create({
11477
11590
  flex: {
11478
11591
  flex: 1
11479
11592
  },
@@ -11534,6 +11647,7 @@ const CommonTextInput = (props) => {
11534
11647
  keyboardType = "default",
11535
11648
  placeholderText,
11536
11649
  inputStyle,
11650
+ containerStyle,
11537
11651
  maxLength,
11538
11652
  errorMessage,
11539
11653
  helperText,
@@ -11562,7 +11676,7 @@ const CommonTextInput = (props) => {
11562
11676
  const labelColor = isError ? theme[Theme.ERROR] : isDisabled ? theme[Theme.CONTENT_TERTIARY] : theme[Theme.CONTENT_PRIMARY];
11563
11677
  const helperColor = isError ? theme[Theme.ERROR] : isDisabled ? theme[Theme.CONTENT_TERTIARY] : theme[Theme.CONTENT_SECONDRY];
11564
11678
  const helperMessage = errorMessage || helperText;
11565
- return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$8.container }, /* @__PURE__ */ React.createElement(
11679
+ return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: [styles$7.container, containerStyle] }, /* @__PURE__ */ React.createElement(
11566
11680
  TextInput$1,
11567
11681
  {
11568
11682
  mode: "outlined",
@@ -11571,7 +11685,7 @@ const CommonTextInput = (props) => {
11571
11685
  spellCheck: false,
11572
11686
  autoCorrect: false,
11573
11687
  outlineStyle: {
11574
- ...styles$8.outlineStyle,
11688
+ ...styles$7.outlineStyle,
11575
11689
  borderColor: currentBorderColor,
11576
11690
  borderWidth,
11577
11691
  backgroundColor: containerBackground
@@ -11593,7 +11707,8 @@ const CommonTextInput = (props) => {
11593
11707
  primary: labelColor,
11594
11708
  // error drives the error indicator colour
11595
11709
  error: isError ? theme[Theme.ERROR] : labelColor,
11596
- // background behind the floating label — must be solid to cut through the border
11710
+ // background behind the floating label pill — must be opaque and match the
11711
+ // parent surface; defaults to SURFACE_PRIMARY (standard screen background)
11597
11712
  background: theme[Theme.SURFACE_PRIMARY]
11598
11713
  },
11599
11714
  fonts: {
@@ -11612,12 +11727,7 @@ const CommonTextInput = (props) => {
11612
11727
  }
11613
11728
  }
11614
11729
  },
11615
- style: [
11616
- styles$8.input,
11617
- inputStyle,
11618
- multiline && styles$8.multilineInput,
11619
- { backgroundColor: containerBackground }
11620
- ],
11730
+ style: [styles$7.input, inputStyle, multiline && styles$7.multilineInput],
11621
11731
  contentStyle: {
11622
11732
  fontFamily: InterLight,
11623
11733
  textAlign: isRTL ? "right" : "left"
@@ -11648,7 +11758,7 @@ const CommonTextInput = (props) => {
11648
11758
  {
11649
11759
  style: [
11650
11760
  FONT_STYLES[isDisabled ? FontStyle.BODY2_MEDIUM : FontStyle.BODY2_LIGHT],
11651
- styles$8.helperStyle,
11761
+ styles$7.helperStyle,
11652
11762
  {
11653
11763
  color: helperColor,
11654
11764
  textAlign: isRTL ? "right" : "left"
@@ -11658,7 +11768,7 @@ const CommonTextInput = (props) => {
11658
11768
  helperMessage
11659
11769
  ) : null);
11660
11770
  };
11661
- const styles$8 = StyleSheet.create({
11771
+ const styles$7 = StyleSheet.create({
11662
11772
  container: {
11663
11773
  justifyContent: "center"
11664
11774
  },
@@ -11733,7 +11843,7 @@ const CustomDropdown = (props) => {
11733
11843
  Text,
11734
11844
  {
11735
11845
  style: [
11736
- styles$7.label,
11846
+ styles$6.label,
11737
11847
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11738
11848
  {
11739
11849
  color: labelColor,
@@ -11758,11 +11868,11 @@ const CustomDropdown = (props) => {
11758
11868
  };
11759
11869
  const renderItem = (item) => {
11760
11870
  const isSelected = item[valueField] === value;
11761
- return /* @__PURE__ */ React.createElement(View, { style: [styles$7.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React.createElement(
11871
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$6.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React.createElement(
11762
11872
  Text,
11763
11873
  {
11764
11874
  style: [
11765
- styles$7.itemText,
11875
+ styles$6.itemText,
11766
11876
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11767
11877
  { color: theme.CONTENT_PRIMARY },
11768
11878
  itemTextStyle,
@@ -11772,12 +11882,12 @@ const CustomDropdown = (props) => {
11772
11882
  item[labelField]
11773
11883
  ));
11774
11884
  };
11775
- return /* @__PURE__ */ React.createElement(View, { style: [styles$7.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
11885
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$6.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
11776
11886
  Dropdown,
11777
11887
  {
11778
11888
  ...props,
11779
11889
  style: [
11780
- styles$7.dropdown,
11890
+ styles$6.dropdown,
11781
11891
  {
11782
11892
  borderColor: fieldBorderColor,
11783
11893
  borderWidth: fieldBorderWidth,
@@ -11787,18 +11897,18 @@ const CustomDropdown = (props) => {
11787
11897
  isFocus && dropdownFocusStyle
11788
11898
  ],
11789
11899
  placeholderStyle: [
11790
- styles$7.placeholderStyle,
11900
+ styles$6.placeholderStyle,
11791
11901
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11792
11902
  { color: theme.CONTENT_SECONDRY },
11793
11903
  placeholderStyle
11794
11904
  ],
11795
11905
  selectedTextStyle: [
11796
- styles$7.selectedTextStyle,
11906
+ styles$6.selectedTextStyle,
11797
11907
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11798
11908
  { color: valueTextColor },
11799
11909
  selectedTextStyle
11800
11910
  ],
11801
- iconStyle: [styles$7.iconStyle, iconStyle],
11911
+ iconStyle: [styles$6.iconStyle, iconStyle],
11802
11912
  data: data ?? [],
11803
11913
  labelField,
11804
11914
  valueField,
@@ -11828,7 +11938,7 @@ const CustomDropdown = (props) => {
11828
11938
  menuContainerStyle
11829
11939
  ],
11830
11940
  activeColor: activeColor ?? theme.SURFACE_SECONDARY,
11831
- itemContainerStyle: [styles$7.itemListStyle, itemContainerStyle],
11941
+ itemContainerStyle: [styles$6.itemListStyle, itemContainerStyle],
11832
11942
  disable,
11833
11943
  autoScroll,
11834
11944
  dropdownPosition,
@@ -11841,7 +11951,7 @@ const CustomDropdown = (props) => {
11841
11951
  Text,
11842
11952
  {
11843
11953
  style: [
11844
- styles$7.helperText,
11954
+ styles$6.helperText,
11845
11955
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11846
11956
  { color: helperColor }
11847
11957
  ]
@@ -11849,7 +11959,7 @@ const CustomDropdown = (props) => {
11849
11959
  helperMessage
11850
11960
  ) : null);
11851
11961
  };
11852
- const styles$7 = StyleSheet.create({
11962
+ const styles$6 = StyleSheet.create({
11853
11963
  container: {
11854
11964
  marginVertical: verticalScale(4),
11855
11965
  direction: "ltr",
@@ -11896,7 +12006,7 @@ const styles$7 = StyleSheet.create({
11896
12006
  });
11897
12007
  var DropDown = withThemeProvider(CustomDropdown);
11898
12008
 
11899
- const styles$6 = StyleSheet.create({
12009
+ const styles$5 = StyleSheet.create({
11900
12010
  mainContainer: {
11901
12011
  flexDirection: "row",
11902
12012
  justifyContent: "space-between",
@@ -11955,18 +12065,18 @@ const CustomSwitchBtn = ({
11955
12065
  {
11956
12066
  disabled,
11957
12067
  onPress: toggleSwitch,
11958
- style: { ...styles$6.mainContainer, ...containerStyle }
12068
+ style: { ...styles$5.mainContainer, ...containerStyle }
11959
12069
  },
11960
12070
  /* @__PURE__ */ React.createElement(
11961
12071
  Animated.View,
11962
12072
  {
11963
- style: [styles$6.circle, { transform: [{ translateX }], ...circleStyle }]
12073
+ style: [styles$5.circle, { transform: [{ translateX }], ...circleStyle }]
11964
12074
  }
11965
12075
  ),
11966
12076
  /* @__PURE__ */ React.createElement(
11967
12077
  CustomTypography,
11968
12078
  {
11969
- style: [styles$6.activeText, value ? inActiveTextStyle : activeTextStyle],
12079
+ style: [styles$5.activeText, value ? inActiveTextStyle : activeTextStyle],
11970
12080
  text: activeText,
11971
12081
  variant: activeTextVariant
11972
12082
  }
@@ -11975,7 +12085,7 @@ const CustomSwitchBtn = ({
11975
12085
  CustomTypography,
11976
12086
  {
11977
12087
  style: [
11978
- styles$6.inActiveText,
12088
+ styles$5.inActiveText,
11979
12089
  value ? activeTextStyle : inActiveTextStyle
11980
12090
  ],
11981
12091
  text: inActiveText,
@@ -12013,7 +12123,7 @@ class ToastService {
12013
12123
  }
12014
12124
  const toastService = new ToastService();
12015
12125
 
12016
- const createStyles$1 = (theme) => StyleSheet.create({
12126
+ const createStyles$2 = (theme) => StyleSheet.create({
12017
12127
  listContainer: {
12018
12128
  paddingHorizontal: 10,
12019
12129
  alignItems: "center"
@@ -12055,7 +12165,7 @@ const TagsComponent = ({
12055
12165
  unselectedTagButton
12056
12166
  }) => {
12057
12167
  const { theme } = useTheme();
12058
- const styles = createStyles$1(theme);
12168
+ const styles = createStyles$2(theme);
12059
12169
  const reorderedTags = () => {
12060
12170
  if (selectedTag) {
12061
12171
  return [
@@ -12105,7 +12215,7 @@ const TagsComponent = ({
12105
12215
  };
12106
12216
  var TagSingleSelection = withThemeProvider(TagsComponent);
12107
12217
 
12108
- const styles$5 = StyleSheet.create({
12218
+ const styles$4 = StyleSheet.create({
12109
12219
  textInputContainer: {
12110
12220
  flexDirection: "row",
12111
12221
  gap: DHRE_PADDING.MD,
@@ -12288,12 +12398,12 @@ const OTPInput = React.forwardRef(
12288
12398
  ...otpHeaderTextStyle
12289
12399
  }
12290
12400
  }
12291
- ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$5.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
12401
+ ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
12292
12402
  TextInput,
12293
12403
  {
12294
12404
  key: index?.toString(),
12295
12405
  style: {
12296
- ...styles$5.textInputStyle,
12406
+ ...styles$4.textInputStyle,
12297
12407
  color: !isEditable ? theme$1.CONTENT_DISABLE_DARK : otp.length === length ? theme$1.STROKE_PRIMARY : theme$1.CONTENT_PRIMARY,
12298
12408
  backgroundColor: !isEditable ? theme$1.SURFACE_PRIMARY : theme$1.SURFACE_TERTIARY_TRANSPARENT,
12299
12409
  borderColor: !isEditable ? theme$1.CONTENT_DISABLE_DARK : errorMessage || isInValidOtp && otp?.length === length ? theme$1.ERROR : otp.length === length ? theme$1.SUCCESS : otp[index] ? theme$1.STROKE_PRIMARY : theme$1.CONTENT_SECONDRY,
@@ -12314,7 +12424,7 @@ const OTPInput = React.forwardRef(
12314
12424
  selectionColor: theme$1.CONTENT_PRIMARY,
12315
12425
  editable: isEditable
12316
12426
  }
12317
- ))), !errorMessageMaxReachCount && /* @__PURE__ */ React.createElement(View, { style: styles$5.timerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$5.timerIconContainer }, errorMessage ? /* @__PURE__ */ React.createElement(React.Fragment, null, errorIcon ? React.cloneElement(errorIcon, {
12427
+ ))), !errorMessageMaxReachCount && /* @__PURE__ */ React.createElement(View, { style: styles$4.timerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$4.timerIconContainer }, errorMessage ? /* @__PURE__ */ React.createElement(React.Fragment, null, errorIcon ? React.cloneElement(errorIcon, {
12318
12428
  width: DHRE_SPACING_BASE.SPACE_20,
12319
12429
  height: DHRE_SPACING_BASE.SPACE_20
12320
12430
  }) : null, /* @__PURE__ */ React.createElement(
@@ -12338,7 +12448,7 @@ const OTPInput = React.forwardRef(
12338
12448
  Pressable,
12339
12449
  {
12340
12450
  onPress: onClickResendOTP,
12341
- style: styles$5.resendOTPStyle,
12451
+ style: styles$4.resendOTPStyle,
12342
12452
  disabled: disableResendButton() || !isResendOtpEnable
12343
12453
  },
12344
12454
  /* @__PURE__ */ React.createElement(
@@ -12352,7 +12462,7 @@ const OTPInput = React.forwardRef(
12352
12462
  }
12353
12463
  }
12354
12464
  )
12355
- )), errorMessageMaxReachCount ? /* @__PURE__ */ React.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React.createElement(
12465
+ )), errorMessageMaxReachCount ? /* @__PURE__ */ React.createElement(View, { style: styles$4.resendOtpContainer }, /* @__PURE__ */ React.createElement(
12356
12466
  CustomTypography,
12357
12467
  {
12358
12468
  text: errorMessageMaxReachCount,
@@ -12367,7 +12477,7 @@ const OTPInput = React.forwardRef(
12367
12477
  );
12368
12478
  OTPInput.displayName = "OTPInput";
12369
12479
 
12370
- const styles$4 = StyleSheet.create({
12480
+ const styles$3 = StyleSheet.create({
12371
12481
  stepperContainer: {
12372
12482
  flexDirection: "row",
12373
12483
  marginBottom: 24,
@@ -12461,27 +12571,27 @@ const Stepper = ({
12461
12571
  const { theme } = useTheme();
12462
12572
  const renderCircleStyle = (status) => {
12463
12573
  if (status === Status.Active) {
12464
- return { ...styles$4.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
12574
+ return { ...styles$3.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
12465
12575
  } else if (status === Status.Inactive) {
12466
12576
  return {
12467
- ...styles$4.inactiveStepCircle,
12577
+ ...styles$3.inactiveStepCircle,
12468
12578
  borderColor: theme.CONTENT_SECONDRY
12469
12579
  };
12470
12580
  } else if (status === Status.Completed) {
12471
- return { ...styles$4.completeStepCircle, backgroundColor: theme.SUCCESS };
12581
+ return { ...styles$3.completeStepCircle, backgroundColor: theme.SUCCESS };
12472
12582
  } else {
12473
- return { ...styles$4.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
12583
+ return { ...styles$3.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
12474
12584
  }
12475
12585
  };
12476
12586
  const renderLableStyle = (status) => {
12477
12587
  if (status === Status.Active) {
12478
- return { ...styles$4.activeStepLabel, color: theme.CONTENT_PRIMARY };
12588
+ return { ...styles$3.activeStepLabel, color: theme.CONTENT_PRIMARY };
12479
12589
  } else if (status === Status.Inactive) {
12480
- return { ...styles$4.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
12590
+ return { ...styles$3.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
12481
12591
  } else if (status === Status.Completed) {
12482
- return { ...styles$4.completeStepLabel, color: theme.CONTENT_PRIMARY };
12592
+ return { ...styles$3.completeStepLabel, color: theme.CONTENT_PRIMARY };
12483
12593
  } else {
12484
- return { ...styles$4.countStepLabel, color: theme.CONTENT_PRIMARY };
12594
+ return { ...styles$3.countStepLabel, color: theme.CONTENT_PRIMARY };
12485
12595
  }
12486
12596
  };
12487
12597
  const renderDividerStyle = (status) => {
@@ -12491,25 +12601,25 @@ const Stepper = ({
12491
12601
  return { borderColor: theme.BORDER_PRIMARY };
12492
12602
  } else if (status === Status.Completed) {
12493
12603
  return {
12494
- ...styles$4.completeStepDivider,
12604
+ ...styles$3.completeStepDivider,
12495
12605
  borderColor: theme.CONTENT_PRIMARY
12496
12606
  };
12497
12607
  } else {
12498
12608
  return { borderColor: theme.CONTENT_SECONDRY };
12499
12609
  }
12500
12610
  };
12501
- return /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
12611
+ return /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
12502
12612
  const stepCircleStyle = renderCircleStyle(item?.status);
12503
12613
  const dividerStyle = renderDividerStyle(item?.status);
12504
12614
  const labelStyle = renderLableStyle(item?.status);
12505
- const lastViewStyle = index === data?.length - 1 ? styles$4.lastStepWrapper : null;
12615
+ const lastViewStyle = index === data?.length - 1 ? styles$3.lastStepWrapper : null;
12506
12616
  return /* @__PURE__ */ React.createElement(
12507
12617
  View,
12508
12618
  {
12509
12619
  key: index?.toString(),
12510
- style: { ...styles$4.stepperWrapper, ...lastViewStyle }
12620
+ style: { ...styles$3.stepperWrapper, ...lastViewStyle }
12511
12621
  },
12512
- /* @__PURE__ */ React.createElement(View, { style: styles$4.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
12622
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
12513
12623
  CustomTypography,
12514
12624
  {
12515
12625
  text: item?.step,
@@ -12518,8 +12628,8 @@ const Stepper = ({
12518
12628
  color: theme.CONTENT_PRIMARY
12519
12629
  }
12520
12630
  }
12521
- ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.separator, ...dividerStyle } })),
12522
- /* @__PURE__ */ React.createElement(View, { style: styles$4.lableContainer }, /* @__PURE__ */ React.createElement(
12631
+ ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.separator, ...dividerStyle } })),
12632
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.lableContainer }, /* @__PURE__ */ React.createElement(
12523
12633
  CustomTypography,
12524
12634
  {
12525
12635
  text: item?.label,
@@ -12530,17 +12640,22 @@ const Stepper = ({
12530
12640
  );
12531
12641
  }));
12532
12642
  };
12533
- var index$3 = withThemeProvider(Stepper);
12643
+ var index$4 = withThemeProvider(Stepper);
12534
12644
 
12535
- const styles$3 = StyleSheet.create({
12645
+ const styles$2 = StyleSheet.create({
12536
12646
  container: {
12537
12647
  flex: 1,
12538
12648
  justifyContent: "center",
12539
12649
  alignItems: "center"
12540
12650
  },
12651
+ gradientShell: {
12652
+ borderRadius: DHRE_RADIUS.PILL,
12653
+ padding: OUTLINED_BORDER_WIDTH
12654
+ },
12541
12655
  sliderContainer: {
12542
- height: verticalScale(48),
12543
- // borderRadius: moderateScale(25),
12656
+ height: DHRE_COMPONENT_HEIGHT.BUTTON_MD - OUTLINED_BORDER_WIDTH * 2,
12657
+ // pill shape — overflow:hidden clips all child content to the rounded boundary
12658
+ borderRadius: DHRE_RADIUS.PILL,
12544
12659
  overflow: "hidden",
12545
12660
  justifyContent: "center"
12546
12661
  },
@@ -12551,11 +12666,13 @@ const styles$3 = StyleSheet.create({
12551
12666
  justifyContent: "center"
12552
12667
  },
12553
12668
  button: {
12554
- height: verticalScale(40),
12669
+ height: DHRE_COMPONENT_HEIGHT.INPUT_SM,
12555
12670
  justifyContent: "center",
12556
12671
  alignItems: "center",
12557
- // borderRadius: moderateScale(20),
12558
- margin: 4
12672
+ // circular thumb — consumer can override via sliderStyle prop
12673
+ borderRadius: DHRE_RADIUS.PILL,
12674
+ // 4px inset keeps thumb inside pill boundary (matches Figma left:4, top:4)
12675
+ margin: DHRE_PADDING.XS
12559
12676
  },
12560
12677
  buttonTextContainer: {
12561
12678
  position: "absolute",
@@ -12565,11 +12682,10 @@ const styles$3 = StyleSheet.create({
12565
12682
  top: 0,
12566
12683
  alignItems: "center",
12567
12684
  justifyContent: "center"
12568
- // borderRadius: 25,
12569
12685
  }
12570
12686
  });
12571
12687
 
12572
- const BUTTON_WIDTH = 40;
12688
+ const DEFAULT_SIZE = 40;
12573
12689
  const CustomSlideButton = React.forwardRef(
12574
12690
  ({
12575
12691
  label,
@@ -12579,17 +12695,21 @@ const CustomSlideButton = React.forwardRef(
12579
12695
  textStyle,
12580
12696
  containerStyle,
12581
12697
  sliderStyle,
12582
- size = BUTTON_WIDTH,
12698
+ size = DEFAULT_SIZE,
12583
12699
  sliderBackgroundColor = "#fff",
12584
12700
  sliderTextColor = "#000",
12585
- resetTimer = 2e3
12701
+ resetTimer = 2e3,
12702
+ isRTL = false,
12703
+ completedContainerStyle
12586
12704
  }, ref) => {
12705
+ const thumbOffset = verticalScale(size) + DHRE_PADDING.XS * 2;
12587
12706
  const value = useRef(0);
12588
12707
  const cardRef = useRef(null);
12589
12708
  const [translateX] = useState(new Animated.Value(0));
12590
12709
  const sliderConteinerRef = useRef(null);
12591
12710
  const [color] = useState(new Animated.Value(0));
12592
12711
  const [sliderBackgroundColorRef] = useState(new Animated.Value(0));
12712
+ const [isCompleted, setIsCompleted] = useState(false);
12593
12713
  React.useImperativeHandle(ref, () => ({
12594
12714
  reset() {
12595
12715
  resetAll();
@@ -12600,15 +12720,18 @@ const CustomSlideButton = React.forwardRef(
12600
12720
  if (cardRef.current) {
12601
12721
  cardRef.current.setNativeProps({
12602
12722
  style: { width }
12603
- // Change the width here
12604
12723
  });
12605
12724
  value.current = width;
12606
12725
  sliderConteinerRef?.current?.setNativeProps({
12607
12726
  style: { width }
12608
12727
  });
12609
12728
  }
12729
+ if (isRTL) {
12730
+ translateX.setValue(value.current - thumbOffset);
12731
+ }
12610
12732
  };
12611
12733
  const resetAll = () => {
12734
+ setIsCompleted(false);
12612
12735
  onReset?.();
12613
12736
  Animated.timing(sliderBackgroundColorRef, {
12614
12737
  toValue: 0,
@@ -12625,7 +12748,7 @@ const CustomSlideButton = React.forwardRef(
12625
12748
  // because we're animating the color, not layout
12626
12749
  }).start();
12627
12750
  Animated.timing(translateX, {
12628
- toValue: 0,
12751
+ toValue: isRTL ? value.current - thumbOffset : 0,
12629
12752
  useNativeDriver: false
12630
12753
  }).start();
12631
12754
  };
@@ -12636,39 +12759,73 @@ const CustomSlideButton = React.forwardRef(
12636
12759
  },
12637
12760
  onPanResponderTerminationRequest: () => false,
12638
12761
  onPanResponderMove: (evt, gestureState) => {
12639
- if (gestureState.dx > 0 && gestureState.dx <= value?.current - BUTTON_WIDTH - 8) {
12640
- translateX.setValue(gestureState.dx);
12641
- const colorValue = gestureState.dx > value.current / 3 ? 1 : 0;
12642
- Animated.timing(color, {
12643
- toValue: colorValue,
12644
- duration: 0,
12645
- // no transition time, immediate change
12646
- useNativeDriver: false
12647
- // because we're animating the color, not layout
12648
- }).start();
12762
+ if (isRTL) {
12763
+ if (gestureState.dx < 0 && gestureState.dx >= -(value.current - thumbOffset)) {
12764
+ translateX.setValue(value.current - thumbOffset + gestureState.dx);
12765
+ const colorValue = gestureState.dx < -(value.current / 3) ? 1 : 0;
12766
+ Animated.timing(color, {
12767
+ toValue: colorValue,
12768
+ duration: 0,
12769
+ // no transition time, immediate change
12770
+ useNativeDriver: false
12771
+ }).start();
12772
+ }
12773
+ } else {
12774
+ if (gestureState.dx > 0 && gestureState.dx <= value.current - thumbOffset) {
12775
+ translateX.setValue(gestureState.dx);
12776
+ const colorValue = gestureState.dx > value.current / 3 ? 1 : 0;
12777
+ Animated.timing(color, {
12778
+ toValue: colorValue,
12779
+ duration: 0,
12780
+ // no transition time, immediate change
12781
+ useNativeDriver: false
12782
+ }).start();
12783
+ }
12649
12784
  }
12650
12785
  },
12651
12786
  onPanResponderRelease: (e, gestureState) => {
12652
- if (gestureState.dx >= value.current * 0.8) {
12653
- Animated.timing(translateX, {
12654
- toValue: value?.current - (BUTTON_WIDTH + 8),
12655
- // Slide to the end
12656
- duration: 300,
12657
- useNativeDriver: false
12658
- }).start();
12659
- Animated.timing(sliderBackgroundColorRef, {
12660
- toValue: 1,
12661
- duration: 0,
12662
- // no transition time, immediate change
12663
- useNativeDriver: false
12664
- // because we're animating the color, not layout
12665
- }).start();
12666
- onComplete?.();
12667
- setTimeout(() => {
12787
+ if (isRTL) {
12788
+ if (gestureState.dx <= -(value.current * 0.8)) {
12789
+ Animated.timing(translateX, {
12790
+ toValue: 0,
12791
+ // snap to leftmost position (completed side for RTL)
12792
+ duration: 300,
12793
+ useNativeDriver: false
12794
+ }).start();
12795
+ Animated.timing(sliderBackgroundColorRef, {
12796
+ toValue: 1,
12797
+ duration: 0,
12798
+ useNativeDriver: false
12799
+ }).start();
12800
+ setIsCompleted(true);
12801
+ onComplete?.();
12802
+ setTimeout(() => {
12803
+ resetAll();
12804
+ }, resetTimer);
12805
+ } else {
12668
12806
  resetAll();
12669
- }, resetTimer);
12807
+ }
12670
12808
  } else {
12671
- resetAll();
12809
+ if (gestureState.dx >= value.current * 0.8) {
12810
+ Animated.timing(translateX, {
12811
+ toValue: value.current - thumbOffset,
12812
+ // slide to the end
12813
+ duration: 300,
12814
+ useNativeDriver: false
12815
+ }).start();
12816
+ Animated.timing(sliderBackgroundColorRef, {
12817
+ toValue: 1,
12818
+ duration: 0,
12819
+ useNativeDriver: false
12820
+ }).start();
12821
+ setIsCompleted(true);
12822
+ onComplete?.();
12823
+ setTimeout(() => {
12824
+ resetAll();
12825
+ }, resetTimer);
12826
+ } else {
12827
+ resetAll();
12828
+ }
12672
12829
  }
12673
12830
  },
12674
12831
  onPanResponderTerminate: () => {
@@ -12684,49 +12841,62 @@ const CustomSlideButton = React.forwardRef(
12684
12841
  outputRange: [sliderBackgroundColor, "transparent"]
12685
12842
  });
12686
12843
  const { theme } = useTheme();
12687
- return /* @__PURE__ */ React.createElement(View, { style: {
12688
- ...styles$3.sliderContainer,
12689
- backgroundColor: theme.SURFACE_INVERTED,
12690
- ...containerStyle
12691
- }, onLayout: handleLayout, ref: cardRef }, /* @__PURE__ */ React.createElement(
12692
- Animated.View,
12693
- {
12694
- style: [styles$3.buttonTextContainer, { backgroundColor, transform: [{ translateX }] }],
12695
- ref: sliderConteinerRef
12696
- }
12697
- ), /* @__PURE__ */ React.createElement(
12698
- View,
12699
- {
12700
- style: styles$3.buttonTextContainer
12701
- },
12702
- /* @__PURE__ */ React.createElement(Animated.Text, { style: [{
12703
- alignSelf: "center",
12704
- ...textStyle
12705
- }, { color: textColor }] }, label)
12706
- ), /* @__PURE__ */ React.createElement(
12707
- Animated.View,
12844
+ return /* @__PURE__ */ React.createElement(
12845
+ LinearGradient$1,
12708
12846
  {
12709
- style: [styles$3.slider, { transform: [{ translateX }] }],
12710
- ...panResponder.panHandlers
12847
+ colors: OUTLINED_GRADIENT_COLORS,
12848
+ start: OUTLINED_GRADIENT_START,
12849
+ end: OUTLINED_GRADIENT_END,
12850
+ style: styles$2.gradientShell
12711
12851
  },
12712
12852
  /* @__PURE__ */ React.createElement(
12713
12853
  View,
12714
12854
  {
12715
- style: {
12716
- ...styles$3.button,
12717
- backgroundColor: theme.SURFACE_PRIMARY,
12718
- width: verticalScale(size),
12719
- height: verticalScale(size),
12720
- // borderRadius: verticalScale(size / 2),
12721
- ...sliderStyle
12722
- }
12855
+ style: [
12856
+ styles$2.sliderContainer,
12857
+ { backgroundColor: theme.SURFACE_INVERTED },
12858
+ containerStyle,
12859
+ isCompleted && { backgroundColor: theme.BUTTON_SUCCESS_FILL },
12860
+ isCompleted ? completedContainerStyle : void 0
12861
+ ],
12862
+ onLayout: handleLayout,
12863
+ ref: cardRef
12723
12864
  },
12724
- icon
12865
+ /* @__PURE__ */ React.createElement(
12866
+ Animated.View,
12867
+ {
12868
+ style: [styles$2.buttonTextContainer, { backgroundColor, transform: [{ translateX }] }],
12869
+ ref: sliderConteinerRef
12870
+ }
12871
+ ),
12872
+ /* @__PURE__ */ React.createElement(View, { style: styles$2.buttonTextContainer }, /* @__PURE__ */ React.createElement(Animated.Text, { style: [{ alignSelf: "center", ...textStyle }, { color: textColor }] }, label)),
12873
+ /* @__PURE__ */ React.createElement(
12874
+ Animated.View,
12875
+ {
12876
+ style: [styles$2.slider, { transform: [{ translateX }] }],
12877
+ ...panResponder.panHandlers
12878
+ },
12879
+ /* @__PURE__ */ React.createElement(
12880
+ View,
12881
+ {
12882
+ style: {
12883
+ ...styles$2.button,
12884
+ backgroundColor: theme.SURFACE_PRIMARY,
12885
+ width: verticalScale(size),
12886
+ height: verticalScale(size),
12887
+ ...sliderStyle
12888
+ }
12889
+ },
12890
+ icon
12891
+ )
12892
+ )
12725
12893
  )
12726
- ));
12894
+ );
12727
12895
  }
12728
12896
  );
12729
- var index$2 = withThemeProvider(CustomSlideButton);
12897
+ var index$3 = withThemeProvider(
12898
+ CustomSlideButton
12899
+ );
12730
12900
 
12731
12901
  const DHRE_STROKE = {
12732
12902
  NONE: 0,
@@ -12786,7 +12956,7 @@ const AVATAR_SPEC = {
12786
12956
  ringInset: 6
12787
12957
  }
12788
12958
  };
12789
- const createStyles = (size, theme) => {
12959
+ const createStyles$1 = (size, theme) => {
12790
12960
  const dimensions = AVATAR_SPEC[size];
12791
12961
  return StyleSheet.create({
12792
12962
  container: {
@@ -12862,9 +13032,9 @@ const createStyles = (size, theme) => {
12862
13032
  }
12863
13033
  });
12864
13034
  };
12865
- const smallStyles = (theme) => createStyles(AvatarSize.SMALL, theme);
12866
- const mediumStyles = (theme) => createStyles(AvatarSize.MEDIUM, theme);
12867
- const largeStyles = (theme) => createStyles(AvatarSize.LARGE, theme);
13035
+ const smallStyles = (theme) => createStyles$1(AvatarSize.SMALL, theme);
13036
+ const mediumStyles = (theme) => createStyles$1(AvatarSize.MEDIUM, theme);
13037
+ const largeStyles = (theme) => createStyles$1(AvatarSize.LARGE, theme);
12868
13038
  const getStylesBySize = (size, theme) => {
12869
13039
  switch (size) {
12870
13040
  case "small":
@@ -13015,7 +13185,7 @@ const Avatar = (props) => {
13015
13185
  };
13016
13186
  var Avatar$1 = withThemeProvider(Avatar);
13017
13187
 
13018
- const styles$2 = StyleSheet.create({
13188
+ const styles$1 = StyleSheet.create({
13019
13189
  accordionContainer: {
13020
13190
  gap: verticalScale(8),
13021
13191
  marginHorizontal: horizontalScale(24),
@@ -13120,13 +13290,13 @@ const AppointmentCard = ({
13120
13290
  isOpen,
13121
13291
  onToggle,
13122
13292
  containerStyle: {
13123
- ...styles$2.accordionStyle,
13293
+ ...styles$1.accordionStyle,
13124
13294
  backgroundColor: theme.SURFACE_SECONDARY,
13125
13295
  borderColor: theme.BORDER_SEPERATOR_HEADER,
13126
13296
  borderBottomColor: theme.BORDER_SEPERATOR_HEADER
13127
13297
  },
13128
- headerStyle: styles$2.accordionHeader,
13129
- headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$2.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$2.accordionText }, /* @__PURE__ */ React.createElement(
13298
+ headerStyle: styles$1.accordionHeader,
13299
+ headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionText }, /* @__PURE__ */ React.createElement(
13130
13300
  CustomTypography,
13131
13301
  {
13132
13302
  text: headerTitle,
@@ -13147,18 +13317,18 @@ const AppointmentCard = ({
13147
13317
  View,
13148
13318
  {
13149
13319
  style: [
13150
- styles$2.accordionDetails,
13320
+ styles$1.accordionDetails,
13151
13321
  { borderTopColor: theme.BORDER_SEPERATOR_HEADER }
13152
13322
  ]
13153
13323
  },
13154
- /* @__PURE__ */ React.createElement(View, { style: styles$2.appointmentInfo }, data.map(({ title: title2, value, isLocation, isStatus }) => /* @__PURE__ */ React.createElement(View, { style: styles$2.infoColumn, key: title2 }, /* @__PURE__ */ React.createElement(
13324
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.appointmentInfo }, data.map(({ title: title2, value, isLocation, isStatus }) => /* @__PURE__ */ React.createElement(View, { style: styles$1.infoColumn, key: title2 }, /* @__PURE__ */ React.createElement(
13155
13325
  CustomTypography,
13156
13326
  {
13157
13327
  text: title2,
13158
13328
  variant: FontStyle.L3_REGULAR,
13159
13329
  style: { color: theme.CONTENT_SECONDRY }
13160
13330
  }
13161
- ), /* @__PURE__ */ React.createElement(View, { style: styles$2.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React.createElement(
13331
+ ), /* @__PURE__ */ React.createElement(View, { style: styles$1.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React.createElement(
13162
13332
  CustomTypography,
13163
13333
  {
13164
13334
  text: value,
@@ -13173,7 +13343,7 @@ const AppointmentCard = ({
13173
13343
  text: directionText,
13174
13344
  variant: FontStyle.L2_REGULAR,
13175
13345
  style: [
13176
- styles$2.getDirectionsText,
13346
+ styles$1.getDirectionsText,
13177
13347
  { color: theme.CONTENT_PRIMARY }
13178
13348
  ],
13179
13349
  onPress: onDirectionPress
@@ -13183,7 +13353,7 @@ const AppointmentCard = ({
13183
13353
  View,
13184
13354
  {
13185
13355
  style: [
13186
- styles$2.infoContainer,
13356
+ styles$1.infoContainer,
13187
13357
  {
13188
13358
  backgroundColor: theme.SURFACE_TERTIARY
13189
13359
  }
@@ -13203,7 +13373,7 @@ const AppointmentCard = ({
13203
13373
  View,
13204
13374
  {
13205
13375
  style: [
13206
- styles$2.actionsContainer,
13376
+ styles$1.actionsContainer,
13207
13377
  {
13208
13378
  borderTopColor: theme.BORDER_SEPERATOR_HEADER
13209
13379
  }
@@ -13215,7 +13385,7 @@ const AppointmentCard = ({
13215
13385
  text: viewText,
13216
13386
  variant: FontStyle.L2_REGULAR,
13217
13387
  style: [
13218
- styles$2.viewText,
13388
+ styles$1.viewText,
13219
13389
  {
13220
13390
  color: theme.CONTENT_PRIMARY
13221
13391
  }
@@ -13223,12 +13393,12 @@ const AppointmentCard = ({
13223
13393
  onPress: onViewDetailsPress
13224
13394
  }
13225
13395
  ),
13226
- /* @__PURE__ */ React.createElement(View, { style: styles$2.actionIcons }, /* @__PURE__ */ React.createElement(
13396
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.actionIcons }, /* @__PURE__ */ React.createElement(
13227
13397
  CustomIcon$1,
13228
13398
  {
13229
13399
  icon: deleteIcon,
13230
13400
  containerStyle: {
13231
- ...styles$2.iconContainer,
13401
+ ...styles$1.iconContainer,
13232
13402
  backgroundColor: theme.SURFACE_INVERTED
13233
13403
  },
13234
13404
  onPress: onDeletePress
@@ -13238,7 +13408,7 @@ const AppointmentCard = ({
13238
13408
  {
13239
13409
  icon: editIcon,
13240
13410
  containerStyle: {
13241
- ...styles$2.iconContainer,
13411
+ ...styles$1.iconContainer,
13242
13412
  backgroundColor: theme.SURFACE_INVERTED
13243
13413
  },
13244
13414
  onPress: onEditPress
@@ -13248,9 +13418,9 @@ const AppointmentCard = ({
13248
13418
  )
13249
13419
  );
13250
13420
  };
13251
- var index$1 = withThemeProvider(AppointmentCard);
13421
+ var index$2 = withThemeProvider(AppointmentCard);
13252
13422
 
13253
- const styles$1 = StyleSheet.create({
13423
+ const styles = StyleSheet.create({
13254
13424
  container: {
13255
13425
  flexDirection: "row",
13256
13426
  alignItems: "center",
@@ -13307,7 +13477,7 @@ const PropertyDetails = ({
13307
13477
  View,
13308
13478
  {
13309
13479
  style: [
13310
- styles$1.container,
13480
+ styles.container,
13311
13481
  {
13312
13482
  backgroundColor: theme.SURFACE_PRIMARY,
13313
13483
  borderColor: isSelected ? theme.STROKE_ACTIVE : theme.STROKE_TERTIARY
@@ -13322,12 +13492,12 @@ const PropertyDetails = ({
13322
13492
  containerStyle
13323
13493
  ]
13324
13494
  },
13325
- /* @__PURE__ */ React.createElement(View, { style: styles$1.imageWrapper }, React.cloneElement(icon, {
13495
+ /* @__PURE__ */ React.createElement(View, { style: styles.imageWrapper }, React.cloneElement(icon, {
13326
13496
  width: "100%",
13327
13497
  height: "100%",
13328
13498
  borderRadius: DHRE_RADIUS.MD
13329
- }), brandIcon && /* @__PURE__ */ React.createElement(View, { style: styles$1.brandBadge }, brandIcon)),
13330
- /* @__PURE__ */ React.createElement(View, { style: styles$1.propertyInfo }, propertyNumber && /* @__PURE__ */ React.createElement(View, { style: [styles$1.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React.createElement(
13499
+ }), brandIcon && /* @__PURE__ */ React.createElement(View, { style: styles.brandBadge }, brandIcon)),
13500
+ /* @__PURE__ */ React.createElement(View, { style: styles.propertyInfo }, propertyNumber && /* @__PURE__ */ React.createElement(View, { style: [styles.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React.createElement(
13331
13501
  CustomTypography,
13332
13502
  {
13333
13503
  text: propertyNumber,
@@ -13358,31 +13528,45 @@ const PropertyDetails = ({
13358
13528
  )
13359
13529
  );
13360
13530
  };
13361
- var index = withThemeProvider(PropertyDetails);
13531
+ var index$1 = withThemeProvider(PropertyDetails);
13362
13532
 
13363
- const styles = StyleSheet.create({
13364
- container: {
13365
- rowGap: verticalScale(12)
13366
- },
13367
- optionContainer: {
13368
- flexDirection: "row",
13369
- columnGap: horizontalScale(8),
13370
- alignItems: "center"
13371
- },
13372
- radioButton: {
13373
- width: moderateScale(16),
13374
- height: moderateScale(16),
13375
- borderRadius: moderateScale(10),
13376
- borderWidth: moderateScale(1.5),
13377
- borderColor: "#000"
13378
- },
13379
- radioButtonSelected: {
13380
- backgroundColor: "#000"
13381
- },
13382
- label: {
13383
- color: "#000"
13384
- }
13385
- });
13533
+ const createStyles = (themeColors, size, radioColor) => {
13534
+ const radioSize = size === "large" ? moderateScale(24) : moderateScale(20);
13535
+ const dotSize = size === "large" ? moderateScale(12) : moderateScale(10);
13536
+ const resolvedRadioColor = radioColor ?? themeColors[Theme.STROKE_ACTIVE];
13537
+ return StyleSheet.create({
13538
+ container: {
13539
+ rowGap: verticalScale(12)
13540
+ },
13541
+ optionContainer: {
13542
+ flexDirection: "row",
13543
+ columnGap: horizontalScale(8),
13544
+ alignItems: "flex-start"
13545
+ },
13546
+ radioButton: {
13547
+ width: radioSize,
13548
+ height: radioSize,
13549
+ borderRadius: moderateScale(100),
13550
+ borderWidth: 1,
13551
+ borderColor: resolvedRadioColor,
13552
+ justifyContent: "center",
13553
+ alignItems: "center"
13554
+ },
13555
+ radioButtonSelected: {
13556
+ borderWidth: 2,
13557
+ backgroundColor: themeColors[Theme.CONTENT_INVERTED]
13558
+ },
13559
+ radioButtonInnerDot: {
13560
+ width: dotSize,
13561
+ height: dotSize,
13562
+ borderRadius: moderateScale(50),
13563
+ backgroundColor: resolvedRadioColor
13564
+ },
13565
+ label: {
13566
+ color: themeColors[Theme.CONTENT_PRIMARY]
13567
+ }
13568
+ });
13569
+ };
13386
13570
 
13387
13571
  const RadioButtonGroup = ({
13388
13572
  data,
@@ -13390,8 +13574,13 @@ const RadioButtonGroup = ({
13390
13574
  containerStyle,
13391
13575
  labelStyle,
13392
13576
  optionContainerStyle,
13393
- selectedValue
13577
+ selectedValue,
13578
+ size = "large",
13579
+ fontVariant,
13580
+ radioColor
13394
13581
  }) => {
13582
+ const { theme } = useTheme();
13583
+ const styles = createStyles(theme, size, radioColor);
13395
13584
  const [selectedOption, setSelectedOption] = useState(
13396
13585
  selectedValue ?? data[0]?.value
13397
13586
  );
@@ -13399,12 +13588,14 @@ const RadioButtonGroup = ({
13399
13588
  setSelectedOption(item.value);
13400
13589
  onSelect(item);
13401
13590
  };
13591
+ const resolvedFontVariant = fontVariant ?? (size === "small" ? FontStyle.BODY2_MEDIUM : FontStyle.BODY1_MEDIUM);
13402
13592
  return /* @__PURE__ */ React.createElement(View, { style: [styles.container, containerStyle] }, data?.map((item) => /* @__PURE__ */ React.createElement(
13403
13593
  TouchableOpacity,
13404
13594
  {
13405
13595
  key: item.value,
13406
13596
  style: [styles.optionContainer, optionContainerStyle],
13407
- onPress: () => handleSelect(item)
13597
+ onPress: () => handleSelect(item),
13598
+ activeOpacity: 1
13408
13599
  },
13409
13600
  /* @__PURE__ */ React.createElement(
13410
13601
  View,
@@ -13413,18 +13604,20 @@ const RadioButtonGroup = ({
13413
13604
  styles.radioButton,
13414
13605
  selectedOption === item.value && styles.radioButtonSelected
13415
13606
  ]
13416
- }
13607
+ },
13608
+ selectedOption === item.value && /* @__PURE__ */ React.createElement(View, { style: styles.radioButtonInnerDot })
13417
13609
  ),
13418
13610
  /* @__PURE__ */ React.createElement(
13419
13611
  CustomTypography,
13420
13612
  {
13421
- variant: FontStyle.L1_REGULAR,
13613
+ variant: resolvedFontVariant,
13422
13614
  text: item.label,
13423
13615
  style: [styles.label, labelStyle]
13424
13616
  }
13425
13617
  )
13426
13618
  )));
13427
13619
  };
13620
+ var index = withThemeProvider(RadioButtonGroup);
13428
13621
 
13429
- export { Accordion$1 as Accordion, AnimationWithImperativeApi as AnimationLoitte, index$1 as AppointmentCard, Avatar$1 as Avatar, AvatarSize, Background$1 as Background, BackgroundVariant, Badge$1 as Badge, BottomDrawer$1 as BottomDrawer, Button, Cards, category as Category, CheckBox, Chip$1 as Chip, ContactModel, CountryDropDown as CountryPicker, CustomDropdown$1 as CustomDropdown, CustomHeader$1 as CustomHeader, CustomIcon$1 as CustomIcon, CustomLoader$1 as CustomLoader, CustomProgressBar$1 as CustomProgressBar, CustomSearchBar$1 as CustomSearchBar, index$2 as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_AVATAR_SIZE, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_COMPONENT_HEIGHT, DHRE_CONFIRMATION_BASE_GRADIENT, DHRE_CONFIRMATION_ERROR_GRADIENT, DHRE_CORE_BLUE, DHRE_CYAN_HIGHLIGHT, DHRE_DEEP_SPACE_BLUE, DHRE_DEFAULT, DHRE_ICON_SIZE, DHRE_IMAGE_SIZE, DHRE_INFO_BLUE, DHRE_ORANGE_WARNING, DHRE_PADDING, DHRE_PADDING_BASE, DHRE_RADIUS, DHRE_RADIUS_BASE, DHRE_RED_ERROR, DHRE_SPACING, DHRE_SPACING_BASE, DHRE_STROKE, DHRE_SUCCESS_GREEN, DHRE_WHITE, DateRangePicker$1 as DateRangePicker, DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, Line, Loader$1 as Loader, NAKHEEL_DEFAULT, NotificationBandge, OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, RadioButtonGroup, ShapeType, TagSingleSelection as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList$1 as SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, Textinput as TextInput, Theme, ToastWithProvider as Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
13622
+ export { Accordion$1 as Accordion, AnimationWithImperativeApi as AnimationLoitte, index$2 as AppointmentCard, Avatar$1 as Avatar, AvatarSize, Background$1 as Background, BackgroundVariant, Badge$1 as Badge, BottomDrawer$1 as BottomDrawer, Button, Cards, category as Category, CheckBox, Chip$1 as Chip, ContactModel, CountryDropDown as CountryPicker, CustomDropdown$1 as CustomDropdown, CustomHeader$1 as CustomHeader, CustomIcon$1 as CustomIcon, CustomLoader$1 as CustomLoader, CustomProgressBar$1 as CustomProgressBar, CustomSearchBar$1 as CustomSearchBar, index$3 as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_AVATAR_SIZE, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_COMPONENT_HEIGHT, DHRE_CONFIRMATION_BASE_GRADIENT, DHRE_CONFIRMATION_ERROR_GRADIENT, DHRE_CORE_BLUE, DHRE_CYAN_HIGHLIGHT, DHRE_DEEP_SPACE_BLUE, DHRE_DEFAULT, DHRE_ICON_SIZE, DHRE_IMAGE_SIZE, DHRE_INFO_BLUE, DHRE_ORANGE_WARNING, DHRE_PADDING, DHRE_PADDING_BASE, DHRE_RADIUS, DHRE_RADIUS_BASE, DHRE_RED_ERROR, DHRE_SPACING, DHRE_SPACING_BASE, DHRE_STROKE, DHRE_SUCCESS_GREEN, DHRE_WHITE, DateRangePicker$1 as DateRangePicker, DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, GRADIENT_COLORS_ERROR, GRADIENT_COLORS_PENDING, GRADIENT_COLORS_SUCCESS, Line, Loader$1 as Loader, NAKHEEL_DEFAULT, NotificationBandge, OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index$1 as PropertyDetails, index as RadioButtonGroup, ShapeType, TagSingleSelection as SingleSelectionTags, Star as StarRating, index$4 as Stepper, SwipableList$1 as SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, Textinput as TextInput, Theme, ToastWithProvider as Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
13430
13623
  //# sourceMappingURL=index.mjs.map