@linzjs/lui 11.10.1 → 11.10.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [11.10.2](https://github.com/linz/lui/compare/v11.10.1...v11.10.2) (2022-01-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Allow LuiTooltip animation to be disabled. ([#512](https://github.com/linz/lui/issues/512)) ([686b752](https://github.com/linz/lui/commit/686b75217f883c3ab5d288273e51e3e741d06ee5))
7
+
1
8
  ## [11.10.1](https://github.com/linz/lui/compare/v11.10.0...v11.10.1) (2022-01-11)
2
9
 
3
10
 
@@ -7,5 +7,6 @@ export interface ILuiTooltipProperties {
7
7
  placement?: Placement;
8
8
  trigger?: string;
9
9
  children: ReactNode;
10
+ animation?: boolean;
10
11
  }
11
12
  export declare const LuiTooltip: (props: ILuiTooltipProperties) => JSX.Element;
@@ -20336,7 +20336,9 @@ var LuiTooltip = function LuiTooltip(props) {
20336
20336
  var children = props.children,
20337
20337
  message = props.message,
20338
20338
  placement = props.placement,
20339
- trigger = props.trigger;
20339
+ trigger = props.trigger,
20340
+ _props$animation = props.animation,
20341
+ animation = _props$animation === void 0 ? true : _props$animation;
20340
20342
  var id = "LuiToolTip_" + React.useMemo(getKey, []);
20341
20343
 
20342
20344
  if (typeof message !== 'string') {
@@ -20350,7 +20352,8 @@ var LuiTooltip = function LuiTooltip(props) {
20350
20352
  trigger: trigger,
20351
20353
  theme: 'LUI',
20352
20354
  placement: placement,
20353
- offset: [0, 24]
20355
+ offset: [0, 24],
20356
+ animation: animation
20354
20357
  });
20355
20358
  return function () {
20356
20359
  var _document$getElementB, _document$getElementB2;