@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.esm.js CHANGED
@@ -51491,7 +51491,8 @@ var Tooltip = function Tooltip(_ref) {
51491
51491
  arrowRight: "10px",
51492
51492
  arrowBottom: "-8px",
51493
51493
  arrowLeft: "auto"
51494
- } : _ref$arrowPosition;
51494
+ } : _ref$arrowPosition,
51495
+ arrowColor = _ref.arrowColor;
51495
51496
  var closeTimeoutRef = useRef(null);
51496
51497
  var _useState = useState(false),
51497
51498
  _useState2 = _slicedToArray(_useState, 2),
@@ -51590,7 +51591,7 @@ var Tooltip = function Tooltip(_ref) {
51590
51591
  color: themeValues.linkColor
51591
51592
  }, content) : content, /*#__PURE__*/React__default.createElement(Box, {
51592
51593
  padding: "0",
51593
- 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 ")
51594
+ 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 ")
51594
51595
  })));
51595
51596
  };
51596
51597