@thecb/components 11.10.1-beta.1 → 11.10.1-beta.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/dist/index.cjs.js CHANGED
@@ -51499,7 +51499,8 @@ var Tooltip = function Tooltip(_ref) {
51499
51499
  arrowRight: "10px",
51500
51500
  arrowBottom: "-8px",
51501
51501
  arrowLeft: "auto"
51502
- } : _ref$arrowPosition;
51502
+ } : _ref$arrowPosition,
51503
+ arrowColor = _ref.arrowColor;
51503
51504
  var closeTimeoutRef = React.useRef(null);
51504
51505
  var _useState = React.useState(false),
51505
51506
  _useState2 = _slicedToArray(_useState, 2),
@@ -51598,7 +51599,7 @@ var Tooltip = function Tooltip(_ref) {
51598
51599
  color: themeValues.linkColor
51599
51600
  }, content) : content, /*#__PURE__*/React__default.createElement(Box, {
51600
51601
  padding: "0",
51601
- extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(themeValues.borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
51602
+ extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(arrowColor || themeValues.borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
51602
51603
  })));
51603
51604
  };
51604
51605