sag_components 1.0.921 → 1.0.922

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.
@@ -25,7 +25,7 @@ const HaiTooltip = _ref => {
25
25
  if (tooltipRef.current) {
26
26
  const tooltipRect = tooltipRef.current.getBoundingClientRect();
27
27
  const top = rect.top - tooltipRect.height - 10;
28
- let left = rect.left + rect.width / 2 - tooltipRect.width / 2 + 65;
28
+ let left = rect.left + rect.width / 2 - tooltipRect.width / 2 + 67;
29
29
  if (left < 0) {
30
30
  left = 10;
31
31
  }
@@ -9,4 +9,4 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _templateObject, _templateObject2;
11
11
  const TooltipWrapper = exports.TooltipWrapper = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n cursor: pointer;\n position: relative;\n"])));
12
- const TooltipText = exports.TooltipText = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n background-color: white;\n font-family: 'Poppins';\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n color: black;\n padding: 5px;\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);\n border-radius: 4px;\n white-space: normal;\n word-wrap: break-word;\n max-width: 200px;\n z-index: 9999;\n transform: translateX(-50%);\n visibility: visible;\n opacity: 1;\n transition: opacity 0.3s ease;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: green transparent transparent transparent;\n }\n"])));
12
+ const TooltipText = exports.TooltipText = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n background-color: white;\n font-family: 'Poppins';\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n color: black;\n padding: 5px;\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);\n border-radius: 4px;\n white-space: normal;\n word-wrap: break-word;\n max-width: 200px;\n z-index: 9999;\n transform: translateX(-50%);\n visibility: visible;\n opacity: 1;\n transition: opacity 0.3s ease;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: white;\n }\n"])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.921",
3
+ "version": "1.0.922",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {