@linzjs/lui 17.36.9 → 17.36.11

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
+ ## [17.36.11](https://github.com/linz/lui/compare/v17.36.10...v17.36.11) (2023-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * passing prop styles through to icon span ([#870](https://github.com/linz/lui/issues/870)) ([8b873fe](https://github.com/linz/lui/commit/8b873feeee2b6f8b25feacb425a9f70ea6531936))
7
+
8
+ ## [17.36.10](https://github.com/linz/lui/compare/v17.36.9...v17.36.10) (2023-03-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add common styles to helpers.scss ([#869](https://github.com/linz/lui/issues/869)) ([b29fcb5](https://github.com/linz/lui/commit/b29fcb5cd32400caf24ff9e020302280de692f2a))
14
+
1
15
  ## [17.36.9](https://github.com/linz/lui/compare/v17.36.8...v17.36.9) (2023-03-02)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -557,7 +557,8 @@ var LuiIcon = function (_a) {
557
557
  console.warn("<LuiIcon>: No icon found for: ".concat(iconSVG));
558
558
  return null;
559
559
  }
560
- var customStyle = color ? { fill: color } : {};
560
+ var customStyle = color
561
+ ? __assign$3(__assign$3({}, spanProps === null || spanProps === void 0 ? void 0 : spanProps.style), { fill: color }) : spanProps === null || spanProps === void 0 ? void 0 : spanProps.style;
561
562
  return (React__namespace.createElement("span", __assign$3({ className: clsx$1('LuiIcon', className, size && ICON_SIZES[size], status && ICON_STATUS[status]), "data-icon": name, title: title, "aria-label": alt }, spanProps, { style: customStyle }), iconSVG));
562
563
  };
563
564