dhre-ui-kit 0.0.318 → 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 +2 -0
- package/lib/index.js +6 -22
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +6 -22
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -574,7 +574,9 @@ const DHRE_COLORS_TEXT = {
|
|
|
574
574
|
DH_TRANPARENT_WHITE: "#FFFFFF00",
|
|
575
575
|
DH_DARK_GRAY: "#212121",
|
|
576
576
|
DH_BLACK_2: "rgba(0, 0, 0, 0.7)",
|
|
577
|
-
DH_BLACK_0: "rgba(0, 0, 0, 0)"
|
|
577
|
+
DH_BLACK_0: "rgba(0, 0, 0, 0)",
|
|
578
|
+
DH_MEDIUM_GRAY: "#A6A6A680",
|
|
579
|
+
DH_SOFT_GRAY: "#EEEEEE80"
|
|
578
580
|
};
|
|
579
581
|
|
|
580
582
|
const styles$A = StyleSheet.create({
|
|
@@ -1307,27 +1309,9 @@ const CustomTextInput = ({
|
|
|
1307
1309
|
));
|
|
1308
1310
|
};
|
|
1309
1311
|
|
|
1310
|
-
const CustomTooltip = ({
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
content,
|
|
1314
|
-
placement = "bottom",
|
|
1315
|
-
displayInsets = { top: 0, bottom: 20, left: 20, right: 0 },
|
|
1316
|
-
backgroundColor,
|
|
1317
|
-
triggerElement
|
|
1318
|
-
}) => {
|
|
1319
|
-
return /* @__PURE__ */ React.createElement(
|
|
1320
|
-
Tooltip,
|
|
1321
|
-
{
|
|
1322
|
-
isVisible,
|
|
1323
|
-
content,
|
|
1324
|
-
placement,
|
|
1325
|
-
onClose,
|
|
1326
|
-
displayInsets,
|
|
1327
|
-
backgroundColor
|
|
1328
|
-
},
|
|
1329
|
-
triggerElement
|
|
1330
|
-
);
|
|
1312
|
+
const CustomTooltip = (props) => {
|
|
1313
|
+
const { triggerElement } = props;
|
|
1314
|
+
return /* @__PURE__ */ React.createElement(Tooltip, { ...props }, triggerElement);
|
|
1331
1315
|
};
|
|
1332
1316
|
|
|
1333
1317
|
const styles$t = StyleSheet.create({
|