diff --git a/packages/documentation/nodemon.json b/packages/documentation/nodemon.json index 4fd6cfd9..68545d37 100644 --- a/packages/documentation/nodemon.json +++ b/packages/documentation/nodemon.json @@ -7,6 +7,7 @@ "../ui-components/lib/**/*.*", "../ui-styles/src/**/*.*", "../ui-form/src/**/*.*", - "../ui-icons/src/**/*.*" + "../ui-icons/src/**/*.*", + "../ui-system/src/**/*.*" ] } diff --git a/packages/ui-styles/src/plugins/tailwindcss/margins.ts b/packages/ui-styles/src/plugins/tailwindcss/margins.ts index ffea7cee..f0c5ceef 100644 --- a/packages/ui-styles/src/plugins/tailwindcss/margins.ts +++ b/packages/ui-styles/src/plugins/tailwindcss/margins.ts @@ -5,6 +5,7 @@ const dynamicMargins = () => { ]; const margins: string[] = []; allowed.forEach((num) => { + margins.push(`m-${num}`); margins.push(`mt-${num}`); margins.push(`mr-${num}`); margins.push(`mb-${num}`); diff --git a/packages/ui-system/package.json b/packages/ui-system/package.json index 91d81e68..72872fcc 100644 --- a/packages/ui-system/package.json +++ b/packages/ui-system/package.json @@ -46,6 +46,7 @@ "react-dom": "18.2.0" }, "dependencies": { + "@versini/ui-private": "workspace:../ui-private", "clsx": "2.1.1", "tailwindcss": "3.4.3" }, diff --git a/packages/ui-system/src/components/Flexgrid/Flexgrid.tsx b/packages/ui-system/src/components/Flexgrid/Flexgrid.tsx index 6dbc0945..21b65d64 100644 --- a/packages/ui-system/src/components/Flexgrid/Flexgrid.tsx +++ b/packages/ui-system/src/components/Flexgrid/Flexgrid.tsx @@ -1,5 +1,7 @@ import clsx from "clsx"; +import { getSpacing } from "@versini/ui-private/dist/utilities"; +import React from "react"; import { FLEXGRID_CLASSNAME, FLEXGRID_GAP_RATIO } from "../../common/constants"; import { FlexgridContext } from "./FlexgridContext"; import type { FlexgridProps } from "./FlexgridTypes"; @@ -16,6 +18,8 @@ export const Flexgrid = ({ alignHorizontal = "normal", alignVertical = "normal", + spacing, + ...otherProps }: FlexgridProps) => { const cssRoot = { @@ -34,19 +38,22 @@ export const Flexgrid = ({ }; const flexgridClassName = clsx( - className, FLEXGRID_CLASSNAME, + className, "box-border flex flex-wrap", ); const context = { columnGap, rowGap }; + const Component = spacing ? "div" : React.Fragment; return ( -
- - {children} - -
+ +
+ + {children} + +
+
); }; diff --git a/packages/ui-system/src/components/Flexgrid/FlexgridTypes.d.ts b/packages/ui-system/src/components/Flexgrid/FlexgridTypes.d.ts index e08adadf..4f85b7ed 100644 --- a/packages/ui-system/src/components/Flexgrid/FlexgridTypes.d.ts +++ b/packages/ui-system/src/components/Flexgrid/FlexgridTypes.d.ts @@ -1,3 +1,5 @@ +import type { SpacingProps } from "@versini/ui-private/dist/utilities"; + export type FlexgridProps = { /** * Children of the Flexgrid (FlexgridItem(s) or any other nodes). @@ -70,7 +72,7 @@ export type FlexgridProps = { * It follows the [CSS width property](https://developer.mozilla.org/en-US/docs/Web/CSS/width). */ width?: string; -}; +} & SpacingProps; export type FlexgridItemProps = { /** Children of the FlexgridItem. */ diff --git a/packages/ui-system/src/components/Flexgrid/__tests__/Flexgrid.test.tsx b/packages/ui-system/src/components/Flexgrid/__tests__/Flexgrid.test.tsx index c97b4885..1afa7b46 100644 --- a/packages/ui-system/src/components/Flexgrid/__tests__/Flexgrid.test.tsx +++ b/packages/ui-system/src/components/Flexgrid/__tests__/Flexgrid.test.tsx @@ -101,4 +101,15 @@ describe("Flexgrid props", () => { const gridRoot = await screen.findByTestId("grid-1"); expectToHaveStyles(gridRoot, { "align-items": "stretch" }); }); + + it("should respect the spacing prop", async () => { + render( + + hello + , + ); + const gridRoot = await screen.findByTestId("grid-1"); + expectToHaveStyles(gridRoot, { "align-items": "stretch" }); + expect(gridRoot.parentElement).toHaveClass("m-20"); + }); }); diff --git a/packages/ui-system/src/components/ThemeProvider/ThemeProvider.tsx b/packages/ui-system/src/components/ThemeProvider/ThemeProvider.tsx index 9879ca7e..1d2ddb04 100644 --- a/packages/ui-system/src/components/ThemeProvider/ThemeProvider.tsx +++ b/packages/ui-system/src/components/ThemeProvider/ThemeProvider.tsx @@ -1,6 +1,7 @@ import clsx from "clsx"; -import { useEffect, useRef } from "react"; +import React, { useEffect, useRef } from "react"; +import { getSpacing } from "@versini/ui-private/dist/utilities"; import { THEMEPROVIDER_CLASSNAME } from "../../common/constants"; import { ThemeProviderProps } from "./ThemeProviderTypes"; @@ -9,9 +10,11 @@ export const ThemeProvider = ({ children, global, className, + spacing, }: ThemeProviderProps) => { const wrapperRef = useRef(null); const wrapperClass = clsx(THEMEPROVIDER_CLASSNAME, "contents", className); + const Component = spacing ? "div" : React.Fragment; useEffect(() => { const wrapper = global @@ -26,10 +29,14 @@ export const ThemeProvider = ({ }, [customTheme, global]); return customTheme || !global ? ( -
- {children} -
+ +
+ {children} +
+
) : ( - children + + {children} + ); }; diff --git a/packages/ui-system/src/components/ThemeProvider/ThemeProviderTypes.d.ts b/packages/ui-system/src/components/ThemeProvider/ThemeProviderTypes.d.ts index e1d16142..cb3e853f 100644 --- a/packages/ui-system/src/components/ThemeProvider/ThemeProviderTypes.d.ts +++ b/packages/ui-system/src/components/ThemeProvider/ThemeProviderTypes.d.ts @@ -1,3 +1,5 @@ +import type { SpacingProps } from "@versini/ui-private/dist/utilities"; + export type ThemeProviderProps = { /** * The children to render. @@ -24,4 +26,4 @@ export type ThemeProviderProps = { * @default false */ global?: boolean; -}; +} & SpacingProps; diff --git a/packages/ui-system/src/components/ThemeProvider/__tests__/ThemeProvider.test.tsx b/packages/ui-system/src/components/ThemeProvider/__tests__/ThemeProvider.test.tsx index 3f4424be..d4fe592a 100644 --- a/packages/ui-system/src/components/ThemeProvider/__tests__/ThemeProvider.test.tsx +++ b/packages/ui-system/src/components/ThemeProvider/__tests__/ThemeProvider.test.tsx @@ -23,6 +23,31 @@ describe("ThemeProvider props tests", () => { const node = await screen.findByText("Hello World"); expectToHaveClasses(node, [THEMEPROVIDER_CLASSNAME, "contents", "toto"]); }); + + it("should respect the spacing prop", async () => { + await act(async () => { + render( + + Hello World + , + ); + }); + const node = await screen.findByText("Hello World"); + expectToHaveClasses(node, [THEMEPROVIDER_CLASSNAME, "contents", "toto"]); + expect(node.parentElement).toHaveClass("m-20"); + }); + + it("should respect the spacing prop even if global is true", async () => { + await act(async () => { + render( + + Hello World + , + ); + }); + const node = await screen.findByText("Hello World"); + expect(node).toHaveClass("m-20"); + }); }); describe("ThemeProvider injection tests", () => { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08b8e928..8437df45 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 4.0.3 '@versini/dev-dependencies-client': specifier: 4.1.23 - version: 4.1.23(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + version: 4.1.23(@microsoft/api-extractor@7.43.0(@types/node@20.12.7))(@swc/core@1.3.107)(@types/jest@29.5.12)(@types/node@20.12.7)(encoding@0.1.13)(happy-dom@14.7.1)(jsdom@24.0.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(terser@5.29.1)(typescript@5.4.5) '@versini/dev-dependencies-types': specifier: 1.1.11 version: 1.1.11 @@ -62,31 +62,31 @@ importers: devDependencies: css-loader: specifier: 7.1.1 - version: 7.1.1(webpack@5.91.0) + version: 7.1.1(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) html-webpack-plugin: specifier: 5.6.0 - version: 5.6.0(webpack@5.91.0) + version: 5.6.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) mini-css-extract-plugin: specifier: 2.9.0 - version: 2.9.0(webpack@5.91.0) + version: 2.9.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) postcss: specifier: 8.4.38 version: 8.4.38 postcss-loader: specifier: 8.1.1 - version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0) + version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) style-loader: specifier: 4.0.0 - version: 4.0.0(webpack@5.91.0) + version: 4.0.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) ts-loader: specifier: 9.5.1 - version: 9.5.1(typescript@5.4.5)(webpack@5.91.0) + version: 9.5.1(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) tslib: specifier: 2.6.2 version: 2.6.2 webpack: specifier: 5.91.0 - version: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + version: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-cli: specifier: 5.1.4 version: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) @@ -166,13 +166,13 @@ importers: devDependencies: '@ladle/react': specifier: 4.0.3 - version: 4.0.3(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + version: 4.0.3(@types/node@20.12.7)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(terser@5.29.1)(typescript@5.4.5) packages/ui-components: dependencies: '@floating-ui/react': specifier: 0.26.12 - version: 0.26.12(react-dom@18.2.0)(react@18.2.0) + version: 0.26.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@tailwindcss/typography': specifier: 0.5.12 version: 0.5.12(tailwindcss@3.4.3) @@ -261,7 +261,7 @@ importers: dependencies: '@floating-ui/react': specifier: 0.26.12 - version: 0.26.12(react-dom@18.2.0)(react@18.2.0) + version: 0.26.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@versini/ui-hooks': specifier: workspace:../ui-hooks version: link:../ui-hooks @@ -293,6 +293,9 @@ importers: packages/ui-system: dependencies: + '@versini/ui-private': + specifier: workspace:../ui-private + version: link:../ui-private clsx: specifier: 2.1.1 version: 2.1.1 @@ -7364,15 +7367,15 @@ snapshots: '@floating-ui/core': 1.6.0 '@floating-ui/utils': 0.2.1 - '@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.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@floating-ui/dom': 1.6.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@floating-ui/react@0.26.12(react-dom@18.2.0)(react@18.2.0)': + '@floating-ui/react@0.26.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@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.2.0(react@18.2.0))(react@18.2.0) '@floating-ui/utils': 0.2.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -7468,12 +7471,12 @@ snapshots: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@ladle/react-context@1.0.1(react-dom@18.2.0)(react@18.2.0)': + '@ladle/react-context@1.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@ladle/react@4.0.3(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@ladle/react@4.0.3(@types/node@20.12.7)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(terser@5.29.1)(typescript@5.4.5)': dependencies: '@babel/code-frame': 7.23.5 '@babel/core': 7.24.0 @@ -7482,11 +7485,11 @@ snapshots: '@babel/template': 7.24.0 '@babel/traverse': 7.24.0 '@babel/types': 7.24.0 - '@ladle/react-context': 1.0.1(react-dom@18.2.0)(react@18.2.0) + '@ladle/react-context': 1.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@mdx-js/mdx': 3.0.1 '@mdx-js/react': 3.0.1(@types/react@18.2.79)(react@18.2.0) - '@vitejs/plugin-react': 4.2.1(vite@5.1.6) - '@vitejs/plugin-react-swc': 3.6.0(vite@5.1.6) + '@vitejs/plugin-react': 4.2.1(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1)) + '@vitejs/plugin-react-swc': 3.6.0(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1)) axe-core: 4.8.4 boxen: 7.1.1 chokidar: 3.6.0 @@ -7507,15 +7510,15 @@ snapshots: query-string: 9.0.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-hotkeys-hook: 4.5.0(react-dom@18.2.0)(react@18.2.0) + react-hotkeys-hook: 4.5.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-inspector: 6.0.2(react@18.2.0) rehype-class-names: 1.0.14 rehype-raw: 7.0.0 remark-gfm: 4.0.0 source-map: 0.7.4 vfile: 6.0.1 - vite: 5.1.6 - vite-tsconfig-paths: 4.3.2(typescript@5.4.5)(vite@5.1.6) + vite: 5.1.6(@types/node@20.12.7)(terser@5.29.1) + vite-tsconfig-paths: 4.3.2(typescript@5.4.5)(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1)) transitivePeerDependencies: - '@swc/helpers' - '@types/node' @@ -7531,12 +7534,12 @@ snapshots: '@leichtgewicht/ip-codec@2.0.4': {} - '@lerna/create@8.1.2(typescript@5.4.5)': + '@lerna/create@8.1.2(@swc/core@1.3.107)(encoding@0.1.13)(typescript@5.4.5)': dependencies: '@npmcli/run-script': 7.0.2 - '@nx/devkit': 17.3.2(nx@17.3.2) + '@nx/devkit': 17.3.2(nx@17.3.2(@swc/core@1.3.107)) '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.11 + '@octokit/rest': 19.0.11(encoding@0.1.13) byte-size: 8.1.1 chalk: 4.1.0 clone-deep: 4.0.1 @@ -7566,12 +7569,12 @@ snapshots: make-dir: 4.0.0 minimatch: 3.0.5 multimatch: 5.0.0 - node-fetch: 2.6.7 + node-fetch: 2.6.7(encoding@0.1.13) npm-package-arg: 8.1.1 npm-packlist: 5.1.1 npm-registry-fetch: 14.0.5 npmlog: 6.0.2 - nx: 17.3.2 + nx: 17.3.2(@swc/core@1.3.107) p-map: 4.0.0 p-map-series: 2.1.0 p-queue: 6.6.2 @@ -7640,23 +7643,23 @@ snapshots: '@types/react': 18.2.79 react: 18.2.0 - '@microsoft/api-extractor-model@7.28.13': + '@microsoft/api-extractor-model@7.28.13(@types/node@20.12.7)': dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2 + '@rushstack/node-core-library': 4.0.2(@types/node@20.12.7) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.43.0': + '@microsoft/api-extractor@7.43.0(@types/node@20.12.7)': dependencies: - '@microsoft/api-extractor-model': 7.28.13 + '@microsoft/api-extractor-model': 7.28.13(@types/node@20.12.7) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2 + '@rushstack/node-core-library': 4.0.2(@types/node@20.12.7) '@rushstack/rig-package': 0.5.2 - '@rushstack/terminal': 0.10.0 - '@rushstack/ts-command-line': 4.19.1 + '@rushstack/terminal': 0.10.0(@types/node@20.12.7) + '@rushstack/ts-command-line': 4.19.1(@types/node@20.12.7) lodash: 4.17.21 minimatch: 3.0.5 resolve: 1.22.8 @@ -7773,28 +7776,28 @@ snapshots: transitivePeerDependencies: - supports-color - '@nrwl/devkit@17.3.2(nx@17.3.2)': + '@nrwl/devkit@17.3.2(nx@17.3.2(@swc/core@1.3.107))': dependencies: - '@nx/devkit': 17.3.2(nx@17.3.2) + '@nx/devkit': 17.3.2(nx@17.3.2(@swc/core@1.3.107)) transitivePeerDependencies: - nx - '@nrwl/tao@17.3.2': + '@nrwl/tao@17.3.2(@swc/core@1.3.107)': dependencies: - nx: 17.3.2 + nx: 17.3.2(@swc/core@1.3.107) tslib: 2.6.2 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' - debug - '@nx/devkit@17.3.2(nx@17.3.2)': + '@nx/devkit@17.3.2(nx@17.3.2(@swc/core@1.3.107))': dependencies: - '@nrwl/devkit': 17.3.2(nx@17.3.2) + '@nrwl/devkit': 17.3.2(nx@17.3.2(@swc/core@1.3.107)) ejs: 3.1.9 enquirer: 2.3.6 ignore: 5.3.1 - nx: 17.3.2 + nx: 17.3.2(@swc/core@1.3.107) semver: 7.6.0 tmp: 0.2.1 tslib: 2.6.2 @@ -7832,11 +7835,11 @@ snapshots: '@octokit/auth-token@3.0.4': {} - '@octokit/core@4.2.4': + '@octokit/core@4.2.4(encoding@0.1.13)': dependencies: '@octokit/auth-token': 3.0.4 - '@octokit/graphql': 5.0.6 - '@octokit/request': 6.2.8 + '@octokit/graphql': 5.0.6(encoding@0.1.13) + '@octokit/request': 6.2.8(encoding@0.1.13) '@octokit/request-error': 3.0.3 '@octokit/types': 9.3.2 before-after-hook: 2.2.3 @@ -7850,9 +7853,9 @@ snapshots: is-plain-object: 5.0.0 universal-user-agent: 6.0.1 - '@octokit/graphql@5.0.6': + '@octokit/graphql@5.0.6(encoding@0.1.13)': dependencies: - '@octokit/request': 6.2.8 + '@octokit/request': 6.2.8(encoding@0.1.13) '@octokit/types': 9.3.2 universal-user-agent: 6.0.1 transitivePeerDependencies: @@ -7862,19 +7865,19 @@ snapshots: '@octokit/plugin-enterprise-rest@6.0.1': {} - '@octokit/plugin-paginate-rest@6.1.2(@octokit/core@4.2.4)': + '@octokit/plugin-paginate-rest@6.1.2(@octokit/core@4.2.4(encoding@0.1.13))': dependencies: - '@octokit/core': 4.2.4 + '@octokit/core': 4.2.4(encoding@0.1.13) '@octokit/tsconfig': 1.0.2 '@octokit/types': 9.3.2 - '@octokit/plugin-request-log@1.0.4(@octokit/core@4.2.4)': + '@octokit/plugin-request-log@1.0.4(@octokit/core@4.2.4(encoding@0.1.13))': dependencies: - '@octokit/core': 4.2.4 + '@octokit/core': 4.2.4(encoding@0.1.13) - '@octokit/plugin-rest-endpoint-methods@7.2.3(@octokit/core@4.2.4)': + '@octokit/plugin-rest-endpoint-methods@7.2.3(@octokit/core@4.2.4(encoding@0.1.13))': dependencies: - '@octokit/core': 4.2.4 + '@octokit/core': 4.2.4(encoding@0.1.13) '@octokit/types': 10.0.0 '@octokit/request-error@3.0.3': @@ -7883,23 +7886,23 @@ snapshots: deprecation: 2.3.1 once: 1.4.0 - '@octokit/request@6.2.8': + '@octokit/request@6.2.8(encoding@0.1.13)': dependencies: '@octokit/endpoint': 7.0.6 '@octokit/request-error': 3.0.3 '@octokit/types': 9.3.2 is-plain-object: 5.0.0 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding - '@octokit/rest@19.0.11': + '@octokit/rest@19.0.11(encoding@0.1.13)': dependencies: - '@octokit/core': 4.2.4 - '@octokit/plugin-paginate-rest': 6.1.2(@octokit/core@4.2.4) - '@octokit/plugin-request-log': 1.0.4(@octokit/core@4.2.4) - '@octokit/plugin-rest-endpoint-methods': 7.2.3(@octokit/core@4.2.4) + '@octokit/core': 4.2.4(encoding@0.1.13) + '@octokit/plugin-paginate-rest': 6.1.2(@octokit/core@4.2.4(encoding@0.1.13)) + '@octokit/plugin-request-log': 1.0.4(@octokit/core@4.2.4(encoding@0.1.13)) + '@octokit/plugin-rest-endpoint-methods': 7.2.3(@octokit/core@4.2.4(encoding@0.1.13)) transitivePeerDependencies: - encoding @@ -7932,6 +7935,7 @@ snapshots: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 + optionalDependencies: rollup: 4.16.3 '@rollup/rollup-android-arm-eabi@4.14.2': @@ -8027,7 +8031,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.16.3': optional: true - '@rushstack/node-core-library@4.0.2': + '@rushstack/node-core-library@4.0.2(@types/node@20.12.7)': dependencies: fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -8035,20 +8039,24 @@ snapshots: resolve: 1.22.8 semver: 7.5.4 z-schema: 5.0.5 + optionalDependencies: + '@types/node': 20.12.7 '@rushstack/rig-package@0.5.2': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.10.0': + '@rushstack/terminal@0.10.0(@types/node@20.12.7)': dependencies: - '@rushstack/node-core-library': 4.0.2 + '@rushstack/node-core-library': 4.0.2(@types/node@20.12.7) supports-color: 8.1.1 + optionalDependencies: + '@types/node': 20.12.7 - '@rushstack/ts-command-line@4.19.1': + '@rushstack/ts-command-line@4.19.1(@types/node@20.12.7)': dependencies: - '@rushstack/terminal': 0.10.0 + '@rushstack/terminal': 0.10.0(@types/node@20.12.7) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -8177,7 +8185,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.2(vitest@1.5.0)': + '@testing-library/jest-dom@6.4.2(@types/jest@29.5.12)(vitest@1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1))': dependencies: '@adobe/css-tools': 4.3.3 '@babel/runtime': 7.23.9 @@ -8187,9 +8195,11 @@ snapshots: dom-accessibility-api: 0.6.3 lodash: 4.17.21 redent: 3.0.0 - vitest: 1.5.0(@vitest/ui@1.5.0) + optionalDependencies: + '@types/jest': 29.5.12 + vitest: 1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1) - '@testing-library/react@15.0.3(react-dom@18.2.0)(react@18.2.0)': + '@testing-library/react@15.0.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.23.9 '@testing-library/dom': 10.0.0 @@ -8444,7 +8454,7 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.7.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) @@ -8459,6 +8469,7 @@ snapshots: natural-compare: 1.4.0 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -8471,6 +8482,7 @@ snapshots: '@typescript-eslint/visitor-keys': 7.7.1 debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -8487,6 +8499,7 @@ snapshots: debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -8503,6 +8516,7 @@ snapshots: minimatch: 9.0.4 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -8528,15 +8542,15 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@versini/dev-dependencies-client@4.1.23(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@versini/dev-dependencies-client@4.1.23(@microsoft/api-extractor@7.43.0(@types/node@20.12.7))(@swc/core@1.3.107)(@types/jest@29.5.12)(@types/node@20.12.7)(encoding@0.1.13)(happy-dom@14.7.1)(jsdom@24.0.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(terser@5.29.1)(typescript@5.4.5)': dependencies: '@testing-library/dom': 10.0.0 - '@testing-library/jest-dom': 6.4.2(vitest@1.5.0) - '@testing-library/react': 15.0.3(react-dom@18.2.0)(react@18.2.0) + '@testing-library/jest-dom': 6.4.2(@types/jest@29.5.12)(vitest@1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1)) + '@testing-library/react': 15.0.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@testing-library/user-event': 14.5.2(@testing-library/dom@10.0.0) '@versini/dev-dependencies-common': 3.2.10(eslint@8.57.0) - '@vitejs/plugin-react-swc': 3.6.0(vite@5.2.10) - '@vitest/coverage-v8': 1.5.0(vitest@1.5.0) + '@vitejs/plugin-react-swc': 3.6.0(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1)) + '@vitest/coverage-v8': 1.5.0(vitest@1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1)) '@vitest/ui': 1.5.0(vitest@1.5.0) autoprefixer: 10.4.19(postcss@8.4.38) barrelsby: 2.8.1 @@ -8546,7 +8560,7 @@ snapshots: eslint-plugin-react-hooks: 4.6.0(eslint@8.57.0) eslint-plugin-react-refresh: 0.4.6(eslint@8.57.0) husky: 9.0.11 - lerna: 8.1.2 + lerna: 8.1.2(@swc/core@1.3.107)(encoding@0.1.13) lint-staged: 15.2.2 nodemon: 3.1.0 npm-run-all: 4.1.5 @@ -8556,11 +8570,11 @@ snapshots: rimraf: 5.0.5 rollup: 4.16.3 tailwindcss: 3.4.3 - tsup: 8.0.2(postcss@8.4.38)(typescript@5.4.5) - vite: 5.2.10 - vite-plugin-dts: 3.9.0(rollup@4.16.3)(typescript@5.4.5)(vite@5.2.10) - vite-plugin-lib-inject-css: 2.0.1(vite@5.2.10) - vitest: 1.5.0(@vitest/ui@1.5.0) + tsup: 8.0.2(@microsoft/api-extractor@7.43.0(@types/node@20.12.7))(@swc/core@1.3.107)(postcss@8.4.38)(typescript@5.4.5) + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) + vite-plugin-dts: 3.9.0(@types/node@20.12.7)(rollup@4.16.3)(typescript@5.4.5)(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1)) + vite-plugin-lib-inject-css: 2.0.1(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1)) + vitest: 1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@ianvs/prettier-plugin-sort-imports' @@ -8611,7 +8625,7 @@ snapshots: '@versini/dev-dependencies-common@3.2.10(eslint@8.57.0)': dependencies: '@biomejs/biome': 1.7.1 - '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) chokidar: 3.6.0 culori: 4.0.1 @@ -8647,32 +8661,32 @@ snapshots: '@types/uuid': 9.0.8 '@types/yargs': 17.0.32 - '@vitejs/plugin-react-swc@3.6.0(vite@5.1.6)': + '@vitejs/plugin-react-swc@3.6.0(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1))': dependencies: '@swc/core': 1.3.107 - vite: 5.1.6 + vite: 5.1.6(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - '@swc/helpers' - '@vitejs/plugin-react-swc@3.6.0(vite@5.2.10)': + '@vitejs/plugin-react-swc@3.6.0(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1))': dependencies: '@swc/core': 1.3.107 - vite: 5.2.10 + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - '@swc/helpers' - '@vitejs/plugin-react@4.2.1(vite@5.1.6)': + '@vitejs/plugin-react@4.2.1(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1))': dependencies: '@babel/core': 7.24.0 '@babel/plugin-transform-react-jsx-self': 7.23.3(@babel/core@7.24.0) '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.24.0) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.1.6 + vite: 5.1.6(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@1.5.0(vitest@1.5.0)': + '@vitest/coverage-v8@1.5.0(vitest@1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1))': dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 @@ -8687,7 +8701,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.0.0 test-exclude: 6.0.0 - vitest: 1.5.0(@vitest/ui@1.5.0) + vitest: 1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1) transitivePeerDependencies: - supports-color @@ -8722,7 +8736,7 @@ snapshots: pathe: 1.1.2 picocolors: 1.0.0 sirv: 2.0.4 - vitest: 1.5.0(@vitest/ui@1.5.0) + vitest: 1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1) '@vitest/utils@1.5.0': dependencies: @@ -8767,8 +8781,9 @@ snapshots: minimatch: 9.0.4 muggle-string: 0.3.1 path-browserify: 1.0.1 - typescript: 5.4.5 vue-template-compiler: 2.7.16 + optionalDependencies: + typescript: 5.4.5 '@vue/shared@3.4.15': {} @@ -8848,20 +8863,21 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 - '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.91.0)': + '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4))': dependencies: - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) - '@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.91.0)': + '@webpack-cli/info@2.0.2(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4))': dependencies: - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) - '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack-dev-server@5.0.4)(webpack@5.91.0)': + '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack-dev-server@5.0.4(webpack-cli@5.1.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4))': dependencies: - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) + optionalDependencies: webpack-dev-server: 5.0.4(webpack-cli@5.1.4)(webpack@5.91.0) '@xtuc/ieee754@1.2.0': {} @@ -8935,7 +8951,7 @@ snapshots: indent-string: 4.0.0 ajv-formats@2.1.1(ajv@8.12.0): - dependencies: + optionalDependencies: ajv: 8.12.0 ajv-keywords@3.5.2(ajv@6.12.6): @@ -9604,6 +9620,7 @@ snapshots: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 + optionalDependencies: typescript: 5.4.5 cosmiconfig@9.0.0(typescript@5.4.5): @@ -9612,6 +9629,7 @@ snapshots: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 + optionalDependencies: typescript: 5.4.5 cross-env@7.0.3: @@ -9632,7 +9650,7 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-loader@7.1.1(webpack@5.91.0): + css-loader@7.1.1(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: icss-utils: 5.1.0(postcss@8.4.38) postcss: 8.4.38 @@ -9642,7 +9660,8 @@ snapshots: postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 semver: 7.6.0 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + optionalDependencies: + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) css-select@4.3.0: dependencies: @@ -9704,6 +9723,7 @@ snapshots: debug@4.3.4(supports-color@5.5.0): dependencies: ms: 2.1.2 + optionalDependencies: supports-color: 5.5.0 decamelize-keys@1.1.1: @@ -10899,14 +10919,15 @@ snapshots: html-void-elements@3.0.0: {} - html-webpack-plugin@5.6.0(webpack@5.91.0): + html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.17.21 pretty-error: 4.0.0 tapable: 2.2.1 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + optionalDependencies: + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) htmlparser2@6.1.0: dependencies: @@ -10966,12 +10987,13 @@ snapshots: http-proxy-middleware@2.0.6(@types/express@4.17.21): dependencies: - '@types/express': 4.17.21 '@types/http-proxy': 1.17.14 http-proxy: 1.18.1 is-glob: 4.0.3 is-plain-obj: 3.0.0 micromatch: 4.0.5 + optionalDependencies: + '@types/express': 4.17.21 transitivePeerDependencies: - debug @@ -11544,13 +11566,13 @@ snapshots: picocolors: 1.0.0 shell-quote: 1.8.1 - lerna@8.1.2: + lerna@8.1.2(@swc/core@1.3.107)(encoding@0.1.13): dependencies: - '@lerna/create': 8.1.2(typescript@5.4.5) + '@lerna/create': 8.1.2(@swc/core@1.3.107)(encoding@0.1.13)(typescript@5.4.5) '@npmcli/run-script': 7.0.2 - '@nx/devkit': 17.3.2(nx@17.3.2) + '@nx/devkit': 17.3.2(nx@17.3.2(@swc/core@1.3.107)) '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.11 + '@octokit/rest': 19.0.11(encoding@0.1.13) byte-size: 8.1.1 chalk: 4.1.0 clone-deep: 4.0.1 @@ -11586,12 +11608,12 @@ snapshots: make-dir: 4.0.0 minimatch: 3.0.5 multimatch: 5.0.0 - node-fetch: 2.6.7 + node-fetch: 2.6.7(encoding@0.1.13) npm-package-arg: 8.1.1 npm-packlist: 5.1.1 npm-registry-fetch: 14.0.5 npmlog: 6.0.2 - nx: 17.3.2 + nx: 17.3.2(@swc/core@1.3.107) p-map: 4.0.0 p-map-series: 2.1.0 p-pipe: 3.1.0 @@ -12328,11 +12350,11 @@ snapshots: min-indent@1.0.1: {} - mini-css-extract-plugin@2.9.0(webpack@5.91.0): + mini-css-extract-plugin@2.9.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: schema-utils: 4.2.0 tapable: 2.2.1 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) minimalistic-assert@1.0.1: {} @@ -12453,8 +12475,9 @@ snapshots: path-to-regexp: 6.2.1 strict-event-emitter: 0.5.1 type-fest: 4.10.2 - typescript: 5.4.5 yargs: 17.7.2 + optionalDependencies: + typescript: 5.4.5 muggle-string@0.3.1: {} @@ -12496,13 +12519,17 @@ snapshots: lower-case: 2.0.2 tslib: 2.6.2 - node-fetch@2.6.7: + node-fetch@2.6.7(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 - node-fetch@2.7.0: + node-fetch@2.7.0(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 node-forge@1.3.1: {} @@ -12691,9 +12718,9 @@ snapshots: nwsapi@2.2.7: {} - nx@17.3.2: + nx@17.3.2(@swc/core@1.3.107): dependencies: - '@nrwl/tao': 17.3.2 + '@nrwl/tao': 17.3.2(@swc/core@1.3.107) '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.6 @@ -12738,6 +12765,7 @@ snapshots: '@nx/nx-linux-x64-musl': 17.3.2 '@nx/nx-win32-arm64-msvc': 17.3.2 '@nx/nx-win32-x64-msvc': 17.3.2 + '@swc/core': 1.3.107 transitivePeerDependencies: - debug @@ -13100,16 +13128,18 @@ snapshots: postcss-load-config@4.0.2(postcss@8.4.38): dependencies: lilconfig: 3.0.0 - postcss: 8.4.38 yaml: 2.3.4 + optionalDependencies: + postcss: 8.4.38 - postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0): + postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.0 postcss: 8.4.38 semver: 7.6.0 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + optionalDependencies: + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) transitivePeerDependencies: - typescript @@ -13263,7 +13293,7 @@ snapshots: react: 18.2.0 scheduler: 0.23.0 - react-hotkeys-hook@4.5.0(react-dom@18.2.0)(react@18.2.0): + react-hotkeys-hook@4.5.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14010,9 +14040,9 @@ snapshots: minimist: 1.2.8 through: 2.3.8 - style-loader@4.0.0(webpack@5.91.0): + style-loader@4.0.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) style-to-object@0.4.4: dependencies: @@ -14107,15 +14137,17 @@ snapshots: temp-dir@1.0.0: {} - terser-webpack-plugin@5.3.10(esbuild@0.19.12)(webpack@5.91.0): + terser-webpack-plugin@5.3.10(@swc/core@1.3.107)(esbuild@0.19.12)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: '@jridgewell/trace-mapping': 0.3.25 - esbuild: 0.19.12 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.29.1 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) + optionalDependencies: + '@swc/core': 1.3.107 + esbuild: 0.19.12 terser@5.29.1: dependencies: @@ -14210,7 +14242,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-loader@9.5.1(typescript@5.4.5)(webpack@5.91.0): + ts-loader@9.5.1(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: chalk: 4.1.2 enhanced-resolve: 5.15.1 @@ -14218,10 +14250,10 @@ snapshots: semver: 7.6.0 source-map: 0.7.4 typescript: 5.4.5 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) tsconfck@3.0.3(typescript@5.4.5): - dependencies: + optionalDependencies: typescript: 5.4.5 tsconfig-paths@4.2.0: @@ -14234,7 +14266,7 @@ snapshots: tsscmp@1.0.6: {} - tsup@8.0.2(postcss@8.4.38)(typescript@5.4.5): + tsup@8.0.2(@microsoft/api-extractor@7.43.0(@types/node@20.12.7))(@swc/core@1.3.107)(postcss@8.4.38)(typescript@5.4.5): dependencies: bundle-require: 4.0.2(esbuild@0.19.12) cac: 6.7.14 @@ -14244,13 +14276,16 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss: 8.4.38 postcss-load-config: 4.0.2(postcss@8.4.38) resolve-from: 5.0.0 rollup: 4.16.3 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tree-kill: 1.2.2 + optionalDependencies: + '@microsoft/api-extractor': 7.43.0(@types/node@20.12.7) + '@swc/core': 1.3.107 + postcss: 8.4.38 typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -14503,13 +14538,13 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-node@1.5.0: + vite-node@1.5.0(@types/node@20.12.7)(terser@5.29.1): dependencies: cac: 6.7.14 debug: 4.3.4(supports-color@5.5.0) pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.10 + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - '@types/node' - less @@ -14520,61 +14555,66 @@ snapshots: - supports-color - terser - vite-plugin-dts@3.9.0(rollup@4.16.3)(typescript@5.4.5)(vite@5.2.10): + vite-plugin-dts@3.9.0(@types/node@20.12.7)(rollup@4.16.3)(typescript@5.4.5)(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1)): dependencies: - '@microsoft/api-extractor': 7.43.0 + '@microsoft/api-extractor': 7.43.0(@types/node@20.12.7) '@rollup/pluginutils': 5.1.0(rollup@4.16.3) '@vue/language-core': 1.8.27(typescript@5.4.5) debug: 4.3.4(supports-color@5.5.0) kolorist: 1.8.0 magic-string: 0.30.9 typescript: 5.4.5 - vite: 5.2.10 vue-tsc: 1.8.27(typescript@5.4.5) + optionalDependencies: + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-lib-inject-css@2.0.1(vite@5.2.10): + vite-plugin-lib-inject-css@2.0.1(vite@5.2.10(@types/node@20.12.7)(terser@5.29.1)): dependencies: magic-string: 0.30.9 picocolors: 1.0.0 - vite: 5.2.10 + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) - vite-tsconfig-paths@4.3.2(typescript@5.4.5)(vite@5.1.6): + vite-tsconfig-paths@4.3.2(typescript@5.4.5)(vite@5.1.6(@types/node@20.12.7)(terser@5.29.1)): dependencies: debug: 4.3.4(supports-color@5.5.0) globrex: 0.1.2 tsconfck: 3.0.3(typescript@5.4.5) - vite: 5.1.6 + optionalDependencies: + vite: 5.1.6(@types/node@20.12.7)(terser@5.29.1) transitivePeerDependencies: - supports-color - typescript - vite@5.1.6: + vite@5.1.6(@types/node@20.12.7)(terser@5.29.1): dependencies: esbuild: 0.19.12 postcss: 8.4.38 rollup: 4.14.2 optionalDependencies: + '@types/node': 20.12.7 fsevents: 2.3.3 + terser: 5.29.1 - vite@5.2.10: + vite@5.2.10(@types/node@20.12.7)(terser@5.29.1): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.16.3 optionalDependencies: + '@types/node': 20.12.7 fsevents: 2.3.3 + terser: 5.29.1 - vitest@1.5.0(@vitest/ui@1.5.0): + vitest@1.5.0(@types/node@20.12.7)(@vitest/ui@1.5.0)(happy-dom@14.7.1)(jsdom@24.0.0)(terser@5.29.1): dependencies: '@vitest/expect': 1.5.0 '@vitest/runner': 1.5.0 '@vitest/snapshot': 1.5.0 '@vitest/spy': 1.5.0 - '@vitest/ui': 1.5.0(vitest@1.5.0) '@vitest/utils': 1.5.0 acorn-walk: 8.3.2 chai: 4.4.1 @@ -14588,9 +14628,14 @@ snapshots: strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.3 - vite: 5.2.10 - vite-node: 1.5.0 + vite: 5.2.10(@types/node@20.12.7)(terser@5.29.1) + vite-node: 1.5.0(@types/node@20.12.7)(terser@5.29.1) why-is-node-running: 2.2.2 + optionalDependencies: + '@types/node': 20.12.7 + '@vitest/ui': 1.5.0(vitest@1.5.0) + happy-dom: 14.7.1 + jsdom: 24.0.0 transitivePeerDependencies: - less - lightningcss @@ -14640,9 +14685,9 @@ snapshots: webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0): dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4)(webpack@5.91.0) - '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4)(webpack@5.91.0) - '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4)(webpack-dev-server@5.0.4)(webpack@5.91.0) + '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) + '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) + '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0))(webpack-dev-server@5.0.4(webpack-cli@5.1.4)(webpack@5.91.0))(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) colorette: 2.0.20 commander: 10.0.1 cross-spawn: 7.0.3 @@ -14651,13 +14696,14 @@ snapshots: import-local: 3.1.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) - webpack-dev-server: 5.0.4(webpack-cli@5.1.4)(webpack@5.91.0) + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-merge: 5.10.0 + optionalDependencies: + webpack-dev-server: 5.0.4(webpack-cli@5.1.4)(webpack@5.91.0) webpack-config-utils@2.3.1: {} - webpack-dev-middleware@7.1.0(webpack@5.91.0): + webpack-dev-middleware@7.1.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)): dependencies: colorette: 2.0.20 memfs: 4.7.7 @@ -14665,7 +14711,8 @@ snapshots: on-finished: 2.4.1 range-parser: 1.2.1 schema-utils: 4.2.0 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) + optionalDependencies: + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-dev-server@5.0.4(webpack-cli@5.1.4)(webpack@5.91.0): dependencies: @@ -14697,10 +14744,11 @@ snapshots: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack: 5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4) - webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) - webpack-dev-middleware: 7.1.0(webpack@5.91.0) + webpack-dev-middleware: 7.1.0(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) ws: 8.16.0 + optionalDependencies: + webpack: 5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4) + webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) transitivePeerDependencies: - bufferutil - debug @@ -14715,7 +14763,7 @@ snapshots: webpack-sources@3.2.3: {} - webpack@5.91.0(esbuild@0.19.12)(webpack-cli@5.1.4): + webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 @@ -14738,10 +14786,11 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.19.12)(webpack@5.91.0) + terser-webpack-plugin: 5.3.10(@swc/core@1.3.107)(esbuild@0.19.12)(webpack@5.91.0(@swc/core@1.3.107)(esbuild@0.19.12)(webpack-cli@5.1.4)) watchpack: 2.4.1 - webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) webpack-sources: 3.2.3 + optionalDependencies: + webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.91.0) transitivePeerDependencies: - '@swc/core' - esbuild