Commit 2ddbdab 1 parent dd8f712 commit 2ddbdab Copy full SHA for 2ddbdab
File tree 7 files changed +429
-408
lines changed
7 files changed +429
-408
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @ngrok/mantle " : patch
3
+ ---
4
+
5
+ ProgressDonut: properly fix the render AND hydration issue
Original file line number Diff line number Diff line change 21
21
"@react-router/fs-routes" : " 7.2.0" ,
22
22
"@react-router/node" : " 7.2.0" ,
23
23
"@react-router/serve" : " 7.2.0" ,
24
- "@vercel/react-router" : " 1.0.2 " ,
24
+ "@vercel/react-router" : " 1.1.0 " ,
25
25
"isbot" : " 5.1.23" ,
26
26
"prismjs" : " 1.29.0" ,
27
27
"react" : " 18.3.1" ,
34
34
"@cfg/tsconfig" : " workspace:*" ,
35
35
"@commander-js/extra-typings" : " 13.1.0" ,
36
36
"@react-router/dev" : " 7.2.0" ,
37
- "@types/node" : " 22.13.4 " ,
37
+ "@types/node" : " 22.13.9 " ,
38
38
"@types/prismjs" : " 1.26.5" ,
39
39
"@types/react" : " 18.3.18" ,
40
40
"@types/react-dom" : " 18.3.5" ,
41
41
"commander" : " 13.1.0" ,
42
42
"postcss" : " 8.5.3" ,
43
- "react-router-devtools" : " 1.1.5 " ,
43
+ "react-router-devtools" : " 1.1.6 " ,
44
44
"tailwindcss" : " 3.4.17" ,
45
- "typescript" : " 5.7.3 " ,
46
- "vite" : " 6.1.1 " ,
45
+ "typescript" : " 5.8.2 " ,
46
+ "vite" : " 6.2.0 " ,
47
47
"vite-tsconfig-paths" : " 5.1.4"
48
48
}
49
49
}
Original file line number Diff line number Diff line change 3
3
"display" : " Default" ,
4
4
"compilerOptions" : {
5
5
/* Base Options: */
6
+ "allowJs" : true ,
7
+ "erasableSyntaxOnly" : true ,
6
8
"esModuleInterop" : true ,
9
+ "isolatedModules" : true ,
10
+ "moduleDetection" : " force" ,
11
+ "resolveJsonModule" : true ,
7
12
"skipLibCheck" : true ,
8
13
"target" : " ES2022" ,
9
- "allowJs" : true ,
10
- "resolveJsonModule" : true ,
11
- "moduleDetection" : " force" ,
12
- "isolatedModules" : true ,
13
14
"verbatimModuleSyntax" : true ,
14
15
15
16
/* Strictness */
16
17
"strict" : true ,
17
- "noUncheckedIndexedAccess" : true ,
18
18
"noImplicitOverride" : true ,
19
+ "noUncheckedIndexedAccess" : true ,
19
20
"noUncheckedSideEffectImports" : true ,
20
21
}
21
22
}
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"name" : " mantle" ,
4
4
"license" : " MIT" ,
5
- "packageManager" : " pnpm@10.4.1 " ,
5
+ "packageManager" : " pnpm@10.5.2 " ,
6
6
"type" : " module" ,
7
7
"engines" : {
8
8
"node" : " ^22.0.0"
31
31
"devDependencies" : {
32
32
"@biomejs/biome" : " 1.9.4" ,
33
33
"@changesets/changelog-github" : " 0.5.1" ,
34
- "@changesets/cli" : " 2.28.0 " ,
35
- "turbo" : " 2.4.2 " ,
36
- "vitest" : " 3.0.6 "
34
+ "@changesets/cli" : " 2.28.1 " ,
35
+ "turbo" : " 2.4.4 " ,
36
+ "vitest" : " 3.0.7 "
37
37
},
38
38
"pnpm" : {
39
39
"overrides" : {
Original file line number Diff line number Diff line change 52
52
"clsx" : " 2.1.1" ,
53
53
"prismjs" : " 1.29.0" ,
54
54
"react-day-picker" : " 8.10.1" ,
55
- "sonner" : " 2.0.0 " ,
55
+ "sonner" : " 2.0.1 " ,
56
56
"tailwind-merge" : " 2.6.0" ,
57
57
"tailwindcss-animate" : " 1.0.7" ,
58
58
"tiny-invariant" : " 1.3.3"
64
64
"@testing-library/jest-dom" : " 6.6.3" ,
65
65
"@testing-library/react" : " 16.2.0" ,
66
66
"@testing-library/user-event" : " 14.6.1" ,
67
- "@types/node" : " 22.13.4 " ,
67
+ "@types/node" : " 22.13.9 " ,
68
68
"@types/prismjs" : " 1.26.5" ,
69
69
"@types/react" : " 18.3.18" ,
70
70
"@types/react-dom" : " 18.3.5" ,
78
78
"react-dom" : " 18.3.1" ,
79
79
"react-router" : " 7.2.0" ,
80
80
"tailwindcss" : " 3.4.17" ,
81
- "tsup" : " 8.3.6 " ,
82
- "typescript" : " 5.7.3 " ,
81
+ "tsup" : " 8.4.0 " ,
82
+ "typescript" : " 5.8.2 " ,
83
83
"zod" : " 3.24.2"
84
84
},
85
85
"peerDependencies" : {
Original file line number Diff line number Diff line change @@ -180,7 +180,10 @@ const ProgressDonutIndicator = ({
180
180
</ defs >
181
181
) }
182
182
< circle
183
- className = "[r:var(--radius)]"
183
+ className = { clsx (
184
+ "[r:var(--radius)]" , // set the circle radius to be the value of the calc'd CSS variable set on the style
185
+ "origin-center" ,
186
+ ) }
184
187
cx = "50%"
185
188
cy = "50%"
186
189
fill = "transparent"
@@ -193,7 +196,6 @@ const ProgressDonutIndicator = ({
193
196
strokeLinecap = "round"
194
197
strokeWidth = { strokeWidthPx }
195
198
style = { { "--radius" : radius } as CSSProperties }
196
- { ...{ transformOrigin : "center" as const } }
197
199
transform = "rotate(-90)" // rotate -90 degrees so it starts from the top
198
200
/>
199
201
</ g >
You can’t perform that action at this time.
0 commit comments