layerchart 0.40.0 → 0.40.2
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.
|
@@ -15,8 +15,8 @@ declare const __propDef: {
|
|
|
15
15
|
props: {
|
|
16
16
|
[x: string]: any;
|
|
17
17
|
data?: any[] | undefined;
|
|
18
|
-
x?: (string | ((d: any) => number)) | (string | ((d: any) => number))[] | undefined;
|
|
19
|
-
y?: (string | ((d: any) => number)) | (string | ((d: any) => number))[] | undefined;
|
|
18
|
+
x?: (string | number | ((d: any) => number)) | (string | number | ((d: any) => number))[] | undefined;
|
|
19
|
+
y?: (string | number | ((d: any) => number)) | (string | number | ((d: any) => number))[] | undefined;
|
|
20
20
|
yScale?: Function | undefined;
|
|
21
21
|
xBaseline?: number | null | undefined;
|
|
22
22
|
yBaseline?: number | null | undefined;
|
|
@@ -293,7 +293,11 @@ $: if (mode === 'bounds' || mode === 'band') {
|
|
|
293
293
|
}}
|
|
294
294
|
>
|
|
295
295
|
<!-- Rendering slot within tooltip-trigger allows pointer events to bubble up (ex. Brush) -->
|
|
296
|
-
<div
|
|
296
|
+
<div
|
|
297
|
+
class="absolute w-full h-full"
|
|
298
|
+
style:top="-{$padding.top}px"
|
|
299
|
+
style:left="-{$padding.left}px"
|
|
300
|
+
>
|
|
297
301
|
<slot tooltip={$tooltip} />
|
|
298
302
|
</div>
|
|
299
303
|
</div>
|