@cardenelabs/cdl 0.31.0 → 0.31.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/CHANGELOG.md +16 -1
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +14 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +14 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/kinds/chart-line.tsx +11 -0
package/dist/react.js
CHANGED
|
@@ -9974,6 +9974,20 @@ function ChartLineNode({
|
|
|
9974
9974
|
}
|
|
9975
9975
|
const gridTicks = scale.ticks.map((value) => ({ y: yAt(value), value }));
|
|
9976
9976
|
return /* @__PURE__ */ jsxs("g", { transform: `translate(${x0} ${y0})`, children: [
|
|
9977
|
+
/* @__PURE__ */ jsx(
|
|
9978
|
+
"rect",
|
|
9979
|
+
{
|
|
9980
|
+
"data-cdl-role": "node-body",
|
|
9981
|
+
x: 0,
|
|
9982
|
+
y: 0,
|
|
9983
|
+
width: node.w,
|
|
9984
|
+
height: node.h,
|
|
9985
|
+
rx: 16,
|
|
9986
|
+
fill: "var(--cdl-node-fill, #ffffff)",
|
|
9987
|
+
stroke: "var(--cdl-divider, #d4d4d8)",
|
|
9988
|
+
strokeWidth: active ? 1.5 : 1
|
|
9989
|
+
}
|
|
9990
|
+
),
|
|
9977
9991
|
gridTicks.map((t, i) => /* @__PURE__ */ jsxs("g", { children: [
|
|
9978
9992
|
/* @__PURE__ */ jsx(
|
|
9979
9993
|
"line",
|