@linzjs/lui 21.9.0 → 21.9.2

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/lui.esm.js CHANGED
@@ -46686,8 +46686,8 @@ var Tippy = index;
46686
46686
 
46687
46687
  var LuiTooltip = function (props) {
46688
46688
  var _a;
46689
- var children = props.children, _b = props.content, content = _b === void 0 ? props.message : _b, _c = props.theme, theme = _c === void 0 ? (_a = props.mode) !== null && _a !== void 0 ? _a : 'default' : _c, _d = props.offset, offset = _d === void 0 ? [0, 4] : _d, _e = props.arrow, arrow = _e === void 0 ? false : _e, plugins = props.plugins, rest = __rest(props, ["children", "content", "theme", "offset", "arrow", "plugins"]);
46690
- var tippyProps = __assign(__assign({}, rest), { content: content, theme: theme, offset: offset, arrow: arrow, plugins: __spreadArray(__spreadArray([], (plugins || []), true), [followCursor], false) });
46689
+ var children = props.children, message = props.message, _b = props.theme, theme = _b === void 0 ? (_a = props.mode) !== null && _a !== void 0 ? _a : 'default' : _b, _c = props.offset, offset = _c === void 0 ? [0, 4] : _c, _d = props.arrow, arrow = _d === void 0 ? false : _d, plugins = props.plugins, content = props.content, rest = __rest(props, ["children", "message", "theme", "offset", "arrow", "plugins", "content"]);
46690
+ var tippyProps = __assign(__assign({}, rest), { content: content || message, theme: theme, offset: offset, arrow: arrow, plugins: __spreadArray(__spreadArray([], (plugins || []), true), [followCursor], false) });
46691
46691
  return React__default.createElement(Tippy, __assign({}, tippyProps), children);
46692
46692
  };
46693
46693