From 35b51ed8503da591126d20aea80df2818e3066ac Mon Sep 17 00:00:00 2001 From: Sean Edmunds Date: Tue, 14 Jul 2026 19:02:27 -0500 Subject: [PATCH] Bug fix and style addition --- biome.json | 11 +++-------- package-lock.json | 15 --------------- src/components/DataTable/components/Filter.tsx | 1 - .../WeatherModal/ExtendedForecastDetails.tsx | 3 ++- src/components/WeatherModal/WeatherModal.tsx | 7 ++++++- .../Theming/Themes/ThemeModal/ThemeModal.tsx | 4 ++-- 6 files changed, 13 insertions(+), 28 deletions(-) diff --git a/biome.json b/biome.json index dbe49a2..cede687 100644 --- a/biome.json +++ b/biome.json @@ -7,28 +7,23 @@ "linter": { "enabled": true, "rules": { - "recommended": true, "a11y": { "noSvgWithoutTitle": "off" }, "complexity": { - "noUselessTypeConstraint": "off", - "recommended": true + "noUselessTypeConstraint": "off" }, "suspicious": { "noExplicitAny": "off", "noImplicitAnyLet": "off", - "recommended": true, "noConsole": { "level": "error", "options": { "allow": ["error"] } } }, "correctness": { "useExhaustiveDependencies": "off", - "noUnusedImports": "error", - "recommended": true + "noUnusedImports": "error" }, "performance": { - "noDelete": "off", - "recommended": true + "noDelete": "off" }, "style": { "noParameterAssign": "error", diff --git a/package-lock.json b/package-lock.json index 53870a5..426de64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3191,21 +3191,6 @@ } } }, - "node_modules/vite-tsconfig-paths/node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "dev": true, - "optional": true, - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/vitest": { "version": "4.1.10", "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.10.tgz", diff --git a/src/components/DataTable/components/Filter.tsx b/src/components/DataTable/components/Filter.tsx index c0f1a43..684b371 100644 --- a/src/components/DataTable/components/Filter.tsx +++ b/src/components/DataTable/components/Filter.tsx @@ -17,7 +17,6 @@ import { datePickerInputClasses, selectClasses } from 'styles'; declare module '@tanstack/react-table' { //allows us to define custom properties for our columns - // biome-ignore lint/correctness/noUnusedVariables: ignore interface ColumnMeta { filterVariant?: | 'text' diff --git a/src/components/WeatherModal/ExtendedForecastDetails.tsx b/src/components/WeatherModal/ExtendedForecastDetails.tsx index 728995f..b40988b 100644 --- a/src/components/WeatherModal/ExtendedForecastDetails.tsx +++ b/src/components/WeatherModal/ExtendedForecastDetails.tsx @@ -24,11 +24,11 @@ export default function ExtendedForecastDetails({ borderRadius: '8px', overflow: 'visible', cursor: 'default', + boxShadow: '15px 15px 3px var(--mantine-color-border-0)', }} onClick={(e) => { e.stopPropagation(); }} - shadow='xl' p={0} > { setSelectedDay(undefined); diff --git a/src/components/WeatherModal/WeatherModal.tsx b/src/components/WeatherModal/WeatherModal.tsx index 61508d8..346da6c 100644 --- a/src/components/WeatherModal/WeatherModal.tsx +++ b/src/components/WeatherModal/WeatherModal.tsx @@ -71,7 +71,12 @@ export function WeatherModal({ backgroundColor: 'color-mix(in srgb, black, transparent 50%)', }} > - + ({ ...selectedTheme }); const [designerTheme, setDesignerTheme] = useState({ ...selectedTheme, @@ -68,7 +68,7 @@ export function ThemeModal({ randomEnabled: 1, textShadowsEnabled: 0, appShadowsEnabled: 0, - themeFont: null, + themeFont: currentUser.defaultFont, }); };