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