123 Commits

Author SHA1 Message Date
06460f0009 Update @mantine/* dependencies to 8.3.7 2025-11-09 12:28:34 +03:00
b8f9de5c17 Update all dependencies (#48) 2025-11-09 07:25:21 +03:00
5fc5f6a18c Add next-env.d.ts to .gitignore (#47)
* Remove next-env

* Add next env to gitignore

* Add typegen to test script
2025-11-04 09:23:43 +03:00
48454f0847 Update storybook to v10 (#45)
* Update all dependencies to v10

* Update module resolution in tsconfig

* Update all dependencies to v10

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vitaly Rtishchev <rtivital@gmail.com>
2025-11-02 19:10:49 +03:00
dcbe29abd6 Update all dependencies (#44)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-02 10:13:03 +03:00
2a9bf8aa25 Update dependencies 2025-10-29 08:50:55 +03:00
0eb5557881 Update @mantine/* dependencies to 8.3.6 2025-10-29 08:49:52 +03:00
161eea40d5 Update Next.js to 16 (#43)
* Update all dependencies to v16

* Update to Next.js 16

* Remove eslint from build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vitaly Rtishchev <rtivital@gmail.com>
2025-10-26 10:41:40 +03:00
4bb12a4a28 Update all dependencies (#42) 2025-10-26 07:29:24 +03:00
d9831e2cbd Update actions/setup-node action to v6 (#41) 2025-10-19 07:25:43 +03:00
1924944ef2 Update all dependencies (#40) 2025-10-19 07:25:21 +03:00
de0ee08e02 Update actions dependencies (#39)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-12 07:38:12 +03:00
67e5781db0 Update all dependencies (#38) 2025-10-12 07:36:56 +03:00
801324e17e Update dependencies and setup renovate 2025-10-09 22:47:44 +03:00
dba951aee5 Fix broke storybook 2025-10-09 22:43:51 +03:00
ec459e32a1 Update @mantine/* dependencies to 8.3.4 2025-10-09 21:58:09 +03:00
e41a6d974b Update @mantine/* dependencies to 8.3.3 2025-10-02 22:17:33 +03:00
7a9918204c Update dependencies to the latest version 2025-10-01 15:27:25 +03:00
c6079c7741 Update @mantine/* dependencies to 8.3.2 2025-09-23 20:50:17 +03:00
596bfa3093 Update yarn to 4.10.3 2025-09-23 19:28:53 +03:00
8926c997b9 Update yarn to 4.10.2 2025-09-18 21:44:51 +03:00
f3ab9bddb7 Update next lint command 2025-09-12 11:18:49 +03:00
929c09edd7 Update dependencies to the latest version 2025-09-12 11:02:10 +03:00
f5d9bc78ac Update @mantine/* dependencies to 8.3.1 2025-09-12 09:27:55 +03:00
0c327e8247 Update @mantine/* dependencies to 8.3.0 2025-09-08 16:49:49 +03:00
18effba097 Update yarn to 4.9.4 2025-09-03 17:34:00 +03:00
316114717a Update @mantine/* dependencies to 8.2.8 2025-09-01 18:14:30 +03:00
835f4a9561 Update yarn to 4.9.3 2025-08-20 21:14:42 +03:00
fac653befc Update @mantine/* dependencies to 8.2.5 2025-08-16 21:28:14 +03:00
4298ec1a11 Update @mantine/* dependencies to 8.2.4 2025-08-07 12:37:03 +03:00
62f53ffef9 Update @mantine/* dependencies to 8.2.3 2025-08-05 13:05:21 +03:00
00b9d6b643 Update @mantine/* dependencies to 8.2.2 2025-07-31 18:10:35 +03:00
9738dd865c Update @mantine/* dependencies to 8.2.1 2025-07-21 16:33:43 +03:00
40f6fc48b9 Update node to v24.3.0 2025-07-01 10:22:24 +04:00
0240e79c88 Update @mantine/* dependencies to 8.1.2 2025-06-25 23:00:12 +04:00
3c786b5a33 Add stories sorting 2025-06-25 13:03:10 +04:00
a1af77b733 Add test env to provider 2025-06-16 13:32:48 +04:00
e4d565fca8 Update yarn to 4.9.2 2025-06-14 09:39:55 +04:00
d8fddcc1d7 Update dependencies 2025-06-14 09:38:33 +04:00
7ac48ade90 Update @mantine/* dependencies to 8.1.0 2025-06-09 21:23:23 +04:00
6e789e167a Update @mantine/* dependencies to 8.0.2 2025-05-29 21:22:19 +04:00
25c19542ab Update @mantine/* dependencies to 8.0.1 2025-05-14 18:45:31 +04:00
07643beb99 Update @mantine/* dependencies to 8.0.0 2025-05-05 15:13:21 +04:00
e6e18446cb Update @mantine/* dependencies to 7.17.7 2025-05-02 13:14:57 +04:00
6c223a0d10 Update to react 19.1 2025-04-25 15:54:55 +04:00
299c4e6215 Update yarn to 4.9.1 2025-04-25 15:40:01 +04:00
2c6d23846e Update @mantine/* dependencies to 7.17.5 2025-04-24 12:51:11 +04:00
6b07d1e156 Update @mantine/* dependencies to 7.17.4 2025-04-08 19:59:45 +04:00
d425e334e9 Update yarn to 4.8.1 2025-04-08 19:38:26 +04:00
8ace050a57 Turn off no-console eslint rule in storybook files 2025-03-22 18:41:33 +04:00
30ca5b66a2 Update dependencies to the latest version 2025-03-22 18:41:05 +04:00
f97a7f308c Update @mantine/* dependencies to 7.17.2 2025-03-14 12:34:34 +04:00
a01844c8c7 Update yarn to 4.7.0 2025-03-04 13:45:12 +04:00
0b3fc460e0 Update @mantine/* dependencies to 7.17.1 2025-03-01 13:14:37 +04:00
8d2a692c36 Update @mantine/* dependencies to 7.17.0 2025-02-17 20:44:13 +04:00
48952147df Update @mantine/* dependencies to 7.16.3 2025-02-08 15:14:57 +04:00
33de4133b7 Update @mantine/* dependencies to 7.16.2 2025-01-27 14:36:06 +04:00
476585ba0b Update @mantine/* dependencies to 7.16.1 2025-01-19 13:56:12 +04:00
756bfd1099 Update dependencies to the latest version 2025-01-18 17:17:43 +04:00
3c52527454 Update @mantine/* dependencies to 7.16.0 2025-01-14 15:40:59 +04:00
2bf3d76329 Update yarn to 4.6.0 2025-01-07 10:14:15 +04:00
2d0e9095e9 Update @mantine/* dependencies to 7.15.3 2025-01-07 10:13:13 +04:00
9008798728 Update @mantine/* dependencies to 7.15.2 2024-12-24 12:29:54 +04:00
d0d24039ae Update @mantine/* dependencies to 7.15.1 2024-12-12 13:55:32 +04:00
da65f3102c Add mantineHtmlProps 2024-12-10 14:15:53 +04:00
9dc776f1b2 Update @mantine/* dependencies to 7.15.0 2024-12-10 14:13:46 +04:00
31af2255dd Update @mantine/* dependencies to 7.14.3 2024-11-28 16:08:26 +04:00
59f438dcf7 Update yarn to 4.5.3 2024-11-26 19:38:01 +04:00
1daa7ca3a6 Update @mantine/* dependencies to 7.14.2 2024-11-24 14:28:12 +04:00
7d6ca574f8 Update yarn to 4.5.2 2024-11-24 14:27:05 +04:00
fe27d99406 Update Node to 22 2024-11-20 13:01:09 +04:00
a8187cb00e Migrate to ESLint 9 2024-11-16 21:19:32 +04:00
0cd7976efd Update @mantine/* dependencies to 7.14.1 2024-11-16 21:10:17 +04:00
b6feb6730e Update @mantine/* dependencies to 7.14.0 2024-11-15 06:34:56 +04:00
5948b21a22 Update @mantine/* dependencies to 7.13.5 2024-11-08 14:31:44 +04:00
2dabfc6ca4 Update yarn to 4.5.1 2024-10-23 21:07:58 +04:00
763f36480d Update @mantine/* dependencies to 7.13.4 2024-10-23 21:05:27 +04:00
80772b4044 Add example with Next.js 15 2024-10-23 20:01:12 +04:00
8f50381361 Update @mantine/* dependencies to 7.13.3 2024-10-18 12:15:29 +04:00
6f71ff274f Cleanup Storybook configuration 2024-10-15 14:05:15 +04:00
bf2c8f2863 Update @mantine/* dependencies to 7.13.2 2024-10-15 11:45:28 +04:00
ba896e0c50 Update yarn to 4.5.0 2024-09-25 18:42:49 +04:00
aa2c27d9b9 Update @mantine/* dependencies to 7.13.0 2024-09-25 18:41:32 +04:00
406145dd0d Add prettier imports sorting 2024-09-02 14:53:41 +04:00
c89286ee36 Update @mantine/* dependencies to 7.12.2 2024-08-31 14:23:55 +04:00
33f5de903b Update yarn to 4.4.1 2024-08-26 14:58:26 +04:00
b5c4c6d84c Update @mantine/* dependencies to 7.12.1 2024-08-12 16:47:06 +04:00
fc2837d53d Update @mantine/* dependencies to 7.12.0 2024-08-05 20:18:30 +04:00
758f433e62 Update yarn to 4.4.0 2024-08-05 20:16:48 +04:00
da7b03909f Update postcss-preset-mantine dependency to 1.17.0 2024-07-21 20:13:29 +04:00
5da3f96e19 Update postcss-preset-mantine dependency to 1.16.0 2024-07-17 15:50:16 +04:00
06654aa2fb Update @mantine/* dependencies to 7.11.2 2024-07-13 19:28:04 +04:00
060cc561d9 Update @mantine/* dependencies to 7.11.1 2024-07-03 12:49:32 +04:00
8cdd3e0c40 Update @mantine/* dependencies to 7.11.0 2024-06-26 20:49:42 +04:00
3aabc6598c Update yarn to 4.3.1 2024-06-23 14:39:51 +04:00
81693bdf35 Update dependencies to the latest version 2024-06-23 14:24:50 +04:00
ed4fb3a500 Update @mantine/* dependencies to 7.10.2 2024-06-13 13:05:48 +04:00
210b9e3655 Update storybook to the latest version 2024-05-24 15:26:17 +04:00
be152406ef Update yarn to 4.2.2 2024-05-24 15:15:52 +04:00
2def41a2e3 Update @mantine/* dependencies to 7.10.0 2024-05-23 17:24:14 +04:00
92580fae10 Update @mantine/* dependencies to 7.9.2 2024-05-19 15:21:28 +04:00
8e9aa5918d Add GitHub workflow 2024-04-26 13:20:01 +04:00
512f7fe8b7 Update postcss-preset-mantine dependency to 1.15.0 2024-04-26 13:16:52 +04:00
d80c8050b8 Update @mantine/* dependencies to 7.8.1 2024-04-26 13:15:07 +04:00
d99e6247c4 Update postcss-preset-mantine dependency to 1.14.4 2024-04-12 14:28:10 +04:00
b94938783b Update @mantine/* dependencies to 7.8.0 2024-04-12 14:26:07 +04:00
ca230d642e Update @mantine/* dependencies to 7.7.1 2024-04-02 12:59:05 +04:00
75d75126d4 Add Jest scrollIntoView mock 2024-03-15 15:40:39 +04:00
df6fcffe80 Update dependencies to the latest version 2024-03-12 15:20:07 +04:00
52b02c8e4b Update @mantine/* dependencies to 7.6.1 2024-02-27 15:37:31 +04:00
e9fcda02af Update @mantine/* dependencies to 7.6.0 2024-02-26 15:19:10 +04:00
d0721178db Update @mantine/* dependencies to 7.5.3 2024-02-17 16:14:07 +04:00
9547d74226 Update postcss-preset-mantine dependency to 1.13.0 2024-02-01 16:11:06 +04:00
1b329ae7ce Update @mantine/* dependencies to 7.5.1 2024-02-01 10:32:54 +04:00
959af2e32b Update @mantine/* dependencies to 7.4.2 2024-01-17 23:27:00 +04:00
55c4883729 Update @mantine/* dependencies to 7.4.1 2024-01-15 14:21:59 +04:00
77b979b2e1 Update @mantine/* dependencies to 7.4.0 2024-01-03 10:37:12 +04:00
414e3c4b5c Update postcss-preset-mantine dependency to 1.12.3 2024-01-03 10:35:58 +04:00
e1d572f6db Update @mantine/* dependencies to 7.3.2 2023-12-21 09:59:35 +04:00
a280211ac8 Update postcss-preset-mantine dependency to 1.12.0 2023-12-17 18:25:27 +04:00
e912744391 Update @mantine/* dependencies to 7.3.1 2023-12-09 20:24:16 +04:00
bcc07a7c59 Update postcss-preset-mantine dependency to 1.11.1 2023-12-05 10:10:15 +04:00
05411fa287 Update @mantine/* dependencies to 7.3.0 2023-12-04 12:31:53 +04:00
27 changed files with 8662 additions and 9232 deletions

View File

@ -1,3 +0,0 @@
*.cjs
*.mjs
*.js

View File

@ -1,17 +0,0 @@
module.exports = {
extends: ['mantine', 'plugin:@next/next/recommended', 'plugin:jest/recommended'],
plugins: ['testing-library', 'jest'],
overrides: [
{
files: ['**/?(*.)+(spec|test).[jt]s?(x)'],
extends: ['plugin:testing-library/react'],
},
],
parserOptions: {
project: './tsconfig.json',
},
rules: {
'react/react-in-jsx-scope': 'off',
'import/extensions': 'off',
},
};

