@thecb/components 11.11.0-beta.2 → 11.11.0-beta.4
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 +6 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/tooltip/Tooltip.js +4 -1
- package/src/components/molecules/tooltip/Tooltip.stories.js +22 -5
- package/src/components/molecules/tooltip/index.d.ts +3 -1
package/dist/index.cjs.js
CHANGED
|
@@ -51556,7 +51556,11 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51556
51556
|
onBlur: function onBlur() {
|
|
51557
51557
|
return handleToggleTooltip(false);
|
|
51558
51558
|
},
|
|
51559
|
-
onKeyDown: handleKeyDown
|
|
51559
|
+
onKeyDown: handleKeyDown,
|
|
51560
|
+
tabIndex: "0",
|
|
51561
|
+
style: {
|
|
51562
|
+
cursor: "pointer"
|
|
51563
|
+
}
|
|
51560
51564
|
});
|
|
51561
51565
|
}
|
|
51562
51566
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -51575,6 +51579,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51575
51579
|
},
|
|
51576
51580
|
"data-qa": "tooltip-trigger-".concat(tooltipID),
|
|
51577
51581
|
text: triggerText,
|
|
51582
|
+
tabIndex: "0",
|
|
51578
51583
|
extraStyles: "\n color: ".concat(themeValues.linkColor, ";\n &:hover { color: ").concat(themeValues.hoverColor, "; text-decoration: none;}\n &:active, &:focus { color: ").concat(themeValues.activeColor, ";text-decoration: none;}\n button, span, &:hover span { text-decoration: none; }\n ")
|
|
51579
51584
|
});
|
|
51580
51585
|
};
|