Skip to content

Commit 237b576

Browse files
committed
chore(deps): bump package versions across workspaces
Upgraded several dependencies in `eslint-config`, `tailwind-variants`, `ui`, and `image-loader` packages to their latest versions. Updated `@rslib/core`, `@types/node`, and other key packages for improved compatibility and stability. Adjusted `ChartTooltipContentProps` type in `ui` package.
1 parent 436e1d9 commit 237b576

File tree

18 files changed

+1045
-1218
lines changed

18 files changed

+1045
-1218
lines changed

.changeset/red-lemons-do.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@codefast/tailwind-variants": patch
3+
"@codefast/eslint-config": patch
4+
"@codefast/image-loader": patch
5+
"@codefast/ui": patch
6+
---
7+
8+
chore(deps): bump package versions across workspaces

apps/docs/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"js-cookie": "^3.0.5",
2929
"lodash-es": "^4.17.21",
3030
"lucide-react": "^0.553.0",
31-
"next": "^16.0.1",
31+
"next": "^16.0.3",
3232
"next-themes": "^0.4.6",
3333
"query-string": "^9.3.1",
3434
"react": "^19.2.0",
3535
"react-day-picker": "^9.11.1",
3636
"react-dom": "^19.2.0",
3737
"react-hook-form": "^7.66.0",
3838
"react-resizable-panels": "^3.0.6",
39-
"recharts": "^3.3.0",
39+
"recharts": "^3.4.1",
4040
"shiki": "^3.15.0",
4141
"ts-morph": "^27.0.2",
4242
"zod": "^4.1.12"
@@ -48,11 +48,11 @@
4848
"@tailwindcss/postcss": "^4.1.17",
4949
"@types/js-cookie": "^3.0.6",
5050
"@types/lodash-es": "^4.17.12",
51-
"@types/node": "^24.10.0",
52-
"@types/react": "^19.2.2",
53-
"@types/react-dom": "^19.2.2",
51+
"@types/node": "^24.10.1",
52+
"@types/react": "^19.2.4",
53+
"@types/react-dom": "^19.2.3",
5454
"eslint": "^9.39.1",
55-
"eslint-config-next": "^16.0.1",
55+
"eslint-config-next": "^16.0.3",
5656
"postcss": "^8.5.6",
5757
"rimraf": "^6.1.0",
5858
"tailwindcss": "^4.1.17",

