Skip to content

LayerChart 2.0 (next)#449

Open
techniq wants to merge 352 commits intomainfrom
next
Open

LayerChart 2.0 (next)#449
techniq wants to merge 352 commits intomainfrom
next

Conversation

@techniq
Copy link
Copy Markdown
Owner

@techniq techniq commented Mar 10, 2025

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 10, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 10, 2025

Open in StackBlitz

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

commit: 93e3b09

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 93e3b09

The changes in this PR will be included in the next version bump.

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

Not sure what this means? Click here to learn what changesets are.

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

@HicaroD
Copy link
Copy Markdown

HicaroD commented May 9, 2025

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
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

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

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

@techniq
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

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

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

@techniq
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

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

Really odd... I can't reproduce

image

techniq added 5 commits April 3, 2026 01:11
…s, showing all ticks by default instead of reducing them. Use `tickSpacing={80}` to opt-in to tick reducing on categorical band scale axes.
Examples can now export title and description from a <script module> block to override the filename-derived title and add a description. These are extracted by the catalog generator, displayed in the component layout and example listings, and indexed for search (both browse page filter and command+k).
@github-actions github-actions bot mentioned this pull request Apr 3, 2026
@github-actions github-actions bot mentioned this pull request Apr 6, 2026
techniq and others added 4 commits April 7, 2026 12:22
* Initial progress

* Add more examples and docs

* Support passing background color as query param

* Fix SSR image support Grid, Axis, and Rule.  Add tests.  General improvements

* fix `pnpm check`

* Prerender chart API endpoints for Cloudflare compatibility and document edge runtime limitations

* Skip url.searchParams during prerendering to avoid SvelteKit build error

* Fix geo chart server-side rendering by converting GeoState projection from $effect.pre to $derived.by

* cleanup old changes.md

* Add geo SSR image example

* Add Sankey, Tree, and Treemap examples

* Improve treemap example (text/clip)

* Use `workspace:*` instead of `next` for `examples/*` projects to make sure `pnpm build:examples` is always using up to date library

* fix: improve compatibility with UnoCSS Svelte scoped preprocessing

* Remove unneeded changeset

* Reduce changeset level for stroke/fill improvements
* feat: New `GeoRaster` component for reprojecting raster imagery (e.g. NASA Blue Marble) onto any d3-geo projection via per-pixel inverse sampling on Canvas

* fix: Default geo projection `translate` to container center when `translate` and `fitGeojson` are not specified, instead of using d3-geo's fixed default (`[480, 250]`)

* Update catalog and screenshots.  Add GeoRaster examples to frontpage.

* Add spinning to planet example
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Apr 7, 2026
techniq and others added 10 commits April 8, 2026 00:18
* feat(ArcLabel): New component for positioning text labels on arc segments.  Resolves #7

* Add labels to Partition/sunburst example
…, explicit) (#818)

* feat(CircleLegend): New component for visualizing radius (`rScale`) values as nested circles

* update catalog and screenshots

* feat(GeoLegend): New scale-bar legend showing real-world distance for the current `Chart` projection

* update catalog and screenshots

* Update bubble-map to use integrated cScale and rScale, and use data-driven Circle

* feat(Legend, CircleLegend): Show an indicator of the current tooltip value on the legend
* persist-series-brush

- add 2 examples showing using bind:context for external programmatic control for localStorage persistance of series selection and brush/zoom state.

- update guide:brush and guide:series referencing these examples.

* persist-series-brush

spelling fix

* Fix reactivity of peristed examples

* update catalog and screenshots

* Revert "update catalog and screenshots"

This reverts commit 21076af.

---------

Co-authored-by: Sean Lynch <techniq35@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Apr 9, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.

7 participants