@canplot/react 0.5.4 → 0.5.5
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/CanPlot.d.ts +1 -2
- package/dist/CanPlot.d.ts.map +1 -1
- package/dist/canplot.cjs +1 -1
- package/dist/canplot.cjs.map +1 -1
- package/dist/canplot.mjs +2 -2
- package/dist/canplot.mjs.map +1 -1
- package/package.json +1 -1
package/dist/canplot.mjs
CHANGED
|
@@ -169,7 +169,7 @@ class Le {
|
|
|
169
169
|
return this.frame.ctx;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
const Dt = je(({ configuration: e, children: t, style: n,
|
|
172
|
+
const Dt = je(({ configuration: e, children: t, style: n, ...s }, o) => {
|
|
173
173
|
const r = A(null), i = A(null), c = tt(i), [l, u] = B(null), f = Z(
|
|
174
174
|
() => nt(e, c, l),
|
|
175
175
|
[e, c, l]
|
|
@@ -182,13 +182,13 @@ const Dt = je(({ configuration: e, children: t, style: n, className: s }, o) =>
|
|
|
182
182
|
"div",
|
|
183
183
|
{
|
|
184
184
|
ref: Je([o, i]),
|
|
185
|
-
className: s,
|
|
186
185
|
style: {
|
|
187
186
|
position: "relative",
|
|
188
187
|
overflow: "hidden",
|
|
189
188
|
...n
|
|
190
189
|
},
|
|
191
190
|
"data-canplotroot": !0,
|
|
191
|
+
...s,
|
|
192
192
|
children: [
|
|
193
193
|
/* @__PURE__ */ R(
|
|
194
194
|
"canvas",
|