@thecb/components 11.11.0-beta.2 → 11.11.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.11.0-beta.2",
3
+ "version": "11.11.0-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -86,7 +86,9 @@ const Tooltip = ({
86
86
  "aria-describedby": tooltipID,
87
87
  onFocus: () => handleToggleTooltip(true),
88
88
  onBlur: () => handleToggleTooltip(false),
89
- onKeyDown: handleKeyDown
89
+ onKeyDown: handleKeyDown,
90
+ tabIndex: "0",
91
+ style: { cursor: "pointer" }
90
92
  });
91
93
  }
92
94
 
@@ -101,6 +103,7 @@ const Tooltip = ({
101
103
  onTouchStart={() => handleToggleTooltip(true)}
102
104
  data-qa={`tooltip-trigger-${tooltipID}`}
103
105
  text={triggerText}
106
+ tabIndex="0"
104
107
  extraStyles={`
105
108
  color: ${themeValues.linkColor};
106
109
  &:hover { color: ${themeValues.hoverColor}; text-decoration: none;}