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.d.ts CHANGED
@@ -1104,6 +1104,7 @@ declare const DHRE_COLORS_TEXT: {
1104
1104
  DH_TRANPARENT_WHITE: string;
1105
1105
  DH_DARK_GRAY: string;
1106
1106
  DH_BLACK_2: string;
1107
+ DH_BLACK_0: string;
1107
1108
  DH_MEDIUM_GRAY: string;
1108
1109
  DH_SOFT_GRAY: string;
1109
1110
  };
@@ -1147,6 +1148,8 @@ interface PropertyDetailsProps {
1147
1148
  btnIcon?: React.ReactElement;
1148
1149
  containerStyle?: ViewStyle;
1149
1150
  onRightIconPress: () => void;
1151
+ subTitleStye?: ViewStyle;
1152
+ propertyNumberStyle?: ViewStyle;
1150
1153
  }
1151
1154
 
1152
1155
  declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
package/lib/index.js CHANGED
@@ -610,7 +610,8 @@ const DHRE_COLORS_TEXT = {
610
610
  DH_BRIGHT_RED: "#D92D2733",
611
611
  DH_TRANPARENT_WHITE: "#FFFFFF00",
612
612
  DH_DARK_GRAY: "#212121",
613
- DH_BLACK_2: "#00000033",
613
+ DH_BLACK_2: "rgba(0, 0, 0, 0.7)",
614
+ DH_BLACK_0: "rgba(0, 0, 0, 0)",
614
615
  DH_MEDIUM_GRAY: "#A6A6A680",
615
616
  DH_SOFT_GRAY: "#EEEEEE80"
616
617
  };
@@ -1345,27 +1346,9 @@ const CustomTextInput = ({
1345
1346
  ));
1346
1347
  };
1347
1348
 
1348
- const CustomTooltip = ({
1349
- isVisible,
1350
- onClose,
1351
- content,
1352
- placement = "bottom",
1353
- displayInsets = { top: 0, bottom: 20, left: 20, right: 0 },
1354
- backgroundColor,
1355
- triggerElement
1356
- }) => {
1357
- return /* @__PURE__ */ React__default["default"].createElement(
1358
- Tooltip__default["default"],
1359
- {
1360
- isVisible,
1361
- content,
1362
- placement,
1363
- onClose,
1364
- displayInsets,
1365
- backgroundColor
1366
- },
1367
- triggerElement
1368
- );
1349
+ const CustomTooltip = (props) => {
1350
+ const { triggerElement } = props;
1351
+ return /* @__PURE__ */ React__default["default"].createElement(Tooltip__default["default"], { ...props }, triggerElement);
1369
1352
  };
1370
1353
 
1371
1354
  const styles$t = reactNative.StyleSheet.create({
@@ -4935,6 +4918,8 @@ const PropertyDetails = ({
4935
4918
  hintIcon,
4936
4919
  btnIcon,
4937
4920
  containerStyle,
4921
+ subTitleStye,
4922
+ propertyNumberStyle,
4938
4923
  onRightIconPress
4939
4924
  }) => {
4940
4925
  const { theme } = useTheme();
@@ -4964,9 +4949,9 @@ const PropertyDetails = ({
4964
4949
  {
4965
4950
  text: subTitle,
4966
4951
  variant: FontStyle.L1_REGULAR,
4967
- style: { color: theme.CONTENT_PRIMARY }
4952
+ style: [{ color: theme.CONTENT_PRIMARY }, subTitleStye]
4968
4953
  }
4969
- ), propertyNumber && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.propertyNumber }, /* @__PURE__ */ React__default["default"].createElement(
4954
+ ), propertyNumber && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$1.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React__default["default"].createElement(
4970
4955
  CustomTypography,
4971
4956
  {
4972
4957
  text: propertyNumber,