@linzjs/lui 24.19.0 → 24.20.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
@@ -5,6 +5,13 @@
5
5
 
6
6
  * **LuiComboSelect:** restore interface to support styling of the input element. ([#1270](https://github.com/linz/lui/issues/1270)) ([7ce6a13](https://github.com/linz/lui/commit/7ce6a137c7f16ffa3acbe4357569a6eb59ef47db))
7
7
 
8
+ ## [24.20.0](https://github.com/linz/Lui/compare/lui-v24.19.0...lui-v24.20.0) (2026-08-05)
9
+
10
+
11
+ ### Features
12
+
13
+ * SRVTRI-5011 add class to lui mini spinner also hide icons warnings ([#1391](https://github.com/linz/Lui/issues/1391)) ([dfe0ac4](https://github.com/linz/Lui/commit/dfe0ac4f23d2b1b7600085a3cca3847679056114))
14
+
8
15
  ## [24.19.0](https://github.com/linz/Lui/compare/lui-v24.18.0...lui-v24.19.0) (2026-07-22)
9
16
 
10
17
 
package/dist/index.js CHANGED
@@ -947,7 +947,9 @@ var LuiIcon = React.forwardRef(function (props, ref) {
947
947
  var name = props.name, className = props.className, _a = props.size, size = _a === void 0 ? 'ns' : _a, title = props.title, alt = props.alt, _b = props.status, status = _b === void 0 ? 'none' : _b, spanProps = props.spanProps, color = props.color;
948
948
  var iconSVG = ICONS[name];
949
949
  if (!iconSVG) {
950
- console.warn("<LuiIcon>: No icon found for: ".concat(iconSVG));
950
+ if (name) {
951
+ console.warn("<LuiIcon>: No icon found for: ".concat(name));
952
+ }
951
953
  return null;
952
954
  }
953
955
  var customStyle = color
@@ -7080,7 +7082,7 @@ var LuiLoadingSpinnerBase = function (props) {
7080
7082
  if (props.dataTestId) {
7081
7083
  testId += "-".concat(props.dataTestId);
7082
7084
  }
7083
- return (React__default["default"].createElement("div", { className: "LuiLoadingSpinnerBase", "data-testid": testId },
7085
+ return (React__default["default"].createElement("div", { className: "LuiLoadingSpinnerBase", role: 'status', "data-testid": testId },
7084
7086
  React__default["default"].createElement(LuiLottieLight, { animationData: props.animationData, loop: true, autoplay: autoplay, rendererSettings: renderSettings, style: style })));
7085
7087
  };
7086
7088
  /**
@@ -7096,7 +7098,7 @@ var SPINNER_RENDERER_SETTINGS = {
7096
7098
  preserveAspectRatio: 'xMidYMid slice'
7097
7099
  };
7098
7100
  var LuiMiniSpinner = React__default["default"].memo(function (props) {
7099
- return (React__default["default"].createElement("div", __assign({}, props.divProps),
7101
+ return (React__default["default"].createElement("div", __assign({ className: 'LuiMiniSpinner', role: 'status' }, props.divProps),
7100
7102
  React__default["default"].createElement(LuiLottieLight, { animationData: props.highContrast ? highContrastSmallLoaderData : smlLoaderData, loop: true, autoplay: autoplay, rendererSettings: SPINNER_RENDERER_SETTINGS, style: { height: props.size, width: props.size } })));
7101
7103
  });
7102
7104
  var LuiLoadingSpinner = function (props) {