@kashifd/jwero-components 0.8.0 → 0.8.1

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.es.js CHANGED
@@ -46457,9 +46457,10 @@ const Na = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ v.jsxs(
46457
46457
  enterDelay: s = 400,
46458
46458
  enterNextDelay: c = 200,
46459
46459
  sx: u,
46460
- childrenSx: g
46460
+ childrenSx: g,
46461
+ tooltipProps: m
46461
46462
  }) => {
46462
- const m = Ot(), b = a === "primary" ? m.colors.secondary : a === "secondary" ? "#ffffff" : m.colors.positive, w = a === "primary" ? "#ffffff" : a === "secondary" ? "black" : m.colors.positive;
46463
+ const b = Ot(), w = a === "primary" ? b.colors.secondary : a === "secondary" ? "#ffffff" : b.colors.positive, T = a === "primary" ? "#ffffff" : a === "secondary" ? "black" : b.colors.positive;
46463
46464
  return /* @__PURE__ */ v.jsx(
46464
46465
  iv,
46465
46466
  {
@@ -46473,8 +46474,8 @@ const Na = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ v.jsxs(
46473
46474
  sx: {
46474
46475
  fontSize: "0.875rem",
46475
46476
  fontWeight: 500,
46476
- backgroundColor: b,
46477
- color: w,
46477
+ backgroundColor: w,
46478
+ color: T,
46478
46479
  padding: "0.75rem",
46479
46480
  borderRadius: "0.5rem",
46480
46481
  boxShadow: a === "secondary" ? "0px 8px 16px -2px rgba(27, 33, 44, 0.12)" : null,
@@ -46483,10 +46484,11 @@ const Na = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ v.jsxs(
46483
46484
  },
46484
46485
  arrow: {
46485
46486
  sx: {
46486
- color: b
46487
+ color: w
46487
46488
  }
46488
46489
  }
46489
46490
  },
46491
+ ...m,
46490
46492
  children: /* @__PURE__ */ v.jsx(Le, { sx: { ...g || {} }, children: e })
46491
46493
  }
46492
46494
  );