Skip to content

LayerChart 2.0 (next)#449

Open
techniq wants to merge 394 commits intomainfrom
next
Open

LayerChart 2.0 (next)#449
techniq wants to merge 394 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 49288fa

@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: 49288fa

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 49288fa

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

This PR includes changesets to release 1 package
Name Type
layerchart Minor

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 and others added 25 commits April 12, 2026 20:30
* cell-punchcard

- fixed color of cells in HTML
- fixed Week and Week # appearing different lines on HTML using non-btreaking space

* cell-punchcard

- fixed color of cells in HTML
- fixed Week and Week # appearing different lines on HTML using non-bteaking space
* Change SVG for download

* Rename `Download` to `Export`
…w. (#821)

* Motion examples using showField.svelte do not show/start until in view.

used runed useIntersectionObserver
1 second delay after visibility
fires only once
added wrapping divs for reserved height for simplechart w/comment
removed TODO FIXED.md - old, never used, github takes precedence

* Motion examples using showField.svelte do not show/start until in view.

used runed useIntersectionObserver
1 second delay after visibility
fires only once
added wrapping divs for reserved height for simplechart w/comment
updated MotionPathControls to use showField
gave showfield option for "inline" not absolutely positioning
removed TODO FIXED.md - old, never used, github takes precedence

* Motion examples using showField.svelte do not show/start until in view.

updated multicontrols to use showField.svelte where appropriate.
updated additonal motion examples using those controls.
* math-formula

* Move mathjs to dev deps

* Use MenuField with stepper instead of Radio

* Add raster toggle

* Merge branch 'next' into pr/cycle4passion/824

* Add color interpolator input
…acity, strokeWidth, opacity) for Canvas layer compatibility
…ping. Resolves #446 (#828)

* feat(Tooltip): Portal tooltip to body by default to fix overflow clipping.  Resolves #446

* feat(Tooltip): Add `fadeDuration` prop to control fade in/out transition
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Narrow the layer toggle on an example page to the intersection of each used component's `layers` frontmatter, so e.g. a Chart example containing a Spline only exposes [svg, canvas] in the toggle.

Affects 61 example toggles across the docs: 58 drop `html` (due ot path-geometry primitives such as Area, Spline, Arc, GeoPath, etc) and 3 drop`canvas` (due to Threshold/Blur).
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