Skip to content

Commit 1434d99

Browse files
committed
chore(ui): upgrade dependencies
1 parent 3c27b97 commit 1434d99

File tree

5 files changed

+161
-69
lines changed

5 files changed

+161
-69
lines changed

libs/ui/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"preview": "vite preview"
3030
},
3131
"dependencies": {
32-
"@mantine/core": "7.17.4",
33-
"@mantine/dates": "7.17.4",
34-
"@mantine/form": "7.17.4",
35-
"@mantine/hooks": "7.17.4",
36-
"@mantine/modals": "^7.17.4",
37-
"@mantine/notifications": "7.17.4",
32+
"@mantine/core": "8.2.4",
33+
"@mantine/dates": "8.2.4",
34+
"@mantine/form": "8.2.4",
35+
"@mantine/hooks": "8.2.4",
36+
"@mantine/modals": "^8.2.4",
37+
"@mantine/notifications": "8.2.4",
3838
"@tabler/icons-react": "^3.31.0",
3939
"dayjs": "^1.11.13",
4040
"react": "^19.1.0",
@@ -45,9 +45,9 @@
4545
"@eslint/js": "^9.25.0",
4646
"@types/react": "^19.1.2",
4747
"@types/react-dom": "^19.1.2",
48-
"@vitejs/plugin-react": "^4.4.1",
48+
"@vitejs/plugin-react": "^5.0.0",
4949
"typescript": "^5.8.3",
50-
"vite": "^6.3.2",
50+
"vite": "^7.1.2",
5151
"vite-plugin-dts": "^4.5.3",
5252
"vite-plugin-svgr": "^4.3.0"
5353
}

libs/ui/src/components/MonthPicker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
DatePickerType,
33
DatesRangeValue,
4-
DateValue,
54
MonthPicker as MantineMonthPicker,
65
MonthPickerProps as MantineMonthPickerProps,
76
} from "@mantine/dates";
@@ -11,7 +10,7 @@ interface MonthPickerProps<Type extends DatePickerType = "default"> extends Mant
1110
selectEndOfMonth?: boolean;
1211
}
1312

14-
function isRangeValue(date: DateValue | DatesRangeValue | Date[]): date is DatesRangeValue {
13+
function isRangeValue(date: string | DatesRangeValue | string[] | null): date is DatesRangeValue {
1514
return Array.isArray(date) && date.length === 2;
1615
}
1716

libs/ui/src/theme/ThemeProvider.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { MantineProvider, MantineThemeOverride, MantineProviderProps, createTheme } from "@mantine/core";
22
import "./Theme.css";
3-
import { DatesProvider } from "@mantine/dates";
43
import dayjs from "dayjs";
54
import utc from "dayjs/plugin/utc";
65
import { DefaultMantineColor, MantineColorsTuple } from "@mantine/core";
@@ -37,13 +36,11 @@ export const defaultTheme: MantineThemeOverride = createTheme({
3736

3837
export function ThemeProvider({ children, ...args }: ThemeProviderProps) {
3938
return (
40-
<DatesProvider settings={{ timezone: "UTC" }}>
41-
<MantineProvider theme={defaultTheme} {...args}>
42-
<ModalsProvider>
43-
<Notifications />
44-
{children}
45-
</ModalsProvider>
46-
</MantineProvider>
47-
</DatesProvider>
39+
<MantineProvider theme={defaultTheme} {...args}>
40+
<ModalsProvider>
41+
<Notifications />
42+
{children}
43+
</ModalsProvider>
44+
</MantineProvider>
4845
);
4946
}

libs/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"devDependencies": {
3434
"@eslint/js": "^9.25.0",
3535
"typescript": "^5.8.3",
36-
"vite": "^6.3.2",
36+
"vite": "^7.1.2",
3737
"vite-plugin-dts": "^4.5.3",
3838
"vitest": "^3.1.1"
3939
}

0 commit comments

Comments
 (0)