Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency layerchart to v1 #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
layerchart ^0.59.1 -> ^1.0.0 age adoption passing confidence

Release Notes

techniq/layerchart (layerchart)

v1.0.3

Compare Source

Patch Changes
  • fix(Area|Link|Spline): Fix advertant tweening due to non-granular object reactivity with tweened options (#​429)

  • fix(TooltipContext): Properly detect non-manual modes for pointer chart bounds detection (#​433)

  • fix(TransformContext): Fix zoomTo() regression (Pack/Zoomable map examples) (#​430)

v1.0.2

Compare Source

Patch Changes
  • feat: Let users pass configurations for svg and canvas (like cursor-crosshair) (#​419)

  • fix: Reactively rebuild get_Props() functions when highlightSeriesKey is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc (#​425)

  • fix(TooltipContext): Support explicit tooltip.show(...) when using non-manual mode (ex. support manual annotations with mode="bisect-x") (#​423)

v1.0.1

Compare Source

Patch Changes
  • fix(PieChart): Simplify customizing colors using prop on data items by only requiring c color accessor (ex. [{ color: '...'}]) (e9786db)

  • fix(Spline): Improve initial render performance when tweened disabled (default) (#​418)

  • fix(Canvas): Call pointerenter/pointerover events when moving over overlapping components (ex. series highlight points) (ef7f74b)

v1.0.0

Compare Source

Major Changes
  • Version 1.0 (Svelte 3-5 and Tailwind 3 compatible) (123c9f6)

v0.99.5

Compare Source

Patch Changes

v0.99.4

Compare Source

Patch Changes
  • feat(Canvas|Html|Svg): Add ignoreTransform prop to ignore TransformContext for layer. Use to add static elements such as custom legends within a rendering context (e93bda3)

v0.99.3

Compare Source

Patch Changes
  • refactor(Arc): Use Spline to draw path, simplifying implementation and supporting pointer events for inner track component (4195b2d)

  • fix(canvas): Improve handling of explicit none fill/stroke (63adb50)

v0.99.2

Compare Source

Patch Changes
  • fix(TooltipContext): Call hideTooltip() for all tooltip modes on pointerleave to fix band (BarChart) and voronoi (ScatterPlot) modes not always closing on chart pointerleave due to recent chart delay / tooltip hover changes (e9f5e8c)

v0.99.1

Compare Source

Patch Changes
  • fix(Svg|Html): Do not accidentally lose transform on browser resize (74ecd20)

v0.99.0

Compare Source

Minor Changes
  • feat(Dagre): Expose access to Dagre Graph instance via bind:graph (48bc672)

v0.98.2

Compare Source

Patch Changes
  • fix(TooltipContext): Bypass bounds checking when using mode="manual" (default) (160659e)

v0.98.1

Compare Source

Patch Changes
  • fix(TransformContext): Account for Chart padding when zooming to point (2c2e06c)

v0.98.0

Compare Source

Minor Changes
  • breaking(TransformContext): Remove translateOnScale prop (always enabled now) (#​398)
Patch Changes
  • fix(TransformContext): Translate towards pointer position when scroll zooming and using transform={{ mode: 'canvas' }} (matching geo context applyTransform behavior) (#​398)

v0.97.1

Compare Source

v0.97.0

Compare Source

Minor Changes
  • feat(Html): Apply transformContext when using mode='canvas' (align with Svg and Canvas) (2b46908)

  • feat(Group): Support Html context (5ed7f27)

  • feat: Add getRenderContext() to easily identify if within Canavs, Html, or Svg context (d319da2)

v0.96.0

Compare Source

Minor Changes
  • feat(AreaChart|BarChart|LineChart|PieChart|ScatterChart): Expose tooltipContext to enable bind: usage for external access (#​394)

v0.95.0

Compare Source

Minor Changes
  • feat: Highlight related series on tooltip item hover for all simplified charts. Expose setHighlightSeriesKey as slot prop, useful when overriding "tooltip" slot (#​393)

  • feat(TooltipContext): Added hideDelay prop to Tooltip for configurable hide behavior (#​391)

  • feat(TooltipItem): Add onclick, onpointerenter, onpointerleave event callbacks (83a1933)

Patch Changes
  • fix(TooltipItem): Use Tailwind 3 and 4 compatibility CSS variable custom value (8ed4684)

v0.94.3

Compare Source

Patch Changes
  • fix(Highlight): Fix Svelte 3/4 compat (1107a7d)

v0.94.2

Compare Source

Patch Changes
  • fix: Use correct _ instead of , grid-col-[...] separator for custom values. Fixes Tailwind 4 compatability (90a12f4)

v0.94.1

Compare Source

Patch Changes
  • fix(AreaChart|LineChart|ScatterChart): Allow overriding highlight points props while retaining series color and highlight opacity (933f499)

v0.94.0

Compare Source

Minor Changes
  • feat: Add belowContext and aboveContext slots to all simplified charts (b951724)

v0.93.10

Compare Source

Patch Changes
  • fix(Bar): Properly handled rounded="none" (use Rect and ignore radius if defined) (472f2d8)

v0.93.9

Compare Source

Patch Changes
  • feat(Highlight): Set CSS cursor: pointer on hover when point has onpointclick set. Works for both svg and canvas rendering contexts (e9894cc)

v0.93.8

Compare Source

Patch Changes
  • fix(PieChart): Workaround Svelte 5.9.5 regression with tooltip label reactivity due to conditional accessor (1722d20)

  • Update dependencies (ceec65d)

v0.93.7

Compare Source

Patch Changes
  • fix(BrushContext): Ignore clicks outside of chart bounds. Fixes clicking on legend item resetting brush (2863519)

v0.93.6

Compare Source

Patch Changes
  • fix(Canvas): Explicitly set willReadFrequently:false for hit canvas to resolve pixel artifacts between fill and stroke with the same color (4831fd0)

v0.93.5

Compare Source

Patch Changes
  • fix(Arc|Pie|PieChart): Consider width when responsively setting outerRadius (non-fixed value) (54581a4)

  • docs(Arc|Pie|PieChart): Allow all examples to resize to demonsrtrate responsiveness (54581a4)

v0.93.4

Compare Source

Patch Changes
  • fix(AreaChart|LineChart|ScatterChart): Clip belowMarks, aboveMarks, highlight, labels, and points slots when brushed/zoomed (883d1d3)

  • feat: Add renderCircle to simplify rendering circles to canvas (instead of using renderPath) (c728af0)

  • feat(Canvas): Add Logger integration (d88ee43)

  • fix: Update rgbColorGenerator and getColorStr to support alpha channel (rgba) (796f029)

  • fix(canvas render): Always paint fill when explicitly defined (rgb(0,0,0) would match the default computedStyles color and be ignored) (9d3ba48)

v0.93.3

Compare Source

Patch Changes
  • fix(Highlight): Pass all bar props to underlying Bar (aligning with lines and points) (2a153ea)

v0.93.2

Compare Source

Patch Changes
  • fix(Canvas): Properly setup pointerdown event (allowing e.stopPropagation()) (579d771)

v0.93.1

Compare Source

Patch Changes
  • fix(AreaChart|LineChart): Only define onpointerclick on Highlight if provided to chart (coordinate with recent Highlight change) (81ddcbe)

  • fix: Add BrushContext to top-level exports (useful for types) (5005c18)

  • fix(Highlight): Do not propagate pointerdown event to BrushContext if onclick is provided (0c35ba9)

  • feat(Circle): Add onpointerevent event callback (0ecb9e3)

v0.93.0

Compare Source

Minor Changes
  • feat: Integrate Brush via BrushContext (<Chart brush={...}>) (#​361)

  • breaking: Remove Brush component (#​361)

Patch Changes
  • fix: Support highlight pointer events (click/hover) when using brush (#​361)

  • fix: Support brushing when using voronoi tooltip mode (#​361)

  • fix(AreaChart|LineChart): Fix re-animating (tweened) lines/areas on single series point hover (#​361)

v0.92.1

Compare Source

Patch Changes
  • feat(Brush): Add Logger integration (6308357)

  • fix(Brush): Improve pointer handling (both small (<1px) and large/quick movements) (6308357)

v0.92.0

Compare Source

Minor Changes
  • feat(Axis): Support passing ticks as d3-time interval (ex. timeDay.every(3)) (57dfdcb)

v0.91.1

Compare Source

Patch Changes
  • fix(TooltipContext): Pass MouseEvent as first argument to onclick (match other event callbacks) (180d77a)

v0.91.0

Compare Source

Minor Changes
  • breaking(Brush): Lowercase event callbacks (1d5ad26)

v0.90.0

Compare Source

Minor Changes
  • feat(Canvas): Integrate hit canvas with component registration system for simplified pointer events (#​354)

  • breaking: Remove all usage of createEventDispatcher with on{event} callbacks. Aligns with Svelte 5 recommendation and unlocks canvas integration (#​354)

  • breaking: Lowercase all event names (onTooltipClick => ontooltipclick) for consistency with native events (preparing for Svelte 5) (#​354)

  • feat(Frame): Support Canvas render context (#​354)

  • feat(Link): Support Canvas render context (#​354)

  • feat(Voronoi): Support Canvas render context (#​354)

  • feat: Add debug prop to all simplfied charts to enable tooltip and renderContext debug mode (#​354)

  • feat(GeoPoint): Pass x / y as slot props (#​354)

  • feat(Rect): Support binding to underlying svg <rect> using element prop (#​354)

  • breaking: Remove HitCanvas (integrated into Canvas) (#​354)

  • breaking: Remove render prop from GeoPath, GeoPoint, and Points. No longer useful now that Canvas integrates functionality (#​354)

Patch Changes
  • fix(PieChart): Fix tooltips when using renderContext="canvas" (#​354)

  • fix(AreaChart|LineChart|Highlight): Support canvas pointer events, enabling series highlighting and click events when using `renderContext="canvas" (#​354)

  • fix(Canvas): Improve animation performance by only rendering hit canvas when <canvas> has active pointer over element (#​354)

v0.81.3

Compare Source

Patch Changes
  • fix(PieChart): Align interface $Props extends ... with other simplified charts to fix odd type issue (a7133b4)

v0.81.2

Compare Source

Patch Changes
  • feat(Brush): Add onReset callback event (5b95bc9)

  • fix(Brush): On reset, restore original configured domain values and not data derived domain values (5b95bc9)

v0.81.1

Compare Source

Patch Changes
  • fix(Brush): Add mode: 'integrated' | 'separated' to better support external state updates (default: integarted and no longer shows active selection when brush domain != original domain) (120f5e0)

v0.81.0

Compare Source

Minor Changes
  • breaking(Brush): Change events (change, brushStart, brushEnd) to callback functions (onChange, onBrushStart, onBrushEnd). Allows usage from simplified charts and moves towards Svelte 5 api (450feb8)

v0.80.0

Compare Source

Minor Changes
  • feat(AreaChart|LineChart|ScatterChart): Add Brush integration (#​348)

  • feat(ChartClipPath|CircleClipPath|RectClipPath): Support passing disabled to underlying ClipPath (#​348)

  • feat: Support passing props={{ tooltip: { context: ... } }} for all simplified charts (still support tooltip={...}) (#​348)

Patch Changes
  • fix: Restore ability to pass tooltip={false} to disable tooltip for all simplified charts (#​348)

  • fix(AreaChart|LineChart): Fade other series highlight points when hovering individual point (#​348)

v0.79.4

Compare Source

Patch Changes
  • fix: Properly handle null fill/stroke when creating objectId for canvas reactivity (c96c76f)

v0.79.3

Compare Source

Patch Changes
  • feat(Labels): Support passing data and x / y accessor overrides (c5b297c)

  • feat(Points): Support passing x / y accessor overrides (8ea6f12)

  • fix(AreaChart|BarChart|LineChart|ScatterChart): Hide labels and points when toggling selected series from legend. . Add getLabelsProps and getPointsProps slot props, useful when override slot (5602e04)

  • fix(AreaChart): Fix labels placements when using seriesLayout="stack" (5602e04)

v0.79.2

Compare Source

Patch Changes
  • fix(Circle|Line|Rect): Restore passing class to after recent refactor to handle reactive canvas styling (b025d19)

v0.79.1

Compare Source

Patch Changes
  • Bump dependencies (aee4fed)

  • fix(Arc): Restore passing class to after recent refactor to handle reactive canvas styling (2bd93e5)

v0.79.0

Compare Source

Minor Changes
  • fix: Improve canvas reactivity for all primatives (Arc, Area, Circle, Spline, etc) (#​339)
Patch Changes
  • fix(getComputedStyles): Ignore transition classes to allow immediate reading of css values (ex. transition-opacity affecting opacity-10) (#​339)

  • fix(render): Multiply fillOpacity by overall opacity for fill to support opacity classes (ex. opacity-10) (#​339)

  • fix: Memoize creating canvas gradients to improve reactivity detection (#​339)

v0.78.0

Compare Source

Minor Changes
  • feat: Pass visibleSeries as slot props (along with series) to enable filteirng custom tooltip implementations (slot override) (12a8068)

v0.77.0

Compare Source

Minor Changes
  • breaking(AreaChart|LineChart): Change default stroke width to 1 instead of 2 (be7e002)
Patch Changes
  • fix: Do not override default classes (ex. highlight series opacity) when providing other classes (c928a6a)

v0.76.1

Compare Source

Patch Changes
  • fix: Do not override default Legend selected item classes when providing other classes (879898a)

v0.76.0

Compare Source

Minor Changes
  • feat(TooltipContext): Support lockable tooltips, useful for interactive elements / dense data. Control using <Chart tooltip={{ locked }}> (#​333)

  • feat(Tooltip): Support passing pointerEvents to enable clickable tooltip content. Useful with locked tooltips (#​333)

  • feat(TooltipHeader): Support passing value and format (similar to TooltipItem) to simplify overrides from simplified charts (#​335)

  • feat(AreaChart|BarChart|LineChart|ScatterChart): Enabling passing props={{ tooltip: { header: { format: ... } } }} (#​335)

  • feat(BarChart): Add <BarChart props={{ tooltip: { hideTotal: true } }}> to hide total (useful for some group series use cases) (#​335)

Patch Changes
  • fix: Retain default tooltip context props (ex. mode, onClick) when passing additional props to simplified charts (ex. <AreaChart tooltip={{ locked }}>) (#​333)

v0.75.1

Compare Source

Patch Changes
  • fix(AreaChart): Respect selected series (legend) when showing tooltip total (b59485d)

  • fix(TooltipContext): Fix event bubbling causing incorrect pointer coordinates when determine chart bounds. Fixes tooltip showing when hovering over portions of legend items (d620535)

v0.75.0

Compare Source

Minor Changes
  • feat(AreaChart|BarChart|LineChart|PieChart|ScatterChart): Add Legend integration (highlight & filter) (#​329)

  • feat(AreaChart|LineChart): Highlight series (desaturating other series) while hovering over point on series (#​329)

  • feat(Highlight): Add onPointEnter and onPointLeave event callbacks (#​329)

  • feat(Legend): Add onPointerEnter and onPointerLeave event callbacks (#​329)

  • feat(Legend): Support classes.item(item) (#​329)

  • feat: Add profile prop to all simplified charts to log initial render performance using console.time (#​330)

Patch Changes
  • docs: Add performance examples for different data structures (for further investigation) (#​330)

  • fix(Area|Spline): Reactively recreate internally x/y accessors when props/context change. Fixes AreaChart legend filter support (#​329)

  • fix(Legend): Add z-index: 1 to stack above tooltip contexts (band rects, voronoi) to allow pointer events (click/hover) (#​329)

v0.74.0

Compare Source

Minor Changes
  • breaking(Bar|Bars): Replaced inset: number prop with insets: Insets | undefined. (#​321)

    To migrate from inset to insets replace inset = n with:

    • insets = { x: n / 2 } if orientation="vertical"
    • insets = { y: n / 2 } if orientation="horizontal"
  • feat(BarChart): Add stackPadding prop, which adds a padding between stacked bars. (#​321)

v0.73.0

Compare Source

Minor Changes
  • feat: Support passing props.tooltip to all simplified charts, applying to Tooltip.Root, Tooltip.Item, etc (58d70fc)

v0.72.2

Compare Source

Patch Changes
  • fix(BarChart): Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (59dc772)

v0.72.1

Compare Source

Patch Changes
  • fix: Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (bec9207)

v0.72.0

Compare Source

Minor Changes
  • feat: Add onTooltipClick callback event for all simplified charts (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#​322)

  • feat(BarChart): Add onBarClick callback event (useful for multi-series charts) (#​322)

  • feat(AreaChart|LineChart): Add onPointClick callback event (useful for multi-series charts) (#​322)

  • feat(PieChart): Add onArcClick callback event (#​322)

  • feat(Bars): Add onBarClick callback event (#​322)

  • feat(Highlight): Add onAreaClick, onBarClick, and onPointClick callback events (#​322)

Patch Changes
  • fix(BarChart): Fix Tooltip handling with separate series data (6708650)

v0.71.3

Compare Source

Patch Changes
  • fix(Tooltip): Only attempt repositiong if not fixed (ie. pointer/data) (7461788)

v0.71.2

Compare Source

Patch Changes
  • fix(Spline): Remove redundant {...$restProps} which also caused default classes to be overridden (ex. fill-none) (487357a)

v0.71.1

Compare Source

Patch Changes
  • fix(Bar): Fix strokeWidth prop (#​316)
  • fix(Spline): Pass {...$restProps} to underlying <path> element (#​316)

v0.71.0

Compare Source

Minor Changes
  • feat(Tooltip): Support contained="window" to keep tooltip within window/viewport (along with container and false) (e00528a)

v0.70.4

Compare Source

Patch Changes
  • feat(Axis): Add classes properties for rule, tick, and tickLabel for convenient styling ([5433da5`](5433da5))

v0.70.3

Compare Source

Patch Changes
  • fix(AreaChart|LineChart): Handling finding closest series data point with complex data types (ex. Date) when using seperate series data (a75f612)

v0.70.2

Compare Source

Patch Changes
  • fix(AreaChart): Fix Area handling of separate series data (6a7be43)

  • fix(LineChart|AreaChart): Fix Tooltip/Highlight handling of separate series data (6a7be43)

v0.70.1

Compare Source

Patch Changes
  • fix: Use relative import instead of alias to fix npm usage (9c4a07a)

v0.70.0

Compare Source

Minor Changes
  • feat: Improve Canvas implementation with render registration system including synchronized invalidation / redrawing (#​295)

  • feat: Support Canvas context for most primatives (Arc, Area, Circle, Group, Line, LinearGradient, Rect, Spline, and Text). Also updates components using these primatives (Axis, Bar, Grid, Rule, and more) (#​295)

  • feat: Update all simplified charts to support renderContext prop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#​295)

  • feat: Add renderPathData() canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support (#​295)

  • feat: Add renderRect() canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support (#​295)

  • feat: Add renderText() canvas util to simplify rendering text onto canvas context with CSS variable and class support (#​295)

  • feat: Add ComputedStyles component to easily resolve classes / CSS variable values (useful when working with ) (#​295)

  • feat(Canvas): Support center prop (similar to Svg) to translate children to center (useful for radial layouts) (#​295)

  • breaking(LinearGradient|RadialGradient): Rename url slot prop to gradient. Improves name, especially within canvas context (#​295)

  • breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) (#​295)

  • breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) (#​295)

Patch Changes
  • fix(Canvas): Support multiple children (fix infinite loops, coordinating redraws, etc). Resolves issue #​158 (#​295)

  • feat: Add scaleCanvas util (#​295)

  • feat: Add spikePath() util (#​295)

  • feat: Add clearCanvasContext() util (#​295)

  • fix(circlePath): Correctly handle sweep argument (#​295)

v0.60.3

Compare Source

Patch Changes
  • Remove posthog-js from dependencies (only devDependencies for docs) (0d72288)

v0.60.2

Compare Source

Patch Changes
  • fix(ScatterChart): Default yScale to scaleLinear/scaleTime based on first data's y value (matching xScale behavior) (197d7fd)

  • fix: Allow overriding xScale/yScale for simplified charts (AreaChart, BarChart, etc) (197d7fd)

v0.60.1

Compare Source

Patch Changes
  • Update dependencies, notable Vite 5=>6 and Svelte 5 to latest (silence/fix reactive_declaration_non_reactive_property) (30e612d)

  • fix(Dagre): Add missing lang="ts" and use Svelte 3/4 compat context="module" instead of module (bfed785)

v0.60.0

Compare Source

Minor Changes
  • feat: Add Dagre layout component for directed acyclic graphs (DAGs) (#​268)
Patch Changes
  • fix(Spline): Improve initial data display / transition on non-cartesian charts (ex. hierarchy/graph) (#​268)

v0.59.6

Compare Source

Patch Changes
  • fix(Legend): Fix reactivity when scale/data changes. Fixes #​289 (0dea00b)

v0.59.5

Compare Source

Patch Changes
  • Update dependencies (2d74395)

  • fix(PieChart): Fix handling of outerRadius with single series (adb40e2)

v0.59.4

Compare Source

Patch Changes
  • fix(ChartContext): Remove last @layerstack/utils/array import (6b88925)

v0.59.3

Compare Source

Patch Changes
  • Update @layerstack/* packages and remove deep imports (ex. @layerstack/utils/array) (9621a4e)

v0.59.2

Compare Source

Patch Changes
  • fix(Bars,Labels): Add key() acccessor to set {#each} key for improved transitions (7acaa43)

  • fix: Use series.key as {#each} key for better transitions (hide/show series) (5139159)

  • feat(Labels): Support overriding text with default slot (1492cdc)

  • Add default to package.json exports to improve webpack/rollup compatibility (a63fccc)


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

cloudflare-workers-and-pages bot commented Mar 3, 2025

Deploying lipu-svelte with  Cloudflare Pages  Cloudflare Pages

Latest commit: 543235f
Status: ✅  Deploy successful!
Preview URL: https://3cdad566.lipu-svelte.pages.dev
Branch Preview URL: https://renovate-layerchart-1-x.lipu-svelte.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant