@makolabs/ripple 0.0.1-dev.14 → 0.0.1-dev.15

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.
@@ -422,6 +422,12 @@
422
422
  }),
423
423
  formatter: xAxis.format || '{value}'
424
424
  },
425
+ // If all series are lines, no gap. If any bar, gap.
426
+ boundaryGap: series.every((s) => s.type === 'line')
427
+ ? false
428
+ : series.some((s) => s.type === 'bar' || s.type === 'horizontal-bar')
429
+ ? true
430
+ : undefined,
425
431
  name: xAxis.label,
426
432
  nameLocation: 'middle',
427
433
  nameGap: 30,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makolabs/ripple",
3
- "version": "0.0.1-dev.14",
3
+ "version": "0.0.1-dev.15",
4
4
  "description": "Simple Svelte 5 powered component library ✨",
5
5
  "repository": {
6
6
  "type": "git",