@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 +21 -21
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
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
|
-
|
|
22139
|
-
|
|
22140
|
-
|
|
22141
|
-
|
|
22142
|
-
|
|
22143
|
-
|
|
22144
|
-
|
|
22145
|
-
|
|
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
|
|
22148
|
-
[`${
|
|
22149
|
-
...o.className ? { [o.className]: !0 } : {}
|
|
22148
|
+
const c = `${Wn}--cc--edge`, u = jn(c, e, {
|
|
22149
|
+
[`${c}--${o}`]: o
|
|
22150
22150
|
});
|
|
22151
|
-
let
|
|
22152
|
-
if (!
|
|
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:
|
|
22156
|
-
At.createElement("path", { d
|
|
22157
|
-
At.createElement("path", { d
|
|
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
|
|
22160
|
-
className: `${
|
|
22161
|
-
markerEnd: `url(#${
|
|
22162
|
-
markerStart: `url(#${
|
|
22163
|
-
style: { stroke:
|
|
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 = ({
|