@thecb/components 11.11.0-beta.9 → 11.11.0

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.9",
3
+ "version": "11.11.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -113,6 +113,7 @@ const Tooltip = ({
113
113
  */
114
114
  return React.cloneElement(child, {
115
115
  tabIndex: child.props?.tabIndex ?? 0,
116
+ ariaDescribedby: tooltipID,
116
117
  style: { cursor: `pointer`, ...child.props?.style },
117
118
  onFocus: e => {
118
119
  childOnFocus?.(e);
@@ -142,7 +143,7 @@ const Tooltip = ({
142
143
  variant={triggerButtonVariant}
143
144
  text={triggerText}
144
145
  tabIndex={0}
145
- ariaDescribedby={tooltipID}
146
+ aria-describedby={tooltipID}
146
147
  onFocus={() => handleToggleTooltip(true)}
147
148
  onBlur={() => handleToggleTooltip(false)}
148
149
  onTouchStart={() => handleToggleTooltip(true)}