@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/dist/index.cjs.js
CHANGED
|
@@ -51597,6 +51597,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51597
51597
|
*/
|
|
51598
51598
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
51599
51599
|
tabIndex: (_child$props$tabIndex = (_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.tabIndex) !== null && _child$props$tabIndex !== void 0 ? _child$props$tabIndex : 0,
|
|
51600
|
+
ariaDescribedby: tooltipID,
|
|
51600
51601
|
style: _objectSpread2({
|
|
51601
51602
|
cursor: "pointer"
|
|
51602
51603
|
}, (_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.style),
|
|
@@ -51627,7 +51628,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51627
51628
|
variant: triggerButtonVariant,
|
|
51628
51629
|
text: triggerText,
|
|
51629
51630
|
tabIndex: 0,
|
|
51630
|
-
|
|
51631
|
+
"aria-describedby": tooltipID,
|
|
51631
51632
|
onFocus: function onFocus() {
|
|
51632
51633
|
return handleToggleTooltip(true);
|
|
51633
51634
|
},
|