layerchart 0.93.10 → 0.94.0

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.
@@ -339,6 +339,8 @@
339
339
  }}
340
340
 
341
341
  <slot {...slotProps}>
342
+ <slot name="belowContext" {...slotProps} />
343
+
342
344
  <svelte:component this={renderContext === 'canvas' ? Canvas : Svg} center={radial} {debug}>
343
345
  <slot name="grid" {...slotProps}>
344
346
  {#if grid}
@@ -432,6 +434,8 @@
432
434
  </ChartClipPath>
433
435
  </svelte:component>
434
436
 
437
+ <slot name="aboveContext" {...slotProps} />
438
+
435
439
  <slot name="legend" {...slotProps}>
436
440
  {#if legend}
437
441
  <Legend
@@ -345,6 +345,8 @@
345
345
  getLabelsProps,
346
346
  }}
347
347
  <slot {...slotProps}>
348
+ <slot name="belowContext" {...slotProps} />
349
+
348
350
  <svelte:component this={renderContext === 'canvas' ? Canvas : Svg} {debug}>
349
351
  <slot name="grid" {...slotProps}>
350
352
  {#if grid}
@@ -421,6 +423,8 @@
421
423
  {/if}
422
424
  </svelte:component>
423
425
 
426
+ <slot name="aboveContext" {...slotProps} />
427
+
424
428
  <slot name="legend" {...slotProps}>
425
429
  {#if legend}
426
430
  <Legend
@@ -269,6 +269,8 @@
269
269
  getSplineProps,
270
270
  }}
271
271
  <slot {...slotProps}>
272
+ <slot name="belowContext" {...slotProps} />
273
+
272
274
  <svelte:component this={renderContext === 'canvas' ? Canvas : Svg} center={radial} {debug}>
273
275
  <slot name="grid" {...slotProps}>
274
276
  {#if grid}
@@ -355,6 +357,8 @@
355
357
  </ChartClipPath>
356
358
  </svelte:component>
357
359
 
360
+ <slot name="aboveContext" {...slotProps} />
361
+
358
362
  <slot name="legend" {...slotProps}>
359
363
  {#if legend}
360
364
  <Legend
@@ -206,6 +206,8 @@
206
206
  visibleData,
207
207
  }}
208
208
  <slot {...slotProps}>
209
+ <slot name="belowContext" {...slotProps} />
210
+
209
211
  <svelte:component this={renderContext === 'canvas' ? Canvas : Svg} {center} {debug}>
210
212
  <slot name="belowMarks" {...slotProps} />
211
213
 
@@ -293,6 +295,8 @@
293
295
  <slot name="aboveMarks" {...slotProps} />
294
296
  </svelte:component>
295
297
 
298
+ <slot name="aboveContext" {...slotProps} />
299
+
296
300
  <slot name="legend" {...slotProps}>
297
301
  {#if legend}
298
302
  <Legend
@@ -340,9 +340,11 @@ declare class __sveltets_Render<TData> {
340
340
  };
341
341
  slots(): {
342
342
  default: any;
343
+ belowContext: any;
343
344
  belowMarks: any;
344
345
  marks: any;
345
346
  aboveMarks: any;
347
+ aboveContext: any;
346
348
  legend: any;
347
349
  tooltip: any;
348
350
  };
@@ -235,6 +235,8 @@
235
235
  : null}
236
236
 
237
237
  <slot {...slotProps}>
238
+ <slot name="belowContext" {...slotProps} />
239
+
238
240
  <svelte:component this={renderContext === 'canvas' ? Canvas : Svg} {debug}>
239
241
  <slot name="grid" {...slotProps}>
240
242
  {#if grid}
@@ -299,6 +301,8 @@
299
301
  </ChartClipPath>
300
302
  </svelte:component>
301
303
 
304
+ <slot name="aboveContext" {...slotProps} />
305
+
302
306
  <slot name="legend" {...slotProps}>
303
307
  {#if legend}
304
308
  <Legend
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Sean Lynch <techniq35@gmail.com>",
5
5
  "license": "MIT",
6
6
  "repository": "techniq/layerchart",
7
- "version": "0.93.10",
7
+ "version": "0.94.0",
8
8
  "devDependencies": {
9
9
  "@changesets/cli": "^2.27.12",
10
10
  "@mdi/js": "^7.4.47",