Skip to content

LayerChart 2.0 (next)#449

Merged
techniq merged 506 commits into
mainfrom
next
Jul 1, 2026
Merged

LayerChart 2.0 (next)#449
techniq merged 506 commits into
mainfrom
next

Conversation

@techniq

@techniq techniq commented Mar 10, 2025

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Mar 10, 2025

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerchart ✅ Ready (View Log) Visit Preview a5a1f5f

@pkg-pr-new

pkg-pr-new Bot commented Mar 10, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/layerchart@449

commit: a5a1f5f

@changeset-bot

changeset-bot Bot commented Mar 12, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a5a1f5f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@HicaroD

HicaroD commented May 9, 2025

Copy link
Copy Markdown

Hey, @techniq.
First of all, thank you for your amazing work, this package is actually incredible!

I have a question: When are you planning to merge this PR so we can finally get the Svelte 5 support? 🤗

@techniq

techniq commented May 9, 2025

Copy link
Copy Markdown
Owner Author

Hey @HicaroD, thanks for the kind words 🫶. Sorry, I don't have a rough release date set yet. There are a good number of improvements I would like to include in 2.0.0 (see milestone although not guaranteed to cover everything or have everything).

With that said, you 100% can use it today via layerchart@next and docs at https://next.layerchart.com/. I do this already for Github Analysis, Strava Analysis, and my main work project. It's also be used to build out shadcn-svelte Charts (issue).

I could see pushing some items to 2.1 but want to make sure if we find any breaking changes (mostly API refinements) we get them all in 2.0. I'm anticipating very little (if any), but still don't want to rush it.

Related: I also need to migrate Svelte UX fully over to Svelte 5 (it's Svelte 3-5 compat with Svelte 3/4 state/syntax). Both libraries have already been migrated to Tailwind 4, but the move to Svelte 5 state runes/snippets and regressions checking will take some concentrated efforts and time. I don't know how close I'll try to sync their release schedules though (and the benefit of having @next releases in place so they can be incrementally adopted).

@cycle4passion

Copy link
Copy Markdown
Contributor

All the examples give 500 errors on https://next.layerchart.com/

@techniq

techniq commented May 9, 2025

Copy link
Copy Markdown
Owner Author

All the examples give 500 errors on https://next.layerchart.com/

@cycle4passion Odd... working here

image

Maybe try a hard refresh? Which browser?

@cycle4passion

Copy link
Copy Markdown
Contributor

mobile only, does not work in arc (chromium), native chrome, or Safari browser.

@techniq

techniq commented May 9, 2025

Copy link
Copy Markdown
Owner Author

mobile only, does not work in arc (chromium), native chrome, or Safari browser.

Really odd... I can't reproduce

image

techniq and others added 13 commits May 6, 2026 12:52
Co-authored-by: github-actions[bot] <action@github.com>
* Add Waffle component (WIP)

* Add auto multiple example

* Support custom waffle symobols (svg-only)

* cleanup examples

* Use `series` stacks to simplify and allow legend filtering.  Simplify data rollup

* Add survey results example

* Improve Waffle/months example

* fix(Pattern): fix alignment and sharply render on high-DPI displays when using Canavs layers

* Add new Waffle component to all layer-specific exports

* improve examples

* fade non-highlighted series (legend, etc)

* improve unit/multiple examples

* improve custom symbol

* improve descriptions
… sizing and text clipping). Prompt user for resolution and background on docs "Export to PNG" / "Copy as PNG"
Co-authored-by: github-actions[bot] <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <action@github.com>
@github-actions github-actions Bot mentioned this pull request May 18, 2026
github-actions Bot and others added 5 commits May 18, 2026 08:31
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ath` and `GeoPoint` to fix unocss compat.
…es (fall back to d3's default order/offset).
@github-actions github-actions Bot mentioned this pull request Jun 3, 2026
techniq and others added 10 commits June 3, 2026 10:10
…is')` crash in cartesian charts (AreaChart, etc.) when no transform is configured (#872) (#873)

* fix(ChartState): Prevent `Cannot read properties of null (reading 'axis')` crash in cartesian charts (AreaChart, etc.) when no transform is configured (#872)

* Revert chart state null axis guard workaround and bump esrap to 2.2.11 in lock file to fix
* fix: guard against undefined accessor in printScale

When activeGetters includes z or r scales that are not configured, the accessor is undefined, causing acc.toString to throw. Added null check.

* chore: add changeset
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Begin to extract @layerstack/docs package

* more progress

* fix tailwind styles

* Move more components to packages/docs

* cleanup docs/scripts

* Move more to @layerstack/docs

* Move @layerstack/docs to LayerStack repo

* move more common pieces to @layerstack/docs

* switch to released @layerstack/docs

* Update to @layerstack/docs@1.0.0-next.2

* cleanup deps after switching to @layerstack/docs
* feat(Brush): Add constraints to `BrushContext` / `BrushState`, similar to `TransformContext`'s `scaleExtent`/`translateExtent`/`constrain`.

* fix(Chart): Disable text selection to prevent selection while dragging
Co-authored-by: github-actions[bot] <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Version Packages

* Update CHANGELOG

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Lynch <techniq35@gmail.com>
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.

6 participants