@local-civics/hub-ui 0.1.62 → 0.1.64

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.d.ts CHANGED
@@ -176,6 +176,7 @@ type CriterionProps$1 = {
176
176
  */
177
177
  type BadgeCardProps = {
178
178
  icon?: IconName$1;
179
+ iconURL?: string;
179
180
  isLoading?: boolean;
180
181
  displayName?: string;
181
182
  imageURL?: string;
package/dist/index.js CHANGED
@@ -3070,7 +3070,7 @@ const BadgeEmblem = (props) => {
3070
3070
  strokeWidth: "44"
3071
3071
  }
3072
3072
  )
3073
- ), /* @__PURE__ */ React__namespace.createElement("div", { className: `absolute overflow-hidden left-0 right-0 top-0 bottom-0 m-auto text-dark-blue-400 ${size[1]}` }, !props.iconURL && !!props.icon && /* @__PURE__ */ React__namespace.createElement(Icon, { name: props.icon }), props.iconURL && /* @__PURE__ */ React__namespace.createElement("svg", { className: "w-full h-full drop-shadow-[inherit]", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React__namespace.createElement("svg", { "data-cache": "disabled", "data-src": props.iconURL, width: "32", height: "32" })))));
3073
+ ), /* @__PURE__ */ React__namespace.createElement("div", { className: `absolute overflow-hidden left-0 right-0 top-0 bottom-0 m-auto text-dark-blue-400 ${size[1]}` }, !props.iconURL && !!props.icon && /* @__PURE__ */ React__namespace.createElement(Icon, { name: props.icon }), props.iconURL && /* @__PURE__ */ React__namespace.createElement("svg", { "data-cache": "disabled", "data-src": props.iconURL, className: "w-full h-full drop-shadow-[inherit]", viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }))));
3074
3074
  };
3075
3075
 
3076
3076
  const ordNumber$1 = (n) => {
@@ -3141,6 +3141,7 @@ const BadgeCard = (props) => {
3141
3141
  {
3142
3142
  icon: props.icon,
3143
3143
  imageURL: props.imageURL,
3144
+ iconURL: props.iconURL,
3144
3145
  alt: props.displayName,
3145
3146
  level: props.level,
3146
3147
  size: "sm"