@bigbinary/neetoui 5.1.11 → 5.1.13

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/layouts.js CHANGED
@@ -4329,7 +4329,11 @@ var Tooltip = function Tooltip(_ref) {
4329
4329
  role: "tooltip",
4330
4330
  theme: theme,
4331
4331
  zIndex: 100001,
4332
- onCreate: setInstance
4332
+ onCreate: function onCreate(instance) {
4333
+ var _instance$popper$firs;
4334
+ setInstance(instance);
4335
+ (_instance$popper$firs = instance.popper.firstElementChild) === null || _instance$popper$firs === void 0 ? void 0 : _instance$popper$firs.setAttribute("data-cy", "tooltip-box");
4336
+ }
4333
4337
  }, localProps, otherProps), /*#__PURE__*/React.isValidElement(children) ? children : /*#__PURE__*/React.createElement("span", null, children));
4334
4338
  };
4335
4339