apps/docs/src/app/(examples)/examples/dashboard-03/_components/chart-visitors.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44
import type { LabelContentType, Props as LabelProps } from "recharts/types/component/Label";
55
import type { PieSectorDataItem } from "recharts/types/polar/Pie";
66
import type { ActiveShape } from "recharts/types/util/types";
@@ -158,7 +158,7 @@ const activeShape: ActiveShape<PieSectorDataItem> = ({
158158
);
159159

160160
const content: (activeIndex: number) => LabelContentType = (activeIndex) =>
161-
function Content(props: LabelProps): ReactNode {
161+
function Content(props: LabelProps): JSX.Element | null {
162162
const { viewBox } = props;
163163

164164
if (viewBox && "cx" in viewBox && "cy" in viewBox) {

apps/docs/src/registry/charts/chart-line-dots-colors.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function ChartLineDotsColors(): JSX.Element {
8686
/>
8787
<Line
8888
dataKey="visitors"
89-
dot={dot}
89+
dot={dot as ComponentProps<typeof Line>["dot"]}
9090
stroke="var(--color-visitors)"
9191
strokeWidth={2}
9292
type="natural"
@@ -95,7 +95,7 @@ export function ChartLineDotsColors(): JSX.Element {
9595
</ChartContainer>
9696
</CardContent>
9797
<CardFooter className="flex-col items-start gap-2 text-sm">
98-
<div className="flex gap-2 font-medium leading-none">
98+
<div className="flex gap-2 leading-none font-medium">
9999
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
100100
</div>
101101
<div className="text-muted-foreground leading-none">
@@ -106,20 +106,14 @@ export function ChartLineDotsColors(): JSX.Element {
106106
);
107107
}
108108

109-
const dot: ComponentProps<typeof Line>["dot"] = ({
109+
const dot = ({
110+
cx = 0,
111+
cy = 0,
110112
payload,
111-
...props
112113
}: DotProps & {
113114
payload: DataItem;
114-
}) => {
115+
}): JSX.Element => {
115116
return (
116-
<Dot
117-
key={payload.browser}
118-
cx={props.cx}
119-
cy={props.cy}
120-
fill={payload.fill}
121-
r={5}
122-
stroke={payload.fill}
123-
/>
117+
<Dot key={payload.browser} cx={cx} cy={cy} fill={payload.fill} r={5} stroke={payload.fill} />
124118
);
125119
};

apps/docs/src/registry/charts/chart-line-dots-custom.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function ChartLineDotsCustom(): JSX.Element {
7474
<ChartTooltip content={<ChartTooltipContent hideLabel />} cursor={false} />
7575
<Line
7676
dataKey="desktop"
77-
dot={dot}
77+
dot={dot as ComponentProps<typeof Line>["dot"]}
7878
stroke="var(--color-desktop)"
7979
strokeWidth={2}
8080
type="natural"
@@ -83,7 +83,7 @@ export function ChartLineDotsCustom(): JSX.Element {
8383
</ChartContainer>
8484
</CardContent>
8585
<CardFooter className="flex-col items-start gap-2 text-sm">
86-
<div className="flex gap-2 font-medium leading-none">
86+
<div className="flex gap-2 leading-none font-medium">
8787
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
8888
</div>
8989
<div className="text-muted-foreground leading-none">
@@ -94,13 +94,13 @@ export function ChartLineDotsCustom(): JSX.Element {
9494
);
9595
}
9696

97-
const dot: ComponentProps<typeof Line>["dot"] = ({
97+
const dot = ({
9898
cx = 0,
9999
cy = 0,
100100
payload,
101101
}: DotProps & {
102102
payload: DataItem;
103-
}) => {
103+
}): JSX.Element => {
104104
const r = 24;
105105

106106
return (

apps/docs/src/registry/charts/chart-line-label-custom.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44

55
import { TrendingUpIcon } from "lucide-react";
66
import { CartesianGrid, LabelList, Line, LineChart } from "recharts";
@@ -93,12 +93,12 @@ export function ChartLineLabelCustom(): JSX.Element {
9393
className="fill-foreground"
9494
dataKey="browser"
9595
fontSize={12}
96-
formatter={(value): ReactNode => {
96+
formatter={(value) => {
9797
if (typeof value === "string" && value in chartConfig) {
9898
return chartConfig[value as keyof typeof chartConfig].label;
9999
}
100100

101-
return value;
101+
return String(value);
102102
}}
103103
offset={12}
104104
position="top"
@@ -108,7 +108,7 @@ export function ChartLineLabelCustom(): JSX.Element {
108108
</ChartContainer>
109109
</CardContent>
110110
<CardFooter className="flex-col items-start gap-2 text-sm">
111-
<div className="flex gap-2 font-medium leading-none">
111+
<div className="flex gap-2 leading-none font-medium">
112112
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
113113
</div>
114114
<div className="text-muted-foreground leading-none">

apps/docs/src/registry/charts/chart-pie-donut-text.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44
import type { Props } from "recharts/types/component/Label";
55

66
import { TrendingUpIcon } from "lucide-react";
@@ -79,7 +79,7 @@ export function ChartPieDonutText(): JSX.Element {
7979
</ChartContainer>
8080
</CardContent>
8181
<CardFooter className="flex-col gap-2 text-sm">
82-
<div className="flex items-center gap-2 font-medium leading-none">
82+
<div className="flex items-center gap-2 leading-none font-medium">
8383
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
8484
</div>
8585
<div className="text-muted-foreground leading-none">
@@ -90,7 +90,7 @@ export function ChartPieDonutText(): JSX.Element {
9090
);
9191
}
9292

93-
function Content({ viewBox }: Props): ReactNode {
93+
function Content({ viewBox }: Props): JSX.Element | null {
9494
const totalVisitors = useMemo(() => {
9595
return chartData.reduce((accumulator, current) => accumulator + current.visitors, 0);
9696
}, []);

apps/docs/src/registry/charts/chart-pie-interactive.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44
import type { LabelContentType, Props as LabelProps } from "recharts/types/component/Label";
55
import type { PieSectorDataItem } from "recharts/types/polar/Pie";
66
import type { ActiveShape } from "recharts/types/util/types";
@@ -105,7 +105,7 @@ export function ChartPieInteractive(): JSX.Element {
105105
<SelectItem key={key} className="rounded-lg [&_span]:flex" value={key}>
106106
<div className="flex items-center gap-2 text-xs">
107107
<span
108-
className="rounded-xs flex h-3 w-3 shrink-0"
108+
className="flex h-3 w-3 shrink-0 rounded-xs"
109109
style={{
110110
backgroundColor: `var(--color-${key})`,
111111
}}
@@ -158,7 +158,7 @@ const activeShape: ActiveShape<PieSectorDataItem> = ({
158158
);
159159

160160
const content: (activeIndex: number) => LabelContentType = (activeIndex) =>
161-
function Content(props: LabelProps): ReactNode {
161+
function Content(props: LabelProps): JSX.Element | null {
162162
const { viewBox } = props;
163163

164164
if (viewBox && "cx" in viewBox && "cy" in viewBox) {

apps/docs/src/registry/charts/chart-radial-shape.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44
import type { Props } from "recharts/types/component/Label";
55

66
import { TrendingUpIcon } from "lucide-react";
@@ -55,7 +55,7 @@ export function ChartRadialShape(): JSX.Element {
5555
</ChartContainer>
5656
</CardContent>
5757
<CardFooter className="flex-col gap-2 text-sm">
58-
<div className="flex items-center gap-2 font-medium leading-none">
58+
<div className="flex items-center gap-2 leading-none font-medium">
5959
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
6060
</div>
6161
<div className="text-muted-foreground leading-none">
@@ -66,7 +66,7 @@ export function ChartRadialShape(): JSX.Element {
6666
);
6767
}
6868

69-
function Content({ viewBox }: Props): ReactNode {
69+
function Content({ viewBox }: Props): JSX.Element | null {
7070
if (viewBox && "cx" in viewBox && "cy" in viewBox) {
7171
return (
7272
<text dominantBaseline="middle" textAnchor="middle" x={viewBox.cx} y={viewBox.cy}>

apps/docs/src/registry/charts/chart-radial-stacked.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import type { JSX, ReactNode } from "react";
3+
import type { JSX } from "react";
44
import type { Props } from "recharts/types/component/Label";
55

66
import { TrendingUpIcon } from "lucide-react";
@@ -65,7 +65,7 @@ export function ChartRadialStacked(): JSX.Element {
6565
</ChartContainer>
6666
</CardContent>
6767
<CardFooter className="flex-col gap-2 text-sm">
68-
<div className="flex items-center gap-2 font-medium leading-none">
68+
<div className="flex items-center gap-2 leading-none font-medium">
6969
Trending up by 5.2% this month <TrendingUpIcon className="h-4 w-4" />
7070
</div>
7171
<div className="text-muted-foreground leading-none">
@@ -76,7 +76,7 @@ export function ChartRadialStacked(): JSX.Element {
7676
);
7777
}
7878

79-
function Content({ viewBox }: Props): ReactNode {
79+
function Content({ viewBox }: Props): JSX.Element | null {
8080
const totalVisitors = chartData[0].desktop + chartData[0].mobile;
8181

8282
if (viewBox && "cx" in viewBox && "cy" in viewBox) {

0 commit comments

Comments
 (0)