@linzjs/lui 18.9.0 → 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,17 @@
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
+
8
+ ## [18.9.1](https://github.com/linz/lui/compare/v18.9.0...v18.9.1) (2023-08-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * strange viewBox property restored ([#991](https://github.com/linz/lui/issues/991)) ([a015483](https://github.com/linz/lui/commit/a0154833ef663a8db7c3f203d291bdf21082cf06))
14
+
1
15
  # [18.9.0](https://github.com/linz/lui/compare/v18.8.0...v18.9.0) (2023-08-28)
2
16
 
3
17
 
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11"><path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z"/></svg>
@@ -1365,7 +1365,7 @@ iconMap['ic_tax_statement'] = (
1365
1365
  );
1366
1366
 
1367
1367
  iconMap['ic_tick'] = (
1368
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1368
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11">
1369
1369
  <path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z" />
1370
1370
  </svg>
1371
1371
  );
package/dist/index.js CHANGED
@@ -573,7 +573,7 @@ iconMap['ic_table_columns'] = (React__default["default"].createElement("svg", {
573
573
  React__default["default"].createElement("path", { d: "M10 18h5V5h-5v13Zm-6 0h5V5H4v13ZM16 5v13h5V5h-5Z" })));
574
574
  iconMap['ic_tax_statement'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
575
575
  React__default["default"].createElement("path", { d: "M14.667 2.5h-10c-1.1 0-1.99.9-1.99 2l-.01 16c0 1.1.89 2 1.99 2h14.01c1.1 0 2-.9 2-2v-12l-6-6ZM8.928 15.625h-1.32v4.224H6.145v-4.224H4.82v-1.197h4.108v1.197Zm4.435 4.224h-1.005l-.278-.557h-.03c-.195.243-.394.409-.597.497-.202.09-.464.134-.786.134-.395 0-.707-.119-.934-.356-.227-.238-.341-.57-.341-1.001 0-.447.156-.78.467-1 .312-.218.762-.341 1.353-.368l.701-.023v-.058c0-.347-.17-.52-.511-.52-.307 0-.696.104-1.168.312l-.42-.957c.49-.252 1.108-.378 1.854-.378.54 0 .956.133 1.252.4.295.268.443.64.443 1.12v2.755Zm3.585 0-.708-1.276-.704 1.276h-1.65l1.353-2.144-1.283-2.057h1.647l.637 1.18.653-1.18h1.65l-1.316 2.057 1.368 2.144h-1.647Zm1.719-7.349h-14v-8h9v5h5v3Zm-7.08 5.488.334-.015v.326a.554.554 0 0 1-.188.434.653.653 0 0 1-.45.167c-.274 0-.412-.13-.412-.386 0-.334.239-.509.716-.526Z" })));
576
- iconMap['ic_tick'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
576
+ iconMap['ic_tick'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 11" },
577
577
  React__default["default"].createElement("path", { d: "M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z" })));
578
578
  iconMap['ic_tick_and_cross'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
579
579
  React__default["default"].createElement("path", { d: "M16.54 11 13 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L16.54 11ZM11 7H2v2h9V7Zm10 6.41L19.59 12 17 14.59 14.41 12 13 13.41 15.59 16 13 18.59 14.41 20 17 17.41 19.59 20 21 18.59 18.41 16 21 13.41ZM11 15H2v2h9v-2Z" })));
@@ -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),