Merged
Conversation
Contributor
Author
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
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 main, this PR will be updated.
Releases
layerchart@0.50.0
Minor Changes
feat: Add simplified charts to streamline creating common chart types with recommended conventions and granular extensibility (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#224)
breaking(Tooltip): Rename Tooltip to Tooltip.Root (#224)
breaking(Tooltip): Remove default grid on Tooltip.Root and add Tooltip.List as Tooltip.Item container (#224)
breaking(Chart): Default domain sorting to
false(instead of LayerCake'strue) to simplify bandScale use cases (#224)breaking(Tooltip): Consolidate Tooltip components (TooltipItem, TooltipSeparator, etc) to Tooltip.Item, Tooltip.Separtor, etc (#224)
refactor: Add
@layerstack/svelte-actions,@layerstack/svelte-stores,@layerstack/tailwind, and@layerstack/utilspackages and movesvelte-uxpackage todevDependancies(components only for docs) (#224)breaking: Remove
AreaStackas use cases fully supported byArea(#224)feat(Svg): Add
centerto conveniently center children, useful for radial layouts without requiringGroupwrapper (#224)breaking: Remove <Tooltip.Root header={...}> and replace with <Tooltip.Header> (#224)
breaking(Pie): Remove
placementprop and instead rely Svgcenteror useGroupfor positioning (#224)breaking: Add new color
cScale(and relatedcaccessor, domain, range, etc) and replacerScaleusage (which should be used for radius, etc) (#224)breaking(Threshold): Simplify implementation and rename
pathAbove/pathBelowslots toabove/below(#224)Patch Changes
feat(Bars): Support passing
dataoverride (#224)feat(Chart): Expose
configas slot prop (#224)feat(Bar): Forward pointer events to enable individual bar tooltips (#224)
fix(Highlight): Handle non-zero y values when drawing lines (ex. radial line chart with inner radius) (#224)
feat(Voronoi): Support radial coordinates. Issue [Tooltip / Highlight] Radial support #112 (#224)
breaking(Bar/Bars): Replace groupBy/groupPadding with Chart-level x1/y1 derived scales (#224)
fix(Labels): Handle multiple x or y properties (stack, diverting) by leveraging Points component internally (#224)
feat(Points): Add
xValueandyValueto each point, and improve types (#224)feat(Highlight): Support radial coordiantes for
pointsandlines. Issue [Tooltip / Highlight] Radial support #112 (#224)fix(Spline): Handle null data via defined by default (#224)
feat(Points): Add canvas support (#224)
feat(Chart): Expose
x/y/z/raccessors via slot props (#224)fix(TooltipSeparator): Use theme color (#224)
feat: Rename
createStackData()togroupStackData(), refine returned structure to simplify tooltips and make consistent with different options combinations, and add tests (#224)feat(Labels): Support
centerplacement (useful with Points) (#224)fix(Area): Handle null data via defined by default (#224)
feat(tooltip): Update bisect-x mode to support radial coordinates (#224)
fix(Highlight): Handle null value points (#224)
fix(Voronoi): Dispatch custom
pointereventinstead of forwarding to fix console errors (#224)feat(Points): Integrate with rScale (#224)
fix(Points): Remove incorrect points for null/undefined values (#224)
fix(Area): Pass
xoverride to internal Spline (#224)fix(Spline): Enable passing
fillprop (useful for Bar with single rounded edge) (#224)feat(Tooltip.Item): Support
colorprop to add swatch, support theme colors and any color viacolor="variable"(#224)fix(cartesianToPolar): Correctly calculate angle/radians between 0 and 2π (#224)
feat(Arc): Support passing
tooltipanddataprops to simplify setting up tooltip pointer events (#224)feat(Chart): Support x1/y1 derived scales, useful for grouped bar charts (#224)