Skip to content

Commit

Permalink
fix: Add miter-clip and arcs to stroke-linejoin attribute (#10377)
Browse files Browse the repository at this point in the history
#10141 for svelte 4
  • Loading branch information
navorite authored Feb 2, 2024
1 parent 2cc2510 commit f834b6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nine-bags-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: Add `miter-clip` and `arcs` to `stroke-linejoin` attribute
10 changes: 9 additions & 1 deletion packages/svelte/elements.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,15 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
'stroke-dasharray'?: string | number | undefined | null;
'stroke-dashoffset'?: string | number | undefined | null;
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null;
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null;
'stroke-linejoin'?:
| 'arcs'
| 'miter-clip'
| 'miter'
| 'round'
| 'bevel'
| 'inherit'
| undefined
| null;
'stroke-miterlimit'?: string | undefined | null;
'stroke-opacity'?: number | string | undefined | null;
'stroke-width'?: number | string | undefined | null;
Expand Down

0 comments on commit f834b6e

Please sign in to comment.