@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/index.js
CHANGED
|
@@ -22470,6 +22470,20 @@ function ChartLineNode({
|
|
|
22470
22470
|
}
|
|
22471
22471
|
const gridTicks = scale.ticks.map((value) => ({ y: yAt(value), value }));
|
|
22472
22472
|
return /* @__PURE__ */ jsxs("g", { transform: `translate(${x0} ${y0})`, children: [
|
|
22473
|
+
/* @__PURE__ */ jsx(
|
|
22474
|
+
"rect",
|
|
22475
|
+
{
|
|
22476
|
+
"data-cdl-role": "node-body",
|
|
22477
|
+
x: 0,
|
|
22478
|
+
y: 0,
|
|
22479
|
+
width: node.w,
|
|
22480
|
+
height: node.h,
|
|
22481
|
+
rx: 16,
|
|
22482
|
+
fill: "var(--cdl-node-fill, #ffffff)",
|
|
22483
|
+
stroke: "var(--cdl-divider, #d4d4d8)",
|
|
22484
|
+
strokeWidth: active ? 1.5 : 1
|
|
22485
|
+
}
|
|
22486
|
+
),
|
|
22473
22487
|
gridTicks.map((t, i) => /* @__PURE__ */ jsxs("g", { children: [
|
|
22474
22488
|
/* @__PURE__ */ jsx(
|
|
22475
22489
|
"line",
|