dhre-ui-kit 0.0.319 → 0.0.320
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 +1 -0
- package/lib/index.js +5 -22
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -22
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
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: "
|
|
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
|
-
|
|
1313
|
-
|
|
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({
|