@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.esm.js
CHANGED
|
@@ -51589,6 +51589,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51589
51589
|
*/
|
|
51590
51590
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
51591
51591
|
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,
|
|
51592
|
+
ariaDescribedby: tooltipID,
|
|
51592
51593
|
style: _objectSpread2({
|
|
51593
51594
|
cursor: "pointer"
|
|
51594
51595
|
}, (_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.style),
|
|
@@ -51619,7 +51620,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
51619
51620
|
variant: triggerButtonVariant,
|
|
51620
51621
|
text: triggerText,
|
|
51621
51622
|
tabIndex: 0,
|
|
51622
|
-
|
|
51623
|
+
"aria-describedby": tooltipID,
|
|
51623
51624
|
onFocus: function onFocus() {
|
|
51624
51625
|
return handleToggleTooltip(true);
|
|
51625
51626
|
},
|