From 807fb2d22f404128742fd3248a4faa30b24de6e0 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Thu, 11 Apr 2024 18:44:31 +0200 Subject: [PATCH] update components (#2258) * prettier * prettier * prettier * add check icon * fixes * f --- .prettierrc.cjs | 1 + packages/plugin/src/estree-converter/types.ts | 64 +-- pnpm-lock.yaml | 456 +++++++++--------- ...emap.config.cjs => next-sitemap.config.js} | 2 +- website/package.json | 6 +- website/src/components/button.tsx | 2 +- website/src/components/play-page.tsx | 8 +- website/src/components/select.tsx | 14 +- website/tailwind.config.cjs | 6 - website/tailwind.config.ts | 9 + 10 files changed, 298 insertions(+), 270 deletions(-) rename website/{next-sitemap.config.cjs => next-sitemap.config.js} (91%) delete mode 100644 website/tailwind.config.cjs create mode 100644 website/tailwind.config.ts diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 4f68abb6409..ad32ccb4251 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -3,4 +3,5 @@ const { plugins, ...prettierConfig } = require('@theguild/prettier-config'); module.exports = { ...prettierConfig, plugins: [...plugins, 'prettier-plugin-tailwindcss'], + tailwindConfig: './website/tailwind.config.ts', }; diff --git a/packages/plugin/src/estree-converter/types.ts b/packages/plugin/src/estree-converter/types.ts index fe3f728ba75..d8512139006 100644 --- a/packages/plugin/src/estree-converter/types.ts +++ b/packages/plugin/src/estree-converter/types.ts @@ -79,34 +79,34 @@ type NodeWithType = type ParentNode = T extends DocumentNode ? AST.Program : T extends DefinitionNode - ? DocumentNode - : T extends EnumValueDefinitionNode - ? EnumTypeDefinitionNode | EnumTypeExtensionNode - : T extends InputValueDefinitionNode - ? - | DirectiveDefinitionNode - | FieldDefinitionNode - | InputObjectTypeDefinitionNode - | InputObjectTypeExtensionNode - : T extends FieldDefinitionNode - ? - | InterfaceTypeDefinitionNode - | InterfaceTypeExtensionNode - | ObjectTypeDefinitionNode - | ObjectTypeExtensionNode - : T extends SelectionSetNode - ? ExecutableDefinitionNode | FieldNode | InlineFragmentNode - : T extends SelectionNode - ? SelectionSetNode - : T extends TypeNode - ? NodeWithType - : T extends NameNode - ? NodeWithName - : T extends DirectiveNode - ? InputObjectTypeDefinitionNode | ObjectTypeDefinitionNode - : T extends VariableNode - ? VariableDefinitionNode - : unknown; // Explicitly show error to add new ternary with parent nodes + ? DocumentNode + : T extends EnumValueDefinitionNode + ? EnumTypeDefinitionNode | EnumTypeExtensionNode + : T extends InputValueDefinitionNode + ? + | DirectiveDefinitionNode + | FieldDefinitionNode + | InputObjectTypeDefinitionNode + | InputObjectTypeExtensionNode + : T extends FieldDefinitionNode + ? + | InterfaceTypeDefinitionNode + | InterfaceTypeExtensionNode + | ObjectTypeDefinitionNode + | ObjectTypeExtensionNode + : T extends SelectionSetNode + ? ExecutableDefinitionNode | FieldNode | InlineFragmentNode + : T extends SelectionNode + ? SelectionSetNode + : T extends TypeNode + ? NodeWithType + : T extends NameNode + ? NodeWithName + : T extends DirectiveNode + ? InputObjectTypeDefinitionNode | ObjectTypeDefinitionNode + : T extends VariableNode + ? VariableDefinitionNode + : unknown; // Explicitly show error to add new ternary with parent nodes type Node = // Remove readonly for friendly editor popup @@ -130,7 +130,7 @@ export type GraphQLESTreeNode = : GraphQLESTreeNode[K], W>; } : // If Program node => add `parent: null` field - T extends AST.Program - ? T & { parent: null } - : // Return value as is - T; + T extends AST.Program + ? T & { parent: null } + : // Return value as is + T; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7a599cef892..f712c0dab0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,7 +81,7 @@ importers: version: 5.0.5 tsup: specifier: ^8.0.0 - version: 8.0.2(typescript@5.4.2) + version: 8.0.2(postcss@8.4.37)(typescript@5.4.2) tsx: specifier: 4.7.1 version: 4.7.1 @@ -328,8 +328,8 @@ importers: specifier: ^2.0.0 version: 2.0.0(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) '@theguild/components': - specifier: 6.4.0 - version: 6.4.0(@types/react@18.2.64)(next@14.1.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.2)(webpack@5.90.3) + specifier: 6.5.2 + version: 6.5.2(@types/react@18.2.64)(next@14.1.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.2)(webpack@5.90.3) clsx: specifier: ^2.0.0 version: 2.1.0 @@ -362,8 +362,8 @@ importers: version: 2.2.1(react-dom@18.2.0)(react@18.2.0) devDependencies: '@theguild/tailwind-config': - specifier: 0.3.2 - version: 0.3.2 + specifier: 0.4.0 + version: 0.4.0 '@types/lodash.debounce': specifier: 4.0.9 version: 4.0.9 @@ -641,6 +641,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.1 + dev: true /@babel/template@7.20.7: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} @@ -1388,8 +1389,8 @@ packages: resolution: {integrity: sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==} dev: false - /@giscus/react@2.4.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-y8d8qiZ2sBuaXRcgn/ZWfMlRs9bx26p62BU/HEKQQ+IfHo3B/kglgPjX/IqudwlX+DOlHUl1NvtFo9C8Eqo0eQ==} + /@giscus/react@3.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-hgCjLpg3Wgh8VbTF5p8ZLcIHI74wvDk1VIFv12+eKhenNVUDjgwNg2B1aq/3puyHOad47u/ZSyqiMtohjy/OOA==} peerDependencies: react: ^16 || ^17 || ^18 react-dom: ^16 || ^17 || ^18 @@ -1761,6 +1762,7 @@ packages: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/trace-mapping': 0.3.17 + dev: false /@jridgewell/gen-mapping@0.3.5: resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} @@ -1777,6 +1779,7 @@ packages: /@jridgewell/set-array@1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} + dev: false /@jridgewell/set-array@1.2.1: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} @@ -1790,6 +1793,7 @@ packages: /@jridgewell/sourcemap-codec@1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: false /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} @@ -1799,6 +1803,7 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + dev: false /@jridgewell/trace-mapping@0.3.25: resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -2364,39 +2369,6 @@ packages: react: 18.2.0 dev: false - /@radix-ui/react-navigation-menu@1.1.4(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Cc+seCS3PmWmjI51ufGG7zp1cAAIRqHVw7C9LOA2TZ+R4hG6rDvHcTqIsEEFLmZO3zNVH72jOOE7kKNy8W+RtA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - dependencies: - '@babel/runtime': 7.24.1 - '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.64 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /@radix-ui/react-popper@1.1.3(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==} peerDependencies: @@ -2446,27 +2418,6 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-presence@1.0.1(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - dependencies: - '@babel/runtime': 7.24.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.64)(react@18.2.0) - '@types/react': 18.2.64 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /@radix-ui/react-primitive@1.0.3(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==} peerDependencies: @@ -2821,17 +2772,16 @@ packages: resolution: {integrity: sha512-P5XgYoAw/vfW65byBbJQCw+cagdXDT/qH6wmABiLt4v4YBT2q2vqCOhihe+D1Nt325F/S/0Tkv6C5z0Lv+VBQQ==} dev: false - /@theguild/components@6.4.0(@types/react@18.2.64)(next@14.1.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.2)(webpack@5.90.3): - resolution: {integrity: sha512-iJ5AeBUoOFItGzvDy8rCGnLVQSeSv0eJ+WezmoazynBvAsPHALSZ+s44DKSQvM2S/7+0s/0PkcfLwmJIRi/GVQ==} + /@theguild/components@6.5.2(@types/react@18.2.64)(next@14.1.4)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.2)(webpack@5.90.3): + resolution: {integrity: sha512-ZgU1xr0b4wap57gjwSwYG27lLMCez/rEEvGgxbxCEUziyFK/fVsCEQC6wIzbJfJt2CHvsR2gjiUcnNsaHSQM9Q==} peerDependencies: next: ^13 || ^14 react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@giscus/react': 2.4.0(react-dom@18.2.0)(react@18.2.0) + '@giscus/react': 3.0.0(react-dom@18.2.0)(react@18.2.0) '@next/bundle-analyzer': 13.4.2 - '@radix-ui/react-navigation-menu': 1.1.4(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0) - clsx: 2.0.0 + clsx: 2.1.0 fuzzy: 0.1.3 next: 14.1.4(@babel/core@7.24.3)(react-dom@18.2.0)(react@18.2.0) next-videos: 1.5.0(webpack@5.90.3) @@ -2840,13 +2790,11 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-paginate: 8.2.0(react@18.2.0) - react-player: 2.13.0(react@18.2.0) + react-player: 2.16.0(react@18.2.0) remark-mdx-disable-explicit-jsx: 0.1.0 - search-insights: 2.9.0 semver: 7.6.0 transitivePeerDependencies: - '@types/react' - - '@types/react-dom' - bufferutil - supports-color - typescript @@ -2917,14 +2865,14 @@ packages: unist-util-visit: 5.0.0 dev: false - /@theguild/tailwind-config@0.3.2: - resolution: {integrity: sha512-Oed36GocYLTSxiGEDn6Am7wOeTLqIjz0NMq4yhbLLidlKFFewtjlPrv7TzspIeLurDtvhpns7EN9kWgZFOK8nw==} + /@theguild/tailwind-config@0.4.0: + resolution: {integrity: sha512-yBKCWCObEpu8JvB4aPXysDHmwecGJyms6P6Gj3LG3cA+3HiWTj/bqjU4TigotK+n/Dg/bbP4ZllYfhg4Llzypg==} dependencies: - autoprefixer: 10.4.18(postcss@8.4.37) - cssnano: 6.1.1(postcss@8.4.37) - postcss: 8.4.37 - postcss-import: 16.0.1(postcss@8.4.37) - tailwindcss: 3.4.1 + autoprefixer: 10.4.19(postcss@8.4.38) + cssnano: 6.1.2(postcss@8.4.38) + postcss: 8.4.38 + postcss-import: 16.1.0(postcss@8.4.38) + tailwindcss: 3.4.3 transitivePeerDependencies: - ts-node dev: true @@ -3751,8 +3699,8 @@ packages: hasBin: true dev: false - /autoprefixer@10.4.18(postcss@8.4.37): - resolution: {integrity: sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==} + /autoprefixer@10.4.19(postcss@8.4.38): + resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: @@ -3763,7 +3711,7 @@ packages: fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true @@ -3967,15 +3915,11 @@ packages: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001464 + caniuse-lite: 1.0.30001599 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 dev: true - /caniuse-lite@1.0.30001464: - resolution: {integrity: sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g==} - dev: true - /caniuse-lite@1.0.30001599: resolution: {integrity: sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==} @@ -4128,11 +4072,6 @@ packages: engines: {node: '>=0.8'} dev: true - /clsx@2.0.0: - resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} - engines: {node: '>=6'} - dev: false - /clsx@2.1.0: resolution: {integrity: sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==} engines: {node: '>=6'} @@ -4273,13 +4212,13 @@ packages: shebang-command: 2.0.0 which: 2.0.2 - /css-declaration-sorter@7.1.1(postcss@8.4.37): - resolution: {integrity: sha512-dZ3bVTEEc1vxr3Bek9vGwfB5Z6ESPULhcRvO472mfjVnj8jRcTnKO8/JTczlvxM10Myb+wBM++1MtdO76eWcaQ==} + /css-declaration-sorter@7.2.0(postcss@8.4.38): + resolution: {integrity: sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss: ^8.0.9 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true /css-select@5.1.0: @@ -4297,7 +4236,7 @@ packages: engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} dependencies: mdn-data: 2.0.28 - source-map-js: 1.0.2 + source-map-js: 1.2.0 dev: true /css-tree@2.3.1: @@ -4319,63 +4258,63 @@ packages: hasBin: true dev: true - /cssnano-preset-default@6.1.1(postcss@8.4.37): - resolution: {integrity: sha512-XW/dYN2p8Jdkp1lovFd0UVRh6RB0iMyXJbAE9Qm+taR3p2LGu492AW34lVaukUrXoK9IxK5aK3CUmFpUorU4oA==} + /cssnano-preset-default@6.1.2(postcss@8.4.38): + resolution: {integrity: sha512-1C0C+eNaeN8OcHQa193aRgYexyJtU8XwbdieEjClw+J9d94E41LwT6ivKH0WT+fYwYWB0Zp3I3IZ7tI/BbUbrg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: browserslist: 4.23.0 - css-declaration-sorter: 7.1.1(postcss@8.4.37) - cssnano-utils: 4.0.2(postcss@8.4.37) - postcss: 8.4.37 - postcss-calc: 9.0.1(postcss@8.4.37) - postcss-colormin: 6.1.0(postcss@8.4.37) - postcss-convert-values: 6.1.0(postcss@8.4.37) - postcss-discard-comments: 6.0.2(postcss@8.4.37) - postcss-discard-duplicates: 6.0.3(postcss@8.4.37) - postcss-discard-empty: 6.0.3(postcss@8.4.37) - postcss-discard-overridden: 6.0.2(postcss@8.4.37) - postcss-merge-longhand: 6.0.5(postcss@8.4.37) - postcss-merge-rules: 6.1.1(postcss@8.4.37) - postcss-minify-font-values: 6.1.0(postcss@8.4.37) - postcss-minify-gradients: 6.0.3(postcss@8.4.37) - postcss-minify-params: 6.1.0(postcss@8.4.37) - postcss-minify-selectors: 6.0.4(postcss@8.4.37) - postcss-normalize-charset: 6.0.2(postcss@8.4.37) - postcss-normalize-display-values: 6.0.2(postcss@8.4.37) - postcss-normalize-positions: 6.0.2(postcss@8.4.37) - postcss-normalize-repeat-style: 6.0.2(postcss@8.4.37) - postcss-normalize-string: 6.0.2(postcss@8.4.37) - postcss-normalize-timing-functions: 6.0.2(postcss@8.4.37) - postcss-normalize-unicode: 6.1.0(postcss@8.4.37) - postcss-normalize-url: 6.0.2(postcss@8.4.37) - postcss-normalize-whitespace: 6.0.2(postcss@8.4.37) - postcss-ordered-values: 6.0.2(postcss@8.4.37) - postcss-reduce-initial: 6.1.0(postcss@8.4.37) - postcss-reduce-transforms: 6.0.2(postcss@8.4.37) - postcss-svgo: 6.0.3(postcss@8.4.37) - postcss-unique-selectors: 6.0.4(postcss@8.4.37) - dev: true - - /cssnano-utils@4.0.2(postcss@8.4.37): + css-declaration-sorter: 7.2.0(postcss@8.4.38) + cssnano-utils: 4.0.2(postcss@8.4.38) + postcss: 8.4.38 + postcss-calc: 9.0.1(postcss@8.4.38) + postcss-colormin: 6.1.0(postcss@8.4.38) + postcss-convert-values: 6.1.0(postcss@8.4.38) + postcss-discard-comments: 6.0.2(postcss@8.4.38) + postcss-discard-duplicates: 6.0.3(postcss@8.4.38) + postcss-discard-empty: 6.0.3(postcss@8.4.38) + postcss-discard-overridden: 6.0.2(postcss@8.4.38) + postcss-merge-longhand: 6.0.5(postcss@8.4.38) + postcss-merge-rules: 6.1.1(postcss@8.4.38) + postcss-minify-font-values: 6.1.0(postcss@8.4.38) + postcss-minify-gradients: 6.0.3(postcss@8.4.38) + postcss-minify-params: 6.1.0(postcss@8.4.38) + postcss-minify-selectors: 6.0.4(postcss@8.4.38) + postcss-normalize-charset: 6.0.2(postcss@8.4.38) + postcss-normalize-display-values: 6.0.2(postcss@8.4.38) + postcss-normalize-positions: 6.0.2(postcss@8.4.38) + postcss-normalize-repeat-style: 6.0.2(postcss@8.4.38) + postcss-normalize-string: 6.0.2(postcss@8.4.38) + postcss-normalize-timing-functions: 6.0.2(postcss@8.4.38) + postcss-normalize-unicode: 6.1.0(postcss@8.4.38) + postcss-normalize-url: 6.0.2(postcss@8.4.38) + postcss-normalize-whitespace: 6.0.2(postcss@8.4.38) + postcss-ordered-values: 6.0.2(postcss@8.4.38) + postcss-reduce-initial: 6.1.0(postcss@8.4.38) + postcss-reduce-transforms: 6.0.2(postcss@8.4.38) + postcss-svgo: 6.0.3(postcss@8.4.38) + postcss-unique-selectors: 6.0.4(postcss@8.4.38) + dev: true + + /cssnano-utils@4.0.2(postcss@8.4.38): resolution: {integrity: sha512-ZR1jHg+wZ8o4c3zqf1SIUSTIvm/9mU343FMR6Obe/unskbvpGhZOo1J6d/r8D1pzkRQYuwbcH3hToOuoA2G7oQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /cssnano@6.1.1(postcss@8.4.37): - resolution: {integrity: sha512-paTFZuiVohpaXJuau8l7buFt9+FTmfjwEO70EKitzYOQw3frib/It4sb6cQ+gJyDEyY+myDSni6IbBvKZ0N8Lw==} + /cssnano@6.1.2(postcss@8.4.38): + resolution: {integrity: sha512-rYk5UeX7VAM/u0lNqewCdasdtPK81CgX8wJFLEIXHbV2oldWRgJAsZrdhRXkV1NJzA2g850KiFm9mMU2HxNxMA==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - cssnano-preset-default: 6.1.1(postcss@8.4.37) + cssnano-preset-default: 6.1.2(postcss@8.4.38) lilconfig: 3.1.1 - postcss: 8.4.37 + postcss: 8.4.38 dev: true /csso@5.0.5: @@ -6442,7 +6381,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.2 ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 @@ -9277,18 +9216,18 @@ packages: engines: {node: '>= 0.4'} dev: true - /postcss-calc@9.0.1(postcss@8.4.37): + /postcss-calc@9.0.1(postcss@8.4.38): resolution: {integrity: sha512-TipgjGyzP5QzEhsOZUaIkeO5mKeMFpebWzRogWG/ysonUlnHcq5aJe0jOjpfzUU8PeSaBQnrE8ehR0QA5vs8PQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.2.2 dependencies: - postcss: 8.4.37 - postcss-selector-parser: 6.0.11 + postcss: 8.4.38 + postcss-selector-parser: 6.0.16 postcss-value-parser: 4.2.0 dev: true - /postcss-colormin@6.1.0(postcss@8.4.37): + /postcss-colormin@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-x9yX7DOxeMAR+BgGVnNSAxmAj98NX/YxEMNFP+SDCEeNLb2r3i6Hh1ksMsnW8Ub5SLCpbescQqn9YEbE9554Sw==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: @@ -9297,55 +9236,55 @@ packages: browserslist: 4.23.0 caniuse-api: 3.0.0 colord: 2.9.3 - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-convert-values@6.1.0(postcss@8.4.37): + /postcss-convert-values@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-zx8IwP/ts9WvUM6NkVSkiU902QZL1bwPhaVaLynPtCsOTqp+ZKbNi+s6XJg3rfqpKGA/oc7Oxk5t8pOQJcwl/w==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: browserslist: 4.23.0 - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-discard-comments@6.0.2(postcss@8.4.37): + /postcss-discard-comments@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-65w/uIqhSBBfQmYnG92FO1mWZjJ4GL5b8atm5Yw2UgrwD7HiNiSSNwJor1eCFGzUgYnN/iIknhNRVqjrrpuglw==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /postcss-discard-duplicates@6.0.3(postcss@8.4.37): + /postcss-discard-duplicates@6.0.3(postcss@8.4.38): resolution: {integrity: sha512-+JA0DCvc5XvFAxwx6f/e68gQu/7Z9ud584VLmcgto28eB8FqSFZwtrLwB5Kcp70eIoWP/HXqz4wpo8rD8gpsTw==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /postcss-discard-empty@6.0.3(postcss@8.4.37): + /postcss-discard-empty@6.0.3(postcss@8.4.38): resolution: {integrity: sha512-znyno9cHKQsK6PtxL5D19Fj9uwSzC2mB74cpT66fhgOadEUPyXFkbgwm5tvc3bt3NAy8ltE5MrghxovZRVnOjQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /postcss-discard-overridden@6.0.2(postcss@8.4.37): + /postcss-discard-overridden@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-j87xzI4LUggC5zND7KdjsI25APtyMuynXZSujByMaav2roV6OZX+8AaCUcZSWqckZpjAjRyFDdpqybgjFO0HJQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true /postcss-import@15.1.0(postcss@8.4.37): @@ -9360,16 +9299,28 @@ packages: resolve: 1.22.8 dev: true - /postcss-import@16.0.1(postcss@8.4.37): - resolution: {integrity: sha512-i2Pci0310NaLHr/5JUFSw1j/8hf1CzwMY13g6ZDxgOavmRHQi2ba3PmUHoihO+sjaum+KmCNzskNsw7JDrg03g==} + /postcss-import@15.1.0(postcss@8.4.38): + resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} + engines: {node: '>=14.0.0'} + peerDependencies: + postcss: ^8.0.0 + dependencies: + postcss: 8.4.38 + postcss-value-parser: 4.2.0 + read-cache: 1.0.0 + resolve: 1.22.8 + dev: true + + /postcss-import@16.1.0(postcss@8.4.38): + resolution: {integrity: sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==} engines: {node: '>=18.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 read-cache: 1.0.0 - resolve: 1.22.1 + resolve: 1.22.8 dev: true /postcss-js@4.0.1(postcss@8.4.37): @@ -9382,6 +9333,16 @@ packages: postcss: 8.4.37 dev: true + /postcss-js@4.0.1(postcss@8.4.38): + resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} + engines: {node: ^12 || ^14 || >= 16} + peerDependencies: + postcss: ^8.4.21 + dependencies: + camelcase-css: 2.0.1 + postcss: 8.4.38 + dev: true + /postcss-load-config@4.0.2(postcss@8.4.37): resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} engines: {node: '>= 14'} @@ -9399,18 +9360,35 @@ packages: yaml: 2.4.1 dev: true - /postcss-merge-longhand@6.0.5(postcss@8.4.37): + /postcss-load-config@4.0.2(postcss@8.4.38): + resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} + engines: {node: '>= 14'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + dependencies: + lilconfig: 3.1.1 + postcss: 8.4.38 + yaml: 2.4.1 + dev: true + + /postcss-merge-longhand@6.0.5(postcss@8.4.38): resolution: {integrity: sha512-5LOiordeTfi64QhICp07nzzuTDjNSO8g5Ksdibt44d+uvIIAE1oZdRn8y/W5ZtYgRH/lnLDlvi9F8btZcVzu3w==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 - stylehacks: 6.1.1(postcss@8.4.37) + stylehacks: 6.1.1(postcss@8.4.38) dev: true - /postcss-merge-rules@6.1.1(postcss@8.4.37): + /postcss-merge-rules@6.1.1(postcss@8.4.38): resolution: {integrity: sha512-KOdWF0gju31AQPZiD+2Ar9Qjowz1LTChSjFFbS+e2sFgc4uHOp3ZvVX4sNeTlk0w2O31ecFGgrFzhO0RSWbWwQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: @@ -9418,52 +9396,52 @@ packages: dependencies: browserslist: 4.23.0 caniuse-api: 3.0.0 - cssnano-utils: 4.0.2(postcss@8.4.37) - postcss: 8.4.37 + cssnano-utils: 4.0.2(postcss@8.4.38) + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true - /postcss-minify-font-values@6.1.0(postcss@8.4.37): + /postcss-minify-font-values@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-gklfI/n+9rTh8nYaSJXlCo3nOKqMNkxuGpTn/Qm0gstL3ywTr9/WRKznE+oy6fvfolH6dF+QM4nCo8yPLdvGJg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-minify-gradients@6.0.3(postcss@8.4.37): + /postcss-minify-gradients@6.0.3(postcss@8.4.38): resolution: {integrity: sha512-4KXAHrYlzF0Rr7uc4VrfwDJ2ajrtNEpNEuLxFgwkhFZ56/7gaE4Nr49nLsQDZyUe+ds+kEhf+YAUolJiYXF8+Q==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: colord: 2.9.3 - cssnano-utils: 4.0.2(postcss@8.4.37) - postcss: 8.4.37 + cssnano-utils: 4.0.2(postcss@8.4.38) + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-minify-params@6.1.0(postcss@8.4.37): + /postcss-minify-params@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-bmSKnDtyyE8ujHQK0RQJDIKhQ20Jq1LYiez54WiaOoBtcSuflfK3Nm596LvbtlFcpipMjgClQGyGr7GAs+H1uA==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: browserslist: 4.23.0 - cssnano-utils: 4.0.2(postcss@8.4.37) - postcss: 8.4.37 + cssnano-utils: 4.0.2(postcss@8.4.38) + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-minify-selectors@6.0.4(postcss@8.4.37): + /postcss-minify-selectors@6.0.4(postcss@8.4.38): resolution: {integrity: sha512-L8dZSwNLgK7pjTto9PzWRoMbnLq5vsZSTu8+j1P/2GB8qdtGQfn+K1uSvFgYvgh83cbyxT5m43ZZhUMTJDSClQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true @@ -9474,111 +9452,121 @@ packages: postcss: ^8.2.14 dependencies: postcss: 8.4.37 - postcss-selector-parser: 6.0.11 + postcss-selector-parser: 6.0.16 + dev: true + + /postcss-nested@6.0.1(postcss@8.4.38): + resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + dependencies: + postcss: 8.4.38 + postcss-selector-parser: 6.0.16 dev: true - /postcss-normalize-charset@6.0.2(postcss@8.4.37): + /postcss-normalize-charset@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-a8N9czmdnrjPHa3DeFlwqst5eaL5W8jYu3EBbTTkI5FHkfMhFZh1EGbku6jhHhIzTA6tquI2P42NtZ59M/H/kQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /postcss-normalize-display-values@6.0.2(postcss@8.4.37): + /postcss-normalize-display-values@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-8H04Mxsb82ON/aAkPeq8kcBbAtI5Q2a64X/mnRRfPXBq7XeogoQvReqxEfc0B4WPq1KimjezNC8flUtC3Qz6jg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-positions@6.0.2(postcss@8.4.37): + /postcss-normalize-positions@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-/JFzI441OAB9O7VnLA+RtSNZvQ0NCFZDOtp6QPFo1iIyawyXg0YI3CYM9HBy1WvwCRHnPep/BvI1+dGPKoXx/Q==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-repeat-style@6.0.2(postcss@8.4.37): + /postcss-normalize-repeat-style@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-YdCgsfHkJ2jEXwR4RR3Tm/iOxSfdRt7jplS6XRh9Js9PyCR/aka/FCb6TuHT2U8gQubbm/mPmF6L7FY9d79VwQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-string@6.0.2(postcss@8.4.37): + /postcss-normalize-string@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-vQZIivlxlfqqMp4L9PZsFE4YUkWniziKjQWUtsxUiVsSSPelQydwS8Wwcuw0+83ZjPWNTl02oxlIvXsmmG+CiQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-timing-functions@6.0.2(postcss@8.4.37): + /postcss-normalize-timing-functions@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-a+YrtMox4TBtId/AEwbA03VcJgtyW4dGBizPl7e88cTFULYsprgHWTbfyjSLyHeBcK/Q9JhXkt2ZXiwaVHoMzA==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-unicode@6.1.0(postcss@8.4.37): + /postcss-normalize-unicode@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-QVC5TQHsVj33otj8/JD869Ndr5Xcc/+fwRh4HAsFsAeygQQXm+0PySrKbr/8tkDKzW+EVT3QkqZMfFrGiossDg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: browserslist: 4.23.0 - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-url@6.0.2(postcss@8.4.37): + /postcss-normalize-url@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-kVNcWhCeKAzZ8B4pv/DnrU1wNh458zBNp8dh4y5hhxih5RZQ12QWMuQrDgPRw3LRl8mN9vOVfHl7uhvHYMoXsQ==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-whitespace@6.0.2(postcss@8.4.37): + /postcss-normalize-whitespace@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-sXZ2Nj1icbJOKmdjXVT9pnyHQKiSAyuNQHSgRCUgThn2388Y9cGVDR+E9J9iAYbSbLHI+UUwLVl1Wzco/zgv0Q==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-ordered-values@6.0.2(postcss@8.4.37): + /postcss-ordered-values@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-VRZSOB+JU32RsEAQrO94QPkClGPKJEL/Z9PCBImXMhIeK5KAYo6slP/hBYlLgrCjFxyqvn5VC81tycFEDBLG1Q==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - cssnano-utils: 4.0.2(postcss@8.4.37) - postcss: 8.4.37 + cssnano-utils: 4.0.2(postcss@8.4.38) + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /postcss-reduce-initial@6.1.0(postcss@8.4.37): + /postcss-reduce-initial@6.1.0(postcss@8.4.38): resolution: {integrity: sha512-RarLgBK/CrL1qZags04oKbVbrrVK2wcxhvta3GCxrZO4zveibqbRPmm2VI8sSgCXwoUHEliRSbOfpR0b/VIoiw==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: @@ -9586,16 +9574,16 @@ packages: dependencies: browserslist: 4.23.0 caniuse-api: 3.0.0 - postcss: 8.4.37 + postcss: 8.4.38 dev: true - /postcss-reduce-transforms@6.0.2(postcss@8.4.37): + /postcss-reduce-transforms@6.0.2(postcss@8.4.38): resolution: {integrity: sha512-sB+Ya++3Xj1WaT9+5LOOdirAxP7dJZms3GRcYheSPi1PiTMigsxHAdkrbItHxwYHr4kt1zL7mmcHstgMYT+aiA==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true @@ -9608,14 +9596,6 @@ packages: postcss: 8.4.37 dev: true - /postcss-selector-parser@6.0.11: - resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: true - /postcss-selector-parser@6.0.16: resolution: {integrity: sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==} engines: {node: '>=4'} @@ -9624,24 +9604,24 @@ packages: util-deprecate: 1.0.2 dev: true - /postcss-svgo@6.0.3(postcss@8.4.37): + /postcss-svgo@6.0.3(postcss@8.4.38): resolution: {integrity: sha512-dlrahRmxP22bX6iKEjOM+c8/1p+81asjKT+V5lrgOH944ryx/OHpclnIbGsKVd3uWOXFLYJwCVf0eEkJGvO96g==} engines: {node: ^14 || ^16 || >= 18} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-value-parser: 4.2.0 svgo: 3.2.0 dev: true - /postcss-unique-selectors@6.0.4(postcss@8.4.37): + /postcss-unique-selectors@6.0.4(postcss@8.4.38): resolution: {integrity: sha512-K38OCaIrO8+PzpArzkLKB42dSARtC2tmG6PvD4b1o1Q2E9Os8jzfWFfSy/rixsHwohtsDdFtAWGjFVFUdwYaMg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: - postcss: 8.4.37 + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true @@ -9676,6 +9656,15 @@ packages: source-map-js: 1.2.0 dev: true + /postcss@8.4.38: + resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.2.0 + dev: true + /preferred-pm@3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} engines: {node: '>=10'} @@ -9859,8 +9848,8 @@ packages: react: 18.2.0 dev: false - /react-player@2.13.0(react@18.2.0): - resolution: {integrity: sha512-gkY7ZdbVFztlKFFhCPcnDrFQm+L399b8fhWsKatZ+b2wpKJwfUHBXQFMRxqYQGT0ic1/wQ7D7EZEWy7ZBqk2pw==} + /react-player@2.16.0(react@18.2.0): + resolution: {integrity: sha512-mAIPHfioD7yxO0GNYVFD1303QFtI3lyyQZLY229UEAp/a10cSW+hPcakg0Keq8uWJxT2OiT/4Gt+Lc9bD6bJmQ==} peerDependencies: react: '>=16.6.0' dependencies: @@ -10020,6 +10009,7 @@ packages: /regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + dev: true /regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} @@ -10413,10 +10403,6 @@ packages: compute-scroll-into-view: 3.1.0 dev: false - /search-insights@2.9.0: - resolution: {integrity: sha512-bkWW9nIHOFkLwjQ1xqVaMbjjO5vhP26ERsH9Y3pKr8imthofEFIxlnOabkmGcw6ksRj9jWidcI65vvjJH/nTGg==} - dev: false - /section-matter@1.0.0: resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} engines: {node: '>=4'} @@ -10879,14 +10865,14 @@ packages: react: 18.2.0 dev: false - /stylehacks@6.1.1(postcss@8.4.37): + /stylehacks@6.1.1(postcss@8.4.38): resolution: {integrity: sha512-gSTTEQ670cJNoaeIp9KX6lZmm8LJ3jPB5yJmX8Zq/wQxOsAFXV3qjWzHas3YYk1qesuVIyYWWUpZ0vSE/dTSGg==} engines: {node: ^14 || ^16 || >=18.0} peerDependencies: postcss: ^8.4.31 dependencies: browserslist: 4.23.0 - postcss: 8.4.37 + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true @@ -10912,7 +10898,7 @@ packages: engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: - '@jridgewell/gen-mapping': 0.3.2 + '@jridgewell/gen-mapping': 0.3.5 commander: 4.1.1 glob: 10.3.10 lines-and-columns: 1.2.4 @@ -11070,7 +11056,38 @@ packages: postcss-js: 4.0.1(postcss@8.4.37) postcss-load-config: 4.0.2(postcss@8.4.37) postcss-nested: 6.0.1(postcss@8.4.37) - postcss-selector-parser: 6.0.11 + postcss-selector-parser: 6.0.16 + resolve: 1.22.8 + sucrase: 3.35.0 + transitivePeerDependencies: + - ts-node + dev: true + + /tailwindcss@3.4.3: + resolution: {integrity: sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==} + engines: {node: '>=14.0.0'} + hasBin: true + dependencies: + '@alloc/quick-lru': 5.2.0 + arg: 5.0.2 + chokidar: 3.5.3 + didyoumean: 1.2.2 + dlv: 1.1.3 + fast-glob: 3.3.2 + glob-parent: 6.0.2 + is-glob: 4.0.3 + jiti: 1.21.0 + lilconfig: 2.1.0 + micromatch: 4.0.5 + normalize-path: 3.0.0 + object-hash: 3.0.0 + picocolors: 1.0.0 + postcss: 8.4.38 + postcss-import: 15.1.0(postcss@8.4.38) + postcss-js: 4.0.1(postcss@8.4.38) + postcss-load-config: 4.0.2(postcss@8.4.38) + postcss-nested: 6.0.1(postcss@8.4.38) + postcss-selector-parser: 6.0.16 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: @@ -11250,7 +11267,7 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@8.0.2(typescript@5.4.2): + /tsup@8.0.2(postcss@8.4.37)(typescript@5.4.2): resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} engines: {node: '>=18'} hasBin: true @@ -11277,6 +11294,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 + postcss: 8.4.37 postcss-load-config: 4.0.2(postcss@8.4.37) resolve-from: 5.0.0 rollup: 4.13.0 @@ -11906,7 +11924,7 @@ packages: dependencies: '@types/node': 20.11.25 esbuild: 0.16.17 - postcss: 8.4.21 + postcss: 8.4.37 resolve: 1.22.1 rollup: 3.19.1 optionalDependencies: diff --git a/website/next-sitemap.config.cjs b/website/next-sitemap.config.js similarity index 91% rename from website/next-sitemap.config.cjs rename to website/next-sitemap.config.js index 3b44bb51c10..a3759550f3e 100644 --- a/website/next-sitemap.config.cjs +++ b/website/next-sitemap.config.js @@ -1,5 +1,5 @@ /** @type {import("next-sitemap").IConfig} */ -module.exports = { +export default { siteUrl: process.env.SITE_URL || 'https://the-guild.dev/graphql/eslint', generateIndexSitemap: false, exclude: ['*/_meta'], diff --git a/website/package.json b/website/package.json index be5446ebf40..2169a15a43c 100644 --- a/website/package.json +++ b/website/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "analyze": "ANALYZE=true yarn build", - "build": "next build && next-sitemap --config next-sitemap.config.cjs", + "build": "next build && next-sitemap", "dev": "next", "prebuild": "tsx ../scripts/generate-docs.ts", "start": "next start" @@ -15,7 +15,7 @@ "@monaco-editor/react": "^4.6.0", "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-select": "^2.0.0", - "@theguild/components": "6.4.0", + "@theguild/components": "6.5.2", "clsx": "^2.0.0", "graphql": "^16.8.1", "lodash.debounce": "^4.0.8", @@ -28,7 +28,7 @@ "use-query-params": "^2.2.1" }, "devDependencies": { - "@theguild/tailwind-config": "0.3.2", + "@theguild/tailwind-config": "0.4.0", "@types/lodash.debounce": "4.0.9", "@types/lodash.uniqwith": "4.5.9", "@types/node": "20.11.25", diff --git a/website/src/components/button.tsx b/website/src/components/button.tsx index 808c10ee709..c971df67554 100644 --- a/website/src/components/button.tsx +++ b/website/src/components/button.tsx @@ -13,7 +13,7 @@ export const Button = forwardRef>( 'group', 'radix-state-open:bg-gray-50 dark:radix-state-open:bg-gray-900', 'radix-state-on:bg-gray-50 dark:radix-state-on:bg-gray-900', - 'radix-state-instant-open:bg-gray-50 radix-state-delayed-open:bg-gray-50', + 'radix-state-delayed-open:bg-gray-50 radix-state-instant-open:bg-gray-50', className, )} {...props} diff --git a/website/src/components/play-page.tsx b/website/src/components/play-page.tsx index 7f065136ed3..66ee4f7c1f0 100644 --- a/website/src/components/play-page.tsx +++ b/website/src/components/play-page.tsx @@ -101,16 +101,10 @@ export function PlayPage(): ReactElement { return (
-

VERSIONING

diff --git a/website/src/components/select.tsx b/website/src/components/select.tsx index a89bf186a1d..894b61ef8a2 100644 --- a/website/src/components/select.tsx +++ b/website/src/components/select.tsx @@ -1,7 +1,7 @@ import { ReactElement } from 'react'; import { clsx } from 'clsx'; import * as S from '@radix-ui/react-select'; -import { CaretSlimIcon, CheckIcon } from '@theguild/components'; +import { CaretSlimIcon } from '@theguild/components'; import { Button } from './button'; type SelectProps = { @@ -12,6 +12,18 @@ type SelectProps = { placeholder: string; }; +function CheckIcon() { + return ( + + + + ); +} + export const Select = ({ options, defaultValue, diff --git a/website/tailwind.config.cjs b/website/tailwind.config.cjs deleted file mode 100644 index 7994767fe44..00000000000 --- a/website/tailwind.config.cjs +++ /dev/null @@ -1,6 +0,0 @@ -const tailwindConfig = require('@theguild/tailwind-config'); - -module.exports = { - ...tailwindConfig, - plugins: [require('tailwindcss-radix')()], -}; diff --git a/website/tailwind.config.ts b/website/tailwind.config.ts new file mode 100644 index 00000000000..f53a409a433 --- /dev/null +++ b/website/tailwind.config.ts @@ -0,0 +1,9 @@ +import tailwindRadix from 'tailwindcss-radix'; +import tailwindConfig from '@theguild/tailwind-config'; + +// eslint-disable-next-line import/no-default-export +export default { + ...tailwindConfig, + // @ts-expect-error -- fixme + plugins: [tailwindRadix()], +};