@linzjs/lui 17.36.10 → 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 +7 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +2 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
## [17.36.10](https://github.com/linz/lui/compare/v17.36.9...v17.36.10) (2023-03-02)
|
|
2
9
|
|
|
3
10
|
|
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
|
|
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
|
|