@linzjs/lui 13.0.1 → 13.0.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
+ ## [13.0.2](https://github.com/linz/lui/compare/v13.0.1...v13.0.2) (2022-01-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * We now pass consts into LuiLottieLight, Used to pass new object, which caused useEffect to trigger distroy ([#541](https://github.com/linz/lui/issues/541)) ([7db8b0e](https://github.com/linz/lui/commit/7db8b0e903bafe3fb26da2b849f5696a44ecf638))
7
+
1
8
  ## [13.0.1](https://github.com/linz/lui/compare/v13.0.0...v13.0.1) (2022-01-31)
2
9
 
3
10
 
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  };
7
7
  export default _default;
8
8
  export declare const LoadingSpinner: () => JSX.Element;
9
+ export declare const LoadingSpinnerReRender: () => JSX.Element;
9
10
  export declare const MiniSpinner: () => JSX.Element;
10
11
  export declare const StatusSpinner: () => JSX.Element;
11
12
  export declare const StatusSpinnerLongContent: () => JSX.Element;
@@ -18007,6 +18007,13 @@ var LuiLottieLight = function LuiLottieLight(_ref) {
18007
18007
  };
18008
18008
 
18009
18009
  var autoplay = ! /*#__PURE__*/isChromatic();
18010
+ var style = {
18011
+ height: 148,
18012
+ width: 148
18013
+ };
18014
+ var renderSettings = {
18015
+ preserveAspectRatio: 'xMidYMid slice'
18016
+ };
18010
18017
 
18011
18018
  var LuiLoadingSpinnerBase = function LuiLoadingSpinnerBase(props) {
18012
18019
  return React__default.createElement("div", {
@@ -18023,13 +18030,8 @@ var LuiLoadingSpinnerBase = function LuiLoadingSpinnerBase(props) {
18023
18030
  animationData: props.animationData,
18024
18031
  loop: true,
18025
18032
  autoplay: autoplay,
18026
- rendererSettings: {
18027
- preserveAspectRatio: 'xMidYMid slice'
18028
- },
18029
- style: {
18030
- height: 148,
18031
- width: 148
18032
- }
18033
+ rendererSettings: renderSettings,
18034
+ style: style
18033
18035
  }));
18034
18036
  };
18035
18037
  /**