@eqtylab/equality 1.7.3 → 1.8.0

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 CHANGED
@@ -732,9 +732,26 @@ var BgGradient = ({
732
732
  }, [theme, placement, brandColors]);
733
733
  return /* @__PURE__ */ jsxRuntime.jsx("canvas", { ref: canvasRef, className: styles8__default.default["bg-gradient"] });
734
734
  };
735
- var ResourceBadge = ({ type, display = "both" }) => {
735
+ var ResourceBadge = ({
736
+ type,
737
+ display = "both",
738
+ closeable,
739
+ handleClosable,
740
+ children
741
+ }) => {
736
742
  const config = getTypeConfig(type);
737
- return /* @__PURE__ */ jsxRuntime.jsx(Badge, { icon: config.icon, display, className: config.className, variant: null, children: config.label });
743
+ return /* @__PURE__ */ jsxRuntime.jsx(
744
+ Badge,
745
+ {
746
+ icon: config.icon,
747
+ display,
748
+ className: config.className,
749
+ variant: null,
750
+ closeable,
751
+ handleClosable,
752
+ children: children ?? config.label
753
+ }
754
+ );
738
755
  };
739
756
  var getTypeConfig = (type) => {
740
757
  switch (type) {