dhre-ui-kit 0.0.319 → 0.0.321

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
@@ -573,7 +573,8 @@ const DHRE_COLORS_TEXT = {
573
573
  DH_BRIGHT_RED: "#D92D2733",
574
574
  DH_TRANPARENT_WHITE: "#FFFFFF00",
575
575
  DH_DARK_GRAY: "#212121",
576
- DH_BLACK_2: "#00000033",
576
+ DH_BLACK_2: "rgba(0, 0, 0, 0.7)",
577
+ DH_BLACK_0: "rgba(0, 0, 0, 0)",
577
578
  DH_MEDIUM_GRAY: "#A6A6A680",
578
579
  DH_SOFT_GRAY: "#EEEEEE80"
579
580
  };
@@ -1308,27 +1309,9 @@ const CustomTextInput = ({
1308
1309
  ));
1309
1310
  };
1310
1311
 
1311
- const CustomTooltip = ({
1312
- isVisible,
1313
- onClose,
1314
- content,
1315
- placement = "bottom",
1316
- displayInsets = { top: 0, bottom: 20, left: 20, right: 0 },
1317
- backgroundColor,
1318
- triggerElement
1319
- }) => {
1320
- return /* @__PURE__ */ React.createElement(
1321
- Tooltip,
1322
- {
1323
- isVisible,
1324
- content,
1325
- placement,
1326
- onClose,
1327
- displayInsets,
1328
- backgroundColor
1329
- },
1330
- triggerElement
1331
- );
1312
+ const CustomTooltip = (props) => {
1313
+ const { triggerElement } = props;
1314
+ return /* @__PURE__ */ React.createElement(Tooltip, { ...props }, triggerElement);
1332
1315
  };
1333
1316
 
1334
1317
  const styles$t = StyleSheet.create({
@@ -4898,6 +4881,8 @@ const PropertyDetails = ({
4898
4881
  hintIcon,
4899
4882
  btnIcon,
4900
4883
  containerStyle,
4884
+ subTitleStye,
4885
+ propertyNumberStyle,
4901
4886
  onRightIconPress
4902
4887
  }) => {
4903
4888
  const { theme } = useTheme();
@@ -4927,9 +4912,9 @@ const PropertyDetails = ({
4927
4912
  {
4928
4913
  text: subTitle,
4929
4914
  variant: FontStyle.L1_REGULAR,
4930
- style: { color: theme.CONTENT_PRIMARY }
4915
+ style: [{ color: theme.CONTENT_PRIMARY }, subTitleStye]
4931
4916
  }
4932
- ), propertyNumber && /* @__PURE__ */ React.createElement(View, { style: styles$1.propertyNumber }, /* @__PURE__ */ React.createElement(
4917
+ ), propertyNumber && /* @__PURE__ */ React.createElement(View, { style: [styles$1.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React.createElement(
4933
4918
  CustomTypography,
4934
4919
  {
4935
4920
  text: propertyNumber,