Sean Lynch

Results 423 comments of Sean Lynch

One workaround I use is to add an underscore (`_`) prefix to the prop/attribute ```svelte ``` This works except for svelte-check getting cranky. also if I'm trying a few options...

Some [progress](https://huntabyte-next-work.layerchart.pages.dev/docs/components/BarChart#radial_(vertical))

Since we already get word/line width in [Text](https://github.com/techniq/layerchart/blob/next/packages/layerchart/src/lib/components/Text.svelte) we should able able to leverage this to create the width of the bounding box. - [getBBBox()](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox) (SVG) - [measureText()](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText) / [TextMetrics](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics)...

Visual / screenshot testing similar to LayerCake's [setup](https://github.com/mhkeller/layercake/pull/276) would be nice to have as well, once we split all the examples into separate files (and with static data)

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...

> All the examples give 500 errors on https://next.layerchart.com/ @cycle4passion Odd... working [here](https://next.layerchart.com/docs/components/LineChart) ![image](https://github.com/user-attachments/assets/c21e0b0b-e4dd-4017-9fe7-05ce8cd52080) Maybe try a hard refresh? Which browser?

> mobile only, does not work in arc (chromium), native chrome, or Safari browser. Really odd... I can't reproduce ![image](https://github.com/user-attachments/assets/e97f0b5b-0385-4eb8-b4a9-45d4a4519da1)

@ecstrema that's a good point. Maybe re-exporting (possibly with simplified names) is a descent compromise. I still like the ergonomics of intellisense with known string values though). ## Before ```svelte...

Thanks @l0uisgrange 🫶 MDSX was created by @huntabyte and @AdrianGonz97 (possibly others) and is used on [shadcn-svelte](https://github.com/huntabyte/shadcn-svelte/tree/main/docs), [bits-ui](https://github.com/huntabyte/bits-ui/tree/main/docs), [runed](https://github.com/svecosystem/runed/tree/main/sites/docs) and other [svecosystem](https://github.com/svecosystem) packages. I also use it on https://zipline.ai/ [docs](https://zipline.ai/docs)...

Some recently bluesky [discussion](https://bsky.app/profile/benmccann.com/post/3lzoy6rhfvc2o)