Conversation
Added new features and fixes for TooltipContext, LineChart, and other components. Improved documentation and integration examples for various libraries.
commit: |
commit: |
Contributor
Author
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
This was referenced Dec 27, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
layerchart@2.0.0-next.39
Minor Changes
Patch Changes
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)fix(TooltipContext): Fix
bandmode regression when both x/y are scaleBand (ex. punchcard chart) (#557)fix(SimplifiedCharts): Properly handle
legendprop as object when determining bottom padding (#557)fix(Text): Apply
fill: currentColorto support more straightforward way of changing color (ex.class="text-red-500"orstyle="color:red") (#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 [LineChart] Supportorientation(similar to BarChart) #640 (#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
selectedprop to fade out unselected items (if passed and non-empty) (#557)feat(TooltipContext): Add
touchEventsto control touch event behavior. Defaults topan-yto allow vertical scrolling but horizontal scrubbing. (#557)feat(SeriesState): Add
isHighlighted(seriesKey)to easy check if series is hightlight (or should be faded) (#557)feat(LinearGradient): Support Html context (#557)
fix(Primatives): Apply default classes when using Canvas context (like Svg). Resolves [Primitives] Apply default classes for Canvas same as Svg #544 (#557)
refactor: Remove use of
layerClassand applylc-{name}class directly to allow easy component <style> targetting within LayerChart (#557)feat: Simplify daisyUI, shadcn-svelte, and Skeleton integrations with single line
@import 'layerchart/{library}.css'added toapp.css(#557)