diff --git a/.changeset/popular-files-destroy.md b/.changeset/popular-files-destroy.md new file mode 100644 index 0000000000..4ef2b4db2b --- /dev/null +++ b/.changeset/popular-files-destroy.md @@ -0,0 +1,5 @@ +--- +"@marigold/storybook-config": patch +--- + +docs: Added/activated a11y addon to storybook. In all components is now a panel called Accessibility which shows how accessible our components are and if there are some violations or incomplete issues. diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index e8803fe5e7..2da363d922 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -23,8 +23,6 @@ jobs: cache: 'pnpm' - name: Install dependencies run: pnpm install - - name: Build docs for generated files - run: pnpm build:docs # Action - name: Typecheck diff --git a/config/eslint/package.json b/config/eslint/package.json index 4122c67efd..f795719d38 100644 --- a/config/eslint/package.json +++ b/config/eslint/package.json @@ -39,11 +39,11 @@ }, "peerDependencies": { "eslint": "9.x.x", - "typescript": "5.3.x || 5.5.x" + "typescript": "5.3.x || 5.5.x || 5.6.x" }, "devDependencies": { "eslint": "9.13.0", "eslint-plugin-tailwindcss": "3.17.5", - "typescript": "5.5.4" + "typescript": "5.6.3" } } diff --git a/config/jest/package.json b/config/jest/package.json index 981b8b6113..1c3e75115c 100644 --- a/config/jest/package.json +++ b/config/jest/package.json @@ -40,6 +40,6 @@ "jest": "29.7.0", "jest-transform-css": "6.0.1", "react": "18.3.1", - "typescript": "5.5.4" + "typescript": "5.6.3" } } diff --git a/config/storybook/.storybook/main.ts b/config/storybook/.storybook/main.ts index 3c747f79ab..9f10bae146 100644 --- a/config/storybook/.storybook/main.ts +++ b/config/storybook/.storybook/main.ts @@ -16,6 +16,7 @@ const config: StorybookConfig = { getAbsolutePath('@storybook/addon-interactions'), getAbsolutePath('@storybook/addon-themes'), getAbsolutePath('@storybook/addon-storysource'), + getAbsolutePath('@storybook/addon-a11y'), ], framework: { name: getAbsolutePath('@storybook/react-vite'), diff --git a/config/storybook/.storybook/preview.tsx b/config/storybook/.storybook/preview.tsx index e1152c9eb5..ce197f88c3 100644 --- a/config/storybook/.storybook/preview.tsx +++ b/config/storybook/.storybook/preview.tsx @@ -11,6 +11,8 @@ import '@marigold/theme-b2b/styles.css'; import core from '@marigold/theme-core'; import '@marigold/theme-core/styles.css'; +// Helpers + // Helpers // --------------- const THEME = { @@ -26,7 +28,7 @@ type ThemeNames = keyof typeof THEME; export const parameters: Preview['parameters'] = { layout: 'fullscreen', a11y: { - element: '#root', + element: '#storybook-root', }, options: { storySort: { diff --git a/config/storybook/package.json b/config/storybook/package.json index 4a0d1f8958..d9a549de61 100644 --- a/config/storybook/package.json +++ b/config/storybook/package.json @@ -22,7 +22,7 @@ "@marigold/theme-b2b": "workspace:*", "@marigold/theme-core": "workspace:*", "@mdx-js/react": "3.0.1", - "@storybook/addon-a11y": "^8.1.11", + "@storybook/addon-a11y": "^8.2.9", "@storybook/addon-essentials": "^8.1.11", "@storybook/addon-interactions": "^8.1.11", "@storybook/source-loader": "^8.1.11", @@ -45,14 +45,14 @@ "react-dom": "18.3.1", "storybook": "^8.1.11", "tailwindcss": "3.4.14", - "typescript": "5.5.4", + "typescript": "5.6.3", "vite": "5.4.10" }, "peerDependencies": { "@storybook/react": "8.0.x || 8.1.x || 8.2.x || 8.3.x", "react": "18.x", "react-dom": "18.x", - "typescript": "5.3.x || 5.5.x" + "typescript": "5.3.x || 5.5.x || 5.6.x" }, "scripts": { "start": "storybook dev -p 6006 -c .storybook/", diff --git a/docs/package.json b/docs/package.json index c3e663d6f6..fc0806219a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -8,7 +8,8 @@ "start": "next start", "registry": "zx ./scripts/build-registry.mjs", "build:component-props": "zx ./scripts/build-component-props.mjs", - "build:changelog": "zx ./scripts/build-changelog.mjs" + "build:changelog": "zx ./scripts/build-changelog.mjs", + "build:contentlayer": "pnpm contentlayer2 build" }, "dependencies": { "@emotion/is-prop-valid": "1.3.1", @@ -63,7 +64,7 @@ "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "tailwindcss-animate": "1.0.7", - "typescript": "5.5.4", + "typescript": "5.6.3", "unist-builder": "4.0.0", "unist-util-visit": "5.0.0" } diff --git a/package.json b/package.json index 9a2ae4ab48..9afddc9961 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "react-dom": "18.3.1", "tailwindcss": "3.4.14", "turbo": "2.2.3", - "typescript": "5.5.4", + "typescript": "5.6.3", "zx": "8.1.9" }, "scripts": { @@ -60,7 +60,7 @@ "lint": "eslint . --ignore-pattern node_modules --ignore-pattern dist --ignore-pattern packages/types/src/index.ts --ignore-pattern \".cache\" --ignore-pattern public", "format": "prettier --write \"**/*\"", "format:fix": "prettier --write \"**/*\" --fix", - "typecheck": "tsc --noEmit --resolveJsonModule --project tsconfig.check.json", + "typecheck": "pnpm --filter @marigold/docs build && tsc --noEmit --resolveJsonModule --project tsconfig.check.json", "contributor": "all-contributors", "changeset": "changeset", "release:notification": "zx scripts/create-slack-notification.mjs", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef83e6f3c6..faa5a24a73 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,7 +79,7 @@ importers: version: 16.1.0(postcss@8.4.47) postcss-loader: specifier: 8.1.1 - version: 8.1.1(postcss@8.4.47)(typescript@5.5.4) + version: 8.1.1(postcss@8.4.47)(typescript@5.6.3) prettier: specifier: 3.3.3 version: 3.3.3 @@ -96,8 +96,8 @@ importers: specifier: 2.2.3 version: 2.2.3 typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.6.3 + version: 5.6.3 zx: specifier: 8.1.9 version: 8.1.9 @@ -125,25 +125,25 @@ importers: version: 7.25.9(@babel/core@7.26.0) '@typescript-eslint/eslint-plugin': specifier: 8.11.0 - version: 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + version: 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/parser': specifier: 8.11.0 - version: 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + version: 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint-config-prettier: specifier: ^9.1.0 version: 9.1.0(eslint@9.13.0(jiti@1.21.6)) eslint-config-react-app: specifier: 7.0.1 - version: 7.0.1(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4) + version: 7.0.1(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3) eslint-plugin-flowtype: specifier: ^8.0.3 version: 8.0.3(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)) + version: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-jest: specifier: 28.8.3 - version: 28.8.3(@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4) + version: 28.8.3(@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3) eslint-plugin-jsx-a11y: specifier: 6.10.2 version: 6.10.2(eslint@9.13.0(jiti@1.21.6)) @@ -158,7 +158,7 @@ importers: version: 4.6.2(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-testing-library: specifier: 6.4.0 - version: 6.4.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + version: 6.4.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) prettier: specifier: 3.3.3 version: 3.3.3 @@ -170,8 +170,8 @@ importers: specifier: 3.17.5 version: 3.17.5(tailwindcss@3.4.14) typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.6.3 + version: 5.6.3 config/jest: dependencies: @@ -213,8 +213,8 @@ importers: specifier: 18.3.1 version: 18.3.1 typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.6.3 + version: 5.6.3 config/prettier: dependencies: @@ -244,7 +244,7 @@ importers: specifier: 3.0.1 version: 3.0.1(@types/react@18.3.12)(react@18.3.1) '@storybook/addon-a11y': - specifier: ^8.1.11 + specifier: ^8.2.9 version: 8.3.6(storybook@8.3.6) '@storybook/addon-essentials': specifier: ^8.1.11 @@ -254,7 +254,7 @@ importers: version: 8.3.6(storybook@8.3.6) '@storybook/react': specifier: 8.0.x || 8.1.x || 8.2.x || 8.3.x - version: 8.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + version: 8.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.6.3) '@storybook/source-loader': specifier: ^8.1.11 version: 8.3.6(storybook@8.3.6) @@ -269,7 +269,7 @@ importers: version: 4.3.3(vite@5.4.10(@types/node@22.8.2)) vite-tsconfig-paths: specifier: 5.0.1 - version: 5.0.1(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2)) + version: 5.0.1(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2)) devDependencies: '@storybook/addon-storysource': specifier: ^8.1.11 @@ -288,7 +288,7 @@ importers: version: 8.3.6(storybook@8.3.6) '@storybook/react-vite': specifier: ^8.1.11 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.3)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.3)(storybook@8.3.6)(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3) autoprefixer: specifier: 10.4.20 version: 10.4.20(postcss@8.4.47) @@ -297,7 +297,7 @@ importers: version: 8.4.47 postcss-loader: specifier: 8.1.1 - version: 8.1.1(postcss@8.4.47)(typescript@5.5.4) + version: 8.1.1(postcss@8.4.47)(typescript@5.6.3) react: specifier: 18.3.1 version: 18.3.1 @@ -311,8 +311,8 @@ importers: specifier: 3.4.14 version: 3.4.14 typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.6.3 + version: 5.6.3 vite: specifier: 5.4.10 version: 5.4.10(@types/node@22.8.2) @@ -383,7 +383,7 @@ importers: version: 9.13.0(jiti@1.21.6) eslint-config-next: specifier: 14.2.16 - version: 14.2.16(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + version: 14.2.16(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) framer-motion: specifier: 11.11.10 version: 11.11.10(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -407,7 +407,7 @@ importers: version: 18.3.1 react-docgen-typescript: specifier: 2.2.2 - version: 2.2.2(typescript@5.5.4) + version: 2.2.2(typescript@5.6.3) react-dom: specifier: 18.3.1 version: 18.3.1(react@18.3.1) @@ -473,8 +473,8 @@ importers: specifier: 1.0.7 version: 1.0.7(tailwindcss@3.4.14) typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.6.3 + version: 5.6.3 unist-builder: specifier: 4.0.0 version: 4.0.0 @@ -568,7 +568,7 @@ importers: version: 18.3.1(react@18.3.1) tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) packages/icons: dependencies: @@ -584,7 +584,7 @@ importers: version: link:../../config/tsconfig tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) packages/system: dependencies: @@ -627,7 +627,7 @@ importers: version: 3.4.14 tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) packages/theme-preset: dependencies: @@ -652,7 +652,7 @@ importers: version: 3.4.14 tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) packages/types: dependencies: @@ -693,7 +693,7 @@ importers: version: 3.4.14 tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) themes/theme-core: dependencies: @@ -724,7 +724,7 @@ importers: version: 3.4.14 tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) themes/theme-docs: dependencies: @@ -755,7 +755,7 @@ importers: version: 3.4.14 tsup: specifier: 8.3.5 - version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4) + version: 8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3) packages: @@ -9405,8 +9405,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -12132,15 +12132,15 @@ snapshots: '@types/yargs': 17.0.32 chalk: 4.1.2 - '@joshwooding/vite-plugin-react-docgen-typescript@0.3.0(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2))': + '@joshwooding/vite-plugin-react-docgen-typescript@0.3.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2))': dependencies: glob: 7.2.3 glob-promise: 4.2.2(glob@7.2.3) magic-string: 0.27.0 - react-docgen-typescript: 2.2.2(typescript@5.5.4) + react-docgen-typescript: 2.2.2(typescript@5.6.3) vite: 5.4.10(@types/node@22.8.2) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 '@jridgewell/gen-mapping@0.3.5': dependencies: @@ -13975,7 +13975,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-vite@8.3.6(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3)': + '@storybook/builder-vite@8.3.6(storybook@8.3.6)(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3)': dependencies: '@storybook/csf-plugin': 8.3.6(storybook@8.3.6)(webpack-sources@3.2.3) '@types/find-cache-dir': 3.2.1 @@ -13989,7 +13989,7 @@ snapshots: ts-dedent: 2.2.0 vite: 5.4.10(@types/node@22.8.2) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - webpack-sources @@ -14129,12 +14129,12 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 - '@storybook/react-vite@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.3)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3)': + '@storybook/react-vite@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.3)(storybook@8.3.6)(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3)': dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2)) + '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2)) '@rollup/pluginutils': 5.1.3(rollup@4.24.3) - '@storybook/builder-vite': 8.3.6(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3) - '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + '@storybook/builder-vite': 8.3.6(storybook@8.3.6)(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2))(webpack-sources@3.2.3) + '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.6.3) find-up: 5.0.0 magic-string: 0.30.12 react: 18.3.1 @@ -14153,7 +14153,7 @@ snapshots: - vite-plugin-glimmerx - webpack-sources - '@storybook/react@8.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react@8.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.6.3)': dependencies: '@storybook/components': 8.2.9(storybook@8.3.6) '@storybook/global': 5.0.0 @@ -14180,9 +14180,9 @@ snapshots: type-fest: 2.19.0 util-deprecate: 1.0.2 optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 - '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.6.3)': dependencies: '@storybook/components': 8.3.6(storybook@8.3.6) '@storybook/global': 5.0.0 @@ -14209,7 +14209,7 @@ snapshots: util-deprecate: 1.0.2 optionalDependencies: '@storybook/test': 8.3.6(storybook@8.3.6) - typescript: 5.5.4 + typescript: 5.6.3 '@storybook/source-loader@8.3.6(storybook@8.3.6)': dependencies: @@ -14598,73 +14598,73 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/type-utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) debug: 4.3.7 eslint: 9.13.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare-lite: 1.4.0 semver: 7.6.3 - tsutils: 3.21.0(typescript@5.5.4) + tsutils: 3.21.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/scope-manager': 8.11.0 - '@typescript-eslint/type-utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/type-utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.11.0 eslint: 9.13.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/experimental-utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/experimental-utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.3) debug: 4.3.7 eslint: 9.13.0(jiti@1.21.6) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 8.11.0 '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.11.0 debug: 4.3.7 eslint: 9.13.0(jiti@1.21.6) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -14683,26 +14683,26 @@ snapshots: '@typescript-eslint/types': 8.11.0 '@typescript-eslint/visitor-keys': 8.11.0 - '@typescript-eslint/type-utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/type-utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.3) + '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) debug: 4.3.7 eslint: 9.13.0(jiti@1.21.6) - tsutils: 3.21.0(typescript@5.5.4) + tsutils: 3.21.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.6.3) + '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) debug: 4.3.7 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color @@ -14713,7 +14713,7 @@ snapshots: '@typescript-eslint/types@8.11.0': {} - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@5.62.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 @@ -14721,13 +14721,13 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 - tsutils: 3.21.0(typescript@5.5.4) + tsutils: 3.21.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -14736,13 +14736,13 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.11.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.11.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.11.0 '@typescript-eslint/visitor-keys': 8.11.0 @@ -14751,20 +14751,20 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/utils@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.13.0(jiti@1.21.6)) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) eslint-scope: 5.1.1 semver: 7.6.3 @@ -14772,23 +14772,23 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.18.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/utils@7.18.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.13.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.13.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 8.11.0 '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color @@ -15593,14 +15593,14 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 - cosmiconfig@9.0.0(typescript@5.5.4): + cosmiconfig@9.0.0(typescript@5.6.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 create-jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0): dependencies: @@ -15617,6 +15617,22 @@ snapshots: - supports-color - ts-node + create-jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0): + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + create-storybook@8.3.6: dependencies: '@types/semver': 7.5.8 @@ -16142,21 +16158,21 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-config-next@14.2.16(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4): + eslint-config-next@14.2.16(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3): dependencies: '@next/eslint-plugin-next': 14.2.16 '@rushstack/eslint-patch': 1.10.1 - '@typescript-eslint/eslint-plugin': 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.13.0(jiti@1.21.6)) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-jsx-a11y: 6.10.2(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react: 7.37.2(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react-hooks: 4.6.2(eslint@9.13.0(jiti@1.21.6)) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color @@ -16165,25 +16181,25 @@ snapshots: dependencies: eslint: 9.13.0(jiti@1.21.6) - eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4): + eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3): dependencies: '@babel/core': 7.26.0 '@babel/eslint-parser': 7.25.9(@babel/core@7.26.0)(eslint@9.13.0(jiti@1.21.6)) '@rushstack/eslint-patch': 1.10.1 - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) babel-preset-react-app: 10.0.1 confusing-browser-globals: 1.0.11 eslint: 9.13.0(jiti@1.21.6) eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0))(eslint@9.13.0(jiti@1.21.6)) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)) - eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)) + eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3) eslint-plugin-jsx-a11y: 6.10.2(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react: 7.37.2(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react-hooks: 4.6.2(eslint@9.13.0(jiti@1.21.6)) - eslint-plugin-testing-library: 5.11.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + eslint-plugin-testing-library: 5.11.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - '@babel/plugin-syntax-flow' - '@babel/plugin-transform-react-jsx' @@ -16200,13 +16216,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.13.0(jiti@1.21.6)): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)): dependencies: debug: 4.3.7 enhanced-resolve: 5.16.0 eslint: 9.13.0(jiti@1.21.6) - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@9.13.0(jiti@1.21.6)) fast-glob: 3.3.2 get-tsconfig: 4.7.3 is-core-module: 2.15.1 @@ -16217,32 +16233,32 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.13.0(jiti@1.21.6)) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)) transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: @@ -16256,7 +16272,7 @@ snapshots: lodash: 4.17.21 string-natural-compare: 3.0.1 - eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -16267,7 +16283,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -16279,13 +16295,13 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6)): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@9.13.0(jiti@1.21.6)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -16296,7 +16312,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.13.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6)) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -16308,30 +16324,59 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6)): dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@rtsao/scc': 1.1.0 + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 + array.prototype.flat: 1.3.2 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7 + doctrine: 2.1.0 eslint: 9.13.0(jiti@1.21.6) + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@9.13.0(jiti@1.21.6)) + hasown: 2.0.2 + is-core-module: 2.15.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 + semver: 6.3.1 + string.prototype.trimend: 1.0.8 + tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - jest: 29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0) + '@typescript-eslint/parser': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3): + dependencies: + '@typescript-eslint/experimental-utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + eslint: 9.13.0(jiti@1.21.6) + optionalDependencies: + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + jest: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-jest@28.8.3(@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0))(typescript@5.5.4): + eslint-plugin-jest@28.8.3(@typescript-eslint/eslint-plugin@8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0))(typescript@5.6.3): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) - jest: 29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0) + '@typescript-eslint/eslint-plugin': 8.11.0(@typescript-eslint/parser@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + jest: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) transitivePeerDependencies: - supports-color - typescript @@ -16396,17 +16441,17 @@ snapshots: postcss: 8.4.47 tailwindcss: 3.4.14 - eslint-plugin-testing-library@5.11.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4): + eslint-plugin-testing-library@5.11.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-testing-library@6.4.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4): + eslint-plugin-testing-library@6.4.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color @@ -17514,6 +17559,26 @@ snapshots: - supports-color - ts-node + jest-cli@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0): + dependencies: + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) + exit: 0.1.2 + import-local: 3.1.0 + jest-config: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + jest-config@29.7.0(@types/node@20.17.1)(babel-plugin-macros@3.1.0): dependencies: '@babel/core': 7.26.0 @@ -17544,6 +17609,37 @@ snapshots: - babel-plugin-macros - supports-color + jest-config@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0): + dependencies: + '@babel/core': 7.26.0 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.0) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0(babel-plugin-macros@3.1.0) + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.7 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 22.8.2 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + optional: true + jest-diff@29.7.0: dependencies: chalk: 4.1.2 @@ -17808,6 +17904,19 @@ snapshots: - supports-color - ts-node + jest@29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0): + dependencies: + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0) + '@jest/types': 29.6.3 + import-local: 3.1.0 + jest-cli: 29.7.0(@types/node@22.8.2)(babel-plugin-macros@3.1.0) + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + jiti@1.21.6: {} jju@1.4.0: {} @@ -19087,9 +19196,9 @@ snapshots: jiti: 1.21.6 postcss: 8.4.47 - postcss-loader@8.1.1(postcss@8.4.47)(typescript@5.5.4): + postcss-loader@8.1.1(postcss@8.4.47)(typescript@5.6.3): dependencies: - cosmiconfig: 9.0.0(typescript@5.5.4) + cosmiconfig: 9.0.0(typescript@5.6.3) jiti: 1.21.6 postcss: 8.4.47 semver: 7.6.2 @@ -19443,9 +19552,9 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-docgen-typescript@2.2.2(typescript@5.5.4): + react-docgen-typescript@2.2.2(typescript@5.6.3): dependencies: - typescript: 5.5.4 + typescript: 5.6.3 react-docgen@7.1.0: dependencies: @@ -20483,9 +20592,9 @@ snapshots: trough@2.2.0: {} - ts-api-utils@1.3.0(typescript@5.5.4): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.5.4 + typescript: 5.6.3 ts-dedent@2.2.0: {} @@ -20495,9 +20604,9 @@ snapshots: ts-pattern@5.1.1: {} - tsconfck@3.0.3(typescript@5.5.4): + tsconfck@3.0.3(typescript@5.6.3): optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.3 tsconfig-paths@3.15.0: dependencies: @@ -20518,7 +20627,7 @@ snapshots: tslib@2.8.0: {} - tsup@8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.5.4): + tsup@8.3.5(@swc/core@1.7.40(@swc/helpers@0.5.12))(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.3): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 @@ -20539,17 +20648,17 @@ snapshots: optionalDependencies: '@swc/core': 1.7.40(@swc/helpers@0.5.12) postcss: 8.4.47 - typescript: 5.5.4 + typescript: 5.6.3 transitivePeerDependencies: - jiti - supports-color - tsx - yaml - tsutils@3.21.0(typescript@5.5.4): + tsutils@3.21.0(typescript@5.6.3): dependencies: tslib: 1.14.1 - typescript: 5.5.4 + typescript: 5.6.3 turbo-darwin-64@2.2.3: optional: true @@ -20629,7 +20738,7 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript@5.5.4: {} + typescript@5.6.3: {} ufo@1.5.4: {} @@ -20800,11 +20909,11 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.2)): + vite-tsconfig-paths@5.0.1(typescript@5.6.3)(vite@5.4.10(@types/node@22.8.2)): dependencies: debug: 4.3.6 globrex: 0.1.2 - tsconfck: 3.0.3(typescript@5.5.4) + tsconfck: 3.0.3(typescript@5.6.3) optionalDependencies: vite: 5.4.10(@types/node@22.8.2) transitivePeerDependencies: diff --git a/themes/theme-b2b/src/components/DateField.styles.ts b/themes/theme-b2b/src/components/DateField.styles.ts index 76b19670d1..cdfc4dcee9 100644 --- a/themes/theme-b2b/src/components/DateField.styles.ts +++ b/themes/theme-b2b/src/components/DateField.styles.ts @@ -18,7 +18,7 @@ export const DateField: ThemeComponent<'DateField'> = { segment: cva([ 'group/segment', 'text-center leading-none outline-0', - '[data-type="literal]"' && 'p-[0.75px]', + 'data-[type="literal"]:p-[0.75px]', 'rounded-sm', 'focus:bg-bg-accent focus:text-text-inverted', 'aria-[readonly]:focus:border-border-base aria-[readonly]:focus:outline-none', diff --git a/themes/theme-core/src/components/DateField.styles.ts b/themes/theme-core/src/components/DateField.styles.ts index a1b415d98f..8961c71738 100644 --- a/themes/theme-core/src/components/DateField.styles.ts +++ b/themes/theme-core/src/components/DateField.styles.ts @@ -13,7 +13,7 @@ export const DateField: ThemeComponent<'DateField'> = { segment: cva([ 'group/segment', 'text-center leading-none outline-0', - '[data-type="literal]"' && 'p-[0.75px]', + 'data-[type="literal"]:p-[0.75px]', 'rounded-sm', 'focus:bg-bg-selected focus:text-text-inverted', 'data-[placeholder=true]:text-text-inverted-disabled', diff --git a/tsconfig.check.json b/tsconfig.check.json index bc49b1b138..c4e03461b7 100644 --- a/tsconfig.check.json +++ b/tsconfig.check.json @@ -10,8 +10,12 @@ "contentlayer/generated": ["./docs/.contentlayer/generated"], "@/registry/*": ["./docs/.registry/*"], "@marigold/*": ["./packages/*/src", "./themes/*/src"], - "@/*": ["./docs/*"] + "@/*": ["./docs/*"], + // cva does not export the types officially + "class-variance-authority/dist/types": [ + "./packages/system/node_modules/class-variance-authority/dist/types" + ] } }, - "exclude": ["coverage/*", "jest.config.js", "**/node_modules/*"] + "exclude": ["coverage/*", "jest.config.js", "**/dist/*", "**/node_modules/*"] }