@symbo.ls/uikit 2.10.274 → 2.10.277
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/dist/index.cjs.js +2 -3
- package/dist/index.cjs.js.map +2 -2
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -6092,7 +6092,6 @@ var Icon = {
|
|
|
6092
6092
|
else {
|
|
6093
6093
|
if (verbose)
|
|
6094
6094
|
console.warn("Can't find icon:", iconName, validIconName);
|
|
6095
|
-
validIconName = "noIcon";
|
|
6096
6095
|
}
|
|
6097
6096
|
const iconFromLibrary = ICONS[validIconName];
|
|
6098
6097
|
const directSrc = parent.props.src || props3.src;
|
|
@@ -6100,8 +6099,8 @@ var Icon = {
|
|
|
6100
6099
|
width: "A",
|
|
6101
6100
|
height: "A",
|
|
6102
6101
|
display: "inline-block",
|
|
6103
|
-
spriteId: useIconSprite &&
|
|
6104
|
-
src: directSrc ||
|
|
6102
|
+
spriteId: useIconSprite && validIconName,
|
|
6103
|
+
src: iconFromLibrary || directSrc || ICONS.noIcon,
|
|
6105
6104
|
style: { fill: "currentColor" }
|
|
6106
6105
|
};
|
|
6107
6106
|
},
|