@local-civics/hub-ui 0.1.109 → 0.1.110
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3038,7 +3038,7 @@ const BadgeEmblem = (props) => {
|
|
|
3038
3038
|
}
|
|
3039
3039
|
})();
|
|
3040
3040
|
const hasIcon = !!props.icon || !!props.iconURL;
|
|
3041
|
-
return /* @__PURE__ */ React__namespace.createElement("div", { className: `relative
|
|
3041
|
+
return /* @__PURE__ */ React__namespace.createElement("div", { className: `relative overflow-hidden ${size[0]}` }, !hasIcon && /* @__PURE__ */ React__namespace.createElement("img", { className: "w-full h-full object-cover", alt: props.alt, src: props.imageURL }), hasIcon && /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(
|
|
3042
3042
|
"svg",
|
|
3043
3043
|
{
|
|
3044
3044
|
className: "h-full w-full drop-shadow-[inherit]",
|