@linzjs/lui 17.47.0 → 17.47.1

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
@@ -47258,7 +47258,7 @@ styleInject(css_248z$4);
47258
47258
  var id = 0;
47259
47259
  var getKey = function () { return id++; };
47260
47260
  var LuiTooltip = function (props) {
47261
- 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;
47261
+ 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;
47262
47262
  var id = "LuiToolTip_".concat(useMemo(getKey, []));
47263
47263
  if (typeof message !== 'string') {
47264
47264
  throw new Error('LuiTooltip message must be a string!');
@@ -47270,7 +47270,7 @@ var LuiTooltip = function (props) {
47270
47270
  trigger: trigger,
47271
47271
  theme: mode,
47272
47272
  placement: placement,
47273
- offset: [0, 18],
47273
+ offset: offset,
47274
47274
  animation: animation,
47275
47275
  followCursor: followCursor$1,
47276
47276
  interactive: interactive,