27
.github/workflows/npm_test.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: npm test
on:
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
test_pull_request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Install dependencies
run: yarn
- name: Run build
run: npm run build
- name: Run tests
run: npm test

1
.gitignore vendored
View File

@ -130,3 +130,4 @@ dist
.pnp.*
.DS_Store
next-env.d.ts

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
24.11.0

View File

@ -1 +1,2 @@
.next
next-env.d.ts

View File

@ -1 +0,0 @@
module.exports = require('eslint-config-mantine/.prettierrc.js');

35
.prettierrc.mjs Normal file
View File

@ -0,0 +1,35 @@
/** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */
const config = {
printWidth: 100,
singleQuote: true,
trailingComma: 'es5',
plugins: ['@ianvs/prettier-plugin-sort-imports'],
importOrder: [
'.*styles.css$',
'',
'dayjs',
'^react$',
'^next$',
'^next/.*$',
'<BUILTIN_MODULES>',
'<THIRD_PARTY_MODULES>',
'^@mantine/(.*)$',
'^@mantinex/(.*)$',
'^@mantine-tests/(.*)$',
'^@docs/(.*)$',
'^@/.*$',
'^../(?!.*.css$).*$',
'^./(?!.*.css$).*$',
'\\.css$',
],
overrides: [
{
files: '*.mdx',
options: {
printWidth: 70,
},
},
],
};
export default config;

