@linzjs/lui 17.39.1 → 17.40.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [17.40.0](https://github.com/linz/lui/compare/v17.39.2...v17.40.0) (2023-03-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * expose allowHTML and interactive tippy properties ([#876](https://github.com/linz/lui/issues/876)) ([a1d86c3](https://github.com/linz/lui/commit/a1d86c35f6fd4648045700f15f50b827699dc23b))
7
+
8
+ ## [17.39.2](https://github.com/linz/lui/compare/v17.39.1...v17.39.2) (2023-03-07)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Luishadow sorting ([#877](https://github.com/linz/lui/issues/877)) ([e39a29d](https://github.com/linz/lui/commit/e39a29dd49196ddd7ea2a17a37f23bfb8f200cab))
14
+
1
15
  ## [17.39.1](https://github.com/linz/lui/compare/v17.39.0...v17.39.1) (2023-03-07)
2
16
 
3
17
 
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const LuiShadow: (props: {
3
3
  children: React.ReactNode;
4
+ dropSize?: 'sm' | 'md' | 'lg';
4
5
  className?: string;
5
6
  }) => JSX.Element;
@@ -10,5 +10,7 @@ export interface ILuiTooltipProperties {
10
10
  animation?: boolean;
11
11
  followCursor?: boolean;
12
12
  mode?: 'default' | 'info' | 'error';
13
+ interactive?: boolean;
14
+ allowHTML?: boolean;
13
15
  }
14
16
  export declare const LuiTooltip: (props: ILuiTooltipProperties) => JSX.Element;
package/dist/index.js CHANGED
@@ -40145,7 +40145,7 @@ function LuiComboSelectActual(givenProps, ref) {
40145
40145
  }
40146
40146
 
40147
40147
  var LuiShadow = function (props) {
40148
- return (React__default["default"].createElement("div", { className: clsx$1('LuiShadow', props.className) }, props.children));
40148
+ return (React__default["default"].createElement("div", { className: clsx$1('LuiShadow', props.className, props.dropSize ? "LuiShadow--".concat(props.dropSize) : null) }, props.children));
40149
40149
  };
40150
40150
 
40151
40151
  var HelpInfo = function (props) { return (React__default["default"].createElement("div", { className: clsx$1('lui-small', 'HelpInfo') },
@@ -47260,7 +47260,7 @@ styleInject(css_248z$4);
47260
47260
  var id = 0;
47261
47261
  var getKey = function () { return id++; };
47262
47262
  var LuiTooltip = function (props) {
47263
- 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;
47263
+ 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;
47264
47264
  var id = "LuiToolTip_".concat(React$1.useMemo(getKey, []));
47265
47265
  if (typeof message !== 'string') {
47266
47266
  throw new Error('LuiTooltip message must be a string!');
@@ -47275,6 +47275,8 @@ var LuiTooltip = function (props) {
47275
47275
  offset: [0, 18],
47276
47276
  animation: animation,
47277
47277
  followCursor: followCursor$1,
47278
+ interactive: interactive,
47279
+ allowHTML: allowHTML,
47278
47280
  plugins: [followCursor]
47279
47281
  });
47280
47282
  return function () {