chore(deps): update dependency layerchart to v1 #54
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 contains the following updates:
^0.59.1
->^1.0.0
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 whenhighlightSeriesKey
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 withmode="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
123c9f6
)v0.99.5
Compare Source
Patch Changes
docs: Update @layerstack and Svelte UX packages to fix autofocus and SSR issues (
3ce8060
)Update dependencies (#415)
v0.99.4
Compare Source
Patch Changes
ignoreTransform
prop to ignoreTransformContext
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 innertrack
component (4195b2d
)fix(canvas): Improve handling of explicit
none
fill/stroke (63adb50
)v0.99.2
Compare Source
Patch Changes
hideTooltip()
for all tooltip modes onpointerleave
to fixband
(BarChart) andvoronoi
(ScatterPlot) modes not always closing on chart pointerleave due to recent chart delay / tooltip hover changes (e9f5e8c
)v0.99.1
Compare Source
Patch Changes
74ecd20
)v0.99.0
Compare Source
Minor Changes
bind:graph
(48bc672
)v0.98.2
Compare Source
Patch Changes
mode="manual"
(default) (160659e
)v0.98.1
Compare Source
Patch Changes
2c2e06c
)v0.98.0
Compare Source
Minor Changes
translateOnScale
prop (always enabled now) (#398)Patch Changes
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 usingmode='canvas'
(align withSvg
andCanvas
) (2b46908
)feat(Group): Support
Html
context (5ed7f27
)feat: Add
getRenderContext()
to easily identify if withinCanavs
,Html
, orSvg
context (d319da2
)v0.96.0
Compare Source
Minor Changes
tooltipContext
to enablebind:
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
8ed4684
)v0.94.3
Compare Source
Patch Changes
1107a7d
)v0.94.2
Compare Source
Patch Changes
_
instead of,
grid-col-[...] separator for custom values. Fixes Tailwind 4 compatability (90a12f4
)v0.94.1
Compare Source
Patch Changes
933f499
)v0.94.0
Compare Source
Minor Changes
belowContext
andaboveContext
slots to all simplified charts (b951724
)v0.93.10
Compare Source
Patch Changes
rounded="none"
(use Rect and ignore radius if defined) (472f2d8
)v0.93.9
Compare Source
Patch Changes
cursor: pointer
on hover when point hasonpointclick
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
2863519
)v0.93.6
Compare Source
Patch Changes
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
, andpoints
slots when brushed/zoomed (883d1d3
)feat: Add
renderCircle
to simplify rendering circles to canvas (instead of usingrenderPath
) (c728af0
)feat(Canvas): Add Logger integration (
d88ee43
)fix: Update
rgbColorGenerator
andgetColorStr
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
bar
props to underlyingBar
(aligning withlines
andpoints
) (2a153ea
)v0.93.2
Compare Source
Patch Changes
pointerdown
event (allowinge.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 toBrushContext
ifonclick
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
ticks
as d3-time interval (ex.timeDay.every(3)
) (57dfdcb
)v0.91.1
Compare Source
Patch Changes
MouseEvent
as first argument toonclick
(match other event callbacks) (180d77a
)v0.91.0
Compare Source
Minor Changes
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
withon{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>
usingelement
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
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
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
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 underlyingClipPath
(#348)feat: Support passing
props={{ tooltip: { context: ... } }}
for all simplified charts (still supporttooltip={...}
) (#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
null
fill/stroke when creating objectId for canvas reactivity (c96c76f
)v0.79.3
Compare Source
Patch Changes
feat(Labels): Support passing
data
andx
/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
andgetPointsProps
slot props, useful when override slot (5602e04
)fix(AreaChart): Fix labels placements when using
seriesLayout="stack"
(5602e04
)v0.79.2
Compare Source
Patch Changes
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
Patch Changes
fix(getComputedStyles): Ignore transition classes to allow immediate reading of css values (ex.
transition-opacity
affectingopacity-10
) (#339)fix(render): Multiply
fillOpacity
by overallopacity
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
visibleSeries
as slot props (along withseries
) to enable filteirng custom tooltip implementations (slot override) (12a8068
)v0.77.0
Compare Source
Minor Changes
1
instead of2
(be7e002
)Patch Changes
c928a6a
)v0.76.1
Compare Source
Patch Changes
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
andformat
(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
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
andonPointLeave
event callbacks (#329)feat(Legend): Add
onPointerEnter
andonPointerLeave
event callbacks (#329)feat(Legend): Support
classes.item(item)
(#329)feat: Add
profile
prop to all simplified charts to log initial render performance usingconsole.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 withinsets: Insets | undefined
. (#321)To migrate from
inset
toinsets
replaceinset = n
with:insets = { x: n / 2 }
iforientation="vertical"
insets = { y: n / 2 }
iforientation="horizontal"
feat(BarChart): Add
stackPadding
prop, which adds a padding between stacked bars. (#321)v0.73.0
Compare Source
Minor Changes
props.tooltip
to all simplified charts, applying toTooltip.Root
,Tooltip.Item
, etc (58d70fc
)v0.72.2
Compare Source
Patch Changes
59dc772
)v0.72.1
Compare Source
Patch Changes
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
, andonPointClick
callback events (#322)Patch Changes
6708650
)v0.71.3
Compare Source
Patch Changes
pointer
/data
) (7461788
)v0.71.2
Compare Source
Patch Changes
{...$restProps}
which also caused default classes to be overridden (ex.fill-none
) (487357a
)v0.71.1
Compare Source
Patch Changes
strokeWidth
prop (#316){...$restProps}
to underlying<path>
element (#316)v0.71.0
Compare Source
Minor Changes
contained="window"
to keep tooltip within window/viewport (along withcontainer
andfalse
) (e00528a
)v0.70.4
Compare Source
Patch Changes
classes
properties forrule,
tick, and
tickLabelfor convenient styling ([
5433da5
`](5433da5
))v0.70.3
Compare Source
Patch Changes
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
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 toSvg
) to translate children to center (useful for radial layouts) (#295)breaking(LinearGradient|RadialGradient): Rename
url
slot prop togradient
. 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
posthog-js
fromdependencies
(onlydevDependencies
for docs) (0d72288
)v0.60.2
Compare Source
Patch Changes
fix(ScatterChart): Default yScale to scaleLinear/scaleTime based on first data's
y
value (matchingxScale
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 compatcontext="module"
instead ofmodule
(bfed785
)v0.60.0
Compare Source
Minor Changes
Patch Changes
v0.59.6
Compare Source
Patch Changes
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
@layerstack/utils/array
import (6b88925
)v0.59.3
Compare Source
Patch Changes
@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
topackage.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.
This PR was generated by Mend Renovate. View the repository job log.