Skip to content

Commit

Permalink
chore(ui): update all non-major dependencies (#1140)
Browse files Browse the repository at this point in the history
* chore(ui): update all non-major dependencies

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix ts errors for v5.4.2

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joe Karow <[email protected]>
  • Loading branch information
renovate[bot] and JoeKarow authored Mar 7, 2024
1 parent 8245606 commit 3a40a5f
Show file tree
Hide file tree
Showing 18 changed files with 534 additions and 529 deletions.
3 changes: 2 additions & 1 deletion apps/app/next-i18next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import compact from 'just-compact'

import path from 'path'

// @ts-expect-error - yelling about declaration file
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { localeList } from '@weareinreach/db/generated/locales.mjs'

const isBrowser = typeof window !== 'undefined'
Expand Down
10 changes: 5 additions & 5 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"luxon": "3.4.4",
"mantine-react-table": "1.3.4",
"next": "14.1.3",
"next-auth": "4.24.6",
"next-auth": "4.24.7",
"next-i18next": "15.2.0",
"next-seo": "6.5.0",
"nextjs-google-analytics": "2.3.3",
Expand All @@ -101,7 +101,7 @@
"react-hook-consent": "3.5.3",
"react-hook-form": "7.51.0",
"react-hook-form-mantine": "2.0.0",
"react-i18next": "14.0.7",
"react-i18next": "14.1.0",
"zod": "3.22.4"
},
"devDependencies": {
Expand All @@ -115,8 +115,8 @@
"@types/gtag.js": "0.0.19",
"@types/luxon": "3.4.2",
"@types/node": "20.11.25",
"@types/react": "18.2.63",
"@types/react-dom": "18.2.20",
"@types/react": "18.2.64",
"@types/react-dom": "18.2.21",
"@types/umami": "0.1.5",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
Expand All @@ -134,7 +134,7 @@
"trpc-panel": "1.3.4",
"trpc-playground": "1.0.4",
"type-fest": "4.11.1",
"typescript": "5.3.3",
"typescript": "5.4.2",
"webpack-bundle-analyzer": "4.10.1"
},
"ct3aMetadata": {
Expand Down
8 changes: 4 additions & 4 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
"next": "14.1.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "14.0.7"
"react-i18next": "14.1.0"
},
"devDependencies": {
"@next/bundle-analyzer": "14.1.3",
"@types/eslint": "8.56.5",
"@types/node": "20.11.25",
"@types/react": "18.2.63",
"@types/react-dom": "18.2.20",
"@types/react": "18.2.64",
"@types/react-dom": "18.2.21",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"eslint": "8.57.0",
"typescript": "5.3.3"
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion lambdas/cognito-messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"aws-lambda": "1.0.7",
"eslint": "8.57.0",
"prettier": "3.2.5",
"typescript": "5.3.3"
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion lambdas/cognito-user-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"eslint": "8.57.0",
"prettier": "3.2.5",
"prisma": "5.10.2",
"typescript": "5.3.3"
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"sherif": "0.8.1",
"tsx": "4.7.1",
"turbo": "1.12.5",
"typescript": "5.3.3",
"typescript": "5.4.2",
"typesync": "0.12.1",
"yargs": "17.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@types/terraformer__wkt": "2.0.2",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"dotenv-cli": "7.3.0",
"dotenv-cli": "7.4.0",
"eslint": "8.57.0",
"inquirer-search-list": "1.2.6",
"just-pascal-case": "3.2.0",
Expand All @@ -67,7 +67,7 @@
"trpc-client-devtools-link": "0.2.1-next",
"trpc-panel": "1.3.4",
"type-fest": "4.11.1",
"typescript": "5.3.3"
"typescript": "5.4.2"
},
"peerDependencies": {
"next": ">=13"
Expand Down
8 changes: 4 additions & 4 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@
"devDependencies": {
"@types/eslint": "8.56.5",
"@types/node": "20.11.25",
"@types/react": "18.2.63",
"@types/react-dom": "18.2.20",
"@types/react": "18.2.64",
"@types/react-dom": "18.2.21",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"eslint": "8.57.0",
"next": "14.1.3",
"next-auth": "4.24.6",
"next-auth": "4.24.7",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.3.3"
"typescript": "5.4.2"
},
"peerDependencies": {
"next": "^14",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@weareinreach/eslint-config": "0.100.0",
"alex": "11.0.1",
"next-i18next": "15.2.0",
"typescript": "5.3.3"
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/crowdin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "workspace:*",
"prettier": "3.2.5",
"typescript": "5.3.3"
"typescript": "5.4.2"
}
}
6 changes: 3 additions & 3 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"dotenv": "16.4.5",
"dotenv-cli": "7.3.0",
"dotenv-cli": "7.4.0",
"eslint": "8.57.0",
"google-auth-library": "9.6.3",
"google-spreadsheet": "4.1.1",
"googleapis": "133.0.0",
"inquirer": "9.2.15",
"inquirer-autocomplete-prompt": "3.0.1",
"just-compact": "3.2.0",
"kysely-codegen": "0.12.0",
"kysely-codegen": "0.13.0",
"libphonenumber-js": "1.10.57",
"listr2": "8.0.2",
"luxon": "3.4.4",
Expand All @@ -108,7 +108,7 @@
"tiny-invariant": "1.3.3",
"tsx": "4.7.1",
"type-fest": "4.11.1",
"typescript": "5.3.3",
"typescript": "5.4.2",
"zod-prisma-types": "3.1.6",
"zod-to-json-schema": "3.22.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@t3-oss/env-nextjs": "0.9.2",
"@weareinreach/util": "workspace:*",
"chromatic": "11.0.3",
"chromatic": "11.0.4",
"zod": "3.22.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"eslint-plugin-turbo": "1.12.5",
"next": "14.1.3",
"resolve-pkg-maps": "1.0.0",
"typescript": "5.3.3"
"typescript": "5.4.2"
},
"peerDependencies": {
"eslint": ">=8",
Expand Down
12 changes: 6 additions & 6 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
"@types/luxon": "3.4.2",
"@types/node": "20.11.25",
"@types/probe-image-size": "7.2.4",
"@types/react": "18.2.63",
"@types/react-dom": "18.2.20",
"@types/react": "18.2.64",
"@types/react-dom": "18.2.21",
"@types/terraformer__wkt": "2.0.2",
"@weareinreach/api": "workspace:*",
"@weareinreach/auth": "workspace:*",
Expand All @@ -134,7 +134,7 @@
"@weareinreach/eslint-config": "0.100.0",
"@welldone-software/why-did-you-render": "8.0.1",
"babel-loader": "9.1.3",
"chromatic": "11.0.3",
"chromatic": "11.0.4",
"css-loader": "6.10.0",
"dayjs": "1.11.10",
"dotenv": "16.4.5",
Expand All @@ -151,7 +151,7 @@
"msw": "2.2.2",
"msw-storybook-addon": "2.0.0-beta.0",
"next": "14.1.3",
"next-auth": "4.24.6",
"next-auth": "4.24.7",
"next-i18next": "15.2.0",
"postcss-loader": "8.1.1",
"prettier": "3.2.5",
Expand All @@ -163,7 +163,7 @@
"react-hook-form": "7.51.0",
"react-hook-form-mantine": "2.0.0",
"react-hook-tracer": "1.4.0",
"react-i18next": "14.0.7",
"react-i18next": "14.1.0",
"react-refresh": "0.14.0",
"react-refresh-typescript": "2.0.9",
"resolve-url-loader": "5.0.0",
Expand All @@ -175,7 +175,7 @@
"tsconfig-paths-webpack-plugin": "4.1.0",
"tsx": "4.7.1",
"type-fest": "4.11.1",
"typescript": "5.3.3",
"typescript": "5.4.2",
"webpack": "5.90.3",
"zod": "3.22.4"
},
Expand Down
9 changes: 1 addition & 8 deletions packages/ui/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,4 @@ export const customColors = {

/** Merge custom color names with Mantine's presets */
type ExtendedCustomColors = CustomColors | DefaultMantineColor
type CustomColorDefinitions = Record<ExtendedCustomColors, Tuple<string, 10>>

/** Global declaration to add custom colors */
declare module '@mantine/core' {
export interface MantineThemeColorsOverride {
colors: CustomColorDefinitions
}
}
export type CustomColorDefinitions = Record<ExtendedCustomColors, Tuple<string, 10>>
3 changes: 1 addition & 2 deletions packages/ui/theme/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
type InputStylesParams,
type InputWrapperProps,
type InputWrapperStylesNames,
type MantineThemeOther,
type MantineThemeOverride,
type ModalProps,
type ModalStylesNames,
Expand Down Expand Up @@ -125,7 +124,7 @@ const themeCustomObj = {
animations: {
shake,
},
} as const satisfies MantineThemeOther
} as const //satisfies MantineThemeOther

export const commonTheme = {
colorScheme: 'light',
Expand Down
8 changes: 5 additions & 3 deletions packages/ui/types/mantine.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/consistent-type-specifier-style */
import type { ThemeCustomObject } from '../theme'
import type { BadgeProps as _BadgeProps, ContextStylesParams, MantineTheme } from '@mantine/core'
import type { CustomColorDefinitions, ThemeCustomObject } from '../theme'
import type { BadgeProps as _BadgeProps, ContextStylesParams, CSSObject, MantineTheme } from '@mantine/core'

export type VariantDef<P = unknown> = (
theme: MantineTheme,
Expand All @@ -11,6 +11,8 @@ export type VariantDef<P = unknown> = (
export type VariantObj = MantineTheme['components'][string]['variants']

declare module '@mantine/core' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface MantineThemeOther extends ThemeCustomObject {}
export interface MantineThemeColorsOverride {
colors: CustomColorDefinitions
}
}
Loading

0 comments on commit 3a40a5f

Please sign in to comment.