@linzjs/lui 18.9.1 → 18.9.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
+ ## [18.9.2](https://github.com/linz/lui/compare/v18.9.1...v18.9.2) (2023-08-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Loading spinner css now in separate file and text colour change ([#992](https://github.com/linz/lui/issues/992)) ([9b40588](https://github.com/linz/lui/commit/9b4058810d06b220aa7be3d4d08c523fb9378e98))
7
+
1
8
  ## [18.9.1](https://github.com/linz/lui/compare/v18.9.0...v18.9.1) (2023-08-30)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -52929,33 +52929,16 @@ var renderSettings = {
52929
52929
  preserveAspectRatio: 'xMidYMid slice'
52930
52930
  };
52931
52931
  var LuiLoadingSpinnerBase = function (props) {
52932
- return (React__default["default"].createElement("div", { style: {
52933
- position: 'absolute',
52934
- top: '50%',
52935
- left: '50%',
52936
- zIndex: 1000,
52937
- marginLeft: '-74px',
52938
- marginTop: '-74px'
52939
- }, "data-testid": "loading-spinner" },
52932
+ return (React__default["default"].createElement("div", { className: "LuiLoadingSpinnerBase", "data-testid": "loading-spinner" },
52940
52933
  React__default["default"].createElement(LuiLottieLight, { animationData: props.animationData, loop: true, autoplay: autoplay, rendererSettings: renderSettings, style: style })));
52941
52934
  };
52942
52935
  /**
52943
52936
  * A LuiSpinner with a status message beneath it.
52944
52937
  */
52945
52938
  var LuiStatusSpinner = function (props) {
52946
- return (React__default["default"].createElement("div", { className: 'LuiStatusSpinner' },
52939
+ return (React__default["default"].createElement("div", { className: 'LuiLoadingSpinner-SupportText' },
52947
52940
  React__default["default"].createElement(LuiLoadingSpinner, null),
52948
- React__default["default"].createElement("div", { style: {
52949
- position: 'absolute',
52950
- top: '50%',
52951
- left: '50%',
52952
- marginLeft: '-150px',
52953
- marginTop: '74px'
52954
- } },
52955
- React__default["default"].createElement("div", { style: {
52956
- textAlign: 'center',
52957
- width: '300px'
52958
- } }, props.children))));
52941
+ React__default["default"].createElement("div", null, props.children)));
52959
52942
  };
52960
52943
  var LuiMiniSpinner = function (props) {
52961
52944
  return (React__default["default"].createElement("div", __assign({}, props.divProps),