@carbon/charts-react 1.27.12 → 1.27.14

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.mjs CHANGED
@@ -22135,32 +22135,32 @@ const jn = /* @__PURE__ */ B3(V3), Wn = "cds", CU = ({ tag: e = "div", className
22135
22135
  });
22136
22136
  return At.createElement("div", { className: r, ...t }, e);
22137
22137
  }, RU = ({
22138
- color: e,
22139
- markerEnd: t,
22140
- markerStart: n,
22141
- path: r,
22142
- source: i,
22143
- target: s,
22144
- variant: a = null,
22145
- ...o
22138
+ className: e,
22139
+ color: t,
22140
+ markerEnd: n,
22141
+ markerStart: r,
22142
+ path: i,
22143
+ source: s,
22144
+ target: a,
22145
+ variant: o = null,
22146
+ ...l
22146
22147
  }) => {
22147
- const l = `${Wn}--cc--edge`, c = jn(l, {
22148
- [`${l}--${a}`]: a,
22149
- ...o.className ? { [o.className]: !0 } : {}
22148
+ const c = `${Wn}--cc--edge`, u = jn(c, e, {
22149
+ [`${c}--${o}`]: o
22150
22150
  });
22151
- let u = r;
22152
- if (!u && i && s && (u = Rk(i, s)), !u) throw Error("Missing parameters for Edge component: path or source and target.");
22151
+ let d = i;
22152
+ if (!d && s && a && (d = Rk(s, a)), !d) throw Error("Missing parameters for Edge component: path or source and target.");
22153
22153
  return At.createElement(
22154
22154
  "g",
22155
- { className: c, ...o },
22156
- At.createElement("path", { d: u, className: `${l}__container` }),
22157
- At.createElement("path", { d: u, className: `${l}__outer` }),
22155
+ { className: u, ...l },
22156
+ At.createElement("path", { d, className: `${c}__container` }),
22157
+ At.createElement("path", { d, className: `${c}__outer` }),
22158
22158
  At.createElement("path", {
22159
- d: u,
22160
- className: `${l}__inner`,
22161
- markerEnd: `url(#${t})`,
22162
- markerStart: `url(#${n})`,
22163
- style: { stroke: e }
22159
+ d,
22160
+ className: `${c}__inner`,
22161
+ markerEnd: `url(#${n})`,
22162
+ markerStart: `url(#${r})`,
22163
+ style: { stroke: t }
22164
22164
  })
22165
22165
  );
22166
22166
  }, mi = ({