layerchart 1.0.8 → 1.0.9

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.
@@ -303,19 +303,23 @@
303
303
  </slot>
304
304
 
305
305
  <slot name="markerMid" id={markerMidId}>
306
- <Marker
307
- id={markerMidId}
308
- type={typeof markerMid === 'string' ? markerMid : undefined}
309
- {...typeof markerMid === 'object' ? markerMid : null}
310
- />
306
+ {#if markerMid}
307
+ <Marker
308
+ id={markerMidId}
309
+ type={typeof markerMid === 'string' ? markerMid : undefined}
310
+ {...typeof markerMid === 'object' ? markerMid : null}
311
+ />
312
+ {/if}
311
313
  </slot>
312
314
 
313
315
  <slot name="markerEnd" id={markerEndId}>
314
- <Marker
315
- id={markerEndId}
316
- type={typeof markerEnd === 'string' ? markerEnd : undefined}
317
- {...typeof markerEnd === 'object' ? markerEnd : null}
318
- />
316
+ {#if markerEnd}
317
+ <Marker
318
+ id={markerEndId}
319
+ type={typeof markerEnd === 'string' ? markerEnd : undefined}
320
+ {...typeof markerEnd === 'object' ? markerEnd : null}
321
+ />
322
+ {/if}
319
323
  </slot>
320
324
 
321
325
  {#if $$slots.start && $startPoint}
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": "1.0.8",
7
+ "version": "1.0.9",
8
8
  "devDependencies": {
9
9
  "@changesets/cli": "^2.28.1",
10
10
  "@mdi/js": "^7.4.47",