@eqtylab/equality 1.7.2 → 1.7.3

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.cts CHANGED
@@ -473,7 +473,7 @@ type Variant = 'default' | 'primary' | 'danger' | 'success' | 'warning';
473
473
  interface MetricCardProps extends VariantProps<typeof metricCardElevationVariants> {
474
474
  value: string | number;
475
475
  label: string;
476
- icon: React.ReactElement | string;
476
+ icon?: React.ReactElement | string;
477
477
  variant?: Variant;
478
478
  className?: string;
479
479
  }
package/dist/index.d.ts CHANGED
@@ -473,7 +473,7 @@ type Variant = 'default' | 'primary' | 'danger' | 'success' | 'warning';
473
473
  interface MetricCardProps extends VariantProps<typeof metricCardElevationVariants> {
474
474
  value: string | number;
475
475
  label: string;
476
- icon: React.ReactElement | string;
476
+ icon?: React.ReactElement | string;
477
477
  variant?: Variant;
478
478
  className?: string;
479
479
  }
package/dist/index.js CHANGED
@@ -2042,7 +2042,7 @@ var MetricCard = ({
2042
2042
  return /* @__PURE__ */ jsxs("div", { className: cn(metricCardElevationVariants({ elevation }), className), children: [
2043
2043
  /* @__PURE__ */ jsxs("div", { className: styles31["value-container"], children: [
2044
2044
  /* @__PURE__ */ jsx("p", { className: cn(styles31.value), children: value }),
2045
- /* @__PURE__ */ jsx(
2045
+ icon && /* @__PURE__ */ jsx(
2046
2046
  Icon,
2047
2047
  {
2048
2048
  icon,