Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
764 commits
Select commit Hold shift + click to select a range
2a6087b
Support loading `<Example ... />` for any `/docs` pages (getting star…
techniq Nov 23, 2025
cd6f58c
Cleanup old example route / content
techniq Nov 23, 2025
df5c2e8
Remove old `[type]` route param (remove old `examples` as we always u…
techniq Nov 23, 2025
4ff0e6f
Remove unneeded `type` parameter from `getMarkdownComponent()`
techniq Nov 23, 2025
13aaf59
Rename `section` to `category`
techniq Nov 23, 2025
24faf21
Merge branch 'next' into docs-v2
techniq Nov 23, 2025
f1ccca5
Fix chartMode bind:value for controls
techniq Nov 23, 2025
9ebc358
Remove no longer needed imports
techniq Nov 23, 2025
f8538dc
Support explicit order for menu items (ex. move Chart, ClipPath, and …
techniq Nov 23, 2025
9bdbc41
Downgrade svelte from 5.43.14 to 5.41.4 (pre-fork 5.42.0)
techniq Nov 23, 2025
4a7feb4
fix(Bar): Fix browser lockup when switching between group and stack l…
techniq Nov 23, 2025
c9d511b
Fix and simplify group / stack config for examples
techniq Nov 23, 2025
9099424
fix(ImageLink): Label truncation
techniq Nov 23, 2025
4e44fcb
Add Tools/Pivot (#694)
cycle4passion Nov 23, 2025
10b41b0
Add Tools and Perf examples (#695)
cycle4passion Nov 23, 2025
2b3b8a6
BarChart/Series-diverging xPadding (#696)
cycle4passion Nov 23, 2025
c1bc3eb
BarChart/group-series-padding bandPadding (#697)
cycle4passion Nov 23, 2025
77a42e1
BarCharts/axis-labels-inside-bars (#698)
cycle4passion Nov 23, 2025
8060e8e
Barchart/custom-chart Fix (#699)
cycle4passion Nov 23, 2025
0be743f
BarChart/sparkbars (#700)
cycle4passion Nov 23, 2025
62d1890
Getting Started Spelling Error (#701)
cycle4passion Nov 23, 2025
e171f4c
Move component examples under examples/components, add utils route/me…
techniq Nov 24, 2025
cbcc80e
Fix generate-screenshots.ts and update all screenshots and catalog info
techniq Nov 24, 2025
6a6dd78
Remove direct perf examples from LineChart docs
techniq Nov 24, 2025
f0e7d5f
Fix border color for top-level items
techniq Nov 24, 2025
b4a1846
Update integration examples to use `next` instead of workspace versio…
techniq Nov 24, 2025
62b10f7
Add simple-icons collection
techniq Nov 24, 2025
7a2a0e0
Improve getting started page
techniq Nov 24, 2025
418fd62
Update to latest svelte (fixed reactive issues we were experiencing)
techniq Nov 24, 2025
e0d4634
Added TabbedContent.svelte (#703)
cycle4passion Nov 25, 2025
1c6f654
Merge branch 'next' into docs-v2
techniq Nov 25, 2025
f30ef6a
Update svelte to latest (5.44.0)
techniq Nov 25, 2025
58806c8
Use AnimationFrames instead of TimerState
techniq Nov 25, 2025
2eaa0a1
Adjust some logic
techniq Nov 25, 2025
a836c31
Change default buffer size to 1k
techniq Nov 25, 2025
fdebf6e
Bump Svelte to 5.45.2
techniq Nov 27, 2025
0cb743f
Fix CI due to `skeleton-4.css`
techniq Nov 30, 2025
a4d0562
Getting Started (#706)
cycle4passion Nov 30, 2025
08ac899
Steps redo (#707)
cycle4passion Dec 1, 2025
1f8c518
Fix getting started links
techniq Dec 2, 2025
79dfec7
AreaChart Padding fixes (#708)
cycle4passion Dec 3, 2025
289a8b7
Update Svelte/Kit packages
techniq Dec 3, 2025
2f4db47
Update deps
techniq Dec 3, 2025
eda70e7
Prettier format
techniq Dec 3, 2025
c3e3431
Fix `<BarChart seriesLayout="group">`
techniq Dec 3, 2025
ed7e0fa
Reduce height of `single stack with indicator` example
techniq Dec 3, 2025
53e52d7
fix(Layer): Make prettier happy
techniq Dec 3, 2025
f948ea0
Improve screenshot route (do not use inherit layout)
techniq Dec 3, 2025
cb455d6
Fix transparent background for screenshots, and add `--all` to force …
techniq Dec 3, 2025
7ac31af
Use javascript/movable action instead of css to fix overfllow. Also …
techniq Dec 3, 2025
2ec9487
Update Svelte to 5.45.5
techniq Dec 3, 2025
65e471a
Fix pivot casing
techniq Dec 3, 2025
08d0c5a
Disable resizing for pivot examples
techniq Dec 3, 2025
4843ad2
Add RelatedLink to improve handling of `related` frontmatter links
techniq Dec 4, 2025
2860572
Cleanup pivot examples
techniq Dec 5, 2025
79a5019
Improve overfllow / clipping and resizing for ColorRamp, Pattern, and…
techniq Dec 5, 2025
b0e4617
Reactive Domain-Range Component (#710)
cycle4passion Dec 7, 2025
d4303d9
PieChart-fruit-colors (#712)
cycle4passion Dec 7, 2025
350c6b4
ArcChart fruit colors (#713)
cycle4passion Dec 7, 2025
67b2194
BarChart-padding (#714)
cycle4passion Dec 7, 2025
671efcc
LineChart-padding (#715)
cycle4passion Dec 7, 2025
4385c6b
Chart-padding (#716)
cycle4passion Dec 7, 2025
e98bb54
Axis-padding (#717)
cycle4passion Dec 7, 2025
973f521
ScatterChart Padding (#711)
cycle4passion Dec 7, 2025
ae307b9
Fix $examples import alias
techniq Dec 7, 2025
4e10d21
Update catalog
techniq Dec 7, 2025
407b561
Update screenshots
techniq Dec 7, 2025
694336c
fix(stripIndent): Only remove leading/trailing empty lines
techniq Dec 7, 2025
a1a6a6d
breaking: Extract `Path` primitive component from `Spline` for better…
techniq Dec 7, 2025
0af3730
Fix type errors
techniq Dec 7, 2025
0250ef1
Update GeoPath to use Path primitive
techniq Dec 7, 2025
6b62fe9
Remove geojson/topojson/shapefile previews from GeoContext docs (just…
techniq Dec 7, 2025
2e0c8ce
Cleanup Spline
techniq Dec 7, 2025
d57151e
padding-all-primitives (#719)
cycle4passion Dec 8, 2025
d1f590e
padding-all-marks (#720)
cycle4passion Dec 8, 2025
d5e5bfa
Padding all geo (#721)
cycle4passion Dec 8, 2025
c079185
Fix bad merge
techniq Dec 8, 2025
91e77d6
scales-update (#722)
cycle4passion Dec 10, 2025
25f2a62
Playground (#723)
techniq Dec 11, 2025
e172a03
Add `@iconify-json/vscode-icons` (colored icons)
techniq Dec 12, 2025
b65f174
Update deps
techniq Dec 14, 2025
9fdb736
header-for-utils-spacing-fix (#729)
cycle4passion Dec 14, 2025
500d067
marker-controls-fix (#728)
cycle4passion Dec 14, 2025
69fbed8
utils-cls-format-string (#726)
cycle4passion Dec 14, 2025
50c1ee6
getting-started-again (#725)
cycle4passion Dec 14, 2025
fb32c6f
playground-wip (#724)
cycle4passion Dec 14, 2025
1d68171
simplified-charts-WIP (#727)
cycle4passion Dec 14, 2025
a3df748
Add shiki diff and line highlighting support
techniq Dec 14, 2025
a418eda
Refine docs
techniq Dec 14, 2025
ce8cf24
Leave breadcrumb for improving syntax highlighting
techniq Dec 14, 2025
196071d
Move diff/line highlighting to app.css and use tailwind classes to si…
techniq Dec 14, 2025
e69e36d
Enhance code block handling with title support and styling improvements
techniq Dec 14, 2025
51576f5
lineargradient-horiz-scrollbars (#730)
cycle4passion Dec 14, 2025
6b727a1
Replace custom `shikiLineHighlightTransformer` with official `@shikij…
techniq Dec 14, 2025
c43a0c5
Add scrollbar styling
techniq Dec 15, 2025
5228344
colorramp-update (#732)
cycle4passion Dec 16, 2025
7f3dd49
annotationpoint-update (#731)
cycle4passion Dec 16, 2025
b930735
Move markdown examples to `/docs/markdown`
techniq Dec 16, 2025
4e94725
markdown-examples (#733)
cycle4passion Dec 17, 2025
85ad080
more-custom-icons (#735)
cycle4passion Dec 18, 2025
20a5225
Support local examples via `<Example path="./Foo.svelte">` along with…
techniq Dec 18, 2025
9df9207
Remove lodash-es dependency (#734)
es3n1n Dec 18, 2025
45cf640
Fix playground padding/scroll
techniq Dec 18, 2025
9ecd505
Fix toggling console via "Console"
techniq Dec 18, 2025
1256f2c
Fix export
techniq Dec 18, 2025
31fa8df
Fix `source` link for Chart
techniq Dec 20, 2025
0bec028
Improve console auto scrolling including only auto-scroll if currentl…
techniq Dec 20, 2025
6713bd7
Fix accidental overflow scrolling from background grid/gradient
techniq Dec 20, 2025
b975567
Create a separate playground template and streamline the deps
techniq Dec 20, 2025
5eb36aa
Fix bars pattern examples
techniq Dec 22, 2025
b6fcae4
unocss (#738)
cycle4passion Dec 23, 2025
e461194
Split mdsx config into multiple files for better readability
techniq Dec 23, 2025
5002cd4
Support svelte live code blocks
techniq Dec 24, 2025
068bf4e
Add `:::steps` and `:::note` markdown directives
techniq Dec 26, 2025
79cdf2f
Switch from remark-directive to remark-mdc, add support for `::tabs` …
techniq Dec 26, 2025
ce17875
Markdown components (#740)
techniq Dec 28, 2025
9d53c60
Improve blockquote styling
techniq Dec 28, 2025
5ead6b2
Convert kebab-case attributes (show-code) to camelCase to match Svelt…
techniq Dec 28, 2025
6534e94
breaking: Change `defaultChartPadding(axis, legend)` to `defaultChart…
techniq Dec 28, 2025
6d173ff
update components to use :example (#742)
cycle4passion Dec 29, 2025
90a557e
Add h4 markdown component
techniq Dec 29, 2025
b3462fe
Change header anchor icon to show before instead of after
techniq Dec 29, 2025
26b15e4
Merge branch 'docs-v2' of https://github.com/techniq/layerchart into …
techniq Dec 29, 2025
9748dd8
Show small up arrow for external links
techniq Dec 29, 2025
4346653
Improve loading performance of examples in markdown by eagerly loadin…
techniq Dec 29, 2025
a3761a3
Regenerate catalog
techniq Dec 29, 2025
e7e90c9
Optimize example loading with dynamic imports
techniq Dec 30, 2025
79c5ee1
Generate lighterweight .webp (vs .png) screenshots at different resol…
techniq Dec 31, 2025
a155628
Fix startContent/endContent snippets
techniq Jan 1, 2026
ed9f858
Determine available layers from per-example (<script module>) or comp…
techniq Jan 1, 2026
e423f65
Styles - 2nd pass (#744)
cycle4passion Jan 1, 2026
4fa7bfe
last-of-padding-updates (#746)
cycle4passion Jan 1, 2026
175aab7
togglegroup no select (#747)
cycle4passion Jan 1, 2026
93802ae
Prevent sidebar scroll jank on page changes. (#748)
cycle4passion Jan 1, 2026
b7e3439
More markdown examples (#751)
cycle4passion Jan 2, 2026
e58c7cb
View transitions (#750)
cycle4passion Jan 2, 2026
80db85f
Fix full page reloading on menu navigation
techniq Jan 2, 2026
5dec563
Support passing `showCode=false` for live code examples
techniq Jan 2, 2026
7fc92cb
Remove `showCode=false` from example
techniq Jan 2, 2026
85fc742
Add releases routes and script to generate initial pages from github …
techniq Jan 4, 2026
dfa8a18
Skip writing existing release files to preserve local edits
techniq Jan 4, 2026
30898ab
Add pagination
techniq Jan 4, 2026
c8d2d98
fix build. format release markdown
techniq Jan 4, 2026
5e09e4a
Also include `lang="ts"` for module
techniq Jan 6, 2026
f1efe67
Re-generate all (update catalog)
techniq Jan 6, 2026
bdb025a
Merge branch 'next' into docs-v2
techniq Jan 6, 2026
5a556b3
Update more defaultChartPadding usage
techniq Jan 7, 2026
7819c56
Disable data preloading until Svelte async/fork is improved
techniq Jan 7, 2026
298b551
Fix HMR infinite loop for Example component rendering by using $state…
techniq Jan 7, 2026
456e007
fix(ExampleScreenshot): Only apply `view-transition-name` on hover to…
techniq Jan 7, 2026
87de731
Move hover checking to set view-transition-name from ExampleScreensho…
techniq Jan 8, 2026
06377d3
bump deps
techniq Jan 8, 2026
3312f61
Ignore content-collections when running tests (workaround `__dirname`…
techniq Jan 8, 2026
2147c48
fix `content` deprecatation warning (content-collections)
techniq Jan 8, 2026
91a5f32
Suppress state_referenced_locally warnings (for now)
techniq Jan 8, 2026
f8cdace
Fix `non_reactive_update` warnings
techniq Jan 8, 2026
9a72795
Improve view transitions
techniq Jan 9, 2026
af92a30
Add TODO reminder to re-add data reloaded after preloadFork behind ex…
techniq Jan 9, 2026
dbf1bbd
fix empty layer toggle showing small circle (#759)
cycle4passion Jan 11, 2026
918cecb
fix(Arc): Setting `strokeWidth` correct (when using Path component in…
techniq Jan 11, 2026
0f07ee5
Fix passing test props (`data-`, etc) to root container
techniq Jan 11, 2026
0292e53
View transition scroll fix (#762)
cycle4passion Jan 13, 2026
5f3b553
Barchart dynamic height example (#763)
cycle4passion Jan 13, 2026
bf77ae0
Layer example (#761)
cycle4passion Jan 13, 2026
022ce5b
Update catalogs and screenshots
techniq Jan 13, 2026
a0dfd92
fix(Path): Set default `--fill-color` to `transparent` instead of `no…
techniq Jan 16, 2026
15537ae
Testing First Pass Arc (#760)
cycle4passion Jan 19, 2026
bd90db7
Better export data prune (#765)
cycle4passion Jan 19, 2026
85ad1fd
Improve example screenshot density on homepage
techniq Jan 21, 2026
4b53b19
Update deps
techniq Jan 23, 2026
098848c
Update svelte to 5.48.1, fixing performance issues of Spike map (and …
techniq Jan 24, 2026
b6b90e3
Update svelte to 5.48.2 (fix `TypeError: $.wait is not a function`)
techniq Jan 24, 2026
7ed2820
fix(Text): Support explicit "\n" and set line-height (to match svg/ca…
techniq Jan 25, 2026
1affd58
Text playground fix (#768)
cycle4passion Jan 25, 2026
40b6f03
Rename word wrap with explicit n (#769)
cycle4passion Jan 25, 2026
3e289e5
Add `Path` to top-level exports and add basic example
techniq Jan 25, 2026
ad9c07d
Text trunc newline examples (#771)
cycle4passion Jan 26, 2026
bb3af0e
Utils updates (#770)
cycle4passion Jan 26, 2026
df51df5
cleanup
techniq Jan 26, 2026
ffa4697
Further arc tests (#767)
cycle4passion Jan 26, 2026
2fe4011
Geopoint icons remove controls (#772)
cycle4passion Jan 26, 2026
b5f2f57
Additional axis examples (#764)
cycle4passion Jan 26, 2026
a2bdb27
feat(Chart|Svg): Support passing `clip` prop to hide overflown content
techniq Jan 26, 2026
e97bce6
also add for `<Html>` layers
techniq Jan 26, 2026
3f447d9
Clipping (#774)
cycle4passion Jan 27, 2026
054236f
Text trunc wrap fix (#775)
cycle4passion Jan 27, 2026
660e617
Update deps (namely Svelte to 5.48.2 with dev-mode performance improv…
techniq Jan 27, 2026
2a9a90e
Add clip to collision detection example
techniq Jan 27, 2026
87c8794
cleanup import
techniq Jan 31, 2026
51f74e9
Stats (#776)
cycle4passion Jan 31, 2026
c0158fc
Missing clips (#778)
cycle4passion Jan 31, 2026
b07e94d
Merge branch 'next' into docs-v2
techniq Jan 31, 2026
49bae56
Merge branch 'next' into docs-v2
techniq Jan 31, 2026
3144f72
add `User-Agent` header to make Github happy when running in Cloudfla…
techniq Jan 31, 2026
583745e
Open in LLM feature (#753)
cycle4passion Feb 1, 2026
0857262
Update deps
techniq Feb 1, 2026
bd6eb0e
fix dagre `module is not defined` after bumping deps (but not dagre t…
techniq Feb 1, 2026
965746a
Tree clips (#779)
cycle4passion Feb 1, 2026
7eb398a
fix build
techniq Feb 1, 2026
0875e23
Merge branch 'docs-v2' of https://github.com/techniq/layerchart into …
techniq Feb 1, 2026
6b17688
extract table of contents from markdown instead of html
techniq Feb 1, 2026
7f6c5bc
add toc to guides
techniq Feb 1, 2026
ff89b56
improve header and toc slugs when `:icon{..}` directives are used
techniq Feb 1, 2026
aa97d7c
remove `meta.tableOfContents` and just use `metadata.toc` to determi…
techniq Feb 1, 2026
781b0f2
Use IntersectionObserver for improve active highlighting
techniq Feb 1, 2026
5ae1a77
Update deps
techniq Feb 7, 2026
b6c9db5
Clip force text example
techniq Feb 7, 2026
f4dae49
flexsearch (#745)
cycle4passion Feb 8, 2026
d53f49c
Cleanup headers (especially remove duplicate "## Examples" headers ca…
techniq Feb 8, 2026
cebc5f8
add playwright-cli skills
techniq Feb 8, 2026
f477d3d
fix parent component's table of contents showing on examples
techniq Feb 8, 2026
c34e24a
generate:all (catalog, screenshots)
techniq Feb 8, 2026
263ab5e
remove "actions" export
techniq Feb 9, 2026
4c0a314
Add LineChart threshold example
techniq Feb 9, 2026
dc9dd94
fix threshold with linear gradient examples
techniq Feb 9, 2026
5af2200
add links
techniq Feb 9, 2026
2e53837
Do not highlight/mark examples in search
techniq Feb 9, 2026
0e8e0cb
Ignore anchor tags / hash fragment (ex. `#examples`) in llms.txt URLs
techniq Feb 9, 2026
5daee29
fix(Threshold): Properly clip `above` snippet (resolving 1/2 width cl…
techniq Feb 9, 2026
7396c10
refine
techniq Feb 9, 2026
57db60d
Add `defaultExample` to `components` collection to use first on docs …
techniq Feb 9, 2026
e4e977e
Improve ExampleScreenshot when image is not available, with fallback …
techniq Feb 9, 2026
bc3139d
Improve primitives doc
techniq Feb 9, 2026
c2de099
fix border on light mode
techniq Feb 9, 2026
83b8957
cleanup
techniq Feb 9, 2026
1ec6493
docs(Points): Add docs regarding color
techniq Feb 10, 2026
a2cea0d
Add Nocturne to showcase
techniq Feb 11, 2026
84f8e9f
fix(showcase): handle source-only items
techniq Feb 11, 2026
ef97712
Cmd K (uppercase) (#784)
cycle4passion Feb 12, 2026
9501c87
Fix loading web containers
techniq Feb 13, 2026
29461b2
remove color from Axis/arrow-markers example
techniq Feb 13, 2026
f69e7f2
Extract ExampleListing component and show additional examples at the …
techniq Feb 13, 2026
bf9c197
Improve/fix histogram examples (better axis ticks and use Rect instea…
techniq Feb 13, 2026
587a6c6
fix(BarChartControls): handling of interval and threshold sizing
techniq Feb 13, 2026
7419a20
generate:all to update catalog and screenshots
techniq Feb 13, 2026
b96f1ae
Hide playground menu item until it's more polished
techniq Feb 13, 2026
66fa730
fix clipping
techniq Feb 14, 2026
5076e2f
fix showing component source for layers (Layer, Svg, etc)
techniq Feb 14, 2026
f9aec82
fix(Bar): Fix bar rounding direction when using xReverse/yReverse wit…
techniq Feb 14, 2026
864fa67
fix(Bar): Fix bar rounding direction when using xReverse/yReverse wit…
techniq Feb 14, 2026
c80b6ff
remove reverse/annotations from example
techniq Feb 14, 2026
28299b5
mark WIP guides as draft
techniq Feb 14, 2026
a78d813
refine
techniq Feb 15, 2026
98fb4b5
fix(Canavs): Suppport dashed stroke and support `style` attribute (fi…
techniq Feb 15, 2026
a072c59
fix(Rect): Support rounded (rx/ry) in Canvas layers (fixes #481)
techniq Feb 15, 2026
f8abfb9
add logo
techniq Feb 16, 2026
179d6e1
improve responsiveness
techniq Feb 16, 2026
288b9ec
improve design on smaller viewports
techniq Feb 16, 2026
61065bb
fix theme loading
techniq Feb 16, 2026
43a1638
update colors to match theme, punch up background grid texture slightly
techniq Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .changeset/beige-trams-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Threshold): Properly clip `above` snippet (resolving 1/2 width clipping issues when using Spline)
5 changes: 5 additions & 0 deletions .changeset/clear-pears-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

breaking: Change `defaultChartPadding(axis, legend)` to `defaultChartPadding({ axis, legend })` and support overrides (ex. `defaultChartPadding({ left: 50 })`)
5 changes: 5 additions & 0 deletions .changeset/curly-papers-follow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(AnnotationRange|TooltipContext|Highlight): Fix using interval scales with reversed data (ex. xReverse)
5 changes: 5 additions & 0 deletions .changeset/fair-phones-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

refactor: Rename simplified charts `renderContext` prop to `layer`
5 changes: 5 additions & 0 deletions .changeset/flat-cases-enter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

refactor: Move contexts to separate `$lib/contexts` module
5 changes: 5 additions & 0 deletions .changeset/four-lizards-win.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Layer): Allow `type` to be optional, fallbacking back to `settings.layer` type
5 changes: 5 additions & 0 deletions .changeset/fruity-pumas-stick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Rect): Support rounded (rx/ry) in Canvas layers (fixes #481)
5 changes: 5 additions & 0 deletions .changeset/full-times-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat: Support global settings (layer type, debug, etc)
12 changes: 12 additions & 0 deletions .changeset/good-glasses-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'shadcn-svelte-1': patch
'svelteux-2': patch
'skeleton-3': patch
'skeleton4': patch
'standalone': patch
'layerchart': patch
'daisyui-5': patch
'docs': patch
---

Removed lodash-es dependency
5 changes: 5 additions & 0 deletions .changeset/green-poems-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Bar): Fix browser lockup when switching between group and stack layouts
5 changes: 5 additions & 0 deletions .changeset/hot-dots-stick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Circle|Rect): Support passing children snippet for Html layers
5 changes: 5 additions & 0 deletions .changeset/icy-llamas-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Chart): Support passing explicit `width` and `height` instead of requiring parent dimensions
5 changes: 5 additions & 0 deletions .changeset/kind-melons-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Bar): Fix bar rounding direction when using xReverse/yReverse with interval scales
5 changes: 5 additions & 0 deletions .changeset/shaky-ends-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Chart|Svg|Html): Support passing `clip` prop to hide overflown content
5 changes: 5 additions & 0 deletions .changeset/silver-mugs-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Text): Support explicit "\n" and set line-height (to match svg/canvas) for html layers
5 changes: 5 additions & 0 deletions .changeset/sparkly-beds-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Canavs): Support `style` attribute
5 changes: 5 additions & 0 deletions .changeset/spicy-gifts-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Chart): Support `class` prop
5 changes: 5 additions & 0 deletions .changeset/spicy-seals-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Canavs): Suppport dashed stroke (fix: #652)
5 changes: 5 additions & 0 deletions .changeset/three-cities-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': minor
---

breaking: Extract `Path` primitive component from `Spline` for better separation of concerns
5 changes: 5 additions & 0 deletions .changeset/twenty-bushes-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

feat(Layer): Support showing chart and full frame boundaries with `settings.debug`
259 changes: 259 additions & 0 deletions .claude/skills/playwright-cli/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,259 @@
---
name: playwright-cli
description: Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
allowed-tools: Bash(playwright-cli:*)
---

# Browser Automation with playwright-cli

## Quick start

```bash
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot
playwright-cli screenshot
# close the browser
playwright-cli close
```

## Commands

### Core

```bash
playwright-cli open
# open and navigate right away
playwright-cli open https://example.com/
playwright-cli goto https://playwright.dev
playwright-cli type "search query"
playwright-cli click e3
playwright-cli dblclick e7
playwright-cli fill e5 "user@example.com"
playwright-cli drag e2 e8
playwright-cli hover e4
playwright-cli select e9 "option-value"
playwright-cli upload ./document.pdf
playwright-cli check e12
playwright-cli uncheck e12
playwright-cli snapshot
playwright-cli snapshot --filename=after-click.yaml
playwright-cli eval "document.title"
playwright-cli eval "el => el.textContent" e5
playwright-cli dialog-accept
playwright-cli dialog-accept "confirmation text"
playwright-cli dialog-dismiss
playwright-cli resize 1920 1080
playwright-cli close
```
### Navigation
```bash
playwright-cli go-back
playwright-cli go-forward
playwright-cli reload
```
### Keyboard
```bash
playwright-cli press Enter
playwright-cli press ArrowDown
playwright-cli keydown Shift
playwright-cli keyup Shift
```
### Mouse
```bash
playwright-cli mousemove 150 300
playwright-cli mousedown
playwright-cli mousedown right
playwright-cli mouseup
playwright-cli mouseup right
playwright-cli mousewheel 0 100
```
### Save as
```bash
playwright-cli screenshot
playwright-cli screenshot e5
playwright-cli screenshot --filename=page.png
playwright-cli pdf --filename=page.pdf
```
### Tabs
```bash
playwright-cli tab-list
playwright-cli tab-new
playwright-cli tab-new https://example.com/page
playwright-cli tab-close
playwright-cli tab-close 2
playwright-cli tab-select 0
```
### Storage
```bash
playwright-cli state-save
playwright-cli state-save auth.json
playwright-cli state-load auth.json

# Cookies
playwright-cli cookie-list
playwright-cli cookie-list --domain=example.com
playwright-cli cookie-get session_id
playwright-cli cookie-set session_id abc123
playwright-cli cookie-set session_id abc123 --domain=example.com --httpOnly --secure
playwright-cli cookie-delete session_id
playwright-cli cookie-clear

# LocalStorage
playwright-cli localstorage-list
playwright-cli localstorage-get theme
playwright-cli localstorage-set theme dark
playwright-cli localstorage-delete theme
playwright-cli localstorage-clear

# SessionStorage
playwright-cli sessionstorage-list
playwright-cli sessionstorage-get step
playwright-cli sessionstorage-set step 3
playwright-cli sessionstorage-delete step
playwright-cli sessionstorage-clear
```
### Network
```bash
playwright-cli route "**/*.jpg" --status=404
playwright-cli route "https://api.example.com/**" --body='{"mock": true}'
playwright-cli route-list
playwright-cli unroute "**/*.jpg"
playwright-cli unroute
```
### DevTools
```bash
playwright-cli console
playwright-cli console warning
playwright-cli network
playwright-cli run-code "async page => await page.context().grantPermissions(['geolocation'])"
playwright-cli tracing-start
playwright-cli tracing-stop
playwright-cli video-start
playwright-cli video-stop video.webm
```
### Install
```bash
playwright-cli install --skills
playwright-cli install-browser
```
### Configuration
```bash
# Use specific browser when creating session
playwright-cli open --browser=chrome
playwright-cli open --browser=firefox
playwright-cli open --browser=webkit
playwright-cli open --browser=msedge
# Connect to browser via extension
playwright-cli open --extension

# Use persistent profile (by default profile is in-memory)
playwright-cli open --persistent
# Use persistent profile with custom directory
playwright-cli open --profile=/path/to/profile

# Start with config file
playwright-cli open --config=my-config.json

# Close the browser
playwright-cli close
# Delete user data for the default session
playwright-cli delete-data
```
### Browser Sessions
```bash
# create new browser session named "mysession" with persistent profile
playwright-cli -s=mysession open example.com --persistent
# same with manually specified profile directory (use when requested explicitly)
playwright-cli -s=mysession open example.com --profile=/path/to/profile
playwright-cli -s=mysession click e6
playwright-cli -s=mysession close # stop a named browser
playwright-cli -s=mysession delete-data # delete user data for persistent session

playwright-cli list
# Close all browsers
playwright-cli close-all
# Forcefully kill all browser processes
playwright-cli kill-all
```
## Example: Form submission
```bash
playwright-cli open https://example.com/form
playwright-cli snapshot

playwright-cli fill e1 "user@example.com"
playwright-cli fill e2 "password123"
playwright-cli click e3
playwright-cli snapshot
playwright-cli close
```
## Example: Multi-tab workflow
```bash
playwright-cli open https://example.com
playwright-cli tab-new https://example.com/other
playwright-cli tab-list
playwright-cli tab-select 0
playwright-cli snapshot
playwright-cli close
```
## Example: Debugging with DevTools
```bash
playwright-cli open https://example.com
playwright-cli click e4
playwright-cli fill e7 "test"
playwright-cli console
playwright-cli network
playwright-cli close
```
```bash
playwright-cli open https://example.com
playwright-cli tracing-start
playwright-cli click e4
playwright-cli fill e7 "test"
playwright-cli tracing-stop
playwright-cli close
```
## Specific tasks
* **Request mocking** [references/request-mocking.md](references/request-mocking.md)
* **Running Playwright code** [references/running-code.md](references/running-code.md)
* **Browser session management** [references/session-management.md](references/session-management.md)
* **Storage state (cookies, localStorage)** [references/storage-state.md](references/storage-state.md)
* **Test generation** [references/test-generation.md](references/test-generation.md)
* **Tracing** [references/tracing.md](references/tracing.md)
* **Video recording** [references/video-recording.md](references/video-recording.md)
Loading
Loading