layerchart 0.93.2 → 0.93.3
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.
|
@@ -368,13 +368,8 @@
|
|
|
368
368
|
<slot name="bar" {bar}>
|
|
369
369
|
<Bar
|
|
370
370
|
spring={motion}
|
|
371
|
-
x={typeof bar === 'object' ? bar.x : undefined}
|
|
372
|
-
y={typeof bar === 'object' ? bar.y : undefined}
|
|
373
|
-
insets={typeof bar === 'object' ? bar.insets : undefined}
|
|
374
|
-
stroke={typeof bar === 'object' ? bar.stroke : undefined}
|
|
375
|
-
strokeWidth={typeof bar === 'object' ? bar.strokeWidth : undefined}
|
|
376
|
-
radius={typeof bar === 'object' ? bar.radius : undefined}
|
|
377
371
|
bar={highlightData}
|
|
372
|
+
{...typeof bar === 'object' ? bar : null}
|
|
378
373
|
class={cls(
|
|
379
374
|
// @ts-expect-error
|
|
380
375
|
!bar.fill && 'fill-primary',
|