View File

@ -1,16 +1,16 @@
import type { StorybookConfig } from '@storybook/nextjs';
const config: StorybookConfig = {
core: {
disableWhatsNewNotifications: true,
disableTelemetry: true,
enableCrashReports: false,
},
stories: ['../components/**/*.(stories|story).@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-essentials',
'storybook-dark-mode',
'@storybook/addon-styling-webpack',
],
addons: ['@storybook/addon-themes'],
framework: {
name: '@storybook/nextjs',
options: {},
},
};
export default config;

View File

@ -1,25 +1,41 @@
import '@mantine/core/styles.css';
import React, { useEffect } from 'react';
import { addons } from '@storybook/preview-api';
import { DARK_MODE_EVENT_NAME } from 'storybook-dark-mode';
import { MantineProvider, useMantineColorScheme } from '@mantine/core';
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
import { theme } from '../theme';
const channel = addons.getChannel();
export const parameters = {
layout: 'fullscreen',
options: {
showPanel: false,
// @ts-expect-error storybook throws build error for (a: any, b: any)
storySort: (a, b) => a.title.localeCompare(b.title, undefined, { numeric: true }),
},
backgrounds: { disable: true },
};
function ColorSchemeWrapper({ children }: { children: React.ReactNode }) {
const { setColorScheme } = useMantineColorScheme();
const handleColorScheme = (value: boolean) => setColorScheme(value ? 'dark' : 'light');
useEffect(() => {
channel.on(DARK_MODE_EVENT_NAME, handleColorScheme);
return () => channel.off(DARK_MODE_EVENT_NAME, handleColorScheme);
}, [channel]);
return <>{children}</>;
}
export const globalTypes = {
theme: {
name: 'Theme',
description: 'Mantine color scheme',
defaultValue: 'light',
toolbar: {
icon: 'mirror',
items: [
{ value: 'light', title: 'Light' },
{ value: 'dark', title: 'Dark' },
],
},
},
};
export const decorators = [
(renderStory: any) => <ColorSchemeWrapper>{renderStory()}</ColorSchemeWrapper>,
(renderStory: any) => <MantineProvider theme={theme}>{renderStory()}</MantineProvider>,
(renderStory: any, context: any) => {
const scheme = (context.globals.theme || 'light') as 'light' | 'dark';
return (
<MantineProvider theme={theme} forceColorScheme={scheme}>
<ColorSchemeScript />
{renderStory()}
</MantineProvider>
);
},
];

