From 6c51d74ce7b891c3d5c5f8c6c80df2562456a0e9 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Thu, 9 May 2024 18:54:30 +0530 Subject: [PATCH 1/3] [core] Update dependencies --- apps/pigment-css-next-app/package.json | 25 +- apps/pigment-css-vite-app/package.json | 28 +- packages/pigment-css-react/package.json | 26 +- packages/pigment-css-react/tsup.config.ts | 1 + packages/pigment-css-unplugin/package.json | 6 +- pnpm-lock.yaml | 852 ++++++++++++--------- 6 files changed, 537 insertions(+), 401 deletions(-) diff --git a/apps/pigment-css-next-app/package.json b/apps/pigment-css-next-app/package.json index f885ae805..d5113137f 100644 --- a/apps/pigment-css-next-app/package.json +++ b/apps/pigment-css-next-app/package.json @@ -13,23 +13,22 @@ "@mui/utils": "next", "@mui/base": "next", "@mui/lab": "next", - "@mui/material": "next", - "@mui/system": "next", - "@mui/material-nextjs": "next", - "@mui/icons-material": "next", - "@emotion/cache": "latest", + "@mui/material": "^6.0.0-alpha.6", + "@mui/system": "^6.0.0-alpha.5", + "@mui/material-nextjs": "^6.0.0-alpha.6", + "@mui/icons-material": "^6.0.0-alpha.6", + "@emotion/cache": "11.11.0", "local-ui-lib": "workspace:^", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "next": "latest" + "react": "^18.3.1", + "react-dom": "^18.3.1", + "next": "^14.2.3" }, "devDependencies": { "@pigment-css/nextjs-plugin": "workspace:^", - "@types/node": "^20.5.7", - "@types/react": "^18.2.55", - "@types/react-dom": "^18.2.19", - "eslint": "^8.57.0", - "typescript": "^5.4.4" + "@types/node": "^20.12.11", + "@types/react": "^18.3.1", + "@types/react-dom": "^18.3.0", + "eslint": "^8.57.0" }, "nx": { "targets": { diff --git a/apps/pigment-css-vite-app/package.json b/apps/pigment-css-vite-app/package.json index 5edad801b..9dfa809b9 100644 --- a/apps/pigment-css-vite-app/package.json +++ b/apps/pigment-css-vite-app/package.json @@ -10,30 +10,30 @@ }, "dependencies": { "@pigment-css/react": "workspace:^", - "@mui/utils": "next", - "@mui/base": "next", - "@mui/lab": "next", - "@mui/material": "next", - "@mui/system": "next", - "@mui/icons-material": "next", - "clsx": "^2.1.0", + "@mui/utils": "^6.0.0-alpha.5", + "@mui/base": "^5.0.0-beta.44", + "@mui/lab": "^6.0.0-alpha.6", + "@mui/material": "^6.0.0-alpha.6", + "@mui/system": "^6.0.0-alpha.5", + "@mui/icons-material": "^6.0.0-alpha.6", + "clsx": "^2.1.1", "local-ui-lib": "workspace:^", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "react-error-boundary": "^4.0.13", - "react-router": "^6.22.3", - "react-router-dom": "^6.22.3" + "react-router": "^6.23.0", + "react-router-dom": "^6.23.0" }, "devDependencies": { "@babel/preset-react": "^7.24.1", "@babel/preset-typescript": "^7.24.1", "@pigment-css/vite-plugin": "workspace:^", - "@types/react": "^18.2.55", - "@types/react-dom": "^18.2.19", + "@types/react": "^18.3.1", + "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.2.1", "postcss": "^8.4.38", "postcss-combine-media-query": "^1.0.1", - "vite": "5.2.8", + "vite": "5.2.11", "vite-plugin-pages": "^0.32.1" }, "nx": { diff --git a/packages/pigment-css-react/package.json b/packages/pigment-css-react/package.json index 4c5b47edf..69996de67 100644 --- a/packages/pigment-css-react/package.json +++ b/packages/pigment-css-react/package.json @@ -31,26 +31,26 @@ "typecheck": "tsc --noEmit -p ." }, "dependencies": { - "@babel/core": "^7.24.4", + "@babel/core": "^7.24.5", "@babel/helper-module-imports": "^7.24.3", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/parser": "^7.24.4", - "@babel/types": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.5", + "@babel/parser": "^7.24.5", + "@babel/types": "^7.24.5", "@emotion/css": "^11.11.2", "@emotion/is-prop-valid": "^1.2.2", "@emotion/react": "^11.11.4", "@emotion/serialize": "^1.1.4", "@emotion/styled": "^11.11.5", - "@mui/system": "^6.0.0-alpha.1", - "@mui/utils": "^6.0.0-alpha.1", + "@mui/system": "^6.0.0-alpha.5", + "@mui/utils": "^6.0.0-alpha.5", "@wyw-in-js/processor-utils": "^0.5.3", "@wyw-in-js/shared": "^0.5.3", "@wyw-in-js/transform": "^0.5.3", - "clsx": "^2.1.0", + "clsx": "^2.1.1", "cssesc": "^3.0.0", "csstype": "^3.1.3", "lodash": "^4.17.21", - "stylis": "^4.3.1", + "stylis": "^4.3.2", "stylis-plugin-rtl": "^2.1.1" }, "devDependencies": { @@ -58,18 +58,18 @@ "@types/babel__core": "^7.20.5", "@types/babel__helper-module-imports": "^7.18.3", "@types/babel__helper-plugin-utils": "^7.10.3", - "@types/chai": "^4.3.14", + "@types/chai": "^4.3.16", "@types/cssesc": "^3.0.2", - "@types/lodash": "^4.17.0", + "@types/lodash": "^4.17.1", "@types/mocha": "^10.0.6", "@types/node": "^18.19.31", "@types/prop-types": "^15.7.12", - "@types/react": "^18.2.55", - "@types/stylis": "^4.2.5", + "@types/react": "^18.3.1", + "@types/stylis": "^4.2.6", "chai": "^4.4.1", "prettier": "^3.2.5", "prop-types": "^15.8.1", - "react": "^18.2.0" + "react": "^18.3.1" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0" diff --git a/packages/pigment-css-react/tsup.config.ts b/packages/pigment-css-react/tsup.config.ts index 5fd527168..d94f0da05 100644 --- a/packages/pigment-css-react/tsup.config.ts +++ b/packages/pigment-css-react/tsup.config.ts @@ -27,6 +27,7 @@ export default defineConfig([ entry: [ './src/utils/index.ts', './src/utils/sx-plugin.ts', + './src/utils/sx-plugin2.ts', './src/utils/remove-prop-types-plugin.ts', ], outDir: 'utils', diff --git a/packages/pigment-css-unplugin/package.json b/packages/pigment-css-unplugin/package.json index dec22cdbf..542c38fb5 100644 --- a/packages/pigment-css-unplugin/package.json +++ b/packages/pigment-css-unplugin/package.json @@ -30,16 +30,16 @@ "test:ci": "cd ../../ && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --report-dir=./coverage/pigment-css-unplugin mocha 'packages/pigment-css-unplugin/**/*.test.{js,ts,tsx}'" }, "dependencies": { - "@babel/core": "^7.24.4", + "@babel/core": "^7.24.5", "@pigment-css/react": "workspace:^", "@wyw-in-js/shared": "^0.5.3", "@wyw-in-js/transform": "^0.5.3", "babel-plugin-define-var": "^0.1.0", - "unplugin": "^1.7.1" + "unplugin": "^1.10.1" }, "devDependencies": { "@types/babel__core": "^7.20.5", - "@types/chai": "^4.3.14", + "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "chai": "^4.4.1", "webpack": "^5.91.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c19774f56..b2d7307c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,7 +75,7 @@ importers: version: 1.0.3 '@mui/internal-test-utils': specifier: https://pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils - version: '@pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils(@babel/core@7.24.4)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0)' + version: '@pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils(@babel/core@7.24.4)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1)' '@mui/monorepo': specifier: github:mui/material-ui#73c88b6c3f71287a4a1f0b1b5d7d37ab268dca49 version: github.com/mui/material-ui/73c88b6c3f71287a4a1f0b1b5d7d37ab268dca49 @@ -252,34 +252,34 @@ importers: dependencies: '@pigment-css/react': specifier: file:../../packages/pigment-css-react - version: file:packages/pigment-css-react(@types/react@18.2.75)(react@18.2.0)(typescript@5.4.4) + version: file:packages/pigment-css-react(@types/react@18.2.75)(react@18.3.1)(typescript@5.4.4) apps/pigment-css-next-app: dependencies: '@emotion/cache': - specifier: latest + specifier: 11.11.0 version: 11.11.0 '@mui/base': specifier: next - version: 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + version: 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/icons-material': - specifier: next - version: 6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-alpha.6(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react@18.3.1) '@mui/lab': specifier: next - version: 6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + version: 6.0.0-alpha.2(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/material': - specifier: next - version: 6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/material-nextjs': - specifier: next - version: 6.0.0-alpha.0(@emotion/cache@11.11.0)(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(next@14.1.4)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-dev.240424162023-9968b4889d(@emotion/cache@11.11.0)(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(next@14.2.3)(react@18.3.1) '@mui/system': - specifier: next - version: 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.5 + version: 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) '@mui/utils': specifier: next - version: 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + version: 6.0.0-alpha.1(@types/react@18.2.75)(react@18.3.1) '@pigment-css/react': specifier: workspace:^ version: link:../../packages/pigment-css-react @@ -287,14 +287,14 @@ importers: specifier: workspace:^ version: link:../local-ui-lib next: - specifier: latest - version: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) + specifier: ^14.2.3 + version: 14.2.3(@babel/core@7.24.4)(@playwright/test@1.43.0)(react-dom@18.3.1)(react@18.3.1) react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) devDependencies: '@pigment-css/nextjs-plugin': specifier: workspace:^ @@ -311,54 +311,51 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - typescript: - specifier: ^5.4.4 - version: 5.4.4 apps/pigment-css-vite-app: dependencies: '@mui/base': - specifier: next - version: 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + specifier: ^5.0.0-beta.44 + version: 5.0.0-beta.44(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/icons-material': - specifier: next - version: 6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-alpha.6(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react@18.3.1) '@mui/lab': - specifier: next - version: 6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-alpha.6(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/material': - specifier: next - version: 6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.0.0-alpha.6 + version: 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@mui/system': - specifier: next - version: 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.5 + version: 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) '@mui/utils': - specifier: next - version: 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.5 + version: 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@pigment-css/react': specifier: workspace:^ version: link:../../packages/pigment-css-react clsx: - specifier: ^2.1.0 - version: 2.1.0 + specifier: ^2.1.1 + version: 2.1.1 local-ui-lib: specifier: workspace:^ version: link:../local-ui-lib react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) react-error-boundary: specifier: ^4.0.13 - version: 4.0.13(react@18.2.0) + version: 4.0.13(react@18.3.1) react-router: - specifier: ^6.22.3 - version: 6.22.3(react@18.2.0) + specifier: ^6.23.0 + version: 6.23.0(react@18.3.1) react-router-dom: - specifier: ^6.22.3 - version: 6.22.3(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.23.0 + version: 6.23.0(react-dom@18.3.1)(react@18.3.1) devDependencies: '@babel/preset-react': specifier: ^7.24.1 @@ -377,7 +374,7 @@ importers: version: 18.2.24 '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.2.1(vite@5.2.8) + version: 4.2.1(vite@5.2.11) postcss: specifier: ^8.4.38 version: 8.4.38 @@ -385,11 +382,11 @@ importers: specifier: ^1.0.1 version: 1.0.1 vite: - specifier: 5.2.8 - version: 5.2.8(@types/node@18.19.31) + specifier: 5.2.11 + version: 5.2.11(@types/node@18.19.31) vite-plugin-pages: specifier: ^0.32.1 - version: 0.32.1(vite@5.2.8) + version: 0.32.1(vite@5.2.11) packages/eslint-plugin-material-ui: devDependencies: @@ -411,7 +408,7 @@ importers: devDependencies: next: specifier: ^13.5.1 - version: 13.5.6(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) + version: 13.5.6(@babel/core@7.24.4)(react-dom@18.3.1)(react@18.3.1) packages/pigment-css-react: dependencies: @@ -422,11 +419,11 @@ importers: specifier: ^7.24.3 version: 7.24.3 '@babel/helper-plugin-utils': - specifier: ^7.24.0 - version: 7.24.0 + specifier: ^7.24.5 + version: 7.24.5 '@babel/parser': - specifier: ^7.24.4 - version: 7.24.4 + specifier: ^7.24.5 + version: 7.24.5 '@babel/types': specifier: ^7.24.0 version: 7.24.0 @@ -438,19 +435,19 @@ importers: version: 1.2.2 '@emotion/react': specifier: ^11.11.4 - version: 11.11.4(@types/react@18.2.75)(react@18.2.0) + version: 11.11.4(@types/react@18.2.75)(react@18.3.1) '@emotion/serialize': specifier: ^1.1.4 version: 1.1.4 '@emotion/styled': specifier: ^11.11.5 - version: 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.2.0) + version: 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.3.1) '@mui/system': - specifier: ^6.0.0-alpha.1 - version: 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.5 + version: 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) '@mui/utils': - specifier: ^6.0.0-alpha.1 - version: 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + specifier: ^6.0.0-alpha.5 + version: 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@wyw-in-js/processor-utils': specifier: ^0.5.3 version: 0.5.3 @@ -461,8 +458,8 @@ importers: specifier: ^0.5.3 version: 0.5.3(typescript@5.4.4) clsx: - specifier: ^2.1.0 - version: 2.1.0 + specifier: ^2.1.1 + version: 2.1.1 cssesc: specifier: ^3.0.0 version: 3.0.0 @@ -473,11 +470,11 @@ importers: specifier: ^4.17.21 version: 4.17.21 stylis: - specifier: ^4.3.1 - version: 4.3.1 + specifier: ^4.3.2 + version: 4.3.2 stylis-plugin-rtl: specifier: ^2.1.1 - version: 2.1.1(stylis@4.3.1) + version: 2.1.1(stylis@4.3.2) devDependencies: '@babel/plugin-syntax-jsx': specifier: ^7.24.1 @@ -492,14 +489,14 @@ importers: specifier: ^7.10.3 version: 7.10.3 '@types/chai': - specifier: ^4.3.14 - version: 4.3.14 + specifier: ^4.3.16 + version: 4.3.16 '@types/cssesc': specifier: ^3.0.2 version: 3.0.2 '@types/lodash': - specifier: ^4.17.0 - version: 4.17.0 + specifier: ^4.17.1 + version: 4.17.1 '@types/mocha': specifier: ^10.0.6 version: 10.0.6 @@ -513,8 +510,8 @@ importers: specifier: ^18.2.74 version: 18.2.75 '@types/stylis': - specifier: ^4.2.5 - version: 4.2.5 + specifier: ^4.2.6 + version: 4.2.6 chai: specifier: ^4.4.1 version: 4.4.1 @@ -525,8 +522,8 @@ importers: specifier: ^15.8.1 version: 15.8.1 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 packages/pigment-css-unplugin: dependencies: @@ -546,15 +543,15 @@ importers: specifier: ^0.1.0 version: 0.1.0 unplugin: - specifier: ^1.7.1 + specifier: ^1.10.1 version: 1.10.1 devDependencies: '@types/babel__core': specifier: ^7.20.5 version: 7.20.5 '@types/chai': - specifier: ^4.3.14 - version: 4.3.14 + specifier: ^4.3.16 + version: 4.3.16 '@types/mocha': specifier: ^10.0.6 version: 10.0.6 @@ -668,7 +665,7 @@ packages: '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) '@babel/helpers': 7.24.4 - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@babel/template': 7.24.0 '@babel/traverse': 7.24.1 '@babel/types': 7.24.0 @@ -748,7 +745,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 debug: 4.3.4(supports-color@8.1.1) lodash.debounce: 4.0.8 resolve: 1.22.8 @@ -808,6 +805,10 @@ packages: resolution: {integrity: sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==} engines: {node: '>=6.9.0'} + /@babel/helper-plugin-utils@7.24.5: + resolution: {integrity: sha512-xjNLDopRzW2o6ba0gKbkZq5YWEBaK3PCyTOY1K2P/O07LGMhMqlMXPxwN4S5/RhWuCobT8z0jrlKGlYmeR1OhQ==} + engines: {node: '>=6.9.0'} + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.24.4): resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} engines: {node: '>=6.9.0'} @@ -905,8 +906,8 @@ packages: v8flags: 3.2.0 dev: true - /@babel/parser@7.24.4: - resolution: {integrity: sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==} + /@babel/parser@7.24.5: + resolution: {integrity: sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==} engines: {node: '>=6.0.0'} hasBin: true dependencies: @@ -920,7 +921,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.24.1(@babel/core@7.24.4): @@ -930,7 +931,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.24.1(@babel/core@7.24.4): @@ -940,7 +941,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-transform-optional-chaining': 7.24.1(@babel/core@7.24.4) dev: true @@ -953,7 +954,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.4): @@ -971,7 +972,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.4): @@ -980,7 +981,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.24.4): @@ -990,7 +991,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.24.4): @@ -999,7 +1000,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.24.4): @@ -1008,7 +1009,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-import-assertions@7.24.1(@babel/core@7.24.4): @@ -1018,7 +1019,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-import-attributes@7.24.1(@babel/core@7.24.4): @@ -1028,7 +1029,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.4): @@ -1037,7 +1038,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.24.4): @@ -1046,7 +1047,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-jsx@7.24.1(@babel/core@7.24.4): @@ -1056,7 +1057,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.24.4): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} @@ -1064,7 +1065,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.24.4): @@ -1073,7 +1074,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.24.4): @@ -1082,7 +1083,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.4): @@ -1091,7 +1092,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.24.4): @@ -1100,7 +1101,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.4): @@ -1109,7 +1110,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.24.4): @@ -1119,7 +1120,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.4): @@ -1129,7 +1130,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-syntax-typescript@7.24.1(@babel/core@7.24.4): @@ -1139,7 +1140,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.24.4): resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} @@ -1149,7 +1150,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-arrow-functions@7.24.1(@babel/core@7.24.4): @@ -1159,7 +1160,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-async-generator-functions@7.24.3(@babel/core@7.24.4): @@ -1170,7 +1171,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.4) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.4) dev: true @@ -1183,7 +1184,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-imports': 7.24.3 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.4) dev: true @@ -1194,7 +1195,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-block-scoping@7.24.4(@babel/core@7.24.4): @@ -1204,7 +1205,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-class-properties@7.24.1(@babel/core@7.24.4): @@ -1215,7 +1216,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-class-features-plugin': 7.24.4(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-class-static-block@7.24.4(@babel/core@7.24.4): @@ -1226,7 +1227,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-class-features-plugin': 7.24.4(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.4) dev: true @@ -1241,7 +1242,7 @@ packages: '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-replace-supers': 7.24.1(@babel/core@7.24.4) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 @@ -1254,7 +1255,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/template': 7.24.0 dev: true @@ -1266,7 +1267,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-duplicate-keys@7.24.1(@babel/core@7.24.4): @@ -1276,7 +1277,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-dynamic-import@7.24.1(@babel/core@7.24.4): @@ -1286,7 +1287,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.4) dev: true @@ -1298,7 +1299,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-export-namespace-from@7.24.1(@babel/core@7.24.4): @@ -1308,7 +1309,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.4) dev: true @@ -1319,7 +1320,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true @@ -1332,7 +1333,7 @@ packages: '@babel/core': 7.24.4 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-json-strings@7.24.1(@babel/core@7.24.4): @@ -1342,7 +1343,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.4) dev: true @@ -1353,7 +1354,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-logical-assignment-operators@7.24.1(@babel/core@7.24.4): @@ -1363,7 +1364,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.4) dev: true @@ -1374,7 +1375,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-modules-amd@7.24.1(@babel/core@7.24.4): @@ -1385,7 +1386,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-modules-commonjs@7.24.1(@babel/core@7.24.4): @@ -1396,7 +1397,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-simple-access': 7.22.5 /@babel/plugin-transform-modules-systemjs@7.24.1(@babel/core@7.24.4): @@ -1408,7 +1409,7 @@ packages: '@babel/core': 7.24.4 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-validator-identifier': 7.22.20 dev: true @@ -1420,7 +1421,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.24.4): @@ -1431,7 +1432,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-new-target@7.24.1(@babel/core@7.24.4): @@ -1441,7 +1442,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-nullish-coalescing-operator@7.24.1(@babel/core@7.24.4): @@ -1451,7 +1452,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.4) dev: true @@ -1462,7 +1463,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.4) dev: true @@ -1474,7 +1475,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.4) '@babel/plugin-transform-parameters': 7.24.1(@babel/core@7.24.4) dev: true @@ -1486,7 +1487,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-replace-supers': 7.24.1(@babel/core@7.24.4) dev: true @@ -1497,7 +1498,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.4) dev: true @@ -1508,7 +1509,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.4) dev: true @@ -1520,7 +1521,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-private-methods@7.24.1(@babel/core@7.24.4): @@ -1531,7 +1532,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-class-features-plugin': 7.24.4(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-private-property-in-object@7.24.1(@babel/core@7.24.4): @@ -1543,7 +1544,7 @@ packages: '@babel/core': 7.24.4 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.24.4(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.4) dev: true @@ -1554,7 +1555,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-react-constant-elements@7.24.1(@babel/core@7.24.4): @@ -1564,7 +1565,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-react-display-name@7.24.1(@babel/core@7.24.4): @@ -1574,7 +1575,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.24.4): @@ -1594,7 +1595,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-react-jsx-source@7.24.1(@babel/core@7.24.4): @@ -1604,7 +1605,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.24.4): @@ -1616,7 +1617,7 @@ packages: '@babel/core': 7.24.4 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-module-imports': 7.24.3 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-jsx': 7.24.1(@babel/core@7.24.4) '@babel/types': 7.24.0 dev: true @@ -1629,7 +1630,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-regenerator@7.24.1(@babel/core@7.24.4): @@ -1639,7 +1640,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 regenerator-transform: 0.15.2 dev: true @@ -1650,7 +1651,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-runtime@7.24.3(@babel/core@7.24.4): @@ -1661,7 +1662,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-imports': 7.24.3 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 babel-plugin-polyfill-corejs2: 0.4.10(@babel/core@7.24.4) babel-plugin-polyfill-corejs3: 0.10.4(@babel/core@7.24.4) babel-plugin-polyfill-regenerator: 0.6.1(@babel/core@7.24.4) @@ -1677,7 +1678,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-spread@7.24.1(@babel/core@7.24.4): @@ -1687,7 +1688,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true @@ -1698,7 +1699,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-template-literals@7.24.1(@babel/core@7.24.4): @@ -1708,7 +1709,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-typeof-symbol@7.24.1(@babel/core@7.24.4): @@ -1718,7 +1719,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-typescript@7.24.4(@babel/core@7.24.4): @@ -1730,7 +1731,7 @@ packages: '@babel/core': 7.24.4 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.24.4(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/plugin-syntax-typescript': 7.24.1(@babel/core@7.24.4) /@babel/plugin-transform-unicode-escapes@7.24.1(@babel/core@7.24.4): @@ -1740,7 +1741,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-unicode-property-regex@7.24.1(@babel/core@7.24.4): @@ -1751,7 +1752,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-unicode-regex@7.24.1(@babel/core@7.24.4): @@ -1762,7 +1763,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/plugin-transform-unicode-sets-regex@7.24.1(@babel/core@7.24.4): @@ -1773,7 +1774,7 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.4) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true /@babel/preset-env@7.24.4(@babel/core@7.24.4): @@ -1785,7 +1786,7 @@ packages: '@babel/compat-data': 7.24.4 '@babel/core': 7.24.4 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/helper-validator-option': 7.23.5 '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.24.4(@babel/core@7.24.4) '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.24.1(@babel/core@7.24.4) @@ -1874,7 +1875,7 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@babel/types': 7.24.0 esutils: 2.0.3 dev: true @@ -1936,7 +1937,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.24.2 - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@babel/types': 7.24.0 /@babel/traverse@7.24.1: @@ -1949,7 +1950,7 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@babel/types': 7.24.0 debug: 4.3.4(supports-color@8.1.1) globals: 11.12.0 @@ -2060,7 +2061,7 @@ packages: /@emotion/memoize@0.8.1: resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} - /@emotion/react@11.11.4(@types/react@18.2.75)(react@18.2.0): + /@emotion/react@11.11.4(@types/react@18.2.75)(react@18.3.1): resolution: {integrity: sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==} peerDependencies: '@types/react': '*' @@ -2073,12 +2074,12 @@ packages: '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.4 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.3.1) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 '@types/react': 18.2.75 hoist-non-react-statics: 3.3.2 - react: 18.2.0 + react: 18.3.1 /@emotion/serialize@1.1.4: resolution: {integrity: sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==} @@ -2092,7 +2093,7 @@ packages: /@emotion/sheet@1.2.2: resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} - /@emotion/styled@11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.2.0): + /@emotion/styled@11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.3.1): resolution: {integrity: sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ==} peerDependencies: '@emotion/react': ^11.0.0-rc.0 @@ -2105,23 +2106,23 @@ packages: '@babel/runtime': 7.24.4 '@emotion/babel-plugin': 11.11.0 '@emotion/is-prop-valid': 1.2.2 - '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.3.1) '@emotion/serialize': 1.1.4 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.3.1) '@emotion/utils': 1.2.1 '@types/react': 18.2.75 - react: 18.2.0 + react: 18.3.1 dev: false /@emotion/unitless@0.8.1: resolution: {integrity: sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==} - /@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@18.2.0): + /@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@18.3.1): resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: react: '>=16.8.0' dependencies: - react: 18.2.0 + react: 18.3.1 /@emotion/utils@1.2.1: resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -2593,15 +2594,15 @@ packages: '@floating-ui/utils': 0.2.1 dev: false - /@floating-ui/react-dom@2.0.8(react-dom@18.2.0)(react@18.2.0): + /@floating-ui/react-dom@2.0.8(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: '@floating-ui/dom': 1.6.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false /@floating-ui/utils@0.2.1: @@ -3015,10 +3016,10 @@ packages: '@babel/core': ^7.24.4 dependencies: '@babel/core': 7.24.4 - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 dev: true - /@mnajdova/enzyme-adapter-react-18@0.2.0(enzyme@3.11.0)(react-dom@18.2.0)(react@18.2.0): + /@mnajdova/enzyme-adapter-react-18@0.2.0(enzyme@3.11.0)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-BOnjlVa7FHI1YUnYe+FdUtQu6szI1wLJ+C1lHyqmF3T9gu/J/WCYqqcD44dPkrU+8eYvvk/gQducsqna4HFiAg==} peerDependencies: enzyme: ^3.0.0 @@ -3026,21 +3027,21 @@ packages: react-dom: ^18.0.0 dependencies: enzyme: 3.11.0 - enzyme-adapter-utils: 1.14.2(react@18.2.0) + enzyme-adapter-utils: 1.14.2(react@18.3.1) enzyme-shallow-equal: 1.0.7 has: 1.0.4 object.assign: 4.1.5 object.values: 1.2.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) react-is: 18.2.0 - react-reconciler: 0.29.0(react@18.2.0) - react-test-renderer: 18.2.0(react@18.2.0) + react-reconciler: 0.29.0(react@18.3.1) + react-test-renderer: 18.2.0(react@18.3.1) semver: 5.7.2 dev: true - /@mui/base@5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0): + /@mui/base@5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-fWRiUJVCHCPF+mxd5drn08bY2qRw3jj5f1SSQdUXmaJ/yKpk23ys8MgLO2KGVTRtbks/+ctRfgffGPbXifj0Ug==} engines: {node: '>=12.0.0'} peerDependencies: @@ -3052,26 +3053,49 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) + '@floating-ui/react-dom': 2.0.8(react-dom@18.3.1)(react@18.3.1) '@mui/types': 7.2.14(@types/react@18.2.75) - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.3.1) '@popperjs/core': 2.11.8 '@types/react': 18.2.75 clsx: 2.1.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: false + + /@mui/base@5.0.0-beta.44(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-JLh+Lr6JiciiZ9Cy5ohWoJB6eSSlbUOIY168WpA4GagCyJlJb6CNGvBYczdCyhIBDhh2H6+jTTgi2JCUz4N1hw==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@types/react': ^18.2.74 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.4 + '@floating-ui/react-dom': 2.0.8(react-dom@18.3.1)(react@18.3.1) + '@mui/types': 7.2.14(@types/react@18.2.75) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) + '@popperjs/core': 2.11.8 + '@types/react': 18.2.75 + clsx: 2.1.1 + prop-types: 15.8.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false - /@mui/core-downloads-tracker@6.0.0-alpha.2: - resolution: {integrity: sha512-6JSNsfMePoLZ0tKZzQ2i+W8mcZCbP9snFNf/pQGOsMK2igkPGqOfqgdsda2OJrD5tP9VGjEDrrmYGHuX3ir29g==} + /@mui/core-downloads-tracker@6.0.0-dev.240424162023-9968b4889d: + resolution: {integrity: sha512-doh3M3U7HUGSBIWGe1yvesSbfDguMRjP0N09ogWSBM2hovXAlgULhMgcRTepAZLLwfRxFII0bCohq6B9NqoKuw==} dev: false - /@mui/icons-material@6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react@18.2.0): - resolution: {integrity: sha512-guOv2Uo0UkxA3R/TZL9JoS4qUOfsHTmDWvlyoVb4f24+oUCAgqiZyPrajK0PR6UDpSPBv2qxeheylCzAeLxJUQ==} + /@mui/icons-material@6.0.0-alpha.6(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react@18.3.1): + resolution: {integrity: sha512-+SGEmI+iBaNfXgApnTTde6RR+L05nIF2zRKYbwGAjC0+NvYinnhO0g20V94wmpJpuZC3xgXv64iwer9RAcc8jw==} engines: {node: '>=12.0.0'} peerDependencies: - '@mui/material': ^6.0.0-alpha.2 + '@mui/material': ^6.0.0-alpha.6 '@types/react': ^18.2.74 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -3079,9 +3103,9 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@mui/material': 6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@types/react': 18.2.75 - react: 18.2.0 + react: 18.3.1 dev: false /@mui/internal-docs-utils@1.0.4: @@ -3117,7 +3141,7 @@ packages: - supports-color dev: true - /@mui/lab@6.0.0-alpha.2(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0): + /@mui/lab@6.0.0-alpha.2(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-6vFoUap3Vtt4+AhX+yTiD0bDZ4O4aG8vf1iZ0kb591hxMgrrpQ+oc6L4n0FxoxAb4sPGiXYe8aBScxMuyg0g+g==} engines: {node: '>=12.0.0'} peerDependencies: @@ -3136,25 +3160,56 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@mui/base': 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) - '@mui/material': 6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) - '@mui/system': 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) + '@mui/base': 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) + '@mui/material': 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) + '@mui/system': 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) '@mui/types': 7.2.14(@types/react@18.2.75) - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.3.1) '@types/react': 18.2.75 clsx: 2.1.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: false + + /@mui/lab@6.0.0-alpha.6(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-eEjyBcR9HQNmXwXEJwzgYzCZyis25MBtkQj2Cify46G7juyoUNCBcLz0Q6RbcNA0JE68L0Du+a8kq6a/+Vl7mg==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@emotion/react': ^11.5.0 + '@emotion/styled': ^11.3.0 + '@mui/material': ^6.0.0-alpha.6 + '@types/react': ^18.2.74 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.4 + '@mui/base': 5.0.0-beta.44(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) + '@mui/material': 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) + '@mui/system': 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) + '@mui/types': 7.2.14(@types/react@18.2.75) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) + '@types/react': 18.2.75 + clsx: 2.1.1 + prop-types: 15.8.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false - /@mui/material-nextjs@6.0.0-alpha.0(@emotion/cache@11.11.0)(@mui/material@6.0.0-alpha.2)(@types/react@18.2.75)(next@14.1.4)(react@18.2.0): - resolution: {integrity: sha512-6yvp3yOgX1kYWpC44DUMgFl7AEnJRnA6imj3kfWa0yZGv/rIdDoMiuEyZtAE+I5fUNXiQVZ0cO5tzLBs4fN7jQ==} + /@mui/material-nextjs@6.0.0-dev.240424162023-9968b4889d(@emotion/cache@11.11.0)(@mui/material@6.0.0-alpha.6)(@types/react@18.2.75)(next@14.2.3)(react@18.3.1): + resolution: {integrity: sha512-AO2oep2oIf585eYPT9c4ZlRioa2g1HbXyVvtfJjjMpou+eYqSqd0MWuC6IQeOZM8uUuujcEq7FiQLP8EwrgmFw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/cache': ^11.11.0 '@emotion/server': ^11.11.0 - '@mui/material': ^6.0.0-alpha.0 + '@mui/material': ^6.0.0-dev.240424162023-9968b4889d '@types/react': ^18.2.74 next: ^13.0.0 || ^14.0.0 react: ^17.0.0 || ^18.0.0 @@ -3168,14 +3223,14 @@ packages: dependencies: '@babel/runtime': 7.24.4 '@emotion/cache': 11.11.0 - '@mui/material': 6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@types/react': 18.2.75 - next: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 + next: 14.2.3(@babel/core@7.24.4)(@playwright/test@1.43.0)(react-dom@18.3.1)(react@18.3.1) + react: 18.3.1 dev: false - /@mui/material@6.0.0-alpha.2(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-p1GpE1a7dQTns0yp0anSNX/Bh1xafTdUCt0roTyqEuL/3hCBKTURE/9/CDttwwQ+Q8oDm5KcsdtXJXJh1ts6Kw==} + /@mui/material@6.0.0-alpha.6(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-wtPu8u3h83DIA24aEBMTtkvN4QCOXxZgpC8+ImrZdlJy4c28goseSGJCZIVLQmMMqQ4kasp91OkPTqOkUKD4gQ==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -3192,24 +3247,24 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@mui/base': 5.0.0-beta.42(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 6.0.0-alpha.2 - '@mui/system': 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) + '@mui/base': 5.0.0-beta.44(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) + '@mui/core-downloads-tracker': 6.0.0-dev.240424162023-9968b4889d + '@mui/system': 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) '@mui/types': 7.2.14(@types/react@18.2.75) - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@types/react': 18.2.75 '@types/react-transition-group': 4.4.10 - clsx: 2.1.0 + clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) react-is: 18.2.0 - react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) + react-transition-group: 4.4.5(react-dom@18.3.1)(react@18.3.1) dev: false - /@mui/private-theming@6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0): - resolution: {integrity: sha512-S+vlRxja0ncLT1KK+Qkqy6ZNpIsw5ZxoTd70KR8foLtPQXs0XGWQkq9IotbcZnYyKUUhM/5Cqo3w8Q/zNNVzBQ==} + /@mui/private-theming@6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1): + resolution: {integrity: sha512-jMo45tVNOA0t2GEIgOiroPHWkranirwNGdzElxjbNmNXhxniFHDISKzCvEljCEfU88syAwm9fi22CwmqwIbfag==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^18.2.74 @@ -3219,14 +3274,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@types/react': 18.2.75 prop-types: 15.8.1 - react: 18.2.0 + react: 18.3.1 dev: false - /@mui/styled-engine@6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(react@18.2.0): - resolution: {integrity: sha512-lJmMF1D3SD9unSh5gjXYU3ChiCrNGrpT36cPOmGv7wiH2qLMov5Wo23nK7UfuaQVA4c4/JAS43SLT2O2z6hx4Q==} + /@mui/styled-engine@6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(react@18.3.1): + resolution: {integrity: sha512-M+nvgL6V9JAnJTy9WJLXXWKfe5YnkIpzheXszsvwi0Yoig/er1DcUwhd7fiKhrgSzEhB9eKXA93fdzFdf1+mcQ==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.4.1 @@ -3240,15 +3295,15 @@ packages: dependencies: '@babel/runtime': 7.24.4 '@emotion/cache': 11.11.0 - '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.2.0) - '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.3.1) + '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.3.1) csstype: 3.1.3 prop-types: 15.8.1 - react: 18.2.0 + react: 18.3.1 dev: false - /@mui/system@6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0): - resolution: {integrity: sha512-NqOFHCT/lvi4v696b0pEEz2Jc3MgjjGRsbFNN+IW5EuIInHr/JEznnPw0GpEU8tgU544MdfMTlFpDgR1LmvmLA==} + /@mui/system@6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1): + resolution: {integrity: sha512-dDPGlPOeU7lLSrtveqIVyNnDaGxRaC2/8P9viKLyKbJj8vZKR8SaW9+SlXo5dUDLNT12YUOc0iiZd0HSZiWrPw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -3264,17 +3319,17 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.4 - '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.2.0) - '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.2.0) - '@mui/private-theming': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) - '@mui/styled-engine': 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.3.1) + '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.3.1) + '@mui/private-theming': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) + '@mui/styled-engine': 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(react@18.3.1) '@mui/types': 7.2.14(@types/react@18.2.75) - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@types/react': 18.2.75 - clsx: 2.1.0 + clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 - react: 18.2.0 + react: 18.3.1 dev: false /@mui/types@7.2.14(@types/react@18.2.75): @@ -3288,7 +3343,7 @@ packages: '@types/react': 18.2.75 dev: false - /@mui/utils@6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0): + /@mui/utils@6.0.0-alpha.1(@types/react@18.2.75)(react@18.3.1): resolution: {integrity: sha512-BvTVWvW6JDxMjDfEfTTEb6/CLgj87HyS3hYA4hbk0LdFsXeRnFSK6yDj8Dw3gxvXBymQ26kHDyFK3pEoAFlurw==} engines: {node: '>=12.0.0'} peerDependencies: @@ -3302,7 +3357,25 @@ packages: '@types/prop-types': 15.7.12 '@types/react': 18.2.75 prop-types: 15.8.1 - react: 18.2.0 + react: 18.3.1 + react-is: 18.2.0 + dev: false + + /@mui/utils@6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1): + resolution: {integrity: sha512-E0MNO8pfIkxsF/Ql+W0J0t4uTgXsTjGHrKr3UhnyFRLqP+JFg5tCvGcSqL0bCDck60Kuc77JCYMr4wbJrhk3LA==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@types/react': ^18.2.74 + react: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.4 + '@types/prop-types': 15.7.12 + '@types/react': 18.2.75 + prop-types: 15.8.1 + react: 18.3.1 react-is: 18.2.0 dev: false @@ -3330,8 +3403,8 @@ packages: resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==} dev: true - /@next/env@14.1.4: - resolution: {integrity: sha512-e7X7bbn3Z6DWnDi75UWn+REgAbLEqxI8Tq2pkFOFAMpWAWApz/YCUhtWMWn410h8Q2fYiYL7Yg5OlxMOCfFjJQ==} + /@next/env@14.2.3: + resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==} dev: false /@next/eslint-plugin-next@14.1.4: @@ -3349,8 +3422,8 @@ packages: dev: true optional: true - /@next/swc-darwin-arm64@14.1.4: - resolution: {integrity: sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==} + /@next/swc-darwin-arm64@14.2.3: + resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -3367,8 +3440,8 @@ packages: dev: true optional: true - /@next/swc-darwin-x64@14.1.4: - resolution: {integrity: sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==} + /@next/swc-darwin-x64@14.2.3: + resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -3385,8 +3458,8 @@ packages: dev: true optional: true - /@next/swc-linux-arm64-gnu@14.1.4: - resolution: {integrity: sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==} + /@next/swc-linux-arm64-gnu@14.2.3: + resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -3403,8 +3476,8 @@ packages: dev: true optional: true - /@next/swc-linux-arm64-musl@14.1.4: - resolution: {integrity: sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==} + /@next/swc-linux-arm64-musl@14.2.3: + resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -3421,8 +3494,8 @@ packages: dev: true optional: true - /@next/swc-linux-x64-gnu@14.1.4: - resolution: {integrity: sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==} + /@next/swc-linux-x64-gnu@14.2.3: + resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -3439,8 +3512,8 @@ packages: dev: true optional: true - /@next/swc-linux-x64-musl@14.1.4: - resolution: {integrity: sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==} + /@next/swc-linux-x64-musl@14.2.3: + resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -3457,8 +3530,8 @@ packages: dev: true optional: true - /@next/swc-win32-arm64-msvc@14.1.4: - resolution: {integrity: sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==} + /@next/swc-win32-arm64-msvc@14.2.3: + resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -3475,8 +3548,8 @@ packages: dev: true optional: true - /@next/swc-win32-ia32-msvc@14.1.4: - resolution: {integrity: sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==} + /@next/swc-win32-ia32-msvc@14.2.3: + resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -3493,8 +3566,8 @@ packages: dev: true optional: true - /@next/swc-win32-x64-msvc@14.1.4: - resolution: {integrity: sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==} + /@next/swc-win32-x64-msvc@14.2.3: + resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -4088,14 +4161,13 @@ packages: hasBin: true dependencies: playwright: 1.43.0 - dev: true /@popperjs/core@2.11.8: resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} dev: false - /@remix-run/router@1.15.3: - resolution: {integrity: sha512-Oy8rmScVrVxWZVOpEF57ovlnhpZ8CCPlnIIumVcV9nFdiSIrus99+Lw78ekXyGvVDlIsFJbSfmSovJUhCWYV3w==} + /@remix-run/router@1.16.0: + resolution: {integrity: sha512-Quz1KOffeEf/zwkCBM3kBtH4ZoZ+pT3xIXBG4PPW/XFtDP7EGhtTiC2+gpL9GnR7+Qdet5Oa6cYSvwKYg6kN9Q==} engines: {node: '>=14.0.0'} dev: false @@ -4447,10 +4519,22 @@ packages: - debug dev: true + /@swc/counter@0.1.3: + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + dev: false + /@swc/helpers@0.5.2: resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} dependencies: tslib: 2.6.2 + dev: true + + /@swc/helpers@0.5.5: + resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} + dependencies: + '@swc/counter': 0.1.3 + tslib: 2.6.2 + dev: false /@szmarczak/http-timer@4.0.6: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} @@ -4473,7 +4557,7 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/react@14.3.0(react-dom@18.2.0)(react@18.2.0): + /@testing-library/react@14.3.0(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-AYJGvNFMbCa5vt1UtDCa/dcaABrXq8gph6VN+cffIx0UeA0qiGqS+sT60+sb+Gjc8tGXdECWYQgaF0khf8b+Lg==} engines: {node: '>=14'} peerDependencies: @@ -4483,8 +4567,8 @@ packages: '@babel/runtime': 7.24.4 '@testing-library/dom': 9.3.4 '@types/react-dom': 18.2.24 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true /@tootallnate/once@2.0.0: @@ -4525,7 +4609,7 @@ packages: /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@babel/types': 7.24.0 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 @@ -4554,7 +4638,7 @@ packages: /@types/babel__template@7.4.4: resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} dependencies: - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@babel/types': 7.24.0 dev: true @@ -4580,8 +4664,8 @@ packages: '@types/responselike': 1.0.3 dev: true - /@types/chai@4.3.14: - resolution: {integrity: sha512-Wj71sXE4Q4AkGdG9Tvq1u/fquNz9EdG4LIJMwVVII7ashjD/8cf8fyIfJAjRr6YcsXnSE8cOGQPq1gqeR8z+3w==} + /@types/chai@4.3.16: + resolution: {integrity: sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==} dev: true /@types/connect@3.4.38: @@ -4691,6 +4775,10 @@ packages: resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==} dev: true + /@types/lodash@4.17.1: + resolution: {integrity: sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==} + dev: true + /@types/mdast@3.0.15: resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} dependencies: @@ -4796,8 +4884,8 @@ packages: '@types/send': 0.17.4 dev: true - /@types/stylis@4.2.5: - resolution: {integrity: sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==} + /@types/stylis@4.2.6: + resolution: {integrity: sha512-4nebF2ZJGzQk0ka0O6+FZUWceyFv4vWq/0dXBMmrSeAwzOuOd/GxE5Pa64d/ndeNLG73dXoBsRzvtsVsYUv6Uw==} dev: true /@types/tsscmp@1.0.2: @@ -5035,7 +5123,7 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-react@4.2.1(vite@5.2.8): + /@vitejs/plugin-react@4.2.1(vite@5.2.11): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -5046,7 +5134,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.24.4) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.2.8(@types/node@18.19.31) + vite: 5.2.11(@types/node@18.19.31) transitivePeerDependencies: - supports-color dev: true @@ -5195,7 +5283,7 @@ packages: cosmiconfig: 8.3.6(typescript@5.4.4) happy-dom: 12.10.3 source-map: 0.7.4 - stylis: 4.3.1 + stylis: 4.3.2 ts-invariant: 0.10.3 transitivePeerDependencies: - supports-color @@ -5320,7 +5408,7 @@ packages: indent-string: 5.0.0 dev: true - /airbnb-prop-types@2.16.0(react@18.2.0): + /airbnb-prop-types@2.16.0(react@18.3.1): resolution: {integrity: sha512-7WHOFolP/6cS96PhKNrslCLMYAI8yB1Pp6u6XmxozQOiZbsI5ycglZr5cHhBFfuRcQQjzCMith5ZPZdYiJCxUg==} peerDependencies: react: ^0.14 || ^15.0.0 || ^16.0.0-alpha @@ -5333,7 +5421,7 @@ packages: object.entries: 1.1.8 prop-types: 15.8.1 prop-types-exact: 1.2.0 - react: 18.2.0 + react: 18.3.1 react-is: 16.13.1 dev: true @@ -5751,7 +5839,7 @@ packages: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} dependencies: - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.24.5 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 @@ -6365,6 +6453,11 @@ packages: engines: {node: '>=6'} dev: false + /clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + dev: false + /cmd-shim@6.0.1: resolution: {integrity: sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -7261,18 +7354,18 @@ packages: hasBin: true dev: true - /enzyme-adapter-utils@1.14.2(react@18.2.0): + /enzyme-adapter-utils@1.14.2(react@18.3.1): resolution: {integrity: sha512-1ZC++RlsYRaiOWE5NRaF5OgsMt7F5rn/VuaJIgc7eW/fmgg8eS1/Ut7EugSPPi7VMdWMLcymRnMF+mJUJ4B8KA==} peerDependencies: react: 0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0 dependencies: - airbnb-prop-types: 2.16.0(react@18.2.0) + airbnb-prop-types: 2.16.0(react@18.3.1) function.prototype.name: 1.1.6 hasown: 2.0.2 object.assign: 4.1.5 object.fromentries: 2.0.8 prop-types: 15.8.1 - react: 18.2.0 + react: 18.3.1 semver: 6.3.1 dev: true @@ -8385,7 +8478,6 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true - dev: true optional: true /fsevents@2.3.3: @@ -9602,7 +9694,7 @@ packages: engines: {node: '>=8'} dependencies: '@babel/core': 7.24.4 - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.5 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -10901,7 +10993,7 @@ packages: resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} dev: true - /next@13.5.6(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0): + /next@13.5.6(@babel/core@7.24.4)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-Y2wTcTbO4WwEsVb4A8VSnOsG1I9ok+h74q0ZdxkwM3EODqrs4pasq7O0iUxbcS9VtWMicG7f3+HAj0r1+NtKSw==} engines: {node: '>=16.14.0'} hasBin: true @@ -10921,9 +11013,9 @@ packages: busboy: 1.6.0 caniuse-lite: 1.0.30001608 postcss: 8.4.31 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - styled-jsx: 5.1.1(@babel/core@7.24.4)(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.24.4)(react@18.3.1) watchpack: 2.4.0 optionalDependencies: '@next/swc-darwin-arm64': 13.5.6 @@ -10940,40 +11032,44 @@ packages: - babel-plugin-macros dev: true - /next@14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-1WTaXeSrUwlz/XcnhGTY7+8eiaFvdet5z9u3V2jb+Ek1vFo0VhHKSAIJvDWfQpttWjnyw14kBeq28TPq7bTeEQ==} + /next@14.2.3(@babel/core@7.24.4)(@playwright/test@1.43.0)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: '@opentelemetry/api': ^1.1.0 + '@playwright/test': ^1.41.2 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 peerDependenciesMeta: '@opentelemetry/api': optional: true + '@playwright/test': + optional: true sass: optional: true dependencies: - '@next/env': 14.1.4 - '@swc/helpers': 0.5.2 + '@next/env': 14.2.3 + '@playwright/test': 1.43.0 + '@swc/helpers': 0.5.5 busboy: 1.6.0 caniuse-lite: 1.0.30001608 graceful-fs: 4.2.11 postcss: 8.4.31 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - styled-jsx: 5.1.1(@babel/core@7.24.4)(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.24.4)(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.1.4 - '@next/swc-darwin-x64': 14.1.4 - '@next/swc-linux-arm64-gnu': 14.1.4 - '@next/swc-linux-arm64-musl': 14.1.4 - '@next/swc-linux-x64-gnu': 14.1.4 - '@next/swc-linux-x64-musl': 14.1.4 - '@next/swc-win32-arm64-msvc': 14.1.4 - '@next/swc-win32-ia32-msvc': 14.1.4 - '@next/swc-win32-x64-msvc': 14.1.4 + '@next/swc-darwin-arm64': 14.2.3 + '@next/swc-darwin-x64': 14.2.3 + '@next/swc-linux-arm64-gnu': 14.2.3 + '@next/swc-linux-arm64-musl': 14.2.3 + '@next/swc-linux-x64-gnu': 14.2.3 + '@next/swc-linux-x64-musl': 14.2.3 + '@next/swc-win32-arm64-msvc': 14.2.3 + '@next/swc-win32-ia32-msvc': 14.2.3 + '@next/swc-win32-x64-msvc': 14.2.3 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -12017,7 +12113,6 @@ packages: resolution: {integrity: sha512-iWFjyBUH97+pUFiyTqSLd8cDMMOS0r2ZYz2qEsPjH8/bX++sbIJT35MSwKnp1r/OQBAqC5XO99xFbJ9XClhf4w==} engines: {node: '>=16'} hasBin: true - dev: true /playwright@1.43.0: resolution: {integrity: sha512-SiOKHbVjTSf6wHuGCbqrEyzlm6qvXcv7mENP+OZon1I07brfZLGdfWV0l/efAzVx7TF3Z45ov1gPEkku9q25YQ==} @@ -12027,7 +12122,6 @@ packages: playwright-core: 1.43.0 optionalDependencies: fsevents: 2.3.2 - dev: true /please-upgrade-node@3.2.0: resolution: {integrity: sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==} @@ -12413,22 +12507,22 @@ packages: - supports-color dev: true - /react-dom@18.2.0(react@18.2.0): - resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} + /react-dom@18.3.1(react@18.3.1): + resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} peerDependencies: - react: ^18.2.0 + react: ^18.3.1 dependencies: loose-envify: 1.4.0 - react: 18.2.0 - scheduler: 0.23.0 + react: 18.3.1 + scheduler: 0.23.2 - /react-error-boundary@4.0.13(react@18.2.0): + /react-error-boundary@4.0.13(react@18.3.1): resolution: {integrity: sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==} peerDependencies: react: '>=16.13.1' dependencies: '@babel/runtime': 7.24.4 - react: 18.2.0 + react: 18.3.1 dev: false /react-is@16.13.1: @@ -12441,14 +12535,14 @@ packages: /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - /react-reconciler@0.29.0(react@18.2.0): + /react-reconciler@0.29.0(react@18.3.1): resolution: {integrity: sha512-wa0fGj7Zht1EYMRhKWwoo1H9GApxYLBuhoAuXN0TlltESAjDssB+Apf0T/DngVqaMyPypDmabL37vw/2aRM98Q==} engines: {node: '>=0.10.0'} peerDependencies: react: ^18.2.0 dependencies: loose-envify: 1.4.0 - react: 18.2.0 + react: 18.3.1 scheduler: 0.23.0 dev: true @@ -12457,51 +12551,51 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-router-dom@6.22.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-7ZILI7HjcE+p31oQvwbokjk6OA/bnFxrhJ19n82Ex9Ph8fNAq+Hm/7KchpMGlTgWhUxRHMMCut+vEtNpWpowKw==} + /react-router-dom@6.23.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-Q9YaSYvubwgbal2c9DJKfx6hTNoBp3iJDsl+Duva/DwxoJH+OTXkxGpql4iUK2sla/8z4RpjAm6EWx1qUDuopQ==} engines: {node: '>=14.0.0'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: - '@remix-run/router': 1.15.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-router: 6.22.3(react@18.2.0) + '@remix-run/router': 1.16.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-router: 6.23.0(react@18.3.1) dev: false - /react-router@6.22.3(react@18.2.0): - resolution: {integrity: sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==} + /react-router@6.23.0(react@18.3.1): + resolution: {integrity: sha512-wPMZ8S2TuPadH0sF5irFGjkNLIcRvOSaEe7v+JER8508dyJumm6XZB1u5kztlX0RVq6AzRVndzqcUh6sFIauzA==} engines: {node: '>=14.0.0'} peerDependencies: react: '>=16.8' dependencies: - '@remix-run/router': 1.15.3 - react: 18.2.0 + '@remix-run/router': 1.16.0 + react: 18.3.1 dev: false - /react-shallow-renderer@16.15.0(react@18.2.0): + /react-shallow-renderer@16.15.0(react@18.3.1): resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: react: ^16.0.0 || ^17.0.0 || ^18.0.0 dependencies: object-assign: 4.1.1 - react: 18.2.0 + react: 18.3.1 react-is: 18.2.0 dev: true - /react-test-renderer@18.2.0(react@18.2.0): + /react-test-renderer@18.2.0(react@18.3.1): resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: react: ^18.2.0 dependencies: - react: 18.2.0 + react: 18.3.1 react-is: 18.2.0 - react-shallow-renderer: 16.15.0(react@18.2.0) + react-shallow-renderer: 16.15.0(react@18.3.1) scheduler: 0.23.0 dev: true - /react-transition-group@4.4.5(react-dom@18.2.0)(react@18.2.0): + /react-transition-group@4.4.5(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} peerDependencies: react: '>=16.6.0' @@ -12511,12 +12605,12 @@ packages: dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false - /react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} + /react@18.3.1: + resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -12976,6 +13070,12 @@ packages: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: loose-envify: 1.4.0 + dev: true + + /scheduler@0.23.2: + resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + dependencies: + loose-envify: 1.4.0 /schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} @@ -13561,7 +13661,7 @@ packages: through: 2.3.8 dev: true - /styled-jsx@5.1.1(@babel/core@7.24.4)(react@18.2.0): + /styled-jsx@5.1.1(@babel/core@7.24.4)(react@18.3.1): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -13576,7 +13676,7 @@ packages: dependencies: '@babel/core': 7.24.4 client-only: 0.0.1 - react: 18.2.0 + react: 18.3.1 /stylelint-config-recommended@14.0.0(stylelint@16.3.1): resolution: {integrity: sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==} @@ -13646,20 +13746,20 @@ packages: - typescript dev: true - /stylis-plugin-rtl@2.1.1(stylis@4.3.1): + /stylis-plugin-rtl@2.1.1(stylis@4.3.2): resolution: {integrity: sha512-q6xIkri6fBufIO/sV55md2CbgS5c6gg9EhSVATtHHCdOnbN/jcI0u3lYhNVeuI65c4lQPo67g8xmq5jrREvzlg==} peerDependencies: stylis: 4.x dependencies: cssjanus: 2.1.0 - stylis: 4.3.1 + stylis: 4.3.2 dev: false /stylis@4.2.0: resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} - /stylis@4.3.1: - resolution: {integrity: sha512-EQepAV+wMsIaGVGX1RECzgrcqRRU/0sYOHkeLsZ3fzHaHXZy4DaOOX0vOlGQdlsjkh3mFHAIlVimpwAs4dslyQ==} + /stylis@4.3.2: + resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} dev: false /sucrase@3.35.0: @@ -14420,7 +14520,7 @@ packages: vfile-message: 2.0.4 dev: true - /vite-plugin-pages@0.32.1(vite@5.2.8): + /vite-plugin-pages@0.32.1(vite@5.2.11): resolution: {integrity: sha512-4oPlIbb+J+zpJGfT2xI/27xqY+qTkRc3MBgWKfbW6IWM3CTcSyybuL9kRMCFRdBHfmgkF28qDs7fqVf/HjH1Xw==} peerDependencies: '@vue/compiler-sfc': ^2.7.0 || ^3.0.0 @@ -14437,12 +14537,48 @@ packages: json5: 2.2.3 local-pkg: 0.5.0 picocolors: 1.0.0 - vite: 5.2.8(@types/node@18.19.31) + vite: 5.2.11(@types/node@18.19.31) yaml: 2.4.1 transitivePeerDependencies: - supports-color dev: true + /vite@5.2.11(@types/node@18.19.31): + resolution: {integrity: sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.19.30 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.19.31 + esbuild: 0.20.2 + postcss: 8.4.38 + rollup: 4.14.1 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /vite@5.2.8(@types/node@18.19.31): resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -14943,7 +15079,7 @@ packages: resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} dev: true - '@pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils(@babel/core@7.24.4)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0)': + '@pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils(@babel/core@7.24.4)(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1)': resolution: {registry: https://registry.npmjs.org/, tarball: https://pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils} id: '@pkg.csb.dev/mui/material-ui/commit/fb183624/@mui/internal-test-utils' name: '@mui/internal-test-utils' @@ -14957,10 +15093,10 @@ packages: '@babel/register': 7.23.7(@babel/core@7.24.4) '@babel/runtime': 7.24.4 '@emotion/cache': 11.11.0 - '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.2.0) - '@mnajdova/enzyme-adapter-react-18': 0.2.0(enzyme@3.11.0)(react-dom@18.2.0)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.3.1) + '@mnajdova/enzyme-adapter-react-18': 0.2.0(enzyme@3.11.0)(react-dom@18.3.1)(react@18.3.1) '@testing-library/dom': 9.3.4 - '@testing-library/react': 14.3.0(react-dom@18.2.0)(react@18.2.0) + '@testing-library/react': 14.3.0(react-dom@18.3.1)(react@18.3.1) chai: 4.4.1 chai-dom: 1.12.0(chai@4.4.1) dom-accessibility-api: 0.6.3 @@ -14972,9 +15108,9 @@ packages: mocha: 10.4.0 playwright: 1.43.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-test-renderer: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-test-renderer: 18.2.0(react@18.3.1) sinon: 15.2.0 transitivePeerDependencies: - '@babel/core' @@ -14985,7 +15121,7 @@ packages: - utf-8-validate dev: true - file:packages/pigment-css-react(@types/react@18.2.75)(react@18.2.0)(typescript@5.4.4): + file:packages/pigment-css-react(@types/react@18.2.75)(react@18.3.1)(typescript@5.4.4): resolution: {directory: packages/pigment-css-react, type: directory} id: file:packages/pigment-css-react name: '@pigment-css/react' @@ -14994,26 +15130,26 @@ packages: dependencies: '@babel/core': 7.24.4 '@babel/helper-module-imports': 7.24.3 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/parser': 7.24.4 + '@babel/helper-plugin-utils': 7.24.5 + '@babel/parser': 7.24.5 '@babel/types': 7.24.0 '@emotion/css': 11.11.2 '@emotion/is-prop-valid': 1.2.2 - '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.75)(react@18.3.1) '@emotion/serialize': 1.1.4 - '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.2.0) - '@mui/system': 6.0.0-alpha.1(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.2.0) - '@mui/utils': 6.0.0-alpha.1(@types/react@18.2.75)(react@18.2.0) + '@emotion/styled': 11.11.5(@emotion/react@11.11.4)(@types/react@18.2.75)(react@18.3.1) + '@mui/system': 6.0.0-alpha.5(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.75)(react@18.3.1) + '@mui/utils': 6.0.0-alpha.5(@types/react@18.2.75)(react@18.3.1) '@wyw-in-js/processor-utils': 0.5.3 '@wyw-in-js/shared': 0.5.3 '@wyw-in-js/transform': 0.5.3(typescript@5.4.4) - clsx: 2.1.0 + clsx: 2.1.1 cssesc: 3.0.0 csstype: 3.1.3 lodash: 4.17.21 - react: 18.2.0 - stylis: 4.3.1 - stylis-plugin-rtl: 2.1.1(stylis@4.3.1) + react: 18.3.1 + stylis: 4.3.2 + stylis-plugin-rtl: 2.1.1(stylis@4.3.2) transitivePeerDependencies: - '@types/react' - supports-color From 9091fadef2684e9a8601c88d078a767366d94ffb Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Fri, 10 May 2024 23:27:35 +0530 Subject: [PATCH 2/3] [core] Migrate test runner to vitest --- .eslintignore | 11 - .eslintrc.js | 3 +- .gitignore | 3 +- apps/pigment-css-next-app/package.json | 9 - apps/pigment-css-vite-app/package.json | 14 - nx.json | 13 +- package.json | 20 +- .../eslint-plugin-material-ui/package.json | 2 +- packages/pigment-css-react/.gitignore | 2 + packages/pigment-css-react/package.json | 39 +- .../src/{styled.js => styled.jsx} | 0 packages/pigment-css-react/tests/Box.spec.tsx | 2 +- .../tests/Box/fixtures/box-jsx.output.css | 4 +- .../tests/Box/fixtures/box-jsx.output.js | 4 +- .../tests/Box/fixtures/box.output.css | 4 +- .../tests/Box/fixtures/box.output.js | 4 +- .../tests/css/fixtures/css.output.css | 2 +- .../tests/css/fixtures/css.output.js | 2 +- .../fixtures/keyframes-theme.output.css | 4 +- .../fixtures/keyframes-theme.output.js | 4 +- .../keyframes/fixtures/keyframes.output.css | 4 +- .../keyframes/fixtures/keyframes.output.js | 4 +- .../styled/fixtures/styled-rtl.output.css | 22 +- .../styled/fixtures/styled-rtl.output.js | 6 +- .../styled-theme-styleOverrides.output.css | 4 +- .../styled-theme-styleOverrides.output.js | 2 +- .../styled-theme-styleOverrides2.output.css | 14 +- .../styled-theme-styleOverrides2.output.js | 12 +- .../styled/fixtures/styled-theme.output.css | 14 +- .../styled/fixtures/styled-theme.output.js | 6 +- .../fixtures/styled-variants.output.css | 4 +- .../styled/fixtures/styled-variants.output.js | 6 +- .../tests/styled/fixtures/styled.output.css | 12 +- .../tests/styled/fixtures/styled.output.js | 6 +- ...styled.test.js => runtime-styled.test.jsx} | 96 +++-- .../tests/sx/fixtures/sx-array.output.css | 38 +- .../tests/sx/fixtures/sx-array.output.js | 30 +- .../tests/sx/fixtures/sx-jsx.output.css | 20 +- .../tests/sx/fixtures/sx-jsx.output.js | 18 +- .../tests/sx/fixtures/sx-shorthand.output.css | 4 +- .../tests/sx/fixtures/sx-shorthand.output.js | 4 +- .../tests/sx/fixtures/sxProps.output.css | 22 +- .../tests/sx/fixtures/sxProps.output.js | 20 +- .../tests/sx/fixtures/sxProps2.output.css | 22 +- .../tests/sx/fixtures/sxProps2.output.js | 10 +- packages/pigment-css-react/tests/testUtils.ts | 2 +- .../fixtures/themed-component.output.css | 8 +- .../theme/fixtures/themed-component.output.js | 8 +- .../tests/utils/theme-tokens.test.ts | 1 - packages/pigment-css-react/tsconfig.json | 2 +- packages/pigment-css-react/tsup.config.ts | 1 - packages/pigment-css-react/vitest.config.ts | 8 + packages/pigment-css-unplugin/.gitignore | 2 + packages/pigment-css-unplugin/package.json | 5 +- packages/pigment-css-unplugin/tsconfig.json | 2 +- .../pigment-css-unplugin/vitest.config.ts | 1 + pnpm-lock.yaml | 393 +++++++++++++++++- tsconfig.json | 2 +- vitest-setup.ts | 7 + vitest.config.ts | 13 + 60 files changed, 669 insertions(+), 332 deletions(-) rename packages/pigment-css-react/src/{styled.js => styled.jsx} (100%) rename packages/pigment-css-react/tests/styled/{runtime-styled.test.js => runtime-styled.test.jsx} (75%) create mode 100644 packages/pigment-css-react/vitest.config.ts create mode 100644 packages/pigment-css-unplugin/vitest.config.ts create mode 100644 vitest-setup.ts create mode 100644 vitest.config.ts diff --git a/.eslintignore b/.eslintignore index b41682c51..b4928f9d1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -10,17 +10,6 @@ /packages/pigment-css-react/theme/ /packages/pigment-css-react/tests/**/fixtures /packages/pigment-css-nextjs-plugin/loader.js -# Ignore fixtures -/packages-internal/scripts/typescript-to-proptypes/test/*/* -/test/bundling/fixtures/**/*.fixture.js -# just an import that reports eslint errors depending on whether the fixture (which is not checked in) exists -/test/bundling/fixtures/create-react-app/src/index.js -/test/bundling/fixtures/gatsby/.cache -/test/bundling/fixtures/gatsby/public -/test/bundling/fixtures/gatsby/public -/test/karma.conf.js -/test/karma.conf.profile.js -/test/regressions/**/* /tmp .next build diff --git a/.eslintrc.js b/.eslintrc.js index fe499326c..69afd77d3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -140,7 +140,7 @@ module.exports = { 'react/forbid-prop-types': 'off', // Too strict, no time for that 'react/jsx-curly-brace-presence': 'off', // broken // airbnb is using .jsx - 'react/jsx-filename-extension': ['error', { extensions: ['.js', '.tsx'] }], + 'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx', '.tsx'] }], // Prefer over <>. 'react/jsx-fragments': ['error', 'element'], // Enforces premature optimization @@ -209,6 +209,7 @@ module.exports = { '*.test.js', '*.test.ts', '*.test.tsx', + '*.test.jsx', ], extends: ['plugin:mocha/recommended'], rules: { diff --git a/.gitignore b/.gitignore index 5acd48e24..4064e6e68 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,8 @@ /.eslintcache /.nyc_output /benchmark/**/dist -/coverage +/coverage/ +/html/ /docs/.env.local /docs/export /docs/pages/playground/ diff --git a/apps/pigment-css-next-app/package.json b/apps/pigment-css-next-app/package.json index d5113137f..862f1d769 100644 --- a/apps/pigment-css-next-app/package.json +++ b/apps/pigment-css-next-app/package.json @@ -29,14 +29,5 @@ "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "eslint": "^8.57.0" - }, - "nx": { - "targets": { - "preview": { - "dependsOn": [ - "^build" - ] - } - } } } diff --git a/apps/pigment-css-vite-app/package.json b/apps/pigment-css-vite-app/package.json index 9dfa809b9..e03c5fb9f 100644 --- a/apps/pigment-css-vite-app/package.json +++ b/apps/pigment-css-vite-app/package.json @@ -35,19 +35,5 @@ "postcss-combine-media-query": "^1.0.1", "vite": "5.2.11", "vite-plugin-pages": "^0.32.1" - }, - "nx": { - "targets": { - "preview": { - "dependsOn": [ - "^build" - ] - }, - "dev": { - "dependsOn": [ - "^build" - ] - } - } } } diff --git a/nx.json b/nx.json index 4734b4e6b..a5543891f 100644 --- a/nx.json +++ b/nx.json @@ -3,7 +3,6 @@ "extends": "nx/presets/npm.json", "targetDefaults": { "copy-license": { - "cache": true, "outputs": ["{projectRoot}/LICENSE"] }, "build": { @@ -13,6 +12,18 @@ }, "preview": { "dependsOn": ["^build"] + }, + "test": { + "cache": false, + "dependsOn": ["build"] + }, + "test:update": { + "cache": false, + "dependsOn": ["build"] + }, + "test:ci": { + "cache": false, + "dependsOn": ["build"] } } } diff --git a/package.json b/package.json index 700d5ec84..5180d3439 100644 --- a/package.json +++ b/package.json @@ -29,15 +29,10 @@ "test": "node scripts/test.mjs", "tc": "node test/cli.js", "test:extended": "pnpm eslint && pnpm typescript && pnpm test:coverage", - "test:coverage": "pnpm build && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=text mocha 'packages/**/*.test.{js,ts,tsx}' 'docs/**/*.test.{js,ts,tsx}'", - "test:coverage:ci": "pnpm build && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov mocha 'packages/**/*.test.{js,ts,tsx}' 'docs/**/*.test.{js,ts,tsx}'", - "test:coverage:html": "pnpm build && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=html mocha 'packages/**/*.test.{js,ts,tsx}' 'docs/**/*.test.{js,ts,tsx}'", - "test:regressions": "cross-env NODE_ENV=production pnpm test:regressions:build && concurrently --success first --kill-others \"pnpm test:regressions:run\" \"pnpm test:regressions:server\"", - "test:regressions:build": "webpack --config test/regressions/webpack.config.js", - "test:regressions:dev": "concurrently \"pnpm test:regressions:build --watch\" \"pnpm test:regressions:server\"", - "test:regressions:run": "mocha --config test/regressions/.mocharc.js --delay 'test/regressions/**/*.test.js'", - "test:regressions:server": "serve test/regressions -p 5001", - "test:unit": "cross-env NODE_ENV=test mocha 'packages/**/*.test.{js,ts,tsx}' 'docs/**/*.test.{js,ts,tsx}'", + "test:coverage": "nx run-many -t test:ci", + "test:coverage:ci": "NODE_ENV=test nx run-many -t test:ci", + "test:coverage:html": "NODE_ENV=test nx run-many -t test:ci:html", + "test:unit": "nx run-many -t test", "test:argos": "node ./scripts/pushArgos.mjs", "typescript": "tsc -b tsconfig.typecheck.json", "typescript:ci": "lerna run --concurrency 3 --no-bail --no-sort typescript", @@ -65,14 +60,17 @@ "@next/eslint-plugin-next": "^14.1.4", "@octokit/rest": "^20.1.0", "@playwright/test": "1.43.0", + "@testing-library/react": "^15.0.7", + "@testing-library/jest-dom": "^6.4.5", "@types/fs-extra": "^11.0.4", "@types/lodash": "^4.17.0", - "@types/mocha": "^10.0.6", "@types/node": "^18.19.30", "@types/react": "^18.2.74", "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", + "@vitest/coverage-v8": "^1.6.0", + "@vitest/ui": "^1.6.0", "babel-plugin-istanbul": "^6.1.1", "babel-plugin-module-resolver": "^5.0.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", @@ -100,7 +98,6 @@ "lerna": "^8.1.2", "lodash": "^4.17.21", "markdownlint-cli2": "^0.13.0", - "mocha": "^10.4.0", "nx": "^18.2.3", "nyc": "^15.1.0", "postcss-styled-syntax": "^0.6.4", @@ -117,6 +114,7 @@ "tsx": "^4.7.2", "typescript": "^5.4.4", "unist-util-visit": "^2.0.3", + "vitest": "^1.6.0", "yargs": "^17.7.2" }, "packageManager": "pnpm@8.15.6", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index b1ce6cfb3..02e5272fe 100644 --- a/packages/eslint-plugin-material-ui/package.json +++ b/packages/eslint-plugin-material-ui/package.json @@ -10,7 +10,7 @@ "@typescript-eslint/parser": "^7.5.0" }, "scripts": { - "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/eslint-plugin-material-ui/**/*.test.js' --timeout 3000" + "test": "echo \"No tests here\"" }, "license": "MIT" } diff --git a/packages/pigment-css-react/.gitignore b/packages/pigment-css-react/.gitignore index ce2260016..d661d63e3 100644 --- a/packages/pigment-css-react/.gitignore +++ b/packages/pigment-css-react/.gitignore @@ -1,3 +1,5 @@ /processors/ /utils/ LICENSE +/html/ +/coverage/ diff --git a/packages/pigment-css-react/package.json b/packages/pigment-css-react/package.json index 69996de67..389a60bf4 100644 --- a/packages/pigment-css-react/package.json +++ b/packages/pigment-css-react/package.json @@ -25,9 +25,9 @@ "watch": "tsup --watch --clean false", "copy-license": "node ../../scripts/pigment-license.mjs", "build": "tsup", - "test": "cd ../../ && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=text mocha 'packages/pigment-css-react/**/*.test.{js,ts,tsx}'", - "test:update": "cd ../../ && cross-env NODE_ENV=test UPDATE_FIXTURES=true mocha 'packages/pigment-css-react/**/*.test.{js,ts,tsx}'", - "test:ci": "cd ../../ && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --report-dir=./coverage/pigment-css-react mocha 'packages/pigment-css-react/**/*.test.{js,ts,tsx}'", + "test": "vitest run", + "test:update": "UPDATE_FIXTURES=true vitest run", + "test:ci": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage", "typecheck": "tsc --noEmit -p ." }, "dependencies": { @@ -55,17 +55,19 @@ }, "devDependencies": { "@babel/plugin-syntax-jsx": "^7.24.1", + "@testing-library/jest-dom": "^6.4.5", + "@testing-library/react": "^15.0.7", "@types/babel__core": "^7.20.5", "@types/babel__helper-module-imports": "^7.18.3", "@types/babel__helper-plugin-utils": "^7.10.3", "@types/chai": "^4.3.16", "@types/cssesc": "^3.0.2", "@types/lodash": "^4.17.1", - "@types/mocha": "^10.0.6", "@types/node": "^18.19.31", "@types/prop-types": "^15.7.12", "@types/react": "^18.3.1", "@types/stylis": "^4.2.6", + "@vitejs/plugin-react": "^4.2.1", "chai": "^4.4.1", "prettier": "^3.2.5", "prop-types": "^15.8.1", @@ -149,34 +151,5 @@ "require": "./build/RtlProvider.js", "default": "./build/RtlProvider.js" } - }, - "nx": { - "targets": { - "test": { - "cache": false, - "dependsOn": [ - "build" - ] - }, - "test:update": { - "cache": false, - "dependsOn": [ - "build" - ] - }, - "test:ci": { - "cache": false, - "dependsOn": [ - "build" - ] - }, - "build": { - "outputs": [ - "{projectRoot}/build", - "{projectRoot}/processors", - "{projectRoot}/utils" - ] - } - } } } diff --git a/packages/pigment-css-react/src/styled.js b/packages/pigment-css-react/src/styled.jsx similarity index 100% rename from packages/pigment-css-react/src/styled.js rename to packages/pigment-css-react/src/styled.jsx diff --git a/packages/pigment-css-react/tests/Box.spec.tsx b/packages/pigment-css-react/tests/Box.spec.tsx index 8b28efe60..887d49039 100644 --- a/packages/pigment-css-react/tests/Box.spec.tsx +++ b/packages/pigment-css-react/tests/Box.spec.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Box } from '@pigment-css/react/Box'; +import Box from '@pigment-css/react/Box'; export function App() { return ( diff --git a/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.css b/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.css index 181b1abed..05fbda433 100644 --- a/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.css +++ b/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.css @@ -1,4 +1,4 @@ -.sd5jss7 { +.s102a5ob { margin: 0; margin-block: 1rem; padding: 0; @@ -7,7 +7,7 @@ flex-direction: column; gap: 0.5rem; } -.sk625fs { +.s22pi4e { display: flex; flex-direction: column; } diff --git a/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.js b/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.js index 47a9f092f..4cd4cd46b 100644 --- a/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.js +++ b/packages/pigment-css-react/tests/Box/fixtures/box-jsx.output.js @@ -6,7 +6,7 @@ export function App(props) { as: 'ul', 'aria-label': props.label, children: 'Hello Box', - ..._sx('sd5jss7', {}), + ..._sx('s102a5ob', {}), }); } function App2(props) { @@ -14,7 +14,7 @@ function App2(props) { Box, { children: 'Test', - ..._sx2('sk625fs', {}), + ..._sx2('s22pi4e', {}), }, void 0, false, diff --git a/packages/pigment-css-react/tests/Box/fixtures/box.output.css b/packages/pigment-css-react/tests/Box/fixtures/box.output.css index d332a8786..3c43cde82 100644 --- a/packages/pigment-css-react/tests/Box/fixtures/box.output.css +++ b/packages/pigment-css-react/tests/Box/fixtures/box.output.css @@ -1,5 +1,5 @@ -.bc1d15y { - color: var(--bc1d15y-0); +.b1akj7oz { + color: var(--b1akj7oz-0); margin: 0; margin-block: 1rem; padding: 0; diff --git a/packages/pigment-css-react/tests/Box/fixtures/box.output.js b/packages/pigment-css-react/tests/Box/fixtures/box.output.js index 9b4c632c5..7605b8be7 100644 --- a/packages/pigment-css-react/tests/Box/fixtures/box.output.js +++ b/packages/pigment-css-react/tests/Box/fixtures/box.output.js @@ -7,9 +7,9 @@ export function App(props) { aria-label={props.label} {..._sx( { - className: 'bc1d15y', + className: 'b1akj7oz', vars: { - 'bc1d15y-0': [props.color, false], + 'b1akj7oz-0': [props.color, false], }, }, {}, diff --git a/packages/pigment-css-react/tests/css/fixtures/css.output.css b/packages/pigment-css-react/tests/css/fixtures/css.output.css index 7b2e7bc26..963a64c4c 100644 --- a/packages/pigment-css-react/tests/css/fixtures/css.output.css +++ b/packages/pigment-css-react/tests/css/fixtures/css.output.css @@ -1,4 +1,4 @@ -.c1pj8glw { +.ccs6o9u { color: red; font-size: 3rem; } diff --git a/packages/pigment-css-react/tests/css/fixtures/css.output.js b/packages/pigment-css-react/tests/css/fixtures/css.output.js index 351cb0daa..5b29baa22 100644 --- a/packages/pigment-css-react/tests/css/fixtures/css.output.js +++ b/packages/pigment-css-react/tests/css/fixtures/css.output.js @@ -1 +1 @@ -const cls1 = 'c1pj8glw'; +const cls1 = 'ccs6o9u'; diff --git a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.css b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.css index 491c737fd..7a40eda62 100644 --- a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.css +++ b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.css @@ -1,4 +1,4 @@ -@keyframes gpsum18 { +@keyframes g14ms9lx { 0% { background: red; } @@ -9,7 +9,7 @@ background: blue; } } -@keyframes g1t1dgxp { +@keyframes gz01um { 0% { background: red; } diff --git a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.js b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.js index 9674335eb..893bd1e13 100644 --- a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.js +++ b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes-theme.output.js @@ -1,2 +1,2 @@ -const gradientKeyframe = 'gpsum18'; -const gradientKeyframe2 = 'g1t1dgxp'; +const gradientKeyframe = 'g14ms9lx'; +const gradientKeyframe2 = 'gz01um'; diff --git a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.css b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.css index 255fbfb06..bee914434 100644 --- a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.css +++ b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.css @@ -1,4 +1,4 @@ -@keyframes rr2uptz { +@keyframes r6toupf { from { transform: rotate(360deg); } @@ -6,7 +6,7 @@ transform: rotate(0deg); } } -@keyframes r1dngkim { +@keyframes rwg7boy { from { transform: rotate(360deg); } diff --git a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.js b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.js index bab4d4fc9..0d77b72fb 100644 --- a/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.js +++ b/packages/pigment-css-react/tests/keyframes/fixtures/keyframes.output.js @@ -1,2 +1,2 @@ -const rotateKeyframe = 'rr2uptz'; -const rotateKeyframe2 = 'r1dngkim'; +const rotateKeyframe = 'r6toupf'; +const rotateKeyframe2 = 'rwg7boy'; diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.css index 3cbf43f43..b4e92fe89 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.css @@ -1,4 +1,4 @@ -@keyframes r14vlhb { +@keyframes rewlasw { from { transform: translateX(0%); } @@ -6,39 +6,39 @@ transform: translateX(100%); } } -.c194j3ko { - animation: r14vlhb 2s ease-out 0s infinite; +.c1gnxion { + animation: rewlasw 2s ease-out 0s infinite; margin-left: 10px; } -:dir(rtl) .c194j3ko { - animation: r14vlhb 2s ease-out 0s infinite; +:dir(rtl) .c1gnxion { + animation: rewlasw 2s ease-out 0s infinite; margin-right: 10px; } -.sgip8u5 { +.sytgj48 { display: block; position: absolute; left: 0; top: 0; border-top-left-radius: 3px; } -:dir(rtl) .sgip8u5 { +:dir(rtl) .sytgj48 { display: block; position: absolute; right: 0; top: 0; border-top-right-radius: 3px; } -.sgip8u5-1 { +.sytgj48-1 { font-size: 1.5rem; } -:dir(rtl) .sgip8u5-1 { +:dir(rtl) .sytgj48-1 { font-size: 1.5rem; } -.smip3v5 .sgip8u5 { +.sgipd9n .sytgj48 { padding-inline-start: none; margin: 0px 10px 10px 30px; } -:dir(rtl) .smip3v5 .sgip8u5 { +:dir(rtl) .sgipd9n .sytgj48 { padding-inline-start: none; margin: 0px 30px 10px 10px; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.js index f53fc340e..459b5401b 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-rtl.output.js @@ -1,14 +1,14 @@ import { styled as _styled, styled as _styled2, styled as _styled3 } from '@pigment-css/react'; import _theme from '@pigment-css/react/theme'; const Component = /*#__PURE__*/ _styled('div')({ - classes: ['c194j3ko'], + classes: ['c1gnxion'], }); export const SliderRail = /*#__PURE__*/ _styled2('span', { name: 'MuiSlider', slot: 'Rail', })({ - classes: ['sgip8u5', 'sgip8u5-1'], + classes: ['sytgj48', 'sytgj48-1'], }); const SliderRail2 = /*#__PURE__*/ _styled3('span')({ - classes: ['smip3v5'], + classes: ['sgipd9n'], }); diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.css index 0414e662f..db96b05ba 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.css @@ -1,6 +1,6 @@ -.njazm0b { +.n16dgyp3 { border-color: red; } -.njazm0b-1 { +.n16dgyp3-1 { border: none; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.js index b109577a2..99005259b 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides.output.js @@ -5,5 +5,5 @@ const NotchedOutlineRoot = /*#__PURE__*/ _styled('fieldset', { slot: 'NotchedOutline', overridesResolver: (props, styles) => styles.notchedOutline, })({ - classes: ['njazm0b', 'njazm0b-1'], + classes: ['n16dgyp3', 'n16dgyp3-1'], }); diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.css index cdd4ea1ea..51e592363 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.css @@ -1,21 +1,21 @@ -.o1ei225m { +.oqpebcq { padding: 16.5px 14px; } -.o1ei225m-1 { +.oqpebcq-1 { padding: 8.5px 14px; } -.o1ei225m-2 { +.oqpebcq-2 { padding: 0; } -.o1ei225m-3 { +.oqpebcq-3 { padding-left: 0; } -.o1ei225m-4 { +.oqpebcq-4 { padding-right: 0; } -.o1ei225m-5 { +.oqpebcq-5 { padding-left: 10px; } -.o1ei225m-6 { +.oqpebcq-6 { padding: 9px 14.5px; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.js index 49d4e96dc..403bdce44 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme-styleOverrides2.output.js @@ -4,31 +4,31 @@ const OutlinedInputInput = /*#__PURE__*/ _styled('input', { name: 'MuiOutlinedInput', slot: 'Input', })({ - classes: ['o1ei225m', 'o1ei225m-5'], + classes: ['oqpebcq', 'oqpebcq-5'], variants: [ { props: { size: 'small', }, - className: 'o1ei225m-1', + className: 'oqpebcq-1', }, { props: ({ ownerState }) => ownerState.multiline, - className: 'o1ei225m-2', + className: 'oqpebcq-2', }, { props: ({ ownerState }) => ownerState.startAdornment, - className: 'o1ei225m-3', + className: 'oqpebcq-3', }, { props: ({ ownerState }) => ownerState.endAdornment, - className: 'o1ei225m-4', + className: 'oqpebcq-4', }, { props: { size: 'small', }, - className: 'o1ei225m-6', + className: 'oqpebcq-6', }, ], }); diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.css index 2d6da6559..580f3bd67 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.css @@ -1,4 +1,4 @@ -@keyframes rnit1sq { +@keyframes r74bycx { from { transform: rotate(360deg); } @@ -6,11 +6,11 @@ transform: rotate(0deg); } } -.c1h7nuob { +.cemfduf { color: red; - animation: rnit1sq 2s ease-out 0s infinite; + animation: r74bycx 2s ease-out 0s infinite; } -.s13xim6i { +.s7fgwgo { display: block; position: absolute; border-radius: inherit; @@ -18,14 +18,14 @@ opacity: 0.38; font-size: 3rem; } -.s13xim6i-1 { +.s7fgwgo-1 { font-size: 1.5rem; } -.s1emg10t { +.s10rodt2 { display: block; opacity: 0.38; font-size: 3rem; } -.s1emg10t .s13xim6i { +.s10rodt2 .s7fgwgo { display: none; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.js index 3e3eae8b2..64a4c8e55 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-theme.output.js @@ -2,16 +2,16 @@ import { styled as _styled, styled as _styled2, styled as _styled3 } from '@pigm import _theme from '@pigment-css/react/theme'; import PropTypes from 'prop-types'; const Component = /*#__PURE__*/ _styled('div')({ - classes: ['c1h7nuob'], + classes: ['cemfduf'], }); const SliderRail = /*#__PURE__*/ _styled2('span', { name: 'MuiSlider', slot: 'Rail', })({ - classes: ['s13xim6i', 's13xim6i-1'], + classes: ['s7fgwgo', 's7fgwgo-1'], }); const SliderRail2 = /*#__PURE__*/ _styled3('span')({ - classes: ['s1emg10t'], + classes: ['s10rodt2'], }); export function App() { return ( diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.css index 4a6e20753..2cf9b82b0 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.css @@ -1,6 +1,6 @@ -.b1prasel-1 { +.b1p4fcjf-1 { color: tomato; } -.b1prasel-2 { +.b1p4fcjf-2 { color: salmon; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.js index 6b450dcd6..27d744630 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled-variants.output.js @@ -1,17 +1,17 @@ import { styled as _styled } from '@pigment-css/react'; import _theme from '@pigment-css/react/theme'; const Button = /*#__PURE__*/ _styled('button')({ - classes: ['b1prasel'], + classes: ['b1p4fcjf'], variants: [ { props: { color: 'primary', }, - className: 'b1prasel-1', + className: 'b1p4fcjf-1', }, { props: ({ ownerState }) => ownerState.color === 'secondary', - className: 'b1prasel-2', + className: 'b1p4fcjf-2', }, ], }); diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled.output.css b/packages/pigment-css-react/tests/styled/fixtures/styled.output.css index f21339761..032e99b05 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled.output.css +++ b/packages/pigment-css-react/tests/styled/fixtures/styled.output.css @@ -1,4 +1,4 @@ -@keyframes r1sz5zcv { +@keyframes rmbqoav { from { transform: rotate(360deg); } @@ -6,21 +6,21 @@ transform: rotate(0deg); } } -.c1aiqtje { +.c18u98at { color: #ff5252; - animation: r1sz5zcv 2s ease-out 0s infinite; + animation: rmbqoav 2s ease-out 0s infinite; } -.sj0zd45 { +.s1d2yhn4 { display: block; position: absolute; border-radius: inherit; background-color: currentColor; opacity: 0.38; } -.shdkmm7 { +.s17p3km3 { display: block; opacity: 0.38; } -.shdkmm7 .sj0zd45 { +.s17p3km3 .s1d2yhn4 { display: none; } diff --git a/packages/pigment-css-react/tests/styled/fixtures/styled.output.js b/packages/pigment-css-react/tests/styled/fixtures/styled.output.js index 5ae764012..2e987dfd7 100644 --- a/packages/pigment-css-react/tests/styled/fixtures/styled.output.js +++ b/packages/pigment-css-react/tests/styled/fixtures/styled.output.js @@ -2,16 +2,16 @@ import { styled as _styled, styled as _styled2, styled as _styled3 } from '@pigm import _theme from '@pigment-css/react/theme'; import PropTypes from 'prop-types'; const Component = /*#__PURE__*/ _styled('div')({ - classes: ['c1aiqtje'], + classes: ['c18u98at'], }); export const SliderRail = /*#__PURE__*/ _styled2('span', { name: 'MuiSlider', slot: 'Rail', })({ - classes: ['sj0zd45'], + classes: ['s1d2yhn4'], }); const SliderRail2 = /*#__PURE__*/ _styled3('span')({ - classes: ['shdkmm7'], + classes: ['s17p3km3'], }); export function App() { return ( diff --git a/packages/pigment-css-react/tests/styled/runtime-styled.test.js b/packages/pigment-css-react/tests/styled/runtime-styled.test.jsx similarity index 75% rename from packages/pigment-css-react/tests/styled/runtime-styled.test.js rename to packages/pigment-css-react/tests/styled/runtime-styled.test.jsx index a0a325389..5f689d8c5 100644 --- a/packages/pigment-css-react/tests/styled/runtime-styled.test.js +++ b/packages/pigment-css-react/tests/styled/runtime-styled.test.jsx @@ -1,11 +1,9 @@ import * as React from 'react'; -import { expect } from 'chai'; -import { createRenderer } from '@mui/internal-test-utils'; -import styled from '../../src/styled'; +import { render } from '@testing-library/react'; +import { expect } from 'vitest'; +import { styled } from '../../src'; describe('props filtering', () => { - const { render } = createRenderer(); - it('composes shouldForwardProp on composed styled components', () => { const StyledDiv = styled('div', { shouldForwardProp: (prop) => prop !== 'foo', @@ -17,9 +15,9 @@ describe('props filtering', () => { const { container } = render(); - expect(container.firstChild).to.not.have.attribute('foo'); - expect(container.firstChild).to.not.have.attribute('bar'); - expect(container.firstChild).to.have.attribute('xyz', 'true'); + expect(container.firstChild).not.toHaveAttribute('foo'); + expect(container.firstChild).not.toHaveAttribute('bar'); + expect(container.firstChild).toHaveAttribute('xyz', 'true'); }); it('custom shouldForwardProp works', () => { @@ -41,9 +39,9 @@ describe('props filtering', () => { `; const { container } = render(); - expect(container.firstChild).to.not.have.attribute('color'); - expect(container.firstChild).to.have.attribute('width', '100px'); - expect(container.firstChild).to.have.attribute('height', '100px'); + expect(container.firstChild).not.toHaveAttribute('color'); + expect(container.firstChild).toHaveAttribute('width', '100px'); + expect(container.firstChild).toHaveAttribute('height', '100px'); }); it('default prop filtering for native html tag', () => { @@ -69,17 +67,17 @@ describe('props filtering', () => { hello world , ); - expect(container.firstChild).to.have.attribute('href', 'link'); - expect(container.firstChild).to.have.attribute('aria-label', 'some label'); - expect(container.firstChild).to.have.attribute('data-wow', 'value'); - expect(container.firstChild).to.have.attribute('is', 'true'); - - expect(container.firstChild).not.to.have.attribute('a'); - expect(container.firstChild).not.to.have.attribute('b'); - expect(container.firstChild).not.to.have.attribute('wow'); - expect(container.firstChild).not.to.have.attribute('prop'); - expect(container.firstChild).not.to.have.attribute('filtering'); - expect(container.firstChild).not.to.have.attribute('cool'); + expect(container.firstChild).toHaveAttribute('href', 'link'); + expect(container.firstChild).toHaveAttribute('aria-label', 'some label'); + expect(container.firstChild).toHaveAttribute('data-wow', 'value'); + expect(container.firstChild).toHaveAttribute('is', 'true'); + + expect(container.firstChild).not.toHaveAttribute('a'); + expect(container.firstChild).not.toHaveAttribute('b'); + expect(container.firstChild).not.toHaveAttribute('wow'); + expect(container.firstChild).not.toHaveAttribute('prop'); + expect(container.firstChild).not.toHaveAttribute('filtering'); + expect(container.firstChild).not.toHaveAttribute('cool'); }); it('no prop filtering on non string tags', () => { @@ -105,16 +103,16 @@ describe('props filtering', () => { , ); - expect(container.firstChild).to.have.attribute('href', 'link'); - expect(container.firstChild).to.have.attribute('aria-label', 'some label'); - expect(container.firstChild).to.have.attribute('data-wow', 'value'); - expect(container.firstChild).to.have.attribute('is', 'true'); - expect(container.firstChild).to.have.attribute('a', 'true'); - expect(container.firstChild).to.have.attribute('b', 'true'); - expect(container.firstChild).to.have.attribute('wow', 'true'); - expect(container.firstChild).to.have.attribute('prop', 'true'); - expect(container.firstChild).to.have.attribute('filtering', 'true'); - expect(container.firstChild).to.have.attribute('cool', 'true'); + expect(container.firstChild).toHaveAttribute('href', 'link'); + expect(container.firstChild).toHaveAttribute('aria-label', 'some label'); + expect(container.firstChild).toHaveAttribute('data-wow', 'value'); + expect(container.firstChild).toHaveAttribute('is', 'true'); + expect(container.firstChild).toHaveAttribute('a', 'true'); + expect(container.firstChild).toHaveAttribute('b', 'true'); + expect(container.firstChild).toHaveAttribute('wow', 'true'); + expect(container.firstChild).toHaveAttribute('prop', 'true'); + expect(container.firstChild).toHaveAttribute('filtering', 'true'); + expect(container.firstChild).toHaveAttribute('cool', 'true'); }); describe('ownerState prop', () => { @@ -122,7 +120,7 @@ describe('props filtering', () => { const StyledDiv = styled('div')(); const { container } = render(); - expect(container.firstChild).not.to.have.attribute('ownerState'); + expect(container.firstChild).not.toHaveAttribute('ownerState'); }); it('does not forward `ownerState` to other React component', () => { @@ -133,8 +131,8 @@ describe('props filtering', () => { const StyledDiv = styled(InnerComponent)(); const { container } = render(); - expect(container.firstChild).not.to.have.attribute('ownerState'); - expect(container.firstChild).to.have.attribute('data-ownerstate', 'false'); + expect(container.firstChild).not.toHaveAttribute('ownerState'); + expect(container.firstChild).toHaveAttribute('data-ownerstate', 'false'); }); it('forward `ownerState` to inherited styled component', () => { @@ -159,8 +157,8 @@ describe('props filtering', () => { }); const { container } = render(); - expect(container.firstChild).to.have.class('div1-secondary'); - expect(container.firstChild).to.have.class('div2-secondary'); + expect(container.firstChild).toHaveClass('div1-secondary'); + expect(container.firstChild).toHaveClass('div2-secondary'); }); }); @@ -169,7 +167,7 @@ describe('props filtering', () => { const StyledDiv = styled('div')(); const { container } = render(); - expect(container.firstChild).not.to.have.attribute('classes'); + expect(container.firstChild).not.toHaveAttribute('classes'); }); it('does not forward `classes` for the root slot to other React component', () => { @@ -183,8 +181,8 @@ describe('props filtering', () => { })(); const { container } = render(); - expect(container.firstChild).not.to.have.attribute('classes'); - expect(container.firstChild).not.to.have.class('root-123'); + expect(container.firstChild).not.toHaveAttribute('classes'); + expect(container.firstChild).not.toHaveClass('root-123'); }); it('forward `classes` for the root slot by a custom shouldForwardProp', () => { @@ -199,7 +197,7 @@ describe('props filtering', () => { })(); const { container } = render(); - expect(container.firstChild).to.have.class('root-123'); + expect(container.firstChild).toHaveClass('root-123'); }); }); @@ -214,7 +212,7 @@ describe('props filtering', () => { }); const { container } = render(); - expect(container.firstChild).to.have.class('child'); + expect(container.firstChild).toHaveClass('child'); }); it("child's variants still propagate to its parent", () => { @@ -233,7 +231,7 @@ describe('props filtering', () => { }); const { container } = render(); - expect(container.firstChild).to.have.class('multiline'); + expect(container.firstChild).toHaveClass('multiline'); }); it("child's vars still propagate to its parent", () => { @@ -249,7 +247,7 @@ describe('props filtering', () => { }); const { container } = render(); - expect(container.firstChild).to.have.style('--foo', '300px'); + expect(container.firstChild).toHaveStyle({ '--foo': '300px' }); }); it('use component forward prop if provided `as` is a component', () => { @@ -263,7 +261,7 @@ describe('props filtering', () => { const { container } = render(); - expect(container.firstChild).to.have.tagName('button'); + expect(container.firstChild.tagName).toEqual('BUTTON'); }); it('should forward `as` prop', () => { @@ -382,11 +380,11 @@ describe('props filtering', () => { , ); - expect(container.firstChild).to.have.tagName('div'); - expect(container.firstChild).to.have.class('InputBase-root', 'Input-root'); + expect(container.firstChild.tagName).toEqual('DIV'); + expect(container.firstChild).toHaveClass('InputBase-root', 'Input-root'); - expect(container.firstChild.firstChild).to.have.tagName('select'); - expect(container.firstChild.firstChild).to.have.class('InputBase-input', 'Input-input'); + expect(container.firstChild.firstChild.tagName).toEqual('SELECT'); + expect(container.firstChild.firstChild).toHaveClass('InputBase-input', 'Input-input'); }); }); }); diff --git a/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.css b/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.css index 0c6400b60..fc0f922cf 100644 --- a/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.css +++ b/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.css @@ -1,49 +1,49 @@ -.dnf03uj { +.d77f2qa { opacity: 1; } -.dsvwfmp { +.d7xe34b { color: red; } -.d121rcfp { +.d1c7ydi9 { color: green; } -.schfkcb { - color: var(--schfkcb-0); +.s1f8s81x { + color: var(--s1f8s81x-0); } -.s1cp79ho { +.svfluak { background-color: blue; color: white; } -.soyt4ij { +.sv5tf3c { border: 1px solid red; } -.sr48wd1 { +.s5gn2mm { color: green; } -.s6s70bv { - color: var(--s6s70bv-0); +.s150l9nl { + color: var(--s150l9nl-0); } -.s1v8upwb { +.sh10a0 { opacity: 1; } -.sjtfjpx { +.sylg5x2 { color: red; } -.s1r80n7h { +.s96muxz { color: green; } -.s1gu7ed8 { +.s1g57qnj { border: 1px solid red; } -.s1h4vmh2 { +.s1k5bcbo { opacity: 0.4; } -.s1oy2sl1 { +.so7h5fe { color: red; } -.s14d8kn5 { +.s1feokgc { border: 1px solid red; } -.s1su4mia { - color: var(--s1su4mia-0); +.s1vdrnlm { + color: var(--s1vdrnlm-0); } diff --git a/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.js b/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.js index 9b20565e8..243ca5075 100644 --- a/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.js +++ b/packages/pigment-css-react/tests/sx/fixtures/sx-array.output.js @@ -9,13 +9,13 @@ import { sx as _sx8, } from '@pigment-css/react'; import { jsx as _jsx } from 'react/jsx-runtime'; -
; +
;
@@ -62,9 +62,9 @@ function App3(props) { {...(props.variant === 'secondary' && _sx3( { - className: 'stzaibv', + className: 's1w3gk0m', vars: { - 'stzaibv-0': [props.isRed ? 'red' : 'blue', false], + 's1w3gk0m-0': [props.isRed ? 'red' : 'blue', false], }, }, { @@ -79,11 +79,11 @@ function App3(props) { ); } function App4(props) { - return ; + return ; } function App5(props) { - return ; + return ; } function App6(props) { - return ; + return ; } diff --git a/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.css b/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.css index a31e42487..74e48dba8 100644 --- a/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.css +++ b/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.css @@ -1,4 +1,4 @@ -.sdbmcs3 { +.syo8irh { display: block; position: absolute; border-radius: inherit; @@ -6,41 +6,41 @@ opacity: 0.38; font-size: 3rem; } -.sdbmcs3-1 { +.syo8irh-1 { font-size: 3rem; } -.si7ulc4 { +.s1g6t5jc { margin-bottom: 8px; } @media (prefers-color-scheme: dark) { - .si7ulc4 { + .s1g6t5jc { color: white; } } -.sliig2s { +.ska13jz { border-radius: 8px; margin: 5px; } -.sliig2s.MuiAutocomplete-option { +.ska13jz.MuiAutocomplete-option { padding: 8px; } -.so956n { +.s17in6il { color: red; - font-size: var(--so956n-0); + font-size: var(--s17in6il-0); } @media (min-width: 0px) { - .so956n :hover { + .s17in6il :hover { background-color: red; } } @media (min-width: 600px) { - .so956n :hover { + .s17in6il :hover { background-color: blue; color: red; } } @media (min-width: 900px) { - .so956n :hover { + .s17in6il :hover { color: blue; } } diff --git a/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.js b/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.js index 19bf63cbd..6329172e9 100644 --- a/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.js +++ b/packages/pigment-css-react/tests/sx/fixtures/sxProps2.output.js @@ -3,20 +3,20 @@ const SliderRail = /*#__PURE__*/ _styled('span', { name: 'MuiSlider', slot: 'Rail', })({ - classes: ['sdbmcs3', 'sdbmcs3-1'], + classes: ['syo8irh', 'syo8irh-1'], }); const A = { SliderRail, }; function App(props) { - return ; + return ; } function App2() { return ( @@ -27,9 +27,9 @@ function App3(props) { preprocessor(selector, css, options?.css), pluginOptions, + root: process.env.PNPM_SCRIPT_SRC_DIR ?? process.cwd(), }, cache, eventEmitter, diff --git a/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.css b/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.css index 78a83f487..adb5fbc25 100644 --- a/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.css +++ b/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.css @@ -1,4 +1,4 @@ -.si9gu6v { +.s1a5hthf { display: flex; flex-direction: column; gap: 1rem; @@ -9,13 +9,13 @@ letter-spacing: -0.025em; font-weight: 600; } -.si9gu6v-1 { +.s1a5hthf-1 { border: 2px solid #e9e9e9; } -.sbfbm5t { +.s1cb4eun { font-size: 2rem; } -.s1xscf0o { +.s1s691w9 { font-size: 1rem; color: #6f7f95; } diff --git a/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.js b/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.js index 98cafa341..cd05b70cf 100644 --- a/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.js +++ b/packages/pigment-css-react/tests/theme/fixtures/themed-component.output.js @@ -10,13 +10,13 @@ const StatRoot = /*#__PURE__*/ _styled('div', { // The component name slot: 'root', // The slot name })({ - classes: ['si9gu6v'], + classes: ['s1a5hthf'], variants: [ { props: { variant: 'outlined', }, - className: 'si9gu6v-1', + className: 's1a5hthf-1', }, ], }); @@ -24,13 +24,13 @@ const StatValue = /*#__PURE__*/ _styled2('div', { name: 'PigmentStat', slot: 'value', })({ - classes: ['sbfbm5t'], + classes: ['s1cb4eun'], }); const StatUnit = /*#__PURE__*/ _styled3('div', { name: 'PigmentStat', slot: 'unit', })({ - classes: ['s1xscf0o'], + classes: ['s1s691w9'], }); const Stat = React.forwardRef(function Stat(props, ref) { const { value, unit, ...other } = props; diff --git a/packages/pigment-css-react/tests/utils/theme-tokens.test.ts b/packages/pigment-css-react/tests/utils/theme-tokens.test.ts index 8ea847891..925507eaf 100644 --- a/packages/pigment-css-react/tests/utils/theme-tokens.test.ts +++ b/packages/pigment-css-react/tests/utils/theme-tokens.test.ts @@ -1,5 +1,4 @@ import { extendTheme, generateTokenCss, generateThemeTokens } from '@pigment-css/react/utils'; -import { expect } from 'chai'; describe('theme-tokens', () => { describe('generateTokenCss', () => { diff --git a/packages/pigment-css-react/tsconfig.json b/packages/pigment-css-react/tsconfig.json index 8ac34324c..191badea4 100644 --- a/packages/pigment-css-react/tsconfig.json +++ b/packages/pigment-css-react/tsconfig.json @@ -7,7 +7,7 @@ "composite": true, "noEmit": false, "resolveJsonModule": true, - "types": ["node", "mocha"] + "types": ["node", "vitest/globals"] }, "include": ["src/**/*.tsx", "src/**/*.js", "src/**/*.ts"], "exclude": ["./tsup.config.ts", "src/**/*.d.ts"] diff --git a/packages/pigment-css-react/tsup.config.ts b/packages/pigment-css-react/tsup.config.ts index d94f0da05..5fd527168 100644 --- a/packages/pigment-css-react/tsup.config.ts +++ b/packages/pigment-css-react/tsup.config.ts @@ -27,7 +27,6 @@ export default defineConfig([ entry: [ './src/utils/index.ts', './src/utils/sx-plugin.ts', - './src/utils/sx-plugin2.ts', './src/utils/remove-prop-types-plugin.ts', ], outDir: 'utils', diff --git a/packages/pigment-css-react/vitest.config.ts b/packages/pigment-css-react/vitest.config.ts new file mode 100644 index 000000000..c3d04f018 --- /dev/null +++ b/packages/pigment-css-react/vitest.config.ts @@ -0,0 +1,8 @@ +import { defineConfig } from 'vitest/config'; +import viteReact from '@vitejs/plugin-react'; +import baseConfig from '../../vitest.config'; + +export default defineConfig({ + ...baseConfig, + plugins: [...(baseConfig.plugins ?? []), viteReact()], +}); diff --git a/packages/pigment-css-unplugin/.gitignore b/packages/pigment-css-unplugin/.gitignore index 6b1d0bfab..658ca5836 100644 --- a/packages/pigment-css-unplugin/.gitignore +++ b/packages/pigment-css-unplugin/.gitignore @@ -1 +1,3 @@ LICENSE +/coverage/ +/html/ diff --git a/packages/pigment-css-unplugin/package.json b/packages/pigment-css-unplugin/package.json index 542c38fb5..f2ec09558 100644 --- a/packages/pigment-css-unplugin/package.json +++ b/packages/pigment-css-unplugin/package.json @@ -26,8 +26,8 @@ "copy-license": "node ../../scripts/pigment-license.mjs", "build": "tsup --tsconfig tsconfig.build.json", "typecheck": "tsc --noEmit -p .", - "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/pigment-css-unplugin/**/*.test.{js,ts,tsx}'", - "test:ci": "cd ../../ && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --report-dir=./coverage/pigment-css-unplugin mocha 'packages/pigment-css-unplugin/**/*.test.{js,ts,tsx}'" + "test": "vitest run", + "test:ci": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage" }, "dependencies": { "@babel/core": "^7.24.5", @@ -40,7 +40,6 @@ "devDependencies": { "@types/babel__core": "^7.20.5", "@types/chai": "^4.3.16", - "@types/mocha": "^10.0.6", "chai": "^4.4.1", "webpack": "^5.91.0" }, diff --git a/packages/pigment-css-unplugin/tsconfig.json b/packages/pigment-css-unplugin/tsconfig.json index b11b8a61c..e09b4f9ab 100644 --- a/packages/pigment-css-unplugin/tsconfig.json +++ b/packages/pigment-css-unplugin/tsconfig.json @@ -9,7 +9,7 @@ "@pigment-css/react": ["./packages/pigment-css-react/src"], "@pigment-css/react/*": ["./packages/pigment-css-react/src/*"] }, - "types": ["node", "mocha", "chai"] + "types": ["node", "vitest/globals"] }, "include": ["src/**/*.ts"], "exclude": ["./tsup.config.ts"] diff --git a/packages/pigment-css-unplugin/vitest.config.ts b/packages/pigment-css-unplugin/vitest.config.ts new file mode 100644 index 000000000..026df8bf5 --- /dev/null +++ b/packages/pigment-css-unplugin/vitest.config.ts @@ -0,0 +1 @@ +export { default } from '../../vitest.config'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b2d7307c0..fa6ab3bd7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,15 +88,18 @@ importers: '@playwright/test': specifier: 1.43.0 version: 1.43.0 + '@testing-library/jest-dom': + specifier: ^6.4.5 + version: 6.4.5(vitest@1.6.0) + '@testing-library/react': + specifier: ^15.0.7 + version: 15.0.7(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 '@types/lodash': specifier: ^4.17.0 version: 4.17.0 - '@types/mocha': - specifier: ^10.0.6 - version: 10.0.6 '@types/node': specifier: ^18.19.30 version: 18.19.31 @@ -112,6 +115,12 @@ importers: '@typescript-eslint/parser': specifier: ^7.5.0 version: 7.6.0(eslint@8.57.0)(typescript@5.4.4) + '@vitest/coverage-v8': + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0) + '@vitest/ui': + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0) babel-plugin-istanbul: specifier: ^6.1.1 version: 6.1.1 @@ -193,9 +202,6 @@ importers: markdownlint-cli2: specifier: ^0.13.0 version: 0.13.0 - mocha: - specifier: ^10.4.0 - version: 10.4.0 nx: specifier: ^18.2.3 version: 18.2.4 @@ -244,6 +250,9 @@ importers: unist-util-visit: specifier: ^2.0.3 version: 2.0.3 + vitest: + specifier: ^1.6.0 + version: 1.6.0(@types/node@18.19.31)(@vitest/ui@1.6.0) yargs: specifier: ^17.7.2 version: 17.7.2 @@ -479,6 +488,12 @@ importers: '@babel/plugin-syntax-jsx': specifier: ^7.24.1 version: 7.24.1(@babel/core@7.24.4) + '@testing-library/jest-dom': + specifier: ^6.4.5 + version: 6.4.5(vitest@1.6.0) + '@testing-library/react': + specifier: ^15.0.7 + version: 15.0.7(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1) '@types/babel__core': specifier: ^7.20.5 version: 7.20.5 @@ -497,9 +512,6 @@ importers: '@types/lodash': specifier: ^4.17.1 version: 4.17.1 - '@types/mocha': - specifier: ^10.0.6 - version: 10.0.6 '@types/node': specifier: ^18.19.30 version: 18.19.31 @@ -512,6 +524,9 @@ importers: '@types/stylis': specifier: ^4.2.6 version: 4.2.6 + '@vitejs/plugin-react': + specifier: ^4.2.1 + version: 4.2.1(vite@5.2.11) chai: specifier: ^4.4.1 version: 4.4.1 @@ -552,9 +567,6 @@ importers: '@types/chai': specifier: ^4.3.16 version: 4.3.16 - '@types/mocha': - specifier: ^10.0.6 - version: 10.0.6 chai: specifier: ^4.4.1 version: 4.4.1 @@ -597,6 +609,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /@adobe/css-tools@4.3.3: + resolution: {integrity: sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==} + dev: true + /@ampproject/remapping@2.3.0: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} @@ -4162,6 +4178,10 @@ packages: dependencies: playwright: 1.43.0 + /@polka/url@1.0.0-next.25: + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + dev: true + /@popperjs/core@2.11.8: resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} dev: false @@ -4543,6 +4563,20 @@ packages: defer-to-connect: 2.0.1 dev: true + /@testing-library/dom@10.1.0: + resolution: {integrity: sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==} + engines: {node: '>=18'} + dependencies: + '@babel/code-frame': 7.24.2 + '@babel/runtime': 7.24.4 + '@types/aria-query': 5.0.4 + aria-query: 5.3.0 + chalk: 4.1.2 + dom-accessibility-api: 0.5.16 + lz-string: 1.5.0 + pretty-format: 27.5.1 + dev: true + /@testing-library/dom@9.3.4: resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==} engines: {node: '>=14'} @@ -4557,6 +4591,38 @@ packages: pretty-format: 27.5.1 dev: true + /@testing-library/jest-dom@6.4.5(vitest@1.6.0): + resolution: {integrity: sha512-AguB9yvTXmCnySBP1lWjfNNUwpbElsaQ567lt2VdGqAdHtpieLgjmcVyv1q7PMIvLbgpDdkWV5Ydv3FEejyp2A==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + peerDependencies: + '@jest/globals': '>= 28' + '@types/bun': latest + '@types/jest': '>= 28' + jest: '>= 28' + vitest: '>= 0.32' + peerDependenciesMeta: + '@jest/globals': + optional: true + '@types/bun': + optional: true + '@types/jest': + optional: true + jest: + optional: true + vitest: + optional: true + dependencies: + '@adobe/css-tools': 4.3.3 + '@babel/runtime': 7.24.4 + aria-query: 5.3.0 + chalk: 3.0.0 + css.escape: 1.5.1 + dom-accessibility-api: 0.6.3 + lodash: 4.17.21 + redent: 3.0.0 + vitest: 1.6.0(@types/node@18.19.31)(@vitest/ui@1.6.0) + dev: true + /@testing-library/react@14.3.0(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-AYJGvNFMbCa5vt1UtDCa/dcaABrXq8gph6VN+cffIx0UeA0qiGqS+sT60+sb+Gjc8tGXdECWYQgaF0khf8b+Lg==} engines: {node: '>=14'} @@ -4571,6 +4637,25 @@ packages: react-dom: 18.3.1(react@18.3.1) dev: true + /@testing-library/react@15.0.7(@types/react@18.2.75)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + engines: {node: '>=18'} + peerDependencies: + '@types/react': ^18.2.74 + react: ^18.0.0 + react-dom: ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.4 + '@testing-library/dom': 10.1.0 + '@types/react': 18.2.75 + '@types/react-dom': 18.2.24 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: true + /@tootallnate/once@2.0.0: resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -4797,10 +4882,6 @@ packages: resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} dev: true - /@types/mocha@10.0.6: - resolution: {integrity: sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==} - dev: true - /@types/ms@0.7.34: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true @@ -5139,6 +5220,83 @@ packages: - supports-color dev: true + /@vitest/coverage-v8@1.6.0(vitest@1.6.0): + resolution: {integrity: sha512-KvapcbMY/8GYIG0rlwwOKCVNRc0OL20rrhFkg/CHNzncV03TE2XWvO5w9uZYoxNiMEBacAJt3unSOiZ7svePew==} + peerDependencies: + vitest: 1.6.0 + dependencies: + '@ampproject/remapping': 2.3.0 + '@bcoe/v8-coverage': 0.2.3 + debug: 4.3.4(supports-color@8.1.1) + istanbul-lib-coverage: 3.2.2 + istanbul-lib-report: 3.0.1 + istanbul-lib-source-maps: 5.0.4 + istanbul-reports: 3.1.7 + magic-string: 0.30.10 + magicast: 0.3.4 + picocolors: 1.0.0 + std-env: 3.7.0 + strip-literal: 2.1.0 + test-exclude: 6.0.0 + vitest: 1.6.0(@types/node@18.19.31)(@vitest/ui@1.6.0) + transitivePeerDependencies: + - supports-color + dev: true + + /@vitest/expect@1.6.0: + resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + dependencies: + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 + chai: 4.4.1 + dev: true + + /@vitest/runner@1.6.0: + resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + dependencies: + '@vitest/utils': 1.6.0 + p-limit: 5.0.0 + pathe: 1.1.2 + dev: true + + /@vitest/snapshot@1.6.0: + resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + dependencies: + magic-string: 0.30.10 + pathe: 1.1.2 + pretty-format: 29.7.0 + dev: true + + /@vitest/spy@1.6.0: + resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + dependencies: + tinyspy: 2.2.1 + dev: true + + /@vitest/ui@1.6.0(vitest@1.6.0): + resolution: {integrity: sha512-k3Lyo+ONLOgylctiGovRKy7V4+dIN2yxstX3eY5cWFXH6WP+ooVX79YSyi0GagdTQzLmT43BF27T0s6dOIPBXA==} + peerDependencies: + vitest: 1.6.0 + dependencies: + '@vitest/utils': 1.6.0 + fast-glob: 3.3.2 + fflate: 0.8.2 + flatted: 3.3.1 + pathe: 1.1.2 + picocolors: 1.0.0 + sirv: 2.0.4 + vitest: 1.6.0(@types/node@18.19.31)(@vitest/ui@1.6.0) + dev: true + + /@vitest/utils@1.6.0: + resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + dependencies: + diff-sequences: 29.6.3 + estree-walker: 3.0.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + dev: true + /@webassemblyjs/ast@1.12.1: resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} dependencies: @@ -5358,6 +5516,11 @@ packages: acorn: 8.11.3 dev: true + /acorn-walk@8.3.2: + resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} + engines: {node: '>=0.4.0'} + dev: true + /acorn@8.11.3: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} engines: {node: '>=0.4.0'} @@ -6236,6 +6399,14 @@ packages: escape-string-regexp: 1.0.5 supports-color: 5.5.0 + /chalk@3.0.0: + resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} + engines: {node: '>=8'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + dev: true + /chalk@4.1.0: resolution: {integrity: sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==} engines: {node: '>=10'} @@ -6841,7 +7012,6 @@ packages: /css.escape@1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} - dev: false /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} @@ -8034,6 +8204,12 @@ packages: - supports-color dev: true + /estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + dependencies: + '@types/estree': 1.0.5 + dev: true + /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -8222,6 +8398,10 @@ packages: dependencies: reusify: 1.0.4 + /fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + dev: true + /figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -9734,6 +9914,17 @@ packages: - supports-color dev: true + /istanbul-lib-source-maps@5.0.4: + resolution: {integrity: sha512-wHOoEsNJTVltaJp8eVkm8w+GVkVNHT2YDYo53YdzQEL2gWm1hBX5cGFR9hQJtuGLebidVX7et3+dmDZrmclduw==} + engines: {node: '>=10'} + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + debug: 4.3.4(supports-color@8.1.1) + istanbul-lib-coverage: 3.2.2 + transitivePeerDependencies: + - supports-color + dev: true + /istanbul-reports@3.1.7: resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} engines: {node: '>=8'} @@ -9815,6 +10006,10 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + /js-tokens@9.0.0: + resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} + dev: true + /js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -10421,6 +10616,20 @@ packages: hasBin: true dev: true + /magic-string@0.30.10: + resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /magicast@0.3.4: + resolution: {integrity: sha512-TyDF/Pn36bBji9rWKHlZe+PZb6Mx5V8IHCSxk7X4aljM4e/vyDvZZYwHewdVaqiA0nb3ghfHU/6AUpDxWoER2Q==} + dependencies: + '@babel/parser': 7.24.5 + '@babel/types': 7.24.0 + source-map-js: 1.2.0 + dev: true + /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} @@ -10922,6 +11131,11 @@ packages: engines: {node: '>=4'} dev: true + /mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + dev: true + /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} dev: true @@ -11702,6 +11916,13 @@ packages: dependencies: yocto-queue: 0.1.0 + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@2.0.0: resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} engines: {node: '>=4'} @@ -13274,6 +13495,10 @@ packages: object-inspect: 1.13.1 dev: true + /siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + dev: true + /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} dev: true @@ -13329,6 +13554,15 @@ packages: supports-color: 7.2.0 dev: true + /sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + dependencies: + '@polka/url': 1.0.0-next.25 + mrmime: 2.0.0 + totalist: 3.0.1 + dev: true + /slash@2.0.0: resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==} engines: {node: '>=6'} @@ -13504,11 +13738,19 @@ packages: minipass: 3.3.6 dev: true + /stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + dev: true + /statuses@2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} dev: true + /std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + dev: true + /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} @@ -13651,6 +13893,12 @@ packages: engines: {node: '>=8'} dev: true + /strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} + dependencies: + js-tokens: 9.0.0 + dev: true + /strong-log-transformer@2.1.0: resolution: {integrity: sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==} engines: {node: '>=4'} @@ -13950,6 +14198,20 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true + /tinybench@2.8.0: + resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} + dev: true + + /tinypool@0.8.4: + resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + engines: {node: '>=14.0.0'} + dev: true + /tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -13977,6 +14239,11 @@ packages: engines: {node: '>=0.6'} dev: true + /totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + dev: true + /tough-cookie@4.1.3: resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} @@ -14520,6 +14787,27 @@ packages: vfile-message: 2.0.4 dev: true + /vite-node@1.6.0(@types/node@18.19.31): + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4(supports-color@8.1.1) + pathe: 1.1.2 + picocolors: 1.0.0 + vite: 5.2.11(@types/node@18.19.31) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vite-plugin-pages@0.32.1(vite@5.2.11): resolution: {integrity: sha512-4oPlIbb+J+zpJGfT2xI/27xqY+qTkRc3MBgWKfbW6IWM3CTcSyybuL9kRMCFRdBHfmgkF28qDs7fqVf/HjH1Xw==} peerDependencies: @@ -14615,6 +14903,63 @@ packages: fsevents: 2.3.3 dev: true + /vitest@1.6.0(@types/node@18.19.31)(@vitest/ui@1.6.0): + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.19.30 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/node': 18.19.31 + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/ui': 1.6.0(vitest@1.6.0) + '@vitest/utils': 1.6.0 + acorn-walk: 8.3.2 + chai: 4.4.1 + debug: 4.3.4(supports-color@8.1.1) + execa: 8.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.10 + pathe: 1.1.2 + picocolors: 1.0.0 + std-env: 3.7.0 + strip-literal: 2.1.0 + tinybench: 2.8.0 + tinypool: 0.8.4 + vite: 5.2.11(@types/node@18.19.31) + vite-node: 1.6.0(@types/node@18.19.31) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -14827,6 +15172,15 @@ packages: isexe: 3.1.1 dev: true + /why-is-node-running@2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + dev: true + /wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: @@ -15075,6 +15429,11 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + /yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: true + /zwitch@1.0.5: resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} dev: true diff --git a/tsconfig.json b/tsconfig.json index 8cde21c60..d40b5e647 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,7 +26,7 @@ ] }, // Otherwise we get react-native typings which conflict with dom.lib. - "types": ["node", "react"] + "types": ["node", "react", "vitest/globals"] }, "exclude": ["**/.*/", "**/build", "**/node_modules", "docs/export"] } diff --git a/vitest-setup.ts b/vitest-setup.ts new file mode 100644 index 000000000..97650fd99 --- /dev/null +++ b/vitest-setup.ts @@ -0,0 +1,7 @@ +import { afterEach } from 'vitest'; +import { cleanup } from '@testing-library/react'; +import '@testing-library/jest-dom/vitest'; + +afterEach(() => { + cleanup(); +}); diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 000000000..583d105d0 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,13 @@ +import * as path from 'node:path'; +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + plugins: [], + test: { + globals: true, + environment: 'jsdom', + include: ['tests/**/*.test.(js|jsx|ts|tsx)'], + exclude: ['**/*.spec.*'], + setupFiles: [path.join(__dirname, 'vitest-setup.ts')], + }, +}); From 960394c74f5b3fcd936b2a055602273d8543cde0 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Tue, 14 May 2024 13:07:41 +0530 Subject: [PATCH 3/3] Fix build output --- .circleci/config.yml | 2 +- nx.json | 9 +++------ packages/pigment-css-react/package.json | 19 ++++++++++++++++--- packages/pigment-css-react/tests/testUtils.ts | 2 +- .../tests/utils/theme-tokens.test.ts | 2 +- packages/pigment-css-react/vitest.config.ts | 8 ++++++++ packages/pigment-css-unplugin/package.json | 3 ++- vitest.config.ts | 3 +++ 8 files changed, 35 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a083b541..ec163eb8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -145,7 +145,7 @@ jobs: - checkout - install_js - run: - name: Tests fake browser + name: Unit Tests command: pnpm test:coverage:ci # - run: # name: Check coverage generated diff --git a/nx.json b/nx.json index a5543891f..e2eac00cf 100644 --- a/nx.json +++ b/nx.json @@ -2,9 +2,6 @@ "$schema": "./node_modules/nx/schemas/nx-schema.json", "extends": "nx/presets/npm.json", "targetDefaults": { - "copy-license": { - "outputs": ["{projectRoot}/LICENSE"] - }, "build": { "cache": true, "dependsOn": ["copy-license", "^build"], @@ -14,15 +11,15 @@ "dependsOn": ["^build"] }, "test": { - "cache": false, "dependsOn": ["build"] }, "test:update": { - "cache": false, "dependsOn": ["build"] }, "test:ci": { - "cache": false, + "dependsOn": ["build"] + }, + "test:ci:html": { "dependsOn": ["build"] } } diff --git a/packages/pigment-css-react/package.json b/packages/pigment-css-react/package.json index 389a60bf4..66167bf69 100644 --- a/packages/pigment-css-react/package.json +++ b/packages/pigment-css-react/package.json @@ -21,13 +21,14 @@ "url": "https://opencollective.com/mui-org" }, "scripts": { - "clean": "rimraf build types processors utils", + "clean": "rimraf build types processors utils coverage html", "watch": "tsup --watch --clean false", "copy-license": "node ../../scripts/pigment-license.mjs", "build": "tsup", "test": "vitest run", - "test:update": "UPDATE_FIXTURES=true vitest run", - "test:ci": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage", + "test-update": "UPDATE_FIXTURES=true vitest run", + "test:ci": "vitest run --coverage --reporter=json", + "test:ci:html": "vitest run --coverage --reporter=html", "typecheck": "tsc --noEmit -p ." }, "dependencies": { @@ -151,5 +152,17 @@ "require": "./build/RtlProvider.js", "default": "./build/RtlProvider.js" } + }, + "nx": { + "targets": { + "build": { + "outputs": [ + "{projectRoot}/build", + "{projectRoot}/theme", + "{projectRoot}/utils", + "{projectRoot}/processors" + ] + } + } } } diff --git a/packages/pigment-css-react/tests/testUtils.ts b/packages/pigment-css-react/tests/testUtils.ts index 0b101b856..be06d6579 100644 --- a/packages/pigment-css-react/tests/testUtils.ts +++ b/packages/pigment-css-react/tests/testUtils.ts @@ -8,8 +8,8 @@ import { transform as wywTransform, createFileReporter, } from '@wyw-in-js/transform'; -import { PluginCustomOptions, preprocessor } from '@pigment-css/react/utils'; import * as prettier from 'prettier'; +import { PluginCustomOptions, preprocessor } from '../src/utils'; import sxTransformPlugin from '../exports/sx-plugin'; diff --git a/packages/pigment-css-react/tests/utils/theme-tokens.test.ts b/packages/pigment-css-react/tests/utils/theme-tokens.test.ts index 925507eaf..fc3f48dbb 100644 --- a/packages/pigment-css-react/tests/utils/theme-tokens.test.ts +++ b/packages/pigment-css-react/tests/utils/theme-tokens.test.ts @@ -1,4 +1,4 @@ -import { extendTheme, generateTokenCss, generateThemeTokens } from '@pigment-css/react/utils'; +import { extendTheme, generateTokenCss, generateThemeTokens } from '../../src/utils'; describe('theme-tokens', () => { describe('generateTokenCss', () => { diff --git a/packages/pigment-css-react/vitest.config.ts b/packages/pigment-css-react/vitest.config.ts index c3d04f018..9e251f563 100644 --- a/packages/pigment-css-react/vitest.config.ts +++ b/packages/pigment-css-react/vitest.config.ts @@ -1,8 +1,16 @@ import { defineConfig } from 'vitest/config'; import viteReact from '@vitejs/plugin-react'; + import baseConfig from '../../vitest.config'; export default defineConfig({ ...baseConfig, plugins: [...(baseConfig.plugins ?? []), viteReact()], + test: { + ...baseConfig.test, + coverage: { + ...baseConfig.test?.coverage, + exclude: [...(baseConfig.test?.coverage?.exclude ?? []), 'utils/', 'theme/'], + }, + }, }); diff --git a/packages/pigment-css-unplugin/package.json b/packages/pigment-css-unplugin/package.json index f2ec09558..4819f9a94 100644 --- a/packages/pigment-css-unplugin/package.json +++ b/packages/pigment-css-unplugin/package.json @@ -27,7 +27,8 @@ "build": "tsup --tsconfig tsconfig.build.json", "typecheck": "tsc --noEmit -p .", "test": "vitest run", - "test:ci": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage" + "test:ci": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage", + "test:ci:html": "vitest run --coverage --reporter=html --coverage.reportsDirectory=./coverage" }, "dependencies": { "@babel/core": "^7.24.5", diff --git a/vitest.config.ts b/vitest.config.ts index 583d105d0..376448325 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -9,5 +9,8 @@ export default defineConfig({ include: ['tests/**/*.test.(js|jsx|ts|tsx)'], exclude: ['**/*.spec.*'], setupFiles: [path.join(__dirname, 'vitest-setup.ts')], + coverage: { + exclude: ['build/', 'coverage/', 'tests'], + }, }, });