diff --git a/lib/webpack-config/package.json b/lib/webpack-config/package.json index 2e25c5866..82f5058bf 100644 --- a/lib/webpack-config/package.json +++ b/lib/webpack-config/package.json @@ -20,7 +20,7 @@ "@babel/preset-typescript": "^7.26.0", "@mdx-js/loader": "^1.6.22", "@storybook/react-docgen-typescript-plugin": "^1.0.1", - "@swc/core": "^1.9.3", + "@swc/core": "^1.10.0", "babel-loader": "^9.2.1", "clean-webpack-plugin": "^4.0.0", "css-loader": "^7.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3d2c8d7b4..00a55a3e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -867,7 +867,9 @@ importers: '@not-govuk/form-field': workspace:^0.15.1 '@not-govuk/forms': workspace:^0.15.1 '@not-govuk/radios': workspace:^0.15.1 + '@not-govuk/search-box': workspace:^0.15.1 '@not-govuk/select': workspace:^0.15.1 + '@not-govuk/standalone-input': workspace:^0.15.1 '@not-govuk/tag': workspace:^0.15.1 '@not-govuk/text-input': workspace:^0.15.1 '@not-govuk/textarea': workspace:^0.15.1 @@ -884,7 +886,9 @@ importers: '@not-govuk/form-field': link:../form-field '@not-govuk/forms': link:../../lib/forms '@not-govuk/radios': link:../radios + '@not-govuk/search-box': link:../search-box '@not-govuk/select': link:../select + '@not-govuk/standalone-input': link:../standalone-input '@not-govuk/text-input': link:../text-input '@not-govuk/textarea': link:../textarea devDependencies: @@ -1356,6 +1360,33 @@ importers: ts-jest: 29.2.5_67xnt3v64q2pgz6kguni4h37hu typescript: 4.9.5 + components/search-box: + specifiers: + '@mdx-js/react': 1.6.22 + '@not-govuk/component-helpers': workspace:^0.15.1 + '@not-govuk/component-test-helpers': workspace:^0.15.1 + '@not-govuk/sass-base': workspace:^0.15.1 + '@not-govuk/standalone-input': workspace:^0.15.1 + '@not-govuk/tag': workspace:^0.15.1 + '@types/react': 18.3.12 + jest: 29.7.0 + jest-environment-jsdom: 29.7.0 + ts-jest: 29.2.5 + typescript: 4.9.5 + dependencies: + '@not-govuk/component-helpers': link:../../lib/component-helpers + '@not-govuk/sass-base': link:../../lib-govuk/sass-base + '@not-govuk/standalone-input': link:../standalone-input + devDependencies: + '@mdx-js/react': 1.6.22 + '@not-govuk/component-test-helpers': link:../../lib/component-test-helpers + '@not-govuk/tag': link:../tag + '@types/react': 18.3.12 + jest: 29.7.0 + jest-environment-jsdom: 29.7.0 + ts-jest: 29.2.5_67xnt3v64q2pgz6kguni4h37hu + typescript: 4.9.5 + components/select: specifiers: '@mdx-js/react': 1.6.22 @@ -1408,6 +1439,37 @@ importers: ts-jest: 29.2.5_67xnt3v64q2pgz6kguni4h37hu typescript: 4.9.5 + components/standalone-input: + specifiers: + '@mdx-js/react': 1.6.22 + '@not-govuk/button': workspace:^0.15.1 + '@not-govuk/component-helpers': workspace:^0.15.1 + '@not-govuk/component-test-helpers': workspace:^0.15.1 + '@not-govuk/form-group': workspace:^0.15.1 + '@not-govuk/input': workspace:^0.15.1 + '@not-govuk/sass-base': workspace:^0.15.1 + '@not-govuk/tag': workspace:^0.15.1 + '@types/react': 18.3.12 + jest: 29.7.0 + jest-environment-jsdom: 29.7.0 + ts-jest: 29.2.5 + typescript: 4.9.5 + dependencies: + '@not-govuk/button': link:../button + '@not-govuk/component-helpers': link:../../lib/component-helpers + '@not-govuk/form-group': link:../form-group + '@not-govuk/input': link:../input + '@not-govuk/sass-base': link:../../lib-govuk/sass-base + devDependencies: + '@mdx-js/react': 1.6.22 + '@not-govuk/component-test-helpers': link:../../lib/component-test-helpers + '@not-govuk/tag': link:../tag + '@types/react': 18.3.12 + jest: 29.7.0 + jest-environment-jsdom: 29.7.0 + ts-jest: 29.2.5_67xnt3v64q2pgz6kguni4h37hu + typescript: 4.9.5 + components/summary-card: specifiers: '@mdx-js/react': 1.6.22 @@ -1767,8 +1829,10 @@ importers: '@not-govuk/phase-banner': workspace:^0.15.1 '@not-govuk/radios': workspace:^0.15.1 '@not-govuk/sass-base': workspace:^0.15.1 + '@not-govuk/search-box': workspace:^0.15.1 '@not-govuk/select': workspace:^0.15.1 '@not-govuk/skip-link': workspace:^0.15.1 + '@not-govuk/standalone-input': workspace:^0.15.1 '@not-govuk/summary-card': workspace:^0.15.1 '@not-govuk/summary-list': workspace:^0.15.1 '@not-govuk/table': workspace:^0.15.1 @@ -1811,8 +1875,10 @@ importers: '@not-govuk/phase-banner': link:../../components/phase-banner '@not-govuk/radios': link:../../components/radios '@not-govuk/sass-base': link:../sass-base + '@not-govuk/search-box': link:../../components/search-box '@not-govuk/select': link:../../components/select '@not-govuk/skip-link': link:../../components/skip-link + '@not-govuk/standalone-input': link:../../components/standalone-input '@not-govuk/summary-card': link:../../components/summary-card '@not-govuk/summary-list': link:../../components/summary-list '@not-govuk/table': link:../../components/table @@ -2240,7 +2306,7 @@ importers: '@babel/preset-typescript': ^7.26.0 '@mdx-js/loader': ^1.6.22 '@storybook/react-docgen-typescript-plugin': ^1.0.1 - '@swc/core': ^1.9.3 + '@swc/core': ^1.10.0 babel-loader: ^9.2.1 clean-webpack-plugin: ^4.0.0 css-loader: ^7.1.2 @@ -2267,7 +2333,7 @@ importers: '@babel/preset-typescript': 7.26.0_@babel+core@7.26.0 '@mdx-js/loader': 1.6.22 '@storybook/react-docgen-typescript-plugin': 1.0.1 - '@swc/core': 1.9.3 + '@swc/core': 1.10.1 babel-loader: 9.2.1_@babel+core@7.26.0 clean-webpack-plugin: 4.0.0 css-loader: 7.1.2 @@ -9688,8 +9754,8 @@ packages: resolve-from: 5.0.0 dev: true - /@swc/core-darwin-arm64/1.9.3: - resolution: {integrity: sha512-hGfl/KTic/QY4tB9DkTbNuxy5cV4IeejpPD4zo+Lzt4iLlDWIeANL4Fkg67FiVceNJboqg48CUX+APhDHO5G1w==} + /@swc/core-darwin-arm64/1.10.1: + resolution: {integrity: sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -9697,8 +9763,8 @@ packages: dev: false optional: true - /@swc/core-darwin-x64/1.9.3: - resolution: {integrity: sha512-IaRq05ZLdtgF5h9CzlcgaNHyg4VXuiStnOFpfNEMuI5fm5afP2S0FHq8WdakUz5WppsbddTdplL+vpeApt/WCQ==} + /@swc/core-darwin-x64/1.10.1: + resolution: {integrity: sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -9706,8 +9772,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm-gnueabihf/1.9.3: - resolution: {integrity: sha512-Pbwe7xYprj/nEnZrNBvZfjnTxlBIcfApAGdz2EROhjpPj+FBqBa3wOogqbsuGGBdCphf8S+KPprL1z+oDWkmSQ==} + /@swc/core-linux-arm-gnueabihf/1.10.1: + resolution: {integrity: sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -9715,8 +9781,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-gnu/1.9.3: - resolution: {integrity: sha512-AQ5JZiwNGVV/2K2TVulg0mw/3LYfqpjZO6jDPtR2evNbk9Yt57YsVzS+3vHSlUBQDRV9/jqMuZYVU3P13xrk+g==} + /@swc/core-linux-arm64-gnu/1.10.1: + resolution: {integrity: sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -9724,8 +9790,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-musl/1.9.3: - resolution: {integrity: sha512-tzVH480RY6RbMl/QRgh5HK3zn1ZTFsThuxDGo6Iuk1MdwIbdFYUY034heWUTI4u3Db97ArKh0hNL0xhO3+PZdg==} + /@swc/core-linux-arm64-musl/1.10.1: + resolution: {integrity: sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -9733,8 +9799,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-gnu/1.9.3: - resolution: {integrity: sha512-ivXXBRDXDc9k4cdv10R21ccBmGebVOwKXT/UdH1PhxUn9m/h8erAWjz5pcELwjiMf27WokqPgaWVfaclDbgE+w==} + /@swc/core-linux-x64-gnu/1.10.1: + resolution: {integrity: sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -9742,8 +9808,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-musl/1.9.3: - resolution: {integrity: sha512-ILsGMgfnOz1HwdDz+ZgEuomIwkP1PHT6maigZxaCIuC6OPEhKE8uYna22uU63XvYcLQvZYDzpR3ms47WQPuNEg==} + /@swc/core-linux-x64-musl/1.10.1: + resolution: {integrity: sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -9751,8 +9817,8 @@ packages: dev: false optional: true - /@swc/core-win32-arm64-msvc/1.9.3: - resolution: {integrity: sha512-e+XmltDVIHieUnNJHtspn6B+PCcFOMYXNJB1GqoCcyinkEIQNwC8KtWgMqUucUbEWJkPc35NHy9k8aCXRmw9Kg==} + /@swc/core-win32-arm64-msvc/1.10.1: + resolution: {integrity: sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -9760,8 +9826,8 @@ packages: dev: false optional: true - /@swc/core-win32-ia32-msvc/1.9.3: - resolution: {integrity: sha512-rqpzNfpAooSL4UfQnHhkW8aL+oyjqJniDP0qwZfGnjDoJSbtPysHg2LpcOBEdSnEH+uIZq6J96qf0ZFD8AGfXA==} + /@swc/core-win32-ia32-msvc/1.10.1: + resolution: {integrity: sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -9769,8 +9835,8 @@ packages: dev: false optional: true - /@swc/core-win32-x64-msvc/1.9.3: - resolution: {integrity: sha512-3YJJLQ5suIEHEKc1GHtqVq475guiyqisKSoUnoaRtxkDaW5g1yvPt9IoSLOe2mRs7+FFhGGU693RsBUSwOXSdQ==} + /@swc/core-win32-x64-msvc/1.10.1: + resolution: {integrity: sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -9778,8 +9844,8 @@ packages: dev: false optional: true - /@swc/core/1.9.3: - resolution: {integrity: sha512-oRj0AFePUhtatX+BscVhnzaAmWjpfAeySpM1TCbxA1rtBDeH/JDhi5yYzAKneDYtVtBvA7ApfeuzhMC9ye4xSg==} + /@swc/core/1.10.1: + resolution: {integrity: sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -9791,16 +9857,16 @@ packages: '@swc/counter': 0.1.3 '@swc/types': 0.1.17 optionalDependencies: - '@swc/core-darwin-arm64': 1.9.3 - '@swc/core-darwin-x64': 1.9.3 - '@swc/core-linux-arm-gnueabihf': 1.9.3 - '@swc/core-linux-arm64-gnu': 1.9.3 - '@swc/core-linux-arm64-musl': 1.9.3 - '@swc/core-linux-x64-gnu': 1.9.3 - '@swc/core-linux-x64-musl': 1.9.3 - '@swc/core-win32-arm64-msvc': 1.9.3 - '@swc/core-win32-ia32-msvc': 1.9.3 - '@swc/core-win32-x64-msvc': 1.9.3 + '@swc/core-darwin-arm64': 1.10.1 + '@swc/core-darwin-x64': 1.10.1 + '@swc/core-linux-arm-gnueabihf': 1.10.1 + '@swc/core-linux-arm64-gnu': 1.10.1 + '@swc/core-linux-arm64-musl': 1.10.1 + '@swc/core-linux-x64-gnu': 1.10.1 + '@swc/core-linux-x64-musl': 1.10.1 + '@swc/core-win32-arm64-msvc': 1.10.1 + '@swc/core-win32-ia32-msvc': 1.10.1 + '@swc/core-win32-x64-msvc': 1.10.1 dev: false /@swc/counter/0.1.3: @@ -10172,12 +10238,6 @@ packages: dependencies: undici-types: 6.20.0 - /@types/node/22.9.3: - resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==} - dependencies: - undici-types: 6.19.8 - dev: true - /@types/normalize-package-data/2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -17674,7 +17734,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 22.9.3 + '@types/node': 22.10.1 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -24274,10 +24334,6 @@ packages: resolution: {integrity: sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==} dev: false - /undici-types/6.19.8: - resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - dev: true - /undici-types/6.20.0: resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}