File diff suppressed because one or more lines are too long

942
.yarn/releases/yarn-4.11.0.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,3 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.11.0.cjs

View File

@ -1,6 +1,7 @@
import '@mantine/core/styles.css';
import React from 'react';
import { MantineProvider, ColorSchemeScript } from '@mantine/core';
import { ColorSchemeScript, mantineHtmlProps, MantineProvider } from '@mantine/core';
import { theme } from '../theme';
export const metadata = {
@ -10,7 +11,7 @@ export const metadata = {
export default function RootLayout({ children }: { children: any }) {
return (
<html lang="en">
<html lang="en" {...mantineHtmlProps}>
<head>
<ColorSchemeScript />
<link rel="shortcut icon" href="/favicon.svg" />

View File

@ -1,5 +1,5 @@
import { Welcome } from '../components/Welcome/Welcome';
import { ColorSchemeToggle } from '../components/ColorSchemeToggle/ColorSchemeToggle';
import { Welcome } from '../components/Welcome/Welcome';
export default function HomePage() {
return (

View File

@ -1,9 +1,7 @@
import { render, screen, tests } from '@/test-utils';
import { render, screen } from '@/test-utils';
import { Welcome } from './Welcome';
describe('Welcome component', () => {
tests.itSupportsClassName({ component: Welcome, props: {} });
it('has correct Next.js theming section link', () => {
render(<Welcome />);
expect(screen.getByText('this guide')).toHaveAttribute(

View File

@ -1,9 +1,9 @@
import { Title, Text, Anchor } from '@mantine/core';
import { Anchor, Text, Title } from '@mantine/core';
import classes from './Welcome.module.css';
export function Welcome(props: React.ComponentPropsWithoutRef<'div'>) {
export function Welcome() {
return (
<div {...props}>
<>
<Title className={classes.title} ta="center" mt={100}>
Welcome to{' '}
<Text inherit variant="gradient" component="span" gradient={{ from: 'pink', to: 'yellow' }}>
@ -18,6 +18,6 @@ export function Welcome(props: React.ComponentPropsWithoutRef<'div'>) {
</Anchor>
. To get started edit page.tsx file.
</Text>
</div>
</>
);
}

22
eslint.config.mjs Normal file
View File

@ -0,0 +1,22 @@
import mantine from 'eslint-config-mantine';
import { defineConfig } from 'eslint/config';
import tseslint from 'typescript-eslint';
// @ts-check
export default defineConfig(
tseslint.configs.recommended,
...mantine,
{ ignores: ['**/*.{mjs,cjs,js,d.ts,d.mts}', '.next'] },
{
files: ['**/*.story.tsx'],
rules: { 'no-console': 'off' },
},
{
languageOptions: {
parserOptions: {
tsconfigRootDir: process.cwd(),
project: ['./tsconfig.json'],
},
},
}
);

View File

@ -2,6 +2,7 @@ require('@testing-library/jest-dom');
const { getComputedStyle } = window;
window.getComputedStyle = (elt) => getComputedStyle(elt);
window.HTMLElement.prototype.scrollIntoView = () => {};
Object.defineProperty(window, 'matchMedia', {
writable: true,

5
next-env.d.ts vendored
View File

@ -1,5 +0,0 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@ -6,9 +6,6 @@ const withBundleAnalyzer = bundleAnalyzer({
export default withBundleAnalyzer({
reactStrictMode: false,
eslint: {
ignoreDuringBuilds: true,
},
experimental: {
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
},

View File

@ -8,67 +8,60 @@
"analyze": "ANALYZE=true next build",
"start": "next start",
"typecheck": "tsc --noEmit",
"lint": "next lint && npm run lint:stylelint",
"lint:stylelint": "stylelint '**/*.css' --cache",
"lint": "npm run eslint && npm run stylelint",
"eslint": "eslint .",
"stylelint": "stylelint '**/*.css' --cache",
"jest": "jest",
"jest:watch": "jest --watch",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
"test": "npx next typegen && npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build"
},
"dependencies": {
"@mantine/core": "7.2.2",
"@mantine/hooks": "7.2.2",
"@next/bundle-analyzer": "^14.0.1",
"@tabler/icons-react": "^2.40.0",
"next": "14.0.1",
"react": "18.2.0",
"react-dom": "18.2.0"
"@mantine/core": "8.3.7",
"@mantine/hooks": "8.3.7",
"@next/bundle-analyzer": "^16.0.0",
"@tabler/icons-react": "^3.35.0",
"next": "16.0.1",
"react": "19.2.0",
"react-dom": "19.2.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@mantine-tests/core": "^1.0.1",
"@next/eslint-plugin-next": "^14.0.1",
"@storybook/addon-essentials": "^7.5.2",
"@storybook/addon-styling-webpack": "^0.0.5",
"@storybook/blocks": "^7.5.2",
"@storybook/nextjs": "^7.5.2",
"@storybook/react": "^7.5.2",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.7",
"@types/node": "^20.8.10",
"@types/react": "18.2.34",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"babel-loader": "^9.1.3",
"eslint": "^8.53.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-mantine": "3.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.1.0",
"jest": "^29.7.0",
"jest-axe": "^8.0.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.31",
"postcss-preset-mantine": "1.11.0",
"@babel/core": "^7.28.4",
"@eslint/eslintrc": "^3",
"@eslint/js": "^9.37.0",
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
"@storybook/addon-themes": "^10.0.0",
"@storybook/nextjs": "^10.0.0",
"@storybook/react": "^10.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/eslint-plugin-jsx-a11y": "^6",
"@types/jest": "^30.0.0",
"@types/node": "^24.7.1",
"@types/react": "19.2.2",
"babel-loader": "^10.0.0",
"eslint": "^9.37.0",
"eslint-config-mantine": "^4.0.3",
"eslint-config-next": "16.0.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"postcss": "^8.5.6",
"postcss-preset-mantine": "1.18.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "^3.0.3",
"storybook": "^7.5.2",
"storybook-dark-mode": "^3.0.1",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.1.0",
"ts-jest": "^29.1.1",
"typescript": "5.2.2"
"prettier": "^3.6.2",
"storybook": "^10.0.0",
"stylelint": "^16.25.0",
"stylelint-config-standard-scss": "^16.0.0",
"ts-jest": "^29.4.4",
"typescript": "5.9.3",
"typescript-eslint": "^8.46.0"
},
"packageManager": "yarn@4.0.1"
"packageManager": "yarn@4.11.0"
}

13
renovate.json Normal file
View File

@ -0,0 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["before 5am on sunday"],
"groupName": "all dependencies",
"packageRules": [
{
"matchPackagePatterns": ["*"],
"groupName": "all dependencies"
}
],
"prHourlyLimit": 0,
"prConcurrentLimit": 0
}

View File

@ -1,6 +1,5 @@
import userEvent from '@testing-library/user-event';
export { tests } from '@mantine-tests/core';
export * from '@testing-library/react';
export { render } from './render';
export { userEvent };

View File

@ -5,7 +5,9 @@ import { theme } from '../theme';
export function render(ui: React.ReactNode) {
return testingLibraryRender(<>{ui}</>, {
wrapper: ({ children }: { children: React.ReactNode }) => (
<MantineProvider theme={theme}>{children}</MantineProvider>
<MantineProvider theme={theme} env="test">
{children}
</MantineProvider>
),
});
}

View File

@ -10,16 +10,28 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"paths": {
"@/*": ["./*"]
},
"plugins": [{ "name": "next" }]
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"**/*.ts",
"**/*.tsx",
".storybook/main.ts",
".storybook/preview.tsx",
"next-env.d.ts",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
}

15719
yarn.lock

File diff suppressed because it is too large Load Diff