dhre-ui-kit 3.0.1 → 3.0.2

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,7 @@ 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";
190
191
  return Theme2;
191
192
  })(Theme || {});
192
193
 
@@ -800,6 +801,10 @@ const theme = {
800
801
  dark: "#009db3",
801
802
  light: "#009db3"
802
803
  // light-theme value pending DHDS Figma spec
804
+ },
805
+ [Theme.STROKE_DISABLED_SELECTED]: {
806
+ dark: "#003f48",
807
+ light: "#9ADFE8"
803
808
  }
804
809
  };
805
810
 
@@ -904,13 +909,13 @@ const CustomTypography = ({
904
909
  Text,
905
910
  {
906
911
  testID,
907
- style: [textStyle, styles$B.container, style],
912
+ style: [textStyle, styles$A.container, style],
908
913
  ...props
909
914
  },
910
915
  text
911
916
  );
912
917
  };
913
- const styles$B = StyleSheet.create({
918
+ const styles$A = StyleSheet.create({
914
919
  container: { writingDirection: "auto", alignSelf: "flex-start" }
915
920
  });
916
921
 
@@ -949,7 +954,7 @@ const commonStyles = StyleSheet.create({
949
954
  }
950
955
  });
951
956
 
952
- const styles$A = StyleSheet.create({
957
+ const styles$z = StyleSheet.create({
953
958
  badge: {
954
959
  backgroundColor: DHRE_COLORS_ALERT.DH_SUCCESS_GREEN,
955
960
  borderRadius: 15,
@@ -976,16 +981,16 @@ const Badge = ({
976
981
  return /* @__PURE__ */ React.createElement(
977
982
  Pressable,
978
983
  {
979
- style: [styles$A.badge, commonStyles.centerRow, style],
984
+ style: [styles$z.badge, commonStyles.centerRow, style],
980
985
  testID: "BADGE",
981
986
  onPress: handleIconPress
982
987
  },
983
- iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$A.icon, iconStyle] }, React.cloneElement(iconName)),
988
+ iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$z.icon, iconStyle] }, React.cloneElement(iconName)),
984
989
  text && /* @__PURE__ */ React.createElement(
985
990
  CustomTypography,
986
991
  {
987
992
  variant: "B3semiBold",
988
- style: [styles$A.text, textStyle],
993
+ style: [styles$z.text, textStyle],
989
994
  text
990
995
  }
991
996
  )
@@ -1153,7 +1158,7 @@ const chipStyles = StyleSheet.create({
1153
1158
  justifyContent: "center",
1154
1159
  borderWidth: 1,
1155
1160
  borderRadius: DHRE_RADIUS.PILL,
1156
- gap: DHRE_SPACING.XS
1161
+ gap: DHRE_PADDING.SM
1157
1162
  },
1158
1163
  sizeLarge: {
1159
1164
  height: DHRE_SPACING_BASE.SPACE_40,
@@ -1224,7 +1229,7 @@ const Chip = ({
1224
1229
  disabled
1225
1230
  );
1226
1231
  const contentColor = resolveContentColor(themeColors, selected, disabled);
1227
- const textVariant = size === "large" ? FontStyle.BODY2_LIGHT : FontStyle.BODY3_LIGHT;
1232
+ const textVariant = size === "large" ? selected ? FontStyle.BODY2_MEDIUM : FontStyle.BODY2_LIGHT : selected ? FontStyle.BODY3_MEDIUM : FontStyle.BODY3_LIGHT;
1228
1233
  return /* @__PURE__ */ React.createElement(
1229
1234
  Pressable,
1230
1235
  {
@@ -1266,7 +1271,7 @@ var BackgroundVariant = /* @__PURE__ */ ((BackgroundVariant2) => {
1266
1271
  return BackgroundVariant2;
1267
1272
  })(BackgroundVariant || {});
1268
1273
 
1269
- const styles$z = StyleSheet.create({
1274
+ const styles$y = StyleSheet.create({
1270
1275
  container: {
1271
1276
  flex: 1,
1272
1277
  overflow: "hidden"
@@ -1330,7 +1335,7 @@ const Background = ({
1330
1335
  View,
1331
1336
  {
1332
1337
  testID,
1333
- style: [styles$z.container, { backgroundColor: config.base }, style]
1338
+ style: [styles$y.container, { backgroundColor: config.base }, style]
1334
1339
  },
1335
1340
  /* @__PURE__ */ React.createElement(
1336
1341
  Svg,
@@ -1385,12 +1390,12 @@ const Background = ({
1385
1390
  ))),
1386
1391
  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
1392
  ),
1388
- /* @__PURE__ */ React.createElement(View, { style: [styles$z.content, contentStyle] }, children)
1393
+ /* @__PURE__ */ React.createElement(View, { style: [styles$y.content, contentStyle] }, children)
1389
1394
  );
1390
1395
  };
1391
1396
  var Background$1 = withThemeProvider(Background);
1392
1397
 
1393
- const styles$y = StyleSheet.create({
1398
+ const styles$x = StyleSheet.create({
1394
1399
  mainContainer: {
1395
1400
  flex: 1,
1396
1401
  justifyContent: "flex-end"
@@ -1412,21 +1417,19 @@ const styles$y = StyleSheet.create({
1412
1417
  },
1413
1418
  separator: {
1414
1419
  height: verticalScale(3),
1415
- width: horizontalScale(32),
1420
+ width: DHRE_SPACING_BASE.SPACE_32,
1416
1421
  alignSelf: "center",
1417
- backgroundColor: "#A7A7A7",
1418
1422
  borderRadius: moderateScale(25)
1419
1423
  },
1420
1424
  headerContainer: {
1421
1425
  flexDirection: "row",
1422
1426
  justifyContent: "space-between",
1423
1427
  alignItems: "center",
1424
- marginTop: verticalScale(24)
1428
+ marginTop: DHRE_SPACING_BASE.SPACE_16
1425
1429
  },
1426
- title: { flex: 1, color: "#fff", textAlign: "left" },
1430
+ title: { flex: 1, textAlign: "left" },
1427
1431
  leftIconStyle: { marginRight: 8 },
1428
1432
  rightTitle: {
1429
- color: "#fff",
1430
1433
  textAlign: "right",
1431
1434
  marginRight: DHRE_PADDING.LG
1432
1435
  },
@@ -1497,11 +1500,11 @@ const BottomDrawer = ({
1497
1500
  behavior: isIos() ? "padding" : "height",
1498
1501
  style: { flex: 1 }
1499
1502
  },
1500
- /* @__PURE__ */ React.createElement(View, { style: [styles$y.mainContainer, style], testID }, /* @__PURE__ */ React.createElement(
1503
+ /* @__PURE__ */ React.createElement(View, { style: [styles$x.mainContainer, style], testID }, /* @__PURE__ */ React.createElement(
1501
1504
  View,
1502
1505
  {
1503
1506
  style: [
1504
- styles$y.modalContainer,
1507
+ styles$x.modalContainer,
1505
1508
  { backgroundColor: theme.SURFACE_PRIMARY },
1506
1509
  modalContainerStyle
1507
1510
  ]
@@ -1511,35 +1514,51 @@ const BottomDrawer = ({
1511
1514
  {
1512
1515
  onPressOut: () => swipeDirection === "" && toggleModal()
1513
1516
  },
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,
1517
+ showSeparator && /* @__PURE__ */ React.createElement(
1518
+ View,
1519
+ {
1520
+ style: [
1521
+ styles$x.separator,
1522
+ { backgroundColor: theme.STROKE_TERTIARY }
1523
+ ]
1524
+ }
1525
+ ),
1526
+ /* @__PURE__ */ React.createElement(View, { style: styles$x.headerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$x.leftSideStyle }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
1527
+ style: styles$x.leftIconStyle,
1517
1528
  onPressOut: onLeftIconPress
1518
1529
  }) : null, /* @__PURE__ */ React.createElement(
1519
1530
  CustomTypography,
1520
1531
  {
1521
1532
  variant: titleVariant,
1522
1533
  text: title,
1523
- style: { ...styles$y.title, ...titleStyle }
1534
+ style: {
1535
+ ...styles$x.title,
1536
+ color: theme.CONTENT_PRIMARY,
1537
+ ...titleStyle
1538
+ }
1524
1539
  }
1525
1540
  )), /* @__PURE__ */ React.createElement(
1526
1541
  View,
1527
1542
  {
1528
- style: rightTitle && rightTitle?.length > 0 ? styles$y.rightSideStyle : {}
1543
+ style: rightTitle && rightTitle?.length > 0 ? styles$x.rightSideStyle : {}
1529
1544
  },
1530
1545
  rightTitle && rightTitle?.length > 0 ? /* @__PURE__ */ React.createElement(Pressable, { onPressOut: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
1531
1546
  CustomTypography,
1532
1547
  {
1533
1548
  variant: rightTitleVariant,
1534
1549
  text: rightTitle,
1535
- style: { ...styles$y.rightTitle, ...rightTitleStyle }
1550
+ style: {
1551
+ ...styles$x.rightTitle,
1552
+ color: theme.CONTENT_PRIMARY,
1553
+ ...rightTitleStyle
1554
+ }
1536
1555
  }
1537
1556
  )) : null,
1538
1557
  showRightIcon && rightIcon ? /* @__PURE__ */ React.createElement(
1539
1558
  Pressable,
1540
1559
  {
1541
1560
  onPressOut: toggleModal,
1542
- style: styles$y.rightIconStyle
1561
+ style: styles$x.rightIconStyle
1543
1562
  },
1544
1563
  React.cloneElement(rightIcon, {
1545
1564
  width: DHRE_SPACING.LG,
@@ -1556,7 +1575,7 @@ const BottomDrawer = ({
1556
1575
  };
1557
1576
  var BottomDrawer$1 = withThemeProvider(BottomDrawer);
1558
1577
 
1559
- const styles$x = StyleSheet.create({
1578
+ const styles$w = StyleSheet.create({
1560
1579
  mainContainer: {
1561
1580
  marginHorizontal: horizontalScale(16)
1562
1581
  },
@@ -1842,7 +1861,7 @@ const CustomButton = ({
1842
1861
  text: title,
1843
1862
  variant: titleVariant ?? defaultTextVariant,
1844
1863
  textColor: effectiveTextColor,
1845
- style: [styles$x.buttonText, disabledHexStyle, textStyle]
1864
+ style: [styles$w.buttonText, disabledHexStyle, textStyle]
1846
1865
  }
1847
1866
  ), rightIcon && React.cloneElement(rightIcon, {
1848
1867
  width: iconSize,
@@ -1904,7 +1923,7 @@ const CustomButton = ({
1904
1923
  };
1905
1924
  var Button = withThemeProvider(CustomButton);
1906
1925
 
1907
- const styles$w = StyleSheet.create({
1926
+ const styles$v = StyleSheet.create({
1908
1927
  container: {
1909
1928
  padding: horizontalScale(20),
1910
1929
  marginHorizontal: horizontalScale(16),
@@ -1969,53 +1988,53 @@ const Cards = ({
1969
1988
  testID,
1970
1989
  onButtonPress
1971
1990
  }) => {
1972
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$w.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$w.topLeft }, /* @__PURE__ */ React.createElement(
1991
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$v.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$v.topLeft }, /* @__PURE__ */ React.createElement(
1973
1992
  CustomTypography,
1974
1993
  {
1975
1994
  variant: "P2regular",
1976
- style: styles$w.title,
1995
+ style: styles$v.title,
1977
1996
  text: topLeftTitle
1978
1997
  }
1979
1998
  )) : null, title ? /* @__PURE__ */ React.createElement(
1980
1999
  CustomTypography,
1981
2000
  {
1982
2001
  variant: "H6bold",
1983
- style: styles$w.subTitleBelow,
2002
+ style: styles$v.subTitleBelow,
1984
2003
  text: title
1985
2004
  }
1986
2005
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
1987
2006
  CustomTypography,
1988
2007
  {
1989
2008
  variant: "P3regular",
1990
- style: styles$w.subtitle,
2009
+ style: styles$v.subtitle,
1991
2010
  text: subtitle
1992
2011
  }
1993
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$w.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
2012
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$v.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
1994
2013
  CustomTypography,
1995
2014
  {
1996
2015
  variant: "P3regular",
1997
- style: styles$w.subTitleLeftBelow,
2016
+ style: styles$v.subTitleLeftBelow,
1998
2017
  text: iconTitle
1999
2018
  }
2000
2019
  ) : null), buttonShown ? /* @__PURE__ */ React.createElement(
2001
2020
  Pressable,
2002
2021
  {
2003
2022
  testID: "Button-Press",
2004
- style: styles$w.button,
2023
+ style: styles$v.button,
2005
2024
  onPress: onButtonPress
2006
2025
  },
2007
2026
  /* @__PURE__ */ React.createElement(
2008
2027
  CustomTypography,
2009
2028
  {
2010
2029
  variant: "B2semiBold",
2011
- style: styles$w.buttonText,
2030
+ style: styles$v.buttonText,
2012
2031
  text: buttonText
2013
2032
  }
2014
2033
  )
2015
2034
  ) : null);
2016
2035
  };
2017
2036
 
2018
- const styles$v = StyleSheet.create({
2037
+ const styles$u = StyleSheet.create({
2019
2038
  directionStyle: {
2020
2039
  flexDirection: "row",
2021
2040
  alignItems: "flex-start",
@@ -2023,7 +2042,10 @@ const styles$v = StyleSheet.create({
2023
2042
  },
2024
2043
  checkboxContainer: {
2025
2044
  alignItems: "center",
2026
- justifyContent: "center"
2045
+ justifyContent: "center",
2046
+ borderRadius: DHRE_RADIUS.SM,
2047
+ borderWidth: 1,
2048
+ overflow: "hidden"
2027
2049
  }
2028
2050
  });
2029
2051
 
@@ -2057,10 +2079,11 @@ const Checkbox = ({
2057
2079
  partialIcon,
2058
2080
  partialDisabledIcon,
2059
2081
  isPartial = false,
2060
- size,
2082
+ size = "small",
2061
2083
  titleVariant,
2062
2084
  titleStyle,
2063
2085
  containerStyle,
2086
+ checkboxStyle,
2064
2087
  onPress,
2065
2088
  hideCheckbox = false
2066
2089
  }) => {
@@ -2092,15 +2115,21 @@ const Checkbox = ({
2092
2115
  minWidth: size === "small" ? 20 : 24,
2093
2116
  minHeight: size === "small" ? 20 : 24
2094
2117
  };
2095
- return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(View, { style: styles$v.directionStyle }, hideCheckbox ? null : /* @__PURE__ */ React.createElement(
2118
+ const isFilledState = checked || isPartial;
2119
+ const checkboxContainerDynamicStyle = {
2120
+ backgroundColor: disable ? isFilledState ? theme[Theme.STROKE_DISABLED_SELECTED] : "transparent" : isFilledState ? theme[Theme.STROKE_ACTIVE] : "transparent",
2121
+ borderColor: disable ? theme[Theme.CONTENT_DISABLE_DARK] : theme[Theme.STROKE_ACTIVE],
2122
+ borderWidth: disable && isFilledState ? 0 : 1
2123
+ };
2124
+ return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(View, { style: styles$u.directionStyle }, hideCheckbox ? null : /* @__PURE__ */ React.createElement(
2096
2125
  Pressable,
2097
2126
  {
2098
2127
  testID: "Checkbox-Press",
2099
2128
  onPressIn: handlePress,
2100
2129
  disabled: disable,
2101
- style: [styles$v.checkboxContainer, iconContainerSizeStyle]
2130
+ style: [styles$u.checkboxContainer, iconContainerSizeStyle, checkboxContainerDynamicStyle, checkboxStyle]
2102
2131
  },
2103
- React.cloneElement(resolvedIcon)
2132
+ resolvedIcon ? React.cloneElement(resolvedIcon) : null
2104
2133
  ), /* @__PURE__ */ React.createElement(
2105
2134
  CustomTypography,
2106
2135
  {
@@ -2113,7 +2142,7 @@ const Checkbox = ({
2113
2142
  };
2114
2143
  var CheckBox = withThemeProvider(Checkbox);
2115
2144
 
2116
- const styles$u = StyleSheet.create({
2145
+ const styles$t = StyleSheet.create({
2117
2146
  labelStyle: {
2118
2147
  color: DHRE_COLORS_TEXT.DH_TEXTLIGHT
2119
2148
  },
@@ -2167,26 +2196,26 @@ const CustomDropdown$1 = ({
2167
2196
  CustomTypography,
2168
2197
  {
2169
2198
  variant: "P3regular",
2170
- style: styles$u.labelStyle,
2199
+ style: styles$t.labelStyle,
2171
2200
  text: label
2172
2201
  }
2173
2202
  ), /* @__PURE__ */ React.createElement(
2174
2203
  Pressable,
2175
2204
  {
2176
2205
  testID: `${testId}-BTN`,
2177
- style: styles$u.dropDownStyle,
2206
+ style: styles$t.dropDownStyle,
2178
2207
  onPress: () => setShowOptions(!showOptions)
2179
2208
  },
2180
2209
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
2181
2210
  width: moderateScale(24),
2182
2211
  height: moderateScale(24),
2183
- style: styles$u.iconStyle
2212
+ style: styles$t.iconStyle
2184
2213
  })),
2185
2214
  /* @__PURE__ */ React.createElement(
2186
2215
  CustomTypography,
2187
2216
  {
2188
2217
  variant: "P3regular",
2189
- style: styles$u.selectedValueStyle,
2218
+ style: styles$t.selectedValueStyle,
2190
2219
  text: selectedValue ? selectedValue.label : placeholder
2191
2220
  }
2192
2221
  ),
@@ -2197,7 +2226,7 @@ const CustomDropdown$1 = ({
2197
2226
  width: moderateScale(24),
2198
2227
  height: moderateScale(24)
2199
2228
  }))
2200
- ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$u.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
2229
+ ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$t.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
2201
2230
  Pressable,
2202
2231
  {
2203
2232
  key: id,
@@ -2207,7 +2236,7 @@ const CustomDropdown$1 = ({
2207
2236
  oneSelect({ id, value, label: label2 });
2208
2237
  },
2209
2238
  style: [
2210
- styles$u.item,
2239
+ styles$t.item,
2211
2240
  {
2212
2241
  backgroundColor: id === selectedValue?.id ? DHRE_COLORS_BG.DH_GREY1 : DHRE_COLORS_TEXT.DH_WHITE
2213
2242
  }
@@ -2216,7 +2245,7 @@ const CustomDropdown$1 = ({
2216
2245
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
2217
2246
  width: moderateScale(24),
2218
2247
  height: moderateScale(24),
2219
- style: styles$u.iconStyle
2248
+ style: styles$t.iconStyle
2220
2249
  })),
2221
2250
  /* @__PURE__ */ React.createElement(
2222
2251
  CustomTypography,
@@ -2231,7 +2260,7 @@ const CustomDropdown$1 = ({
2231
2260
  ))));
2232
2261
  };
2233
2262
 
2234
- const styles$t = StyleSheet.create({
2263
+ const styles$s = StyleSheet.create({
2235
2264
  labelStyle: {
2236
2265
  color: DHRE_COLORS_TEXT.DH_TEXTDARK
2237
2266
  },
@@ -2313,18 +2342,18 @@ const CustomTextInput = ({
2313
2342
  CustomTypography,
2314
2343
  {
2315
2344
  variant: "P3medium",
2316
- style: [styles$t.labelStyle, disabled && styles$t.disableTextStyle],
2345
+ style: [styles$s.labelStyle, disabled && styles$s.disableTextStyle],
2317
2346
  text: label
2318
2347
  }
2319
2348
  ), /* @__PURE__ */ React.createElement(
2320
2349
  View,
2321
2350
  {
2322
2351
  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 : {},
2352
+ styles$s.inputContainer,
2353
+ isFocused && styles$s.inputFocused,
2354
+ error && styles$s.inputError,
2355
+ disabled && styles$s.disableInputStyle,
2356
+ successMessage ? styles$s.inputSucess : {},
2328
2357
  {
2329
2358
  height: multiline ? 120 : 48,
2330
2359
  alignItems: multiline ? "flex-start" : "center"
@@ -2334,7 +2363,7 @@ const CustomTextInput = ({
2334
2363
  isSearchBar && searchIcon && React.cloneElement(searchIcon, {
2335
2364
  width: moderateScale(24),
2336
2365
  height: moderateScale(24),
2337
- style: styles$t.searchIconStyle
2366
+ style: styles$s.searchIconStyle
2338
2367
  }),
2339
2368
  /* @__PURE__ */ React.createElement(
2340
2369
  TextInput,
@@ -2342,7 +2371,7 @@ const CustomTextInput = ({
2342
2371
  ...props,
2343
2372
  onFocus,
2344
2373
  onBlur,
2345
- style: styles$t.input,
2374
+ style: styles$s.input,
2346
2375
  placeholderTextColor: DHRE_COLORS_TEXT.DH_TEXTLIGHTEST,
2347
2376
  editable: !disabled,
2348
2377
  value,
@@ -2382,7 +2411,7 @@ const CustomTooltip = (props) => {
2382
2411
  }] }, triggerElement);
2383
2412
  };
2384
2413
 
2385
- const styles$s = StyleSheet.create({
2414
+ const styles$r = StyleSheet.create({
2386
2415
  container: {
2387
2416
  backgroundColor: DHRE_COLORS_TEXT.DH_BLACK,
2388
2417
  paddingHorizontal: horizontalScale(16),
@@ -2432,21 +2461,21 @@ const FileUpload = ({
2432
2461
  return /* @__PURE__ */ React.createElement(
2433
2462
  View,
2434
2463
  {
2435
- style: [styles$s.container, containerStyle],
2464
+ style: [styles$r.container, containerStyle],
2436
2465
  testID: "file-upload-container"
2437
2466
  },
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(
2467
+ /* @__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
2468
  CustomTypography,
2440
2469
  {
2441
2470
  variant: "P4regular",
2442
- style: styles$s.description,
2471
+ style: styles$r.description,
2443
2472
  text: `Drop files directly here or `
2444
2473
  }
2445
2474
  ), /* @__PURE__ */ React.createElement(
2446
2475
  CustomTypography,
2447
2476
  {
2448
2477
  variant: "P4regular",
2449
- style: styles$s.browse,
2478
+ style: styles$r.browse,
2450
2479
  text: btnText
2451
2480
  }
2452
2481
  ), /* @__PURE__ */ React.createElement(
@@ -2454,14 +2483,14 @@ const FileUpload = ({
2454
2483
  {
2455
2484
  testID: "file-upload-description",
2456
2485
  variant: "P4regular",
2457
- style: styles$s.description,
2486
+ style: styles$r.description,
2458
2487
  text: ` from your device`
2459
2488
  }
2460
2489
  )),
2461
2490
  /* @__PURE__ */ React.createElement(
2462
2491
  Pressable,
2463
2492
  {
2464
- style: styles$s.button,
2493
+ style: styles$r.button,
2465
2494
  onPress: onUpload,
2466
2495
  testID: "file-upload-button"
2467
2496
  },
@@ -2469,7 +2498,7 @@ const FileUpload = ({
2469
2498
  CustomTypography,
2470
2499
  {
2471
2500
  variant: "B2semiBold",
2472
- style: styles$s.buttonText,
2501
+ style: styles$r.buttonText,
2473
2502
  text: btnText
2474
2503
  }
2475
2504
  )
@@ -2481,7 +2510,7 @@ const PdfView = (props) => {
2481
2510
  return /* @__PURE__ */ React.createElement(Pdf, { ...props, trustAllCerts: false });
2482
2511
  };
2483
2512
 
2484
- const styles$r = StyleSheet.create({
2513
+ const styles$q = StyleSheet.create({
2485
2514
  container: {
2486
2515
  padding: horizontalScale(20),
2487
2516
  marginHorizontal: horizontalScale(16),
@@ -2537,39 +2566,39 @@ const PopUp = ({
2537
2566
  leftButtonShown = false,
2538
2567
  rightButtonShown = false
2539
2568
  }) => {
2540
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$r.container }, title ? /* @__PURE__ */ React.createElement(
2569
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$q.container }, title ? /* @__PURE__ */ React.createElement(
2541
2570
  CustomTypography,
2542
2571
  {
2543
- style: styles$r.subTitleBelow,
2572
+ style: styles$q.subTitleBelow,
2544
2573
  variant: "H6semiBold",
2545
2574
  text: title
2546
2575
  }
2547
2576
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
2548
2577
  CustomTypography,
2549
2578
  {
2550
- style: styles$r.subtitle,
2579
+ style: styles$q.subtitle,
2551
2580
  variant: "P3regular",
2552
2581
  text: subtitle
2553
2582
  }
2554
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$r.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
2583
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$q.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
2555
2584
  Pressable,
2556
2585
  {
2557
2586
  testID: "Left-Button-Press",
2558
- style: styles$r.buttonLeft,
2587
+ style: styles$q.buttonLeft,
2559
2588
  onPress: onButtonPress
2560
2589
  },
2561
2590
  /* @__PURE__ */ React.createElement(
2562
2591
  CustomTypography,
2563
2592
  {
2564
- style: styles$r.buttonLeftText,
2593
+ style: styles$q.buttonLeftText,
2565
2594
  variant: "B2semiBold",
2566
2595
  text: buttonText
2567
2596
  }
2568
2597
  )
2569
- ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$r.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
2598
+ ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$q.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
2570
2599
  CustomTypography,
2571
2600
  {
2572
- style: styles$r.buttonText,
2601
+ style: styles$q.buttonText,
2573
2602
  variant: "B2semiBold",
2574
2603
  text: buttonText
2575
2604
  }
@@ -2625,7 +2654,7 @@ const LINE_COLOR_KEYS = {
2625
2654
  unfilledColor: "SURFACE_PRIMARY_TRANSPARENT"
2626
2655
  };
2627
2656
 
2628
- const styles$q = StyleSheet.create({
2657
+ const styles$p = StyleSheet.create({
2629
2658
  lineContainer: {
2630
2659
  flexDirection: "row",
2631
2660
  alignItems: "center",
@@ -2687,7 +2716,7 @@ const CustomProgressBar = ({
2687
2716
  const effectiveLineFillColor = fillColor ?? theme[LINE_COLOR_KEYS.fillColor];
2688
2717
  const effectiveLineUnfilledColor = unfilledColor ?? theme[LINE_COLOR_KEYS.unfilledColor];
2689
2718
  const effectiveLineHeight = height ?? LINE_DEFAULTS.trackHeight;
2690
- const renderCircleCenter = () => /* @__PURE__ */ React.createElement(View, { style: styles$q.circleCenter }, /* @__PURE__ */ React.createElement(
2719
+ const renderCircleCenter = () => /* @__PURE__ */ React.createElement(View, { style: styles$p.circleCenter }, /* @__PURE__ */ React.createElement(
2691
2720
  CustomText$1,
2692
2721
  {
2693
2722
  text: `${progress}%`,
@@ -2710,7 +2739,7 @@ const CustomProgressBar = ({
2710
2739
  return /* @__PURE__ */ React.createElement(
2711
2740
  View,
2712
2741
  {
2713
- style: [styles$q.lineContainer, isRTL && styles$q.lineContainerRTL],
2742
+ style: [styles$p.lineContainer, isRTL && styles$p.lineContainerRTL],
2714
2743
  testID: "custom-progress-bar-line-wrapper"
2715
2744
  },
2716
2745
  /* @__PURE__ */ React.createElement(
@@ -2759,7 +2788,7 @@ const CustomProgressBar = ({
2759
2788
  };
2760
2789
  var CustomProgressBar$1 = withThemeProvider(CustomProgressBar);
2761
2790
 
2762
- const styles$p = StyleSheet.create({
2791
+ const styles$o = StyleSheet.create({
2763
2792
  container: {
2764
2793
  flexDirection: "row",
2765
2794
  alignItems: "center"
@@ -2825,13 +2854,13 @@ const Star = ({
2825
2854
  emptyStarColor
2826
2855
  );
2827
2856
  stars.push(
2828
- /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$p.star, starStyle] }, starType)
2857
+ /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$o.star, starStyle] }, starType)
2829
2858
  );
2830
2859
  }
2831
- return /* @__PURE__ */ React.createElement(View, { style: styles$p.container, testID: "star" }, stars);
2860
+ return /* @__PURE__ */ React.createElement(View, { style: styles$o.container, testID: "star" }, stars);
2832
2861
  };
2833
2862
 
2834
- var styles$o = StyleSheet.create({
2863
+ var styles$n = StyleSheet.create({
2835
2864
  container: {
2836
2865
  flexDirection: "row",
2837
2866
  gap: DHRE_PADDING.SM,
@@ -2887,12 +2916,12 @@ const Tabs = ({
2887
2916
  onSelectionChange(selectedTabs);
2888
2917
  }
2889
2918
  };
2890
- return /* @__PURE__ */ React.createElement(View, { style: [styles$o.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
2919
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$n.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
2891
2920
  Pressable,
2892
2921
  {
2893
2922
  key: id,
2894
2923
  style: {
2895
- ...styles$o.button,
2924
+ ...styles$n.button,
2896
2925
  backgroundColor: isSelected ? theme.SURFACE_INVERTED : theme.SURFACE_SECONDARY,
2897
2926
  borderColor: isSelected ? theme.SURFACE_INVERTED : theme.STROKE_TERTIARY
2898
2927
  },
@@ -2903,7 +2932,7 @@ const Tabs = ({
2903
2932
  {
2904
2933
  variant: FontStyle.BODY1_MEDIUM,
2905
2934
  style: {
2906
- ...styles$o.textStyle,
2935
+ ...styles$n.textStyle,
2907
2936
  color: isSelected ? theme.CONTENT_INVERTED : theme.CONTENT_PRIMARY
2908
2937
  },
2909
2938
  text: title
@@ -2913,7 +2942,7 @@ const Tabs = ({
2913
2942
  };
2914
2943
  var Tabs$1 = withThemeProvider(Tabs);
2915
2944
 
2916
- const styles$n = StyleSheet.create({
2945
+ const styles$m = StyleSheet.create({
2917
2946
  container: {
2918
2947
  width: "100%"
2919
2948
  },
@@ -2976,8 +3005,8 @@ const Tags = ({
2976
3005
  ScrollView,
2977
3006
  {
2978
3007
  testID,
2979
- style: styles$n.container,
2980
- contentContainerStyle: styles$n.contentContainer,
3008
+ style: styles$m.container,
3009
+ contentContainerStyle: styles$m.contentContainer,
2981
3010
  horizontal: false
2982
3011
  },
2983
3012
  tags?.map((tag) => /* @__PURE__ */ React.createElement(
@@ -2987,16 +3016,16 @@ const Tags = ({
2987
3016
  key: tag,
2988
3017
  onPress: () => toggleTag(tag),
2989
3018
  style: [
2990
- styles$n.tag,
3019
+ styles$m.tag,
2991
3020
  tagStyles,
2992
- selectedTags.includes(tag) ? styles$n.selectedTag : styles$n.tagUnSelected
3021
+ selectedTags.includes(tag) ? styles$m.selectedTag : styles$m.tagUnSelected
2993
3022
  ]
2994
3023
  },
2995
3024
  /* @__PURE__ */ React.createElement(
2996
3025
  CustomTypography,
2997
3026
  {
2998
3027
  variant: selectedTags.includes(tag) ? "H9semiBold" : "P4regular",
2999
- style: selectedTags.includes(tag) ? styles$n.tagText : styles$n.tagUnselectedText,
3028
+ style: selectedTags.includes(tag) ? styles$m.tagText : styles$m.tagUnselectedText,
3000
3029
  text: tag
3001
3030
  }
3002
3031
  ),
@@ -3012,7 +3041,7 @@ const Tags = ({
3012
3041
  );
3013
3042
  };
3014
3043
 
3015
- const styles$m = StyleSheet.create({
3044
+ const styles$l = StyleSheet.create({
3016
3045
  container: {
3017
3046
  width: horizontalScale(70),
3018
3047
  height: verticalScale(25),
@@ -3077,26 +3106,26 @@ const CustomSwitch = ({
3077
3106
  Pressable,
3078
3107
  {
3079
3108
  onPress: toggleSwitch,
3080
- style: [styles$m.container, { width }],
3109
+ style: [styles$l.container, { width }],
3081
3110
  testID: "custom-switch"
3082
3111
  },
3083
3112
  /* @__PURE__ */ React.createElement(
3084
3113
  View,
3085
3114
  {
3086
3115
  style: [
3087
- styles$m.track,
3116
+ styles$l.track,
3088
3117
  {
3089
3118
  backgroundColor: isOn ? DHRE_COLORS_ALERT.DH_SUCCESS_GREEN_ACCENT : DHRE_COLORS_TEXT.DH_TEXTDISABLED
3090
3119
  }
3091
3120
  ]
3092
3121
  },
3093
- /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$m.thumb, animatedStyle] }),
3122
+ /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$l.thumb, animatedStyle] }),
3094
3123
  type !== ToggleButtonType.SMALL && /* @__PURE__ */ React.createElement(
3095
3124
  CustomTypography,
3096
3125
  {
3097
3126
  variant: "B3semiBold",
3098
3127
  style: [
3099
- styles$m.text,
3128
+ styles$l.text,
3100
3129
  { textAlign: isOn ? TextDirectType.left : TextDirectType.right }
3101
3130
  ],
3102
3131
  text: isOn ? ToggleTextType.ON : ToggleTextType.OFF
@@ -3106,10 +3135,9 @@ const CustomSwitch = ({
3106
3135
  );
3107
3136
  };
3108
3137
 
3109
- const styles$l = StyleSheet.create({
3138
+ const styles$k = StyleSheet.create({
3110
3139
  container: {
3111
- paddingVertical: DHRE_PADDING.LG,
3112
- borderBottomWidth: moderateScale(1)
3140
+ paddingVertical: DHRE_PADDING.LG
3113
3141
  },
3114
3142
  header: {
3115
3143
  flexDirection: "row",
@@ -3168,7 +3196,7 @@ const Accordion = ({
3168
3196
  {
3169
3197
  style: [
3170
3198
  {
3171
- ...styles$l.container,
3199
+ ...styles$k.container,
3172
3200
  borderRadius: 0,
3173
3201
  ...containerStyle
3174
3202
  }
@@ -3178,7 +3206,7 @@ const Accordion = ({
3178
3206
  /* @__PURE__ */ React.createElement(
3179
3207
  Pressable,
3180
3208
  {
3181
- style: [styles$l.header, headerStyle, disabled && { opacity: 0.5 }],
3209
+ style: [styles$k.header, headerStyle, disabled && { opacity: 0.5 }],
3182
3210
  onPressOut: !disabled ? onToggle : void 0
3183
3211
  },
3184
3212
  headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(
@@ -3187,7 +3215,7 @@ const Accordion = ({
3187
3215
  variant: titleVariant,
3188
3216
  text: title,
3189
3217
  style: {
3190
- ...styles$l.title,
3218
+ ...styles$k.title,
3191
3219
  color: theme.CONTENT_PRIMARY,
3192
3220
  ...titleStyle
3193
3221
  }
@@ -3196,14 +3224,14 @@ const Accordion = ({
3196
3224
  icon ? React.cloneElement(icon, {
3197
3225
  width: DHRE_SPACING_BASE.SPACE_20,
3198
3226
  height: DHRE_SPACING_BASE.SPACE_20,
3199
- style: styles$l.iconStyle
3227
+ style: styles$k.iconStyle
3200
3228
  }) : null
3201
3229
  ),
3202
3230
  optionalElement ? optionalElement() : null,
3203
3231
  isOpen && /* @__PURE__ */ React.createElement(
3204
3232
  Animated.View,
3205
3233
  {
3206
- style: [styles$l.content, slideAnimation && { height: cardHeight }]
3234
+ style: [styles$k.content, slideAnimation && { height: cardHeight }]
3207
3235
  },
3208
3236
  /* @__PURE__ */ React.createElement(
3209
3237
  View,
@@ -3220,7 +3248,7 @@ const Accordion = ({
3220
3248
  };
3221
3249
  var Accordion$1 = withThemeProvider(Accordion);
3222
3250
 
3223
- const styles$k = StyleSheet.create({
3251
+ const styles$j = StyleSheet.create({
3224
3252
  container: {
3225
3253
  position: "absolute",
3226
3254
  alignSelf: "center",
@@ -3339,20 +3367,20 @@ const Toast = React.forwardRef(
3339
3367
  Animated.View,
3340
3368
  {
3341
3369
  style: [
3342
- styles$k.container,
3370
+ styles$j.container,
3343
3371
  { bottom },
3344
3372
  { backgroundColor: theme.SURFACE_TERTIARY }
3345
3373
  ],
3346
3374
  testID: "TOAST"
3347
3375
  },
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(
3376
+ /* @__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
3377
  CustomTypography,
3350
3378
  {
3351
3379
  variant: "BODY2_LIGHT",
3352
3380
  text: message,
3353
- style: [styles$k.messageText, { color: theme.CONTENT_SECONDRY }]
3381
+ style: [styles$j.messageText, { color: theme.CONTENT_SECONDRY }]
3354
3382
  }
3355
- ), subjectText && /* @__PURE__ */ React.createElement(View, { style: styles$k.subContainer }, /* @__PURE__ */ React.createElement(
3383
+ ), subjectText && /* @__PURE__ */ React.createElement(View, { style: styles$j.subContainer }, /* @__PURE__ */ React.createElement(
3356
3384
  Button,
3357
3385
  {
3358
3386
  title: subjectText,
@@ -3377,7 +3405,7 @@ const Toast = React.forwardRef(
3377
3405
  Animated.View,
3378
3406
  {
3379
3407
  style: [
3380
- styles$k.progressBar,
3408
+ styles$j.progressBar,
3381
3409
  {
3382
3410
  width: progressAnim,
3383
3411
  backgroundColor: accentColor
@@ -3394,7 +3422,7 @@ const ToastWithProvider = React.forwardRef(
3394
3422
  );
3395
3423
  ToastWithProvider.displayName = "Toast";
3396
3424
 
3397
- const styles$j = StyleSheet.create({
3425
+ const styles$i = StyleSheet.create({
3398
3426
  inputContainer: {
3399
3427
  flexDirection: "row",
3400
3428
  justifyContent: "center",
@@ -3473,8 +3501,8 @@ const CustomSearchBar = ({
3473
3501
  {
3474
3502
  testID,
3475
3503
  style: [
3476
- styles$j.inputContainer,
3477
- size === "small" ? styles$j.inputContainerSmall : styles$j.inputContainerLarge,
3504
+ styles$i.inputContainer,
3505
+ size === "small" ? styles$i.inputContainerSmall : styles$i.inputContainerLarge,
3478
3506
  {
3479
3507
  ...height !== void 0 && { height: verticalScale(height) },
3480
3508
  backgroundColor: disabled ? theme[Theme.SURFACE_PRIMARY] : theme[Theme.SURFACE_PRIMARY_TRANSPARENT],
@@ -3496,7 +3524,7 @@ const CustomSearchBar = ({
3496
3524
  React.cloneElement(searchIcon, {
3497
3525
  width: DHRE_SPACING.LG,
3498
3526
  height: DHRE_SPACING.LG,
3499
- style: [styles$j.searchIconStyle, searchIconStyle]
3527
+ style: [styles$i.searchIconStyle, searchIconStyle]
3500
3528
  })
3501
3529
  ),
3502
3530
  /* @__PURE__ */ React.createElement(
@@ -3505,7 +3533,7 @@ const CustomSearchBar = ({
3505
3533
  ...props,
3506
3534
  testID: `${testID}-INPUT`,
3507
3535
  style: [
3508
- styles$j.input,
3536
+ styles$i.input,
3509
3537
  { color: theme[Theme.CONTENT_PRIMARY] },
3510
3538
  inputStyle
3511
3539
  ],
@@ -3540,14 +3568,14 @@ const CustomSearchBar = ({
3540
3568
  React.cloneElement(rightIcon, {
3541
3569
  // width: moderateScale(24),
3542
3570
  // height: moderateScale(24),
3543
- style: [styles$j.crossIconStyle, crossIconStyle]
3571
+ style: [styles$i.crossIconStyle, crossIconStyle]
3544
3572
  })
3545
3573
  )
3546
3574
  );
3547
3575
  };
3548
3576
  var CustomSearchBar$1 = withThemeProvider(CustomSearchBar);
3549
3577
 
3550
- const styles$i = StyleSheet.create({
3578
+ const styles$h = StyleSheet.create({
3551
3579
  container: {
3552
3580
  flexDirection: "row",
3553
3581
  justifyContent: "space-between",
@@ -3581,7 +3609,7 @@ const CustomHeader = ({
3581
3609
  rightIcons
3582
3610
  }) => {
3583
3611
  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(
3612
+ 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
3613
  CustomTypography,
3586
3614
  {
3587
3615
  variant: "BODY1_MEDIUM",
@@ -3591,11 +3619,11 @@ const CustomHeader = ({
3591
3619
  ), titleSuffixIcon && React.cloneElement(titleSuffixIcon, {
3592
3620
  width: ICON_SIZE,
3593
3621
  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 }))));
3622
+ })), rightIcons && rightIcons.length > 0 && /* @__PURE__ */ React.createElement(View, { style: styles$h.iconsContainer }, rightIcons.map((config, index) => /* @__PURE__ */ React.createElement(HeaderIcon, { key: index, config }))));
3595
3623
  };
3596
3624
  var CustomHeader$1 = withThemeProvider(CustomHeader);
3597
3625
 
3598
- const styles$h = StyleSheet.create({
3626
+ const styles$g = StyleSheet.create({
3599
3627
  container: {
3600
3628
  flex: 1
3601
3629
  },
@@ -3625,14 +3653,14 @@ const ActionButton = ({
3625
3653
  {
3626
3654
  testID,
3627
3655
  onPress,
3628
- style: [styles$h.actionButton, style]
3656
+ style: [styles$g.actionButton, style]
3629
3657
  },
3630
3658
  icon,
3631
3659
  /* @__PURE__ */ React.createElement(
3632
3660
  CustomTypography,
3633
3661
  {
3634
3662
  variant: "L1_REGULAR",
3635
- style: [styles$h.titleStyle, titleStyle],
3663
+ style: [styles$g.titleStyle, titleStyle],
3636
3664
  text: title
3637
3665
  }
3638
3666
  )
@@ -3673,7 +3701,7 @@ const SwipableList = (props) => {
3673
3701
  return id;
3674
3702
  });
3675
3703
  }, []);
3676
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$h.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3704
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$g.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3677
3705
  ActionButton,
3678
3706
  {
3679
3707
  icon: leftPrimaryActionIcon,
@@ -3700,7 +3728,7 @@ const SwipableList = (props) => {
3700
3728
  titleStyle
3701
3729
  }
3702
3730
  ));
3703
- const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$h.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3731
+ const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$g.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
3704
3732
  ActionButton,
3705
3733
  {
3706
3734
  icon: rightPrimaryActionIcon,
@@ -3714,7 +3742,7 @@ const SwipableList = (props) => {
3714
3742
  titleStyle
3715
3743
  }
3716
3744
  ));
3717
- const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(View, { testID: `${testId}-LIST`, style: styles$h.container }, /* @__PURE__ */ React.createElement(
3745
+ const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(View, { testID: `${testId}-LIST`, style: styles$g.container }, /* @__PURE__ */ React.createElement(
3718
3746
  Swipeable,
3719
3747
  {
3720
3748
  ref: (ref) => swipeableRefs.current[item.id] = ref,
@@ -3740,7 +3768,7 @@ const SwipableList = (props) => {
3740
3768
  View,
3741
3769
  {
3742
3770
  style: {
3743
- ...styles$h.seperator,
3771
+ ...styles$g.seperator,
3744
3772
  backgroundColor: theme.BORDER_SEPRATOR
3745
3773
  }
3746
3774
  }
@@ -3750,7 +3778,15 @@ const SwipableList = (props) => {
3750
3778
  };
3751
3779
  var SwipableList$1 = withThemeProvider(SwipableList);
3752
3780
 
3753
- const styles$g = StyleSheet.create({
3781
+ const OUTLINED_GRADIENT_COLORS = [
3782
+ DHRE_CYAN_HIGHLIGHT[300],
3783
+ "#438CB1"
3784
+ ];
3785
+ const OUTLINED_GRADIENT_START = { x: 0, y: 0 };
3786
+ const OUTLINED_GRADIENT_END = { x: 1, y: 1 };
3787
+ const OUTLINED_BORDER_WIDTH = 1;
3788
+
3789
+ const styles$f = StyleSheet.create({
3754
3790
  container: {
3755
3791
  justifyContent: "center",
3756
3792
  alignItems: "center"
@@ -3790,13 +3826,6 @@ const ICON_BLUR_TYPE_STYLE = StyleSheet.create({
3790
3826
  overflow: "hidden"
3791
3827
  }
3792
3828
  });
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
3829
  const OUTLINED_BUTTON_STYLES = StyleSheet.create({
3801
3830
  shell: {
3802
3831
  borderRadius: ICON_BUTTON_RADIUS,
@@ -3938,7 +3967,7 @@ const CustomIcon = ({
3938
3967
  return renderOutlinedButton();
3939
3968
  }
3940
3969
  };
3941
- const outerStyle = labelPosition ? [ICON_LABEL_POSITION_STYLES[labelPosition], containerStyle ?? {}] : [styles$g.container, containerStyle ?? {}];
3970
+ const outerStyle = labelPosition ? [ICON_LABEL_POSITION_STYLES[labelPosition], containerStyle ?? {}] : [styles$f.container, containerStyle ?? {}];
3942
3971
  const resolvedTitleColor = type ? { color: theme[Theme.CONTENT_PRIMARY] } : void 0;
3943
3972
  const resolvedTitleVariant = titleVariant ?? ICON_TITLE_VARIANT_FOR_SIZE[size ?? "large"];
3944
3973
  return /* @__PURE__ */ React.createElement(
@@ -3954,14 +3983,14 @@ const CustomIcon = ({
3954
3983
  {
3955
3984
  variant: resolvedTitleVariant,
3956
3985
  text: title,
3957
- style: [styles$g.title, resolvedTitleColor, titleStyle]
3986
+ style: [styles$f.title, resolvedTitleColor, titleStyle]
3958
3987
  }
3959
3988
  )
3960
3989
  );
3961
3990
  };
3962
3991
  var CustomIcon$1 = withThemeProvider(CustomIcon);
3963
3992
 
3964
- const createStyles$5 = (theme) => {
3993
+ const createStyles$6 = (theme) => {
3965
3994
  return StyleSheet.create({
3966
3995
  container: {
3967
3996
  position: "absolute",
@@ -10162,7 +10191,7 @@ const CustomLoader = ({
10162
10191
  customeBox
10163
10192
  }) => {
10164
10193
  const { theme, mode } = useTheme();
10165
- const styles = createStyles$5(theme);
10194
+ const styles = createStyles$6(theme);
10166
10195
  const isDP = brandName === "DP";
10167
10196
  const isNakheel = brandName === "Nakheel";
10168
10197
  if (!loading) return null;
@@ -10202,7 +10231,7 @@ const CustomLoader = ({
10202
10231
  };
10203
10232
  var CustomLoader$1 = withThemeProvider(CustomLoader);
10204
10233
 
10205
- const createStyles$4 = (scaledSize, color) => StyleSheet.create({
10234
+ const createStyles$5 = (scaledSize, color) => StyleSheet.create({
10206
10235
  // Full-screen absolute overlay — mirrors CustomLoader `container`
10207
10236
  container: {
10208
10237
  position: "absolute",
@@ -10324,7 +10353,7 @@ const LoaderContent = ({
10324
10353
  }, []);
10325
10354
  const color = theme[Theme.CONTENT_PRIMARY];
10326
10355
  const styles = useMemo(
10327
- () => createStyles$4(scaledSize, color),
10356
+ () => createStyles$5(scaledSize, color),
10328
10357
  [scaledSize, color]
10329
10358
  );
10330
10359
  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 +10417,14 @@ const HorizontalLine = ({ backgroundColor = "SURFACE_SECONDARY", style }) => {
10388
10417
  View,
10389
10418
  {
10390
10419
  style: [
10391
- styles$f.line,
10420
+ styles$e.line,
10392
10421
  { backgroundColor: theme[backgroundColor] },
10393
10422
  style
10394
10423
  ]
10395
10424
  }
10396
10425
  );
10397
10426
  };
10398
- const styles$f = StyleSheet.create({
10427
+ const styles$e = StyleSheet.create({
10399
10428
  line: {
10400
10429
  height: 1,
10401
10430
  width: "100%"
@@ -10418,18 +10447,18 @@ const Topic = ({
10418
10447
  TouchableOpacity,
10419
10448
  {
10420
10449
  style: [
10421
- styles$e.button,
10450
+ styles$d.button,
10422
10451
  { backgroundColor: theme[Theme.SURFACE_SECONDARY] },
10423
10452
  containterStyle
10424
10453
  ],
10425
10454
  onPress
10426
10455
  },
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(
10456
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$d.rightIconContainer }, React.cloneElement(rightIcon)),
10457
+ /* @__PURE__ */ React.createElement(View, { style: styles$d.timeContainer }, time && /* @__PURE__ */ React.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
10458
+ /* @__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
10459
  CustomText$1,
10431
10460
  {
10432
- style: [styles$e.subTitle, subTitleStyle],
10461
+ style: [styles$d.subTitle, subTitleStyle],
10433
10462
  text: subTitle,
10434
10463
  variant: FontStyle.L2_REGULAR,
10435
10464
  textColor: Theme.CONTENT_PRIMARY
@@ -10444,7 +10473,7 @@ const Topic = ({
10444
10473
  ))
10445
10474
  );
10446
10475
  };
10447
- const styles$e = StyleSheet.create({
10476
+ const styles$d = StyleSheet.create({
10448
10477
  button: {
10449
10478
  flexDirection: "row",
10450
10479
  alignItems: "center",
@@ -10540,14 +10569,14 @@ const ContactModal = ({
10540
10569
  const renderEmailOptions = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10541
10570
  CustomText$1,
10542
10571
  {
10543
- style: styles$d.title,
10572
+ style: styles$c.title,
10544
10573
  text: "Open email app",
10545
10574
  variant: "L2_REGULAR"
10546
10575
  }
10547
10576
  ), /* @__PURE__ */ React.createElement(
10548
10577
  CustomText$1,
10549
10578
  {
10550
- style: styles$d.subtitle,
10579
+ style: styles$c.subtitle,
10551
10580
  text: "Which app would you like to open?",
10552
10581
  variant: "L2_REGULAR"
10553
10582
  }
@@ -10555,33 +10584,33 @@ const ContactModal = ({
10555
10584
  Pressable,
10556
10585
  {
10557
10586
  onPress: () => handleOptionPress(),
10558
- style: styles$d.optionButton
10587
+ style: styles$c.optionButton
10559
10588
  },
10560
10589
  /* @__PURE__ */ React.createElement(
10561
10590
  CustomText$1,
10562
10591
  {
10563
- style: styles$d.optionText,
10592
+ style: styles$c.optionText,
10564
10593
  text: option,
10565
10594
  variant: "B3_BOLD"
10566
10595
  }
10567
10596
  )
10568
10597
  ))));
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(
10598
+ 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
10599
  CustomText$1,
10571
10600
  {
10572
- style: styles$d.optionText,
10601
+ style: styles$c.optionText,
10573
10602
  text: `Call ${phoneNumber}`,
10574
10603
  variant: "B3_BOLD"
10575
10604
  }
10576
- ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$d.cancelButton }, /* @__PURE__ */ React.createElement(
10605
+ ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$c.cancelButton }, /* @__PURE__ */ React.createElement(
10577
10606
  CustomText$1,
10578
10607
  {
10579
- style: styles$d.cancelText,
10608
+ style: styles$c.cancelText,
10580
10609
  text: "Cancel",
10581
10610
  variant: "B2_REGULAR"
10582
10611
  }
10583
10612
  )));
10584
- return /* @__PURE__ */ React.createElement(View, { style: styles$d.container }, /* @__PURE__ */ React.createElement(
10613
+ return /* @__PURE__ */ React.createElement(View, { style: styles$c.container }, /* @__PURE__ */ React.createElement(
10585
10614
  Modal$1,
10586
10615
  {
10587
10616
  animationType: "slide",
@@ -10589,10 +10618,10 @@ const ContactModal = ({
10589
10618
  visible,
10590
10619
  onRequestClose: onClose
10591
10620
  },
10592
- /* @__PURE__ */ React.createElement(View, { style: styles$d.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$d.modalContent }, renderContent()))
10621
+ /* @__PURE__ */ React.createElement(View, { style: styles$c.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$c.modalContent }, renderContent()))
10593
10622
  ));
10594
10623
  };
10595
- const styles$d = StyleSheet.create({
10624
+ const styles$c = StyleSheet.create({
10596
10625
  container: {
10597
10626
  flex: 1,
10598
10627
  justifyContent: "center",
@@ -10654,7 +10683,7 @@ const styles$d = StyleSheet.create({
10654
10683
  });
10655
10684
  var ContactModel = withThemeProvider(ContactModal);
10656
10685
 
10657
- const styles$c = StyleSheet.create({
10686
+ const styles$b = StyleSheet.create({
10658
10687
  // Outer card: wraps Calendar (which includes the custom header via renderHeader)
10659
10688
  // and provides the dark-blue background + rounded corners.
10660
10689
  calendarCard: {
@@ -10806,12 +10835,12 @@ const DateRangePicker = (props) => {
10806
10835
  View,
10807
10836
  {
10808
10837
  style: [
10809
- styles$c.calendarHeader,
10838
+ styles$b.calendarHeader,
10810
10839
  { borderBottomColor: theme.STROKE_TERTIARY }
10811
10840
  ]
10812
10841
  },
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(
10842
+ /* @__PURE__ */ React.createElement(Text, { style: [styles$b.monthText, { color: theme.CONTENT_PRIMARY }] }, monthLabel),
10843
+ /* @__PURE__ */ React.createElement(View, { style: styles$b.arrowsContainer }, /* @__PURE__ */ React.createElement(
10815
10844
  TouchableOpacity,
10816
10845
  {
10817
10846
  onPress: prevMonth,
@@ -10845,81 +10874,86 @@ const DateRangePicker = (props) => {
10845
10874
  ))
10846
10875
  ))
10847
10876
  );
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"
10877
+ return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
10878
+ View,
10879
+ {
10880
+ style: [
10881
+ styles$b.calendarCard,
10882
+ { backgroundColor: theme.SURFACE_SECONDARY }
10883
+ ]
10884
+ },
10885
+ /* @__PURE__ */ React.createElement(
10886
+ Calendar,
10887
+ {
10888
+ key: monthKey,
10889
+ current: currentDateStr,
10890
+ markedDates: getMarkedDates(),
10891
+ markingType: "period",
10892
+ hideArrows: true,
10893
+ renderHeader: renderCalendarHeader,
10894
+ theme: {
10895
+ calendarBackground: "transparent",
10896
+ dayTextColor: theme.CONTENT_PRIMARY,
10897
+ textDisabledColor: theme.CONTENT_DISABLE_DARK,
10898
+ todayTextColor: theme.CONTENT_PRIMARY,
10899
+ textSectionTitleColor: theme.CONTENT_SECONDRY,
10900
+ textDayFontSize: 16,
10901
+ textDayFontWeight: "500",
10902
+ textDayHeaderFontSize: 11,
10903
+ textDayHeaderFontWeight: "300",
10904
+ // Reduce row gap from default 14px (7+7) to 4px (2+2) to match Figma.
10905
+ weekVerticalMargin: 2,
10906
+ // Remove the calendar body's default 5px horizontal padding so the date
10907
+ // grid aligns flush with the custom renderHeader content.
10908
+ "stylesheet.calendar.main": {
10909
+ container: {
10910
+ paddingLeft: 0,
10911
+ paddingRight: 0,
10912
+ backgroundColor: "transparent"
10913
+ }
10892
10914
  },
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
10915
+ // Strip Calendar header container's default padding/margin, zero the
10916
+ // day-names row top margin, and apply uppercase + correct sizing to
10917
+ // each day abbreviation label.
10918
+ "stylesheet.calendar.header": {
10919
+ header: {
10920
+ paddingLeft: 0,
10921
+ paddingRight: 0,
10922
+ marginTop: 0,
10923
+ marginBottom: 0
10924
+ },
10925
+ week: {
10926
+ marginTop: 8,
10927
+ flexDirection: "row",
10928
+ justifyContent: "space-around"
10929
+ },
10930
+ dayHeader: {
10931
+ marginTop: 2,
10932
+ marginBottom: 7,
10933
+ width: 32,
10934
+ textAlign: "center",
10935
+ textTransform: "uppercase",
10936
+ fontSize: 11,
10937
+ fontWeight: "300",
10938
+ color: theme.CONTENT_SECONDRY
10939
+ }
10902
10940
  }
10903
- }
10904
- },
10905
- style: { backgroundColor: "transparent", borderRadius: 0 },
10906
- onDayPress,
10907
- firstDay: 1,
10908
- ...calendarProps
10909
- }
10910
- )), /* @__PURE__ */ React.createElement(
10941
+ },
10942
+ style: { backgroundColor: "transparent", borderRadius: 0 },
10943
+ onDayPress,
10944
+ firstDay: 1,
10945
+ ...calendarProps
10946
+ }
10947
+ )
10948
+ ), /* @__PURE__ */ React.createElement(
10911
10949
  Button,
10912
10950
  {
10913
10951
  title: btnTitle,
10914
10952
  onPress: () => {
10915
10953
  onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
10916
10954
  },
10917
- containerStyle: {
10918
- ...styles$c.applyButton,
10919
- backgroundColor: theme.SURFACE_INVERTED,
10920
- borderColor: theme.NOTIFICATIONS_HIGHLIGHT
10921
- },
10922
- textStyle: { color: theme.CONTENT_INVERTED },
10955
+ variant: "primary",
10956
+ size: "large",
10923
10957
  disabled: isButtonDisabled
10924
10958
  }
10925
10959
  ));
@@ -10943,20 +10977,20 @@ const OurOfficesButton = ({
10943
10977
  TouchableOpacity,
10944
10978
  {
10945
10979
  style: [
10946
- styles$b.button,
10980
+ styles$a.button,
10947
10981
  { backgroundColor: theme["SURFACE_SECONDARY"] },
10948
10982
  containerStyle
10949
10983
  ],
10950
10984
  onPress
10951
10985
  },
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(
10986
+ leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$a.iconContainer }, React.cloneElement(leftIcon)),
10987
+ /* @__PURE__ */ React.createElement(View, { style: styles$a.textContainer }, /* @__PURE__ */ React.createElement(
10954
10988
  CustomText$1,
10955
10989
  {
10956
10990
  text: title,
10957
10991
  variant: titleVariant,
10958
10992
  textColor: titleColor,
10959
- style: styles$b.textView
10993
+ style: styles$a.textView
10960
10994
  }
10961
10995
  ), /* @__PURE__ */ React.createElement(
10962
10996
  CustomText$1,
@@ -10964,13 +10998,13 @@ const OurOfficesButton = ({
10964
10998
  text: description,
10965
10999
  variant: descriptionVariant,
10966
11000
  textColor: descriptionColor,
10967
- style: styles$b.flexWrap
11001
+ style: styles$a.flexWrap
10968
11002
  }
10969
11003
  )),
10970
- rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$b.rightIconContainer }, React.cloneElement(rightIcon))
11004
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$a.rightIconContainer }, React.cloneElement(rightIcon))
10971
11005
  );
10972
11006
  };
10973
- const styles$b = StyleSheet.create({
11007
+ const styles$a = StyleSheet.create({
10974
11008
  button: {
10975
11009
  flexDirection: "row",
10976
11010
  alignItems: "center",
@@ -10994,7 +11028,7 @@ const styles$b = StyleSheet.create({
10994
11028
  });
10995
11029
  var OurOffices = withThemeProvider(OurOfficesButton);
10996
11030
 
10997
- const styles$a = StyleSheet.create({
11031
+ const styles$9 = StyleSheet.create({
10998
11032
  iconContainer: {
10999
11033
  position: "relative",
11000
11034
  alignItems: "center"
@@ -11023,10 +11057,10 @@ const NotificationBandge = ({
11023
11057
  if (notificationCount <= 0) {
11024
11058
  return icon;
11025
11059
  }
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)));
11060
+ 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
11061
  };
11028
11062
 
11029
- const createStyles$3 = (theme) => {
11063
+ const createStyles$4 = (theme) => {
11030
11064
  return StyleSheet.create({
11031
11065
  // ── ScrollableList ────────────────────────────────────────────
11032
11066
  container: {
@@ -11121,7 +11155,7 @@ const CategoryItem = memo(
11121
11155
  enableTextWrap
11122
11156
  }) => {
11123
11157
  const { theme } = useTheme();
11124
- const styles = useMemo(() => createStyles$3(theme), [theme]);
11158
+ const styles = useMemo(() => createStyles$4(theme), [theme]);
11125
11159
  const handlePress = useCallback(
11126
11160
  () => onPress(item.name, item.value),
11127
11161
  [onPress, item.name, item.value]
@@ -11218,7 +11252,7 @@ const ScrollableList = ({
11218
11252
  data && data.length > 0 ? data[0].name : null
11219
11253
  );
11220
11254
  const { theme } = useTheme();
11221
- const styles = useMemo(() => createStyles$3(theme), [theme]);
11255
+ const styles = useMemo(() => createStyles$4(theme), [theme]);
11222
11256
  const activeKey = activeTab ?? selectedItem;
11223
11257
  const handlePress = useCallback(
11224
11258
  (name, value) => {
@@ -11261,7 +11295,7 @@ const ScrollableList = ({
11261
11295
  };
11262
11296
  var category = withThemeProvider(ScrollableList);
11263
11297
 
11264
- const createStyles$2 = (theme) => {
11298
+ const createStyles$3 = (theme) => {
11265
11299
  return StyleSheet.create({
11266
11300
  container: {
11267
11301
  flex: 1,
@@ -11339,7 +11373,7 @@ const FeedbackForm = ({
11339
11373
  const isFilled = feedback.length > 0;
11340
11374
  const label = inputLabel ?? inputText;
11341
11375
  const { theme } = useTheme();
11342
- const styles = createStyles$2(theme);
11376
+ const styles = createStyles$3(theme);
11343
11377
  return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(
11344
11378
  CustomText$1,
11345
11379
  {
@@ -11424,7 +11458,7 @@ const CountryDropDown = ({
11424
11458
  setCallingCode(`+${country.callingCode[0]}`);
11425
11459
  getCountryCode(`+${country.callingCode[0]}`);
11426
11460
  };
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(
11461
+ 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
11462
  CountryPicker,
11429
11463
  {
11430
11464
  withFilter: true,
@@ -11438,20 +11472,20 @@ const CountryDropDown = ({
11438
11472
  Text,
11439
11473
  {
11440
11474
  onPress: () => setPickerVisible(true),
11441
- style: [styles$9.callingCode, callingCodeStyle]
11475
+ style: [styles$8.callingCode, callingCodeStyle]
11442
11476
  },
11443
11477
  callingCode
11444
- )), /* @__PURE__ */ React.createElement(View, { style: styles$9.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
11478
+ )), /* @__PURE__ */ React.createElement(View, { style: styles$8.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
11445
11479
  CustomTypography,
11446
11480
  {
11447
11481
  variant: "L2_REGULAR",
11448
11482
  text: label ?? "",
11449
- style: styles$9.floatingLabel
11483
+ style: styles$8.floatingLabel
11450
11484
  }
11451
11485
  ), /* @__PURE__ */ React.createElement(
11452
11486
  TextInput,
11453
11487
  {
11454
- style: [styles$9.input, inputStyle],
11488
+ style: [styles$8.input, inputStyle],
11455
11489
  placeholder: !isFocused ? placeholder : "",
11456
11490
  keyboardType: "phone-pad",
11457
11491
  value,
@@ -11467,13 +11501,13 @@ const CountryDropDown = ({
11467
11501
  variant: "L2_REGULAR",
11468
11502
  text: errorMessage ?? "",
11469
11503
  style: {
11470
- ...styles$9.errorStyle,
11504
+ ...styles$8.errorStyle,
11471
11505
  color: DHRE_DEFAULT.DH_SEMENTIC_ERROR
11472
11506
  }
11473
11507
  }
11474
11508
  ) : null);
11475
11509
  };
11476
- const styles$9 = StyleSheet.create({
11510
+ const styles$8 = StyleSheet.create({
11477
11511
  flex: {
11478
11512
  flex: 1
11479
11513
  },
@@ -11534,6 +11568,7 @@ const CommonTextInput = (props) => {
11534
11568
  keyboardType = "default",
11535
11569
  placeholderText,
11536
11570
  inputStyle,
11571
+ containerStyle,
11537
11572
  maxLength,
11538
11573
  errorMessage,
11539
11574
  helperText,
@@ -11562,7 +11597,7 @@ const CommonTextInput = (props) => {
11562
11597
  const labelColor = isError ? theme[Theme.ERROR] : isDisabled ? theme[Theme.CONTENT_TERTIARY] : theme[Theme.CONTENT_PRIMARY];
11563
11598
  const helperColor = isError ? theme[Theme.ERROR] : isDisabled ? theme[Theme.CONTENT_TERTIARY] : theme[Theme.CONTENT_SECONDRY];
11564
11599
  const helperMessage = errorMessage || helperText;
11565
- return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$8.container }, /* @__PURE__ */ React.createElement(
11600
+ return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: [styles$7.container, containerStyle] }, /* @__PURE__ */ React.createElement(
11566
11601
  TextInput$1,
11567
11602
  {
11568
11603
  mode: "outlined",
@@ -11571,7 +11606,7 @@ const CommonTextInput = (props) => {
11571
11606
  spellCheck: false,
11572
11607
  autoCorrect: false,
11573
11608
  outlineStyle: {
11574
- ...styles$8.outlineStyle,
11609
+ ...styles$7.outlineStyle,
11575
11610
  borderColor: currentBorderColor,
11576
11611
  borderWidth,
11577
11612
  backgroundColor: containerBackground
@@ -11593,7 +11628,8 @@ const CommonTextInput = (props) => {
11593
11628
  primary: labelColor,
11594
11629
  // error drives the error indicator colour
11595
11630
  error: isError ? theme[Theme.ERROR] : labelColor,
11596
- // background behind the floating label — must be solid to cut through the border
11631
+ // background behind the floating label pill — must be opaque and match the
11632
+ // parent surface; defaults to SURFACE_PRIMARY (standard screen background)
11597
11633
  background: theme[Theme.SURFACE_PRIMARY]
11598
11634
  },
11599
11635
  fonts: {
@@ -11612,12 +11648,7 @@ const CommonTextInput = (props) => {
11612
11648
  }
11613
11649
  }
11614
11650
  },
11615
- style: [
11616
- styles$8.input,
11617
- inputStyle,
11618
- multiline && styles$8.multilineInput,
11619
- { backgroundColor: containerBackground }
11620
- ],
11651
+ style: [styles$7.input, inputStyle, multiline && styles$7.multilineInput],
11621
11652
  contentStyle: {
11622
11653
  fontFamily: InterLight,
11623
11654
  textAlign: isRTL ? "right" : "left"
@@ -11648,7 +11679,7 @@ const CommonTextInput = (props) => {
11648
11679
  {
11649
11680
  style: [
11650
11681
  FONT_STYLES[isDisabled ? FontStyle.BODY2_MEDIUM : FontStyle.BODY2_LIGHT],
11651
- styles$8.helperStyle,
11682
+ styles$7.helperStyle,
11652
11683
  {
11653
11684
  color: helperColor,
11654
11685
  textAlign: isRTL ? "right" : "left"
@@ -11658,7 +11689,7 @@ const CommonTextInput = (props) => {
11658
11689
  helperMessage
11659
11690
  ) : null);
11660
11691
  };
11661
- const styles$8 = StyleSheet.create({
11692
+ const styles$7 = StyleSheet.create({
11662
11693
  container: {
11663
11694
  justifyContent: "center"
11664
11695
  },
@@ -11733,7 +11764,7 @@ const CustomDropdown = (props) => {
11733
11764
  Text,
11734
11765
  {
11735
11766
  style: [
11736
- styles$7.label,
11767
+ styles$6.label,
11737
11768
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11738
11769
  {
11739
11770
  color: labelColor,
@@ -11758,11 +11789,11 @@ const CustomDropdown = (props) => {
11758
11789
  };
11759
11790
  const renderItem = (item) => {
11760
11791
  const isSelected = item[valueField] === value;
11761
- return /* @__PURE__ */ React.createElement(View, { style: [styles$7.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React.createElement(
11792
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$6.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React.createElement(
11762
11793
  Text,
11763
11794
  {
11764
11795
  style: [
11765
- styles$7.itemText,
11796
+ styles$6.itemText,
11766
11797
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11767
11798
  { color: theme.CONTENT_PRIMARY },
11768
11799
  itemTextStyle,
@@ -11772,12 +11803,12 @@ const CustomDropdown = (props) => {
11772
11803
  item[labelField]
11773
11804
  ));
11774
11805
  };
11775
- return /* @__PURE__ */ React.createElement(View, { style: [styles$7.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
11806
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$6.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
11776
11807
  Dropdown,
11777
11808
  {
11778
11809
  ...props,
11779
11810
  style: [
11780
- styles$7.dropdown,
11811
+ styles$6.dropdown,
11781
11812
  {
11782
11813
  borderColor: fieldBorderColor,
11783
11814
  borderWidth: fieldBorderWidth,
@@ -11787,18 +11818,18 @@ const CustomDropdown = (props) => {
11787
11818
  isFocus && dropdownFocusStyle
11788
11819
  ],
11789
11820
  placeholderStyle: [
11790
- styles$7.placeholderStyle,
11821
+ styles$6.placeholderStyle,
11791
11822
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11792
11823
  { color: theme.CONTENT_SECONDRY },
11793
11824
  placeholderStyle
11794
11825
  ],
11795
11826
  selectedTextStyle: [
11796
- styles$7.selectedTextStyle,
11827
+ styles$6.selectedTextStyle,
11797
11828
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11798
11829
  { color: valueTextColor },
11799
11830
  selectedTextStyle
11800
11831
  ],
11801
- iconStyle: [styles$7.iconStyle, iconStyle],
11832
+ iconStyle: [styles$6.iconStyle, iconStyle],
11802
11833
  data: data ?? [],
11803
11834
  labelField,
11804
11835
  valueField,
@@ -11828,7 +11859,7 @@ const CustomDropdown = (props) => {
11828
11859
  menuContainerStyle
11829
11860
  ],
11830
11861
  activeColor: activeColor ?? theme.SURFACE_SECONDARY,
11831
- itemContainerStyle: [styles$7.itemListStyle, itemContainerStyle],
11862
+ itemContainerStyle: [styles$6.itemListStyle, itemContainerStyle],
11832
11863
  disable,
11833
11864
  autoScroll,
11834
11865
  dropdownPosition,
@@ -11841,7 +11872,7 @@ const CustomDropdown = (props) => {
11841
11872
  Text,
11842
11873
  {
11843
11874
  style: [
11844
- styles$7.helperText,
11875
+ styles$6.helperText,
11845
11876
  FONT_STYLES[FontStyle.BODY2_LIGHT],
11846
11877
  { color: helperColor }
11847
11878
  ]
@@ -11849,7 +11880,7 @@ const CustomDropdown = (props) => {
11849
11880
  helperMessage
11850
11881
  ) : null);
11851
11882
  };
11852
- const styles$7 = StyleSheet.create({
11883
+ const styles$6 = StyleSheet.create({
11853
11884
  container: {
11854
11885
  marginVertical: verticalScale(4),
11855
11886
  direction: "ltr",
@@ -11896,7 +11927,7 @@ const styles$7 = StyleSheet.create({
11896
11927
  });
11897
11928
  var DropDown = withThemeProvider(CustomDropdown);
11898
11929
 
11899
- const styles$6 = StyleSheet.create({
11930
+ const styles$5 = StyleSheet.create({
11900
11931
  mainContainer: {
11901
11932
  flexDirection: "row",
11902
11933
  justifyContent: "space-between",
@@ -11955,18 +11986,18 @@ const CustomSwitchBtn = ({
11955
11986
  {
11956
11987
  disabled,
11957
11988
  onPress: toggleSwitch,
11958
- style: { ...styles$6.mainContainer, ...containerStyle }
11989
+ style: { ...styles$5.mainContainer, ...containerStyle }
11959
11990
  },
11960
11991
  /* @__PURE__ */ React.createElement(
11961
11992
  Animated.View,
11962
11993
  {
11963
- style: [styles$6.circle, { transform: [{ translateX }], ...circleStyle }]
11994
+ style: [styles$5.circle, { transform: [{ translateX }], ...circleStyle }]
11964
11995
  }
11965
11996
  ),
11966
11997
  /* @__PURE__ */ React.createElement(
11967
11998
  CustomTypography,
11968
11999
  {
11969
- style: [styles$6.activeText, value ? inActiveTextStyle : activeTextStyle],
12000
+ style: [styles$5.activeText, value ? inActiveTextStyle : activeTextStyle],
11970
12001
  text: activeText,
11971
12002
  variant: activeTextVariant
11972
12003
  }
@@ -11975,7 +12006,7 @@ const CustomSwitchBtn = ({
11975
12006
  CustomTypography,
11976
12007
  {
11977
12008
  style: [
11978
- styles$6.inActiveText,
12009
+ styles$5.inActiveText,
11979
12010
  value ? activeTextStyle : inActiveTextStyle
11980
12011
  ],
11981
12012
  text: inActiveText,
@@ -12013,7 +12044,7 @@ class ToastService {
12013
12044
  }
12014
12045
  const toastService = new ToastService();
12015
12046
 
12016
- const createStyles$1 = (theme) => StyleSheet.create({
12047
+ const createStyles$2 = (theme) => StyleSheet.create({
12017
12048
  listContainer: {
12018
12049
  paddingHorizontal: 10,
12019
12050
  alignItems: "center"
@@ -12055,7 +12086,7 @@ const TagsComponent = ({
12055
12086
  unselectedTagButton
12056
12087
  }) => {
12057
12088
  const { theme } = useTheme();
12058
- const styles = createStyles$1(theme);
12089
+ const styles = createStyles$2(theme);
12059
12090
  const reorderedTags = () => {
12060
12091
  if (selectedTag) {
12061
12092
  return [
@@ -12105,7 +12136,7 @@ const TagsComponent = ({
12105
12136
  };
12106
12137
  var TagSingleSelection = withThemeProvider(TagsComponent);
12107
12138
 
12108
- const styles$5 = StyleSheet.create({
12139
+ const styles$4 = StyleSheet.create({
12109
12140
  textInputContainer: {
12110
12141
  flexDirection: "row",
12111
12142
  gap: DHRE_PADDING.MD,
@@ -12288,12 +12319,12 @@ const OTPInput = React.forwardRef(
12288
12319
  ...otpHeaderTextStyle
12289
12320
  }
12290
12321
  }
12291
- ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$5.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
12322
+ ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
12292
12323
  TextInput,
12293
12324
  {
12294
12325
  key: index?.toString(),
12295
12326
  style: {
12296
- ...styles$5.textInputStyle,
12327
+ ...styles$4.textInputStyle,
12297
12328
  color: !isEditable ? theme$1.CONTENT_DISABLE_DARK : otp.length === length ? theme$1.STROKE_PRIMARY : theme$1.CONTENT_PRIMARY,
12298
12329
  backgroundColor: !isEditable ? theme$1.SURFACE_PRIMARY : theme$1.SURFACE_TERTIARY_TRANSPARENT,
12299
12330
  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 +12345,7 @@ const OTPInput = React.forwardRef(
12314
12345
  selectionColor: theme$1.CONTENT_PRIMARY,
12315
12346
  editable: isEditable
12316
12347
  }
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, {
12348
+ ))), !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
12349
  width: DHRE_SPACING_BASE.SPACE_20,
12319
12350
  height: DHRE_SPACING_BASE.SPACE_20
12320
12351
  }) : null, /* @__PURE__ */ React.createElement(
@@ -12338,7 +12369,7 @@ const OTPInput = React.forwardRef(
12338
12369
  Pressable,
12339
12370
  {
12340
12371
  onPress: onClickResendOTP,
12341
- style: styles$5.resendOTPStyle,
12372
+ style: styles$4.resendOTPStyle,
12342
12373
  disabled: disableResendButton() || !isResendOtpEnable
12343
12374
  },
12344
12375
  /* @__PURE__ */ React.createElement(
@@ -12352,7 +12383,7 @@ const OTPInput = React.forwardRef(
12352
12383
  }
12353
12384
  }
12354
12385
  )
12355
- )), errorMessageMaxReachCount ? /* @__PURE__ */ React.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React.createElement(
12386
+ )), errorMessageMaxReachCount ? /* @__PURE__ */ React.createElement(View, { style: styles$4.resendOtpContainer }, /* @__PURE__ */ React.createElement(
12356
12387
  CustomTypography,
12357
12388
  {
12358
12389
  text: errorMessageMaxReachCount,
@@ -12367,7 +12398,7 @@ const OTPInput = React.forwardRef(
12367
12398
  );
12368
12399
  OTPInput.displayName = "OTPInput";
12369
12400
 
12370
- const styles$4 = StyleSheet.create({
12401
+ const styles$3 = StyleSheet.create({
12371
12402
  stepperContainer: {
12372
12403
  flexDirection: "row",
12373
12404
  marginBottom: 24,
@@ -12461,27 +12492,27 @@ const Stepper = ({
12461
12492
  const { theme } = useTheme();
12462
12493
  const renderCircleStyle = (status) => {
12463
12494
  if (status === Status.Active) {
12464
- return { ...styles$4.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
12495
+ return { ...styles$3.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
12465
12496
  } else if (status === Status.Inactive) {
12466
12497
  return {
12467
- ...styles$4.inactiveStepCircle,
12498
+ ...styles$3.inactiveStepCircle,
12468
12499
  borderColor: theme.CONTENT_SECONDRY
12469
12500
  };
12470
12501
  } else if (status === Status.Completed) {
12471
- return { ...styles$4.completeStepCircle, backgroundColor: theme.SUCCESS };
12502
+ return { ...styles$3.completeStepCircle, backgroundColor: theme.SUCCESS };
12472
12503
  } else {
12473
- return { ...styles$4.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
12504
+ return { ...styles$3.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
12474
12505
  }
12475
12506
  };
12476
12507
  const renderLableStyle = (status) => {
12477
12508
  if (status === Status.Active) {
12478
- return { ...styles$4.activeStepLabel, color: theme.CONTENT_PRIMARY };
12509
+ return { ...styles$3.activeStepLabel, color: theme.CONTENT_PRIMARY };
12479
12510
  } else if (status === Status.Inactive) {
12480
- return { ...styles$4.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
12511
+ return { ...styles$3.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
12481
12512
  } else if (status === Status.Completed) {
12482
- return { ...styles$4.completeStepLabel, color: theme.CONTENT_PRIMARY };
12513
+ return { ...styles$3.completeStepLabel, color: theme.CONTENT_PRIMARY };
12483
12514
  } else {
12484
- return { ...styles$4.countStepLabel, color: theme.CONTENT_PRIMARY };
12515
+ return { ...styles$3.countStepLabel, color: theme.CONTENT_PRIMARY };
12485
12516
  }
12486
12517
  };
12487
12518
  const renderDividerStyle = (status) => {
@@ -12491,25 +12522,25 @@ const Stepper = ({
12491
12522
  return { borderColor: theme.BORDER_PRIMARY };
12492
12523
  } else if (status === Status.Completed) {
12493
12524
  return {
12494
- ...styles$4.completeStepDivider,
12525
+ ...styles$3.completeStepDivider,
12495
12526
  borderColor: theme.CONTENT_PRIMARY
12496
12527
  };
12497
12528
  } else {
12498
12529
  return { borderColor: theme.CONTENT_SECONDRY };
12499
12530
  }
12500
12531
  };
12501
- return /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
12532
+ return /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
12502
12533
  const stepCircleStyle = renderCircleStyle(item?.status);
12503
12534
  const dividerStyle = renderDividerStyle(item?.status);
12504
12535
  const labelStyle = renderLableStyle(item?.status);
12505
- const lastViewStyle = index === data?.length - 1 ? styles$4.lastStepWrapper : null;
12536
+ const lastViewStyle = index === data?.length - 1 ? styles$3.lastStepWrapper : null;
12506
12537
  return /* @__PURE__ */ React.createElement(
12507
12538
  View,
12508
12539
  {
12509
12540
  key: index?.toString(),
12510
- style: { ...styles$4.stepperWrapper, ...lastViewStyle }
12541
+ style: { ...styles$3.stepperWrapper, ...lastViewStyle }
12511
12542
  },
12512
- /* @__PURE__ */ React.createElement(View, { style: styles$4.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
12543
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
12513
12544
  CustomTypography,
12514
12545
  {
12515
12546
  text: item?.step,
@@ -12518,8 +12549,8 @@ const Stepper = ({
12518
12549
  color: theme.CONTENT_PRIMARY
12519
12550
  }
12520
12551
  }
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(
12552
+ ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.separator, ...dividerStyle } })),
12553
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.lableContainer }, /* @__PURE__ */ React.createElement(
12523
12554
  CustomTypography,
12524
12555
  {
12525
12556
  text: item?.label,
@@ -12530,17 +12561,22 @@ const Stepper = ({
12530
12561
  );
12531
12562
  }));
12532
12563
  };
12533
- var index$3 = withThemeProvider(Stepper);
12564
+ var index$4 = withThemeProvider(Stepper);
12534
12565
 
12535
- const styles$3 = StyleSheet.create({
12566
+ const styles$2 = StyleSheet.create({
12536
12567
  container: {
12537
12568
  flex: 1,
12538
12569
  justifyContent: "center",
12539
12570
  alignItems: "center"
12540
12571
  },
12572
+ gradientShell: {
12573
+ borderRadius: DHRE_RADIUS.PILL,
12574
+ padding: OUTLINED_BORDER_WIDTH
12575
+ },
12541
12576
  sliderContainer: {
12542
- height: verticalScale(48),
12543
- // borderRadius: moderateScale(25),
12577
+ height: DHRE_COMPONENT_HEIGHT.BUTTON_MD - OUTLINED_BORDER_WIDTH * 2,
12578
+ // pill shape — overflow:hidden clips all child content to the rounded boundary
12579
+ borderRadius: DHRE_RADIUS.PILL,
12544
12580
  overflow: "hidden",
12545
12581
  justifyContent: "center"
12546
12582
  },
@@ -12551,11 +12587,13 @@ const styles$3 = StyleSheet.create({
12551
12587
  justifyContent: "center"
12552
12588
  },
12553
12589
  button: {
12554
- height: verticalScale(40),
12590
+ height: DHRE_COMPONENT_HEIGHT.INPUT_SM,
12555
12591
  justifyContent: "center",
12556
12592
  alignItems: "center",
12557
- // borderRadius: moderateScale(20),
12558
- margin: 4
12593
+ // circular thumb — consumer can override via sliderStyle prop
12594
+ borderRadius: DHRE_RADIUS.PILL,
12595
+ // 4px inset keeps thumb inside pill boundary (matches Figma left:4, top:4)
12596
+ margin: DHRE_PADDING.XS
12559
12597
  },
12560
12598
  buttonTextContainer: {
12561
12599
  position: "absolute",
@@ -12565,11 +12603,10 @@ const styles$3 = StyleSheet.create({
12565
12603
  top: 0,
12566
12604
  alignItems: "center",
12567
12605
  justifyContent: "center"
12568
- // borderRadius: 25,
12569
12606
  }
12570
12607
  });
12571
12608
 
12572
- const BUTTON_WIDTH = 40;
12609
+ const DEFAULT_SIZE = 40;
12573
12610
  const CustomSlideButton = React.forwardRef(
12574
12611
  ({
12575
12612
  label,
@@ -12579,17 +12616,21 @@ const CustomSlideButton = React.forwardRef(
12579
12616
  textStyle,
12580
12617
  containerStyle,
12581
12618
  sliderStyle,
12582
- size = BUTTON_WIDTH,
12619
+ size = DEFAULT_SIZE,
12583
12620
  sliderBackgroundColor = "#fff",
12584
12621
  sliderTextColor = "#000",
12585
- resetTimer = 2e3
12622
+ resetTimer = 2e3,
12623
+ isRTL = false,
12624
+ completedContainerStyle
12586
12625
  }, ref) => {
12626
+ const thumbOffset = verticalScale(size) + DHRE_PADDING.XS * 2;
12587
12627
  const value = useRef(0);
12588
12628
  const cardRef = useRef(null);
12589
12629
  const [translateX] = useState(new Animated.Value(0));
12590
12630
  const sliderConteinerRef = useRef(null);
12591
12631
  const [color] = useState(new Animated.Value(0));
12592
12632
  const [sliderBackgroundColorRef] = useState(new Animated.Value(0));
12633
+ const [isCompleted, setIsCompleted] = useState(false);
12593
12634
  React.useImperativeHandle(ref, () => ({
12594
12635
  reset() {
12595
12636
  resetAll();
@@ -12600,15 +12641,18 @@ const CustomSlideButton = React.forwardRef(
12600
12641
  if (cardRef.current) {
12601
12642
  cardRef.current.setNativeProps({
12602
12643
  style: { width }
12603
- // Change the width here
12604
12644
  });
12605
12645
  value.current = width;
12606
12646
  sliderConteinerRef?.current?.setNativeProps({
12607
12647
  style: { width }
12608
12648
  });
12609
12649
  }
12650
+ if (isRTL) {
12651
+ translateX.setValue(value.current - thumbOffset);
12652
+ }
12610
12653
  };
12611
12654
  const resetAll = () => {
12655
+ setIsCompleted(false);
12612
12656
  onReset?.();
12613
12657
  Animated.timing(sliderBackgroundColorRef, {
12614
12658
  toValue: 0,
@@ -12625,7 +12669,7 @@ const CustomSlideButton = React.forwardRef(
12625
12669
  // because we're animating the color, not layout
12626
12670
  }).start();
12627
12671
  Animated.timing(translateX, {
12628
- toValue: 0,
12672
+ toValue: isRTL ? value.current - thumbOffset : 0,
12629
12673
  useNativeDriver: false
12630
12674
  }).start();
12631
12675
  };
@@ -12636,39 +12680,73 @@ const CustomSlideButton = React.forwardRef(
12636
12680
  },
12637
12681
  onPanResponderTerminationRequest: () => false,
12638
12682
  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();
12683
+ if (isRTL) {
12684
+ if (gestureState.dx < 0 && gestureState.dx >= -(value.current - thumbOffset)) {
12685
+ translateX.setValue(value.current - thumbOffset + gestureState.dx);
12686
+ const colorValue = gestureState.dx < -(value.current / 3) ? 1 : 0;
12687
+ Animated.timing(color, {
12688
+ toValue: colorValue,
12689
+ duration: 0,
12690
+ // no transition time, immediate change
12691
+ useNativeDriver: false
12692
+ }).start();
12693
+ }
12694
+ } else {
12695
+ if (gestureState.dx > 0 && gestureState.dx <= value.current - thumbOffset) {
12696
+ translateX.setValue(gestureState.dx);
12697
+ const colorValue = gestureState.dx > value.current / 3 ? 1 : 0;
12698
+ Animated.timing(color, {
12699
+ toValue: colorValue,
12700
+ duration: 0,
12701
+ // no transition time, immediate change
12702
+ useNativeDriver: false
12703
+ }).start();
12704
+ }
12649
12705
  }
12650
12706
  },
12651
12707
  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(() => {
12708
+ if (isRTL) {
12709
+ if (gestureState.dx <= -(value.current * 0.8)) {
12710
+ Animated.timing(translateX, {
12711
+ toValue: 0,
12712
+ // snap to leftmost position (completed side for RTL)
12713
+ duration: 300,
12714
+ useNativeDriver: false
12715
+ }).start();
12716
+ Animated.timing(sliderBackgroundColorRef, {
12717
+ toValue: 1,
12718
+ duration: 0,
12719
+ useNativeDriver: false
12720
+ }).start();
12721
+ setIsCompleted(true);
12722
+ onComplete?.();
12723
+ setTimeout(() => {
12724
+ resetAll();
12725
+ }, resetTimer);
12726
+ } else {
12668
12727
  resetAll();
12669
- }, resetTimer);
12728
+ }
12670
12729
  } else {
12671
- resetAll();
12730
+ if (gestureState.dx >= value.current * 0.8) {
12731
+ Animated.timing(translateX, {
12732
+ toValue: value.current - thumbOffset,
12733
+ // slide to the end
12734
+ duration: 300,
12735
+ useNativeDriver: false
12736
+ }).start();
12737
+ Animated.timing(sliderBackgroundColorRef, {
12738
+ toValue: 1,
12739
+ duration: 0,
12740
+ useNativeDriver: false
12741
+ }).start();
12742
+ setIsCompleted(true);
12743
+ onComplete?.();
12744
+ setTimeout(() => {
12745
+ resetAll();
12746
+ }, resetTimer);
12747
+ } else {
12748
+ resetAll();
12749
+ }
12672
12750
  }
12673
12751
  },
12674
12752
  onPanResponderTerminate: () => {
@@ -12684,49 +12762,62 @@ const CustomSlideButton = React.forwardRef(
12684
12762
  outputRange: [sliderBackgroundColor, "transparent"]
12685
12763
  });
12686
12764
  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,
12765
+ return /* @__PURE__ */ React.createElement(
12766
+ LinearGradient$1,
12708
12767
  {
12709
- style: [styles$3.slider, { transform: [{ translateX }] }],
12710
- ...panResponder.panHandlers
12768
+ colors: OUTLINED_GRADIENT_COLORS,
12769
+ start: OUTLINED_GRADIENT_START,
12770
+ end: OUTLINED_GRADIENT_END,
12771
+ style: styles$2.gradientShell
12711
12772
  },
12712
12773
  /* @__PURE__ */ React.createElement(
12713
12774
  View,
12714
12775
  {
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
- }
12776
+ style: [
12777
+ styles$2.sliderContainer,
12778
+ { backgroundColor: theme.SURFACE_INVERTED },
12779
+ containerStyle,
12780
+ isCompleted && { backgroundColor: theme.BUTTON_SUCCESS_FILL },
12781
+ isCompleted ? completedContainerStyle : void 0
12782
+ ],
12783
+ onLayout: handleLayout,
12784
+ ref: cardRef
12723
12785
  },
12724
- icon
12786
+ /* @__PURE__ */ React.createElement(
12787
+ Animated.View,
12788
+ {
12789
+ style: [styles$2.buttonTextContainer, { backgroundColor, transform: [{ translateX }] }],
12790
+ ref: sliderConteinerRef
12791
+ }
12792
+ ),
12793
+ /* @__PURE__ */ React.createElement(View, { style: styles$2.buttonTextContainer }, /* @__PURE__ */ React.createElement(Animated.Text, { style: [{ alignSelf: "center", ...textStyle }, { color: textColor }] }, label)),
12794
+ /* @__PURE__ */ React.createElement(
12795
+ Animated.View,
12796
+ {
12797
+ style: [styles$2.slider, { transform: [{ translateX }] }],
12798
+ ...panResponder.panHandlers
12799
+ },
12800
+ /* @__PURE__ */ React.createElement(
12801
+ View,
12802
+ {
12803
+ style: {
12804
+ ...styles$2.button,
12805
+ backgroundColor: theme.SURFACE_PRIMARY,
12806
+ width: verticalScale(size),
12807
+ height: verticalScale(size),
12808
+ ...sliderStyle
12809
+ }
12810
+ },
12811
+ icon
12812
+ )
12813
+ )
12725
12814
  )
12726
- ));
12815
+ );
12727
12816
  }
12728
12817
  );
12729
- var index$2 = withThemeProvider(CustomSlideButton);
12818
+ var index$3 = withThemeProvider(
12819
+ CustomSlideButton
12820
+ );
12730
12821
 
12731
12822
  const DHRE_STROKE = {
12732
12823
  NONE: 0,
@@ -12786,7 +12877,7 @@ const AVATAR_SPEC = {
12786
12877
  ringInset: 6
12787
12878
  }
12788
12879
  };
12789
- const createStyles = (size, theme) => {
12880
+ const createStyles$1 = (size, theme) => {
12790
12881
  const dimensions = AVATAR_SPEC[size];
12791
12882
  return StyleSheet.create({
12792
12883
  container: {
@@ -12862,9 +12953,9 @@ const createStyles = (size, theme) => {
12862
12953
  }
12863
12954
  });
12864
12955
  };
12865
- const smallStyles = (theme) => createStyles(AvatarSize.SMALL, theme);
12866
- const mediumStyles = (theme) => createStyles(AvatarSize.MEDIUM, theme);
12867
- const largeStyles = (theme) => createStyles(AvatarSize.LARGE, theme);
12956
+ const smallStyles = (theme) => createStyles$1(AvatarSize.SMALL, theme);
12957
+ const mediumStyles = (theme) => createStyles$1(AvatarSize.MEDIUM, theme);
12958
+ const largeStyles = (theme) => createStyles$1(AvatarSize.LARGE, theme);
12868
12959
  const getStylesBySize = (size, theme) => {
12869
12960
  switch (size) {
12870
12961
  case "small":
@@ -13015,7 +13106,7 @@ const Avatar = (props) => {
13015
13106
  };
13016
13107
  var Avatar$1 = withThemeProvider(Avatar);
13017
13108
 
13018
- const styles$2 = StyleSheet.create({
13109
+ const styles$1 = StyleSheet.create({
13019
13110
  accordionContainer: {
13020
13111
  gap: verticalScale(8),
13021
13112
  marginHorizontal: horizontalScale(24),
@@ -13120,13 +13211,13 @@ const AppointmentCard = ({
13120
13211
  isOpen,
13121
13212
  onToggle,
13122
13213
  containerStyle: {
13123
- ...styles$2.accordionStyle,
13214
+ ...styles$1.accordionStyle,
13124
13215
  backgroundColor: theme.SURFACE_SECONDARY,
13125
13216
  borderColor: theme.BORDER_SEPERATOR_HEADER,
13126
13217
  borderBottomColor: theme.BORDER_SEPERATOR_HEADER
13127
13218
  },
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(
13219
+ headerStyle: styles$1.accordionHeader,
13220
+ headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionText }, /* @__PURE__ */ React.createElement(
13130
13221
  CustomTypography,
13131
13222
  {
13132
13223
  text: headerTitle,
@@ -13147,18 +13238,18 @@ const AppointmentCard = ({
13147
13238
  View,
13148
13239
  {
13149
13240
  style: [
13150
- styles$2.accordionDetails,
13241
+ styles$1.accordionDetails,
13151
13242
  { borderTopColor: theme.BORDER_SEPERATOR_HEADER }
13152
13243
  ]
13153
13244
  },
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(
13245
+ /* @__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
13246
  CustomTypography,
13156
13247
  {
13157
13248
  text: title2,
13158
13249
  variant: FontStyle.L3_REGULAR,
13159
13250
  style: { color: theme.CONTENT_SECONDRY }
13160
13251
  }
13161
- ), /* @__PURE__ */ React.createElement(View, { style: styles$2.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React.createElement(
13252
+ ), /* @__PURE__ */ React.createElement(View, { style: styles$1.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React.createElement(
13162
13253
  CustomTypography,
13163
13254
  {
13164
13255
  text: value,
@@ -13173,7 +13264,7 @@ const AppointmentCard = ({
13173
13264
  text: directionText,
13174
13265
  variant: FontStyle.L2_REGULAR,
13175
13266
  style: [
13176
- styles$2.getDirectionsText,
13267
+ styles$1.getDirectionsText,
13177
13268
  { color: theme.CONTENT_PRIMARY }
13178
13269
  ],
13179
13270
  onPress: onDirectionPress
@@ -13183,7 +13274,7 @@ const AppointmentCard = ({
13183
13274
  View,
13184
13275
  {
13185
13276
  style: [
13186
- styles$2.infoContainer,
13277
+ styles$1.infoContainer,
13187
13278
  {
13188
13279
  backgroundColor: theme.SURFACE_TERTIARY
13189
13280
  }
@@ -13203,7 +13294,7 @@ const AppointmentCard = ({
13203
13294
  View,
13204
13295
  {
13205
13296
  style: [
13206
- styles$2.actionsContainer,
13297
+ styles$1.actionsContainer,
13207
13298
  {
13208
13299
  borderTopColor: theme.BORDER_SEPERATOR_HEADER
13209
13300
  }
@@ -13215,7 +13306,7 @@ const AppointmentCard = ({
13215
13306
  text: viewText,
13216
13307
  variant: FontStyle.L2_REGULAR,
13217
13308
  style: [
13218
- styles$2.viewText,
13309
+ styles$1.viewText,
13219
13310
  {
13220
13311
  color: theme.CONTENT_PRIMARY
13221
13312
  }
@@ -13223,12 +13314,12 @@ const AppointmentCard = ({
13223
13314
  onPress: onViewDetailsPress
13224
13315
  }
13225
13316
  ),
13226
- /* @__PURE__ */ React.createElement(View, { style: styles$2.actionIcons }, /* @__PURE__ */ React.createElement(
13317
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.actionIcons }, /* @__PURE__ */ React.createElement(
13227
13318
  CustomIcon$1,
13228
13319
  {
13229
13320
  icon: deleteIcon,
13230
13321
  containerStyle: {
13231
- ...styles$2.iconContainer,
13322
+ ...styles$1.iconContainer,
13232
13323
  backgroundColor: theme.SURFACE_INVERTED
13233
13324
  },
13234
13325
  onPress: onDeletePress
@@ -13238,7 +13329,7 @@ const AppointmentCard = ({
13238
13329
  {
13239
13330
  icon: editIcon,
13240
13331
  containerStyle: {
13241
- ...styles$2.iconContainer,
13332
+ ...styles$1.iconContainer,
13242
13333
  backgroundColor: theme.SURFACE_INVERTED
13243
13334
  },
13244
13335
  onPress: onEditPress
@@ -13248,9 +13339,9 @@ const AppointmentCard = ({
13248
13339
  )
13249
13340
  );
13250
13341
  };
13251
- var index$1 = withThemeProvider(AppointmentCard);
13342
+ var index$2 = withThemeProvider(AppointmentCard);
13252
13343
 
13253
- const styles$1 = StyleSheet.create({
13344
+ const styles = StyleSheet.create({
13254
13345
  container: {
13255
13346
  flexDirection: "row",
13256
13347
  alignItems: "center",
@@ -13307,7 +13398,7 @@ const PropertyDetails = ({
13307
13398
  View,
13308
13399
  {
13309
13400
  style: [
13310
- styles$1.container,
13401
+ styles.container,
13311
13402
  {
13312
13403
  backgroundColor: theme.SURFACE_PRIMARY,
13313
13404
  borderColor: isSelected ? theme.STROKE_ACTIVE : theme.STROKE_TERTIARY
@@ -13322,12 +13413,12 @@ const PropertyDetails = ({
13322
13413
  containerStyle
13323
13414
  ]
13324
13415
  },
13325
- /* @__PURE__ */ React.createElement(View, { style: styles$1.imageWrapper }, React.cloneElement(icon, {
13416
+ /* @__PURE__ */ React.createElement(View, { style: styles.imageWrapper }, React.cloneElement(icon, {
13326
13417
  width: "100%",
13327
13418
  height: "100%",
13328
13419
  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(
13420
+ }), brandIcon && /* @__PURE__ */ React.createElement(View, { style: styles.brandBadge }, brandIcon)),
13421
+ /* @__PURE__ */ React.createElement(View, { style: styles.propertyInfo }, propertyNumber && /* @__PURE__ */ React.createElement(View, { style: [styles.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React.createElement(
13331
13422
  CustomTypography,
13332
13423
  {
13333
13424
  text: propertyNumber,
@@ -13358,31 +13449,45 @@ const PropertyDetails = ({
13358
13449
  )
13359
13450
  );
13360
13451
  };
13361
- var index = withThemeProvider(PropertyDetails);
13452
+ var index$1 = withThemeProvider(PropertyDetails);
13362
13453
 
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
- });
13454
+ const createStyles = (themeColors, size, radioColor) => {
13455
+ const radioSize = size === "large" ? moderateScale(24) : moderateScale(20);
13456
+ const dotSize = size === "large" ? moderateScale(12) : moderateScale(10);
13457
+ const resolvedRadioColor = radioColor ?? themeColors[Theme.STROKE_ACTIVE];
13458
+ return StyleSheet.create({
13459
+ container: {
13460
+ rowGap: verticalScale(12)
13461
+ },
13462
+ optionContainer: {
13463
+ flexDirection: "row",
13464
+ columnGap: horizontalScale(8),
13465
+ alignItems: "flex-start"
13466
+ },
13467
+ radioButton: {
13468
+ width: radioSize,
13469
+ height: radioSize,
13470
+ borderRadius: moderateScale(100),
13471
+ borderWidth: 1,
13472
+ borderColor: resolvedRadioColor,
13473
+ justifyContent: "center",
13474
+ alignItems: "center"
13475
+ },
13476
+ radioButtonSelected: {
13477
+ borderWidth: 2,
13478
+ backgroundColor: themeColors[Theme.CONTENT_INVERTED]
13479
+ },
13480
+ radioButtonInnerDot: {
13481
+ width: dotSize,
13482
+ height: dotSize,
13483
+ borderRadius: moderateScale(50),
13484
+ backgroundColor: resolvedRadioColor
13485
+ },
13486
+ label: {
13487
+ color: themeColors[Theme.CONTENT_PRIMARY]
13488
+ }
13489
+ });
13490
+ };
13386
13491
 
13387
13492
  const RadioButtonGroup = ({
13388
13493
  data,
@@ -13390,8 +13495,13 @@ const RadioButtonGroup = ({
13390
13495
  containerStyle,
13391
13496
  labelStyle,
13392
13497
  optionContainerStyle,
13393
- selectedValue
13498
+ selectedValue,
13499
+ size = "large",
13500
+ fontVariant,
13501
+ radioColor
13394
13502
  }) => {
13503
+ const { theme } = useTheme();
13504
+ const styles = createStyles(theme, size, radioColor);
13395
13505
  const [selectedOption, setSelectedOption] = useState(
13396
13506
  selectedValue ?? data[0]?.value
13397
13507
  );
@@ -13399,12 +13509,14 @@ const RadioButtonGroup = ({
13399
13509
  setSelectedOption(item.value);
13400
13510
  onSelect(item);
13401
13511
  };
13512
+ const resolvedFontVariant = fontVariant ?? (size === "small" ? FontStyle.BODY2_MEDIUM : FontStyle.BODY1_MEDIUM);
13402
13513
  return /* @__PURE__ */ React.createElement(View, { style: [styles.container, containerStyle] }, data?.map((item) => /* @__PURE__ */ React.createElement(
13403
13514
  TouchableOpacity,
13404
13515
  {
13405
13516
  key: item.value,
13406
13517
  style: [styles.optionContainer, optionContainerStyle],
13407
- onPress: () => handleSelect(item)
13518
+ onPress: () => handleSelect(item),
13519
+ activeOpacity: 1
13408
13520
  },
13409
13521
  /* @__PURE__ */ React.createElement(
13410
13522
  View,
@@ -13413,18 +13525,20 @@ const RadioButtonGroup = ({
13413
13525
  styles.radioButton,
13414
13526
  selectedOption === item.value && styles.radioButtonSelected
13415
13527
  ]
13416
- }
13528
+ },
13529
+ selectedOption === item.value && /* @__PURE__ */ React.createElement(View, { style: styles.radioButtonInnerDot })
13417
13530
  ),
13418
13531
  /* @__PURE__ */ React.createElement(
13419
13532
  CustomTypography,
13420
13533
  {
13421
- variant: FontStyle.L1_REGULAR,
13534
+ variant: resolvedFontVariant,
13422
13535
  text: item.label,
13423
13536
  style: [styles.label, labelStyle]
13424
13537
  }
13425
13538
  )
13426
13539
  )));
13427
13540
  };
13541
+ var index = withThemeProvider(RadioButtonGroup);
13428
13542
 
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 };
13543
+ 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, 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
13544
  //# sourceMappingURL=index.mjs.map