Skip to content

Releases: techniq/layerchart

layerchart@2.0.0-next.46

19 Feb 14:23
300e7dd

Choose a tag to compare

Pre-release

Patch Changes

  • fix: Workaround Svelte 5.52+ regression (Parse failure: Expected '{', got '(') (#449)

  • chore: Update deps (including dagre from 1.x to 2.x) (#449)

layerchart@2.0.0-next.45

18 Feb 15:50

Choose a tag to compare

Pre-release

Major Changes

  • feat: New docs site (#449)

Minor Changes

  • breaking: Extract Path primitive component from Spline for better separation of concerns (#659)

  • breaking: Rename simplified charts renderContext prop to layer (#659)

  • breaking: Change defaultChartPadding(axis, legend) to defaultChartPadding({ axis, legend }) and support overrides (ex. defaultChartPadding({ left: 50 })) (#659)

Patch Changes

  • feat(Chart): Support passing explicit width and height instead of requiring parent dimensions (#659)

  • feat: Support global settings (layer type, debug, etc) (#659)

  • feat(Layer): Allow type to be optional, fallbacking back to settings.layer type (#659)

  • feat(Chart|Svg|Html): Support passing clip prop to hide overflown content (#659)

  • feat(Circle|Rect): Support passing children snippet for Html layers (#659)

  • feat(Layer): Support showing chart and full frame boundaries with settings.debug (#659)

  • fix(Threshold): Properly clip above snippet (resolving 1/2 width clipping issues when using Spline) (#659)

  • fix(AnnotationRange|TooltipContext|Highlight): Fix using interval scales with reversed data (ex. xReverse) (#659)

  • fix(Canavs): Support style attribute (#659)

  • fix(Canavs): Suppport dashed stroke (fix: #652) (#659)

  • fix(Rect): Support rounded (rx/ry) in Canvas layers (fixes #481) (#659)

  • fix(Bar): Fix browser lockup when switching between group and stack layouts (#659)

  • fix(Bar): Fix bar rounding direction when using xReverse/yReverse with interval scales (#659)

  • fix(Text): Support explicit "\n" and set line-height (to match svg/canvas) for html layers (#659)

  • feat(Chart): Support class prop (#659)

  • refactor: Move contexts to separate $lib/contexts module (#659)

  • refactor: Removed lodash-es dependency (#659)

layerchart@1.0.13

06 Jan 21:45
221f6da

Choose a tag to compare

Patch Changes

  • fix(Canvas): Fix pointer events (hit canvas) when using Brave browser with fingerprinting protection enabled (#755)

layerchart@2.0.0-next.44

06 Jan 22:04
2301ad8

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Canvas): Fix pointer events (hit canvas) when using Brave browser with fingerprinting protection enabled (#449)

layerchart@2.0.0-next.43

14 Nov 00:12
ca4d66a

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Highlight|TooltipContext): Support xInterval / yInterval (#449)

layerchart@2.0.0-next.42

15 Oct 03:12
aaa5282

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Calendar): Respect start instead of always start of year (#657)

layerchart@2.0.0-next.41

10 Oct 15:46
0ec0f83

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Tooltip): Correctly set tooltip position on chart enter and exit (#655)

layerchart@2.0.0-next.40

28 Sep 01:56
578fb49

Choose a tag to compare

Pre-release

Patch Changes

  • fix(LineChart): Restore passing xScale / yScale overrides (#449)

layerchart@2.0.0-next.39

25 Sep 11:16
c84dea5

Choose a tag to compare

Pre-release

Minor Changes

  • feat: Support css-only usage (no Tailwind required) while retaining first-class Tailwind support (#557)

Patch Changes

  • feat: Simplify daisyUI, shadcn-svelte, and Skeleton integrations with single line @import 'layerchart/{library}.css' added to app.css (#557)

  • docs: Add examples for standalone, daisyUI v5, shadcn-svelte v1, Skeleton v3, and Svelte UX v2 (next) (including light/dark theming) (#557)

  • feat(LineChart): Support orientation="vertical". Resolves #640 (#557)

  • feat: Add Html context support for applicable primitives such as Circle, Line, Rect, Text (and more) as well as transitively such as Axis, Grid, Labels (and more) (#557)

  • feat(LinearGradient): Support Html context (#557)

  • fix(Text): Apply fill: currentColor to support more straightforward way of changing color (ex. class="text-red-500" or style="color:red") (#557)

  • fix(TooltipContext): Revert back to pointer events (instead of mouse/touch) but with touch-action: pan-y. Provides simplified events while allowing horizontal scrubbing with vertical scrolling. (#557)

  • feat(TooltipContext): Add touchEvents to control touch event behavior. Defaults to pan-y to allow vertical scrolling but horizontal scrubbing. (#557)

  • fix(TooltipContext): Fix band mode regression when both x/y are scaleBand (ex. punchcard chart) (#557)

  • fix(SimplifiedCharts): Properly handle legend prop as object when determining bottom padding (#557)

  • fix(AreaChart|LineChart|DefaultTooltip): Handle per-series data with different length (#557)

  • feat(Highlight): Support passing opacity (#557)

  • fix(SimplifiedChart): Still add selected legend item opacity when item classes are also applied (#557)

  • feat(Legend): Add selected prop to fade out unselected items (if passed and non-empty) (#557)

  • feat(SeriesState): Add isHighlighted(seriesKey) to easy check if series is hightlight (or should be faded) (#557)

  • fix(Primatives): Apply default classes when using Canvas context (like Svg). Resolves #544 (#557)

  • refactor: Remove use of layerClass and apply lc-{name} class directly to allow easy component <style> targetting within LayerChart (#557)

layerchart@1.0.12

17 Sep 14:45
ffe22ca

Choose a tag to compare

Patch Changes

  • fix(Axis): Fix reactivity issue with xRange/yRange in Svelte 5.34+. Fixes #641 (#643)