@linzjs/lui 17.47.2 → 17.48.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/lui.esm.js CHANGED
@@ -59775,9 +59775,6 @@ var getKey = function () { return id++; };
59775
59775
  var LuiTooltip = function (props) {
59776
59776
  var children = props.children, message = props.message, placement = props.placement, trigger = props.trigger, _a = props.animation, animation = _a === void 0 ? true : _a, _b = props.followCursor, followCursor$1 = _b === void 0 ? false : _b, _c = props.mode, mode = _c === void 0 ? 'default' : _c, _d = props.interactive, interactive = _d === void 0 ? false : _d, _e = props.allowHTML, allowHTML = _e === void 0 ? false : _e, _f = props.offset, offset = _f === void 0 ? [0, 18] : _f;
59777
59777
  var id = "LuiToolTip_".concat(useMemo(getKey, []));
59778
- if (typeof message !== 'string') {
59779
- throw new Error('LuiTooltip message must be a string!');
59780
- }
59781
59778
  useEffect(function () {
59782
59779
  tippy("#".concat(id), {
59783
59780
  content: message,