From 6448b91fc3e259da84aa18ec7991e9a7073200bd Mon Sep 17 00:00:00 2001 From: Michael Dowse Date: Thu, 10 Oct 2024 12:12:22 +0200 Subject: [PATCH 1/2] chore: Use @cloudscape-design/build-tools stylelint rules --- .stylelintrc | 2 +- build-tools/stylelint/index.js | 5 - build-tools/stylelint/license-headers.js | 56 ----- build-tools/stylelint/package.json | 3 - package-lock.json | 291 +++++++++++++++++++++++ package.json | 1 + 6 files changed, 293 insertions(+), 65 deletions(-) delete mode 100644 build-tools/stylelint/index.js delete mode 100644 build-tools/stylelint/license-headers.js delete mode 100644 build-tools/stylelint/package.json diff --git a/.stylelintrc b/.stylelintrc index 3aa39bf0..8623eb88 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -16,5 +16,5 @@ } ] }, - "plugins": ["./build-tools/stylelint"] + "plugins": ["@cloudscape-design/build-tools/stylelint"] } diff --git a/build-tools/stylelint/index.js b/build-tools/stylelint/index.js deleted file mode 100644 index 2b1fc6b5..00000000 --- a/build-tools/stylelint/index.js +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -// SPDX-License-Identifier: Apache-2.0 -import licenseHeaders from "./license-headers.js"; - -export default [licenseHeaders]; diff --git a/build-tools/stylelint/license-headers.js b/build-tools/stylelint/license-headers.js deleted file mode 100644 index 84c47daa..00000000 --- a/build-tools/stylelint/license-headers.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -// SPDX-License-Identifier: Apache-2.0 -import stylelint from "stylelint"; - -const ruleName = "@cloudscape-design/license-headers"; -const messages = stylelint.utils.ruleMessages(ruleName, { - rejected: "Missing license header", -}); - -function licenseHeadersPlugin(enabled, { header }, context) { - if (!enabled) { - return; - } - - if (!header) { - throw new Error(`stylelint ${ruleName} rule requires a header option.`); - } - - const trimmedHeader = header.trim(); - - return (root, result) => { - let foundComment = false; - let firstComment = null; - - root.walkComments(function (comment) { - if (comment.parent.type === "root" && comment === comment.parent.first) { - if (!firstComment) { - firstComment = comment; - } - - if (comment.text.trim() === trimmedHeader) { - foundComment = true; - } - } - }); - - if (!foundComment) { - if (context.fix) { - const newComment = `/*${header}*/\n\n`; - root.prepend(newComment); - } else { - stylelint.utils.report({ - message: messages.rejected, - node: firstComment || root, - result, - ruleName, - }); - } - } - }; -} - -licenseHeadersPlugin.ruleName = ruleName; -licenseHeadersPlugin.messages = messages; - -export default stylelint.createPlugin(ruleName, licenseHeadersPlugin); diff --git a/build-tools/stylelint/package.json b/build-tools/stylelint/package.json deleted file mode 100644 index 3dbc1ca5..00000000 --- a/build-tools/stylelint/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} diff --git a/package-lock.json b/package-lock.json index b75b369f..2c841255 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ }, "devDependencies": { "@cloudscape-design/browser-test-tools": "^3.0.4", + "@cloudscape-design/build-tools": "^3.0.1", "@cloudscape-design/components": "^3", "@cloudscape-design/design-tokens": "^3", "@cloudscape-design/documenter": "^1.0.0", @@ -1307,6 +1308,155 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@cloudscape-design/browser-test-tools": { + "version": "3.0.71", + "resolved": "https://registry.npmjs.org/@cloudscape-design/browser-test-tools/-/browser-test-tools-3.0.71.tgz", + "integrity": "sha512-ZPRKsuvvgU4lPuSomD8NzKYux6oSAJyARxZhbAIFeerXREC+j9+VlFGz+lDSuIc2pA4MVx0RiMPZgTspsSoB4A==", + "dev": true, + "dependencies": { + "@aws-sdk/client-device-farm": "^3.623.0", + "@types/pngjs": "^6.0.4", + "get-stream": "^6.0.1", + "lodash": "^4.17.21", + "p-retry": "^4.6.2", + "pixelmatch": "^5.3.0", + "pngjs": "^6.0.0", + "wait-on": "^7.2.0", + "webdriverio": "^7.25.2" + } + }, + "node_modules/@cloudscape-design/build-tools": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@cloudscape-design/build-tools/-/build-tools-3.0.1.tgz", + "integrity": "sha512-nezgYAYxQD2sKgSot1JKGSm1VEJnlNzSXlvmz1k1JA/EZDmyKjLQqcE+KHSjkHKDVcYsenN+B4nSF0nJYWBWfg==", + "dev": true, + "peerDependencies": { + "stylelint": "^16.8.1" + } + }, + "node_modules/@cloudscape-design/collection-hooks": { + "version": "1.0.54", + "resolved": "https://registry.npmjs.org/@cloudscape-design/collection-hooks/-/collection-hooks-1.0.54.tgz", + "integrity": "sha512-cp2uobsYkVgjneXhD2kD+VTRibtOVzixKx9W2s2B7dWdP1rMSB/3OFdnKWM53KHdZkjdXABahZtJwnXVs9XHXQ==", + "dev": true, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/@cloudscape-design/component-toolkit": { + "version": "1.0.0-beta.75", + "resolved": "https://registry.npmjs.org/@cloudscape-design/component-toolkit/-/component-toolkit-1.0.0-beta.75.tgz", + "integrity": "sha512-W9RNu6RRzFLl7r6uAqNGw+vdWhMEAEvy+Db7SW+4OsbjZ2sp5fu9m3aFUBfi3kryju+C8F3Dxum3aDLfgI001Q==", + "dependencies": { + "@juggle/resize-observer": "^3.3.1", + "tslib": "^2.3.1" + } + }, + "node_modules/@cloudscape-design/components": { + "version": "3.0.780", + "resolved": "https://registry.npmjs.org/@cloudscape-design/components/-/components-3.0.780.tgz", + "integrity": "sha512-pGpWUO8t3l5s4TTWkGkMlaqpj0/idQsvnpQQTDHzhyJXPZFOjAn7j82QOrFriQI8OD+is6wQAuN/kKaAHd8TEA==", + "dev": true, + "dependencies": { + "@cloudscape-design/collection-hooks": "^1.0.0", + "@cloudscape-design/component-toolkit": "^1.0.0-beta", + "@cloudscape-design/test-utils-core": "^1.0.0", + "@cloudscape-design/theming-runtime": "^1.0.0", + "@dnd-kit/core": "^6.0.8", + "@dnd-kit/sortable": "^7.0.2", + "@dnd-kit/utilities": "^3.2.1", + "@juggle/resize-observer": "^3.3.1", + "ace-builds": "^1.34.0", + "balanced-match": "^1.0.2", + "clsx": "^1.1.0", + "d3-shape": "^1.3.7", + "date-fns": "^2.25.0", + "intl-messageformat": "^10.3.1", + "mnth": "^2.0.0", + "react-keyed-flatten-children": "^1.3.0", + "react-transition-group": "^4.4.2", + "tslib": "^2.4.0", + "weekstart": "^1.1.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17 || ^18", + "react-dom": "^16.8 || ^17 || ^18" + } + }, + "node_modules/@cloudscape-design/design-tokens": { + "version": "3.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/design-tokens/-/design-tokens-3.0.44.tgz", + "integrity": "sha512-Rn1r9JsGKbS8bjWMbpCEzDPokuhVVmSnbxgYzZgd9iSNSnWTHASF3GJlzfp6anglrpaJG/q3/lJstCGa6DKM+w==", + "dev": true + }, + "node_modules/@cloudscape-design/documenter": { + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/@cloudscape-design/documenter/-/documenter-1.0.30.tgz", + "integrity": "sha512-3YumYyIDYi4/P8HPuzLgQarkYm+ugJ9uG9ppL4MdsxeE5zz8ZaP9mVPMjz/9jERMBWMI18qOvsxGhUnfYyNBGQ==", + "dev": true, + "dependencies": { + "change-case": "^4.1.1", + "micromatch": "^4.0.8", + "pathe": "^1.1.2", + "typedoc": "~0.19.2" + } + }, + "node_modules/@cloudscape-design/global-styles": { + "version": "1.0.32", + "resolved": "https://registry.npmjs.org/@cloudscape-design/global-styles/-/global-styles-1.0.32.tgz", + "integrity": "sha512-3X7YEnzB7U0HeWS2iGIXWgdUAfloWVm+skzJlFkj0MNGIZ7jpI5rH9u9jLFsS021a4WrpK12FM+cwgLjzAq03A==", + "dev": true + }, + "node_modules/@cloudscape-design/test-utils-converter": { + "version": "1.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-converter/-/test-utils-converter-1.0.44.tgz", + "integrity": "sha512-72c2jmvhhSBd2fOeMPMSHqlXKI05WLbTzg+I0MFzCzB82pJwjLAQIhU2BO6zEapjcVZ2qES+EBqx9QrbxF9Qag==", + "dev": true, + "dependencies": { + "@babel/core": "^7.16.0", + "@babel/plugin-syntax-decorators": "^7.16.0", + "@babel/plugin-syntax-typescript": "^7.16.0", + "glob": "^7.2.0" + } + }, + "node_modules/@cloudscape-design/test-utils-core": { + "version": "1.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-core/-/test-utils-core-1.0.44.tgz", + "integrity": "sha512-2nGG763Nsbac03ct4KfqH+ec/0UVrs/sjILQTInAPg9em3E9W1IPbF4nV0MBKUd1irgxwKmmbBiZNFfTFjpiqA==", + "dependencies": { + "css-selector-tokenizer": "^0.8.0", + "css.escape": "^1.5.1" + } + }, + "node_modules/@cloudscape-design/theming-build": { + "version": "1.0.70", + "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-build/-/theming-build-1.0.70.tgz", + "integrity": "sha512-+tA8grn5m/VbkMUwTEjO5Msi+Cvx8Bu2x8s8/XwK1XloJIPxJQoTtaJPhHbhDGxyAN62zSVonsFGmxyCcaJupw==", + "dev": true, + "dependencies": { + "autoprefixer": "^10.4.8", + "glob": "^7.2.3", + "jsonschema": "^1.4.1", + "loader-utils": "^3.2.1", + "lodash": "^4.17.21", + "postcss": "^8.4.31", + "postcss-discard-empty": "^6.0.0", + "postcss-inline-svg": "^6.0.0", + "postcss-modules": "^6.0.0", + "sass": "^1.77.8", + "string-hash": "^1.1.3", + "tslib": "^2.4.0" + } + }, + "node_modules/@cloudscape-design/theming-runtime": { + "version": "1.0.63", + "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-runtime/-/theming-runtime-1.0.63.tgz", + "integrity": "sha512-PDiNTdnLCDGHTWwNOQkyF/o5OJEScDLglsIY01qNA4NesiVzK9AtSJBlPTgZFWH5Bjp6ukkxdRuX/Ak+28GGLw==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@csstools/css-parser-algorithms": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz", @@ -18299,6 +18449,147 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "@cloudscape-design/browser-test-tools": { + "version": "3.0.71", + "resolved": "https://registry.npmjs.org/@cloudscape-design/browser-test-tools/-/browser-test-tools-3.0.71.tgz", + "integrity": "sha512-ZPRKsuvvgU4lPuSomD8NzKYux6oSAJyARxZhbAIFeerXREC+j9+VlFGz+lDSuIc2pA4MVx0RiMPZgTspsSoB4A==", + "dev": true, + "requires": { + "@aws-sdk/client-device-farm": "^3.623.0", + "@types/pngjs": "^6.0.4", + "get-stream": "^6.0.1", + "lodash": "^4.17.21", + "p-retry": "^4.6.2", + "pixelmatch": "^5.3.0", + "pngjs": "^6.0.0", + "wait-on": "^7.2.0", + "webdriverio": "^7.25.2" + } + }, + "@cloudscape-design/build-tools": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@cloudscape-design/build-tools/-/build-tools-3.0.1.tgz", + "integrity": "sha512-nezgYAYxQD2sKgSot1JKGSm1VEJnlNzSXlvmz1k1JA/EZDmyKjLQqcE+KHSjkHKDVcYsenN+B4nSF0nJYWBWfg==", + "dev": true, + "requires": {} + }, + "@cloudscape-design/collection-hooks": { + "version": "1.0.54", + "resolved": "https://registry.npmjs.org/@cloudscape-design/collection-hooks/-/collection-hooks-1.0.54.tgz", + "integrity": "sha512-cp2uobsYkVgjneXhD2kD+VTRibtOVzixKx9W2s2B7dWdP1rMSB/3OFdnKWM53KHdZkjdXABahZtJwnXVs9XHXQ==", + "dev": true, + "requires": {} + }, + "@cloudscape-design/component-toolkit": { + "version": "1.0.0-beta.75", + "resolved": "https://registry.npmjs.org/@cloudscape-design/component-toolkit/-/component-toolkit-1.0.0-beta.75.tgz", + "integrity": "sha512-W9RNu6RRzFLl7r6uAqNGw+vdWhMEAEvy+Db7SW+4OsbjZ2sp5fu9m3aFUBfi3kryju+C8F3Dxum3aDLfgI001Q==", + "requires": { + "@juggle/resize-observer": "^3.3.1", + "tslib": "^2.3.1" + } + }, + "@cloudscape-design/components": { + "version": "3.0.780", + "resolved": "https://registry.npmjs.org/@cloudscape-design/components/-/components-3.0.780.tgz", + "integrity": "sha512-pGpWUO8t3l5s4TTWkGkMlaqpj0/idQsvnpQQTDHzhyJXPZFOjAn7j82QOrFriQI8OD+is6wQAuN/kKaAHd8TEA==", + "dev": true, + "requires": { + "@cloudscape-design/collection-hooks": "^1.0.0", + "@cloudscape-design/component-toolkit": "^1.0.0-beta", + "@cloudscape-design/test-utils-core": "^1.0.0", + "@cloudscape-design/theming-runtime": "^1.0.0", + "@dnd-kit/core": "^6.0.8", + "@dnd-kit/sortable": "^7.0.2", + "@dnd-kit/utilities": "^3.2.1", + "@juggle/resize-observer": "^3.3.1", + "ace-builds": "^1.34.0", + "balanced-match": "^1.0.2", + "clsx": "^1.1.0", + "d3-shape": "^1.3.7", + "date-fns": "^2.25.0", + "intl-messageformat": "^10.3.1", + "mnth": "^2.0.0", + "react-keyed-flatten-children": "^1.3.0", + "react-transition-group": "^4.4.2", + "tslib": "^2.4.0", + "weekstart": "^1.1.0" + } + }, + "@cloudscape-design/design-tokens": { + "version": "3.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/design-tokens/-/design-tokens-3.0.44.tgz", + "integrity": "sha512-Rn1r9JsGKbS8bjWMbpCEzDPokuhVVmSnbxgYzZgd9iSNSnWTHASF3GJlzfp6anglrpaJG/q3/lJstCGa6DKM+w==", + "dev": true + }, + "@cloudscape-design/documenter": { + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/@cloudscape-design/documenter/-/documenter-1.0.30.tgz", + "integrity": "sha512-3YumYyIDYi4/P8HPuzLgQarkYm+ugJ9uG9ppL4MdsxeE5zz8ZaP9mVPMjz/9jERMBWMI18qOvsxGhUnfYyNBGQ==", + "dev": true, + "requires": { + "change-case": "^4.1.1", + "micromatch": "^4.0.8", + "pathe": "^1.1.2", + "typedoc": "~0.19.2" + } + }, + "@cloudscape-design/global-styles": { + "version": "1.0.32", + "resolved": "https://registry.npmjs.org/@cloudscape-design/global-styles/-/global-styles-1.0.32.tgz", + "integrity": "sha512-3X7YEnzB7U0HeWS2iGIXWgdUAfloWVm+skzJlFkj0MNGIZ7jpI5rH9u9jLFsS021a4WrpK12FM+cwgLjzAq03A==", + "dev": true + }, + "@cloudscape-design/test-utils-converter": { + "version": "1.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-converter/-/test-utils-converter-1.0.44.tgz", + "integrity": "sha512-72c2jmvhhSBd2fOeMPMSHqlXKI05WLbTzg+I0MFzCzB82pJwjLAQIhU2BO6zEapjcVZ2qES+EBqx9QrbxF9Qag==", + "dev": true, + "requires": { + "@babel/core": "^7.16.0", + "@babel/plugin-syntax-decorators": "^7.16.0", + "@babel/plugin-syntax-typescript": "^7.16.0", + "glob": "^7.2.0" + } + }, + "@cloudscape-design/test-utils-core": { + "version": "1.0.44", + "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-core/-/test-utils-core-1.0.44.tgz", + "integrity": "sha512-2nGG763Nsbac03ct4KfqH+ec/0UVrs/sjILQTInAPg9em3E9W1IPbF4nV0MBKUd1irgxwKmmbBiZNFfTFjpiqA==", + "requires": { + "css-selector-tokenizer": "^0.8.0", + "css.escape": "^1.5.1" + } + }, + "@cloudscape-design/theming-build": { + "version": "1.0.70", + "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-build/-/theming-build-1.0.70.tgz", + "integrity": "sha512-+tA8grn5m/VbkMUwTEjO5Msi+Cvx8Bu2x8s8/XwK1XloJIPxJQoTtaJPhHbhDGxyAN62zSVonsFGmxyCcaJupw==", + "dev": true, + "requires": { + "autoprefixer": "^10.4.8", + "glob": "^7.2.3", + "jsonschema": "^1.4.1", + "loader-utils": "^3.2.1", + "lodash": "^4.17.21", + "postcss": "^8.4.31", + "postcss-discard-empty": "^6.0.0", + "postcss-inline-svg": "^6.0.0", + "postcss-modules": "^6.0.0", + "sass": "^1.77.8", + "string-hash": "^1.1.3", + "tslib": "^2.4.0" + } + }, + "@cloudscape-design/theming-runtime": { + "version": "1.0.63", + "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-runtime/-/theming-runtime-1.0.63.tgz", + "integrity": "sha512-PDiNTdnLCDGHTWwNOQkyF/o5OJEScDLglsIY01qNA4NesiVzK9AtSJBlPTgZFWH5Bjp6ukkxdRuX/Ak+28GGLw==", + "dev": true, + "requires": { + "tslib": "^2.4.0" + } + }, "@csstools/css-parser-algorithms": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz", diff --git a/package.json b/package.json index ac253c05..35eb825e 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ }, "devDependencies": { "@cloudscape-design/browser-test-tools": "^3.0.4", + "@cloudscape-design/build-tools": "^3.0.1", "@cloudscape-design/components": "^3", "@cloudscape-design/design-tokens": "^3", "@cloudscape-design/documenter": "^1.0.0", From 327ae98d20523afe14487d9783cc9c236b2fd8bc Mon Sep 17 00:00:00 2001 From: Michael Dowse Date: Thu, 10 Oct 2024 12:28:19 +0200 Subject: [PATCH 2/2] Remove cloudscape-design dependencies from package-lock --- package-lock.json | 290 ---------------------------------------------- 1 file changed, 290 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2c841255..eb0ff79f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1308,155 +1308,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "node_modules/@cloudscape-design/browser-test-tools": { - "version": "3.0.71", - "resolved": "https://registry.npmjs.org/@cloudscape-design/browser-test-tools/-/browser-test-tools-3.0.71.tgz", - "integrity": "sha512-ZPRKsuvvgU4lPuSomD8NzKYux6oSAJyARxZhbAIFeerXREC+j9+VlFGz+lDSuIc2pA4MVx0RiMPZgTspsSoB4A==", - "dev": true, - "dependencies": { - "@aws-sdk/client-device-farm": "^3.623.0", - "@types/pngjs": "^6.0.4", - "get-stream": "^6.0.1", - "lodash": "^4.17.21", - "p-retry": "^4.6.2", - "pixelmatch": "^5.3.0", - "pngjs": "^6.0.0", - "wait-on": "^7.2.0", - "webdriverio": "^7.25.2" - } - }, - "node_modules/@cloudscape-design/build-tools": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@cloudscape-design/build-tools/-/build-tools-3.0.1.tgz", - "integrity": "sha512-nezgYAYxQD2sKgSot1JKGSm1VEJnlNzSXlvmz1k1JA/EZDmyKjLQqcE+KHSjkHKDVcYsenN+B4nSF0nJYWBWfg==", - "dev": true, - "peerDependencies": { - "stylelint": "^16.8.1" - } - }, - "node_modules/@cloudscape-design/collection-hooks": { - "version": "1.0.54", - "resolved": "https://registry.npmjs.org/@cloudscape-design/collection-hooks/-/collection-hooks-1.0.54.tgz", - "integrity": "sha512-cp2uobsYkVgjneXhD2kD+VTRibtOVzixKx9W2s2B7dWdP1rMSB/3OFdnKWM53KHdZkjdXABahZtJwnXVs9XHXQ==", - "dev": true, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@cloudscape-design/component-toolkit": { - "version": "1.0.0-beta.75", - "resolved": "https://registry.npmjs.org/@cloudscape-design/component-toolkit/-/component-toolkit-1.0.0-beta.75.tgz", - "integrity": "sha512-W9RNu6RRzFLl7r6uAqNGw+vdWhMEAEvy+Db7SW+4OsbjZ2sp5fu9m3aFUBfi3kryju+C8F3Dxum3aDLfgI001Q==", - "dependencies": { - "@juggle/resize-observer": "^3.3.1", - "tslib": "^2.3.1" - } - }, - "node_modules/@cloudscape-design/components": { - "version": "3.0.780", - "resolved": "https://registry.npmjs.org/@cloudscape-design/components/-/components-3.0.780.tgz", - "integrity": "sha512-pGpWUO8t3l5s4TTWkGkMlaqpj0/idQsvnpQQTDHzhyJXPZFOjAn7j82QOrFriQI8OD+is6wQAuN/kKaAHd8TEA==", - "dev": true, - "dependencies": { - "@cloudscape-design/collection-hooks": "^1.0.0", - "@cloudscape-design/component-toolkit": "^1.0.0-beta", - "@cloudscape-design/test-utils-core": "^1.0.0", - "@cloudscape-design/theming-runtime": "^1.0.0", - "@dnd-kit/core": "^6.0.8", - "@dnd-kit/sortable": "^7.0.2", - "@dnd-kit/utilities": "^3.2.1", - "@juggle/resize-observer": "^3.3.1", - "ace-builds": "^1.34.0", - "balanced-match": "^1.0.2", - "clsx": "^1.1.0", - "d3-shape": "^1.3.7", - "date-fns": "^2.25.0", - "intl-messageformat": "^10.3.1", - "mnth": "^2.0.0", - "react-keyed-flatten-children": "^1.3.0", - "react-transition-group": "^4.4.2", - "tslib": "^2.4.0", - "weekstart": "^1.1.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17 || ^18", - "react-dom": "^16.8 || ^17 || ^18" - } - }, - "node_modules/@cloudscape-design/design-tokens": { - "version": "3.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/design-tokens/-/design-tokens-3.0.44.tgz", - "integrity": "sha512-Rn1r9JsGKbS8bjWMbpCEzDPokuhVVmSnbxgYzZgd9iSNSnWTHASF3GJlzfp6anglrpaJG/q3/lJstCGa6DKM+w==", - "dev": true - }, - "node_modules/@cloudscape-design/documenter": { - "version": "1.0.30", - "resolved": "https://registry.npmjs.org/@cloudscape-design/documenter/-/documenter-1.0.30.tgz", - "integrity": "sha512-3YumYyIDYi4/P8HPuzLgQarkYm+ugJ9uG9ppL4MdsxeE5zz8ZaP9mVPMjz/9jERMBWMI18qOvsxGhUnfYyNBGQ==", - "dev": true, - "dependencies": { - "change-case": "^4.1.1", - "micromatch": "^4.0.8", - "pathe": "^1.1.2", - "typedoc": "~0.19.2" - } - }, - "node_modules/@cloudscape-design/global-styles": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/@cloudscape-design/global-styles/-/global-styles-1.0.32.tgz", - "integrity": "sha512-3X7YEnzB7U0HeWS2iGIXWgdUAfloWVm+skzJlFkj0MNGIZ7jpI5rH9u9jLFsS021a4WrpK12FM+cwgLjzAq03A==", - "dev": true - }, - "node_modules/@cloudscape-design/test-utils-converter": { - "version": "1.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-converter/-/test-utils-converter-1.0.44.tgz", - "integrity": "sha512-72c2jmvhhSBd2fOeMPMSHqlXKI05WLbTzg+I0MFzCzB82pJwjLAQIhU2BO6zEapjcVZ2qES+EBqx9QrbxF9Qag==", - "dev": true, - "dependencies": { - "@babel/core": "^7.16.0", - "@babel/plugin-syntax-decorators": "^7.16.0", - "@babel/plugin-syntax-typescript": "^7.16.0", - "glob": "^7.2.0" - } - }, - "node_modules/@cloudscape-design/test-utils-core": { - "version": "1.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-core/-/test-utils-core-1.0.44.tgz", - "integrity": "sha512-2nGG763Nsbac03ct4KfqH+ec/0UVrs/sjILQTInAPg9em3E9W1IPbF4nV0MBKUd1irgxwKmmbBiZNFfTFjpiqA==", - "dependencies": { - "css-selector-tokenizer": "^0.8.0", - "css.escape": "^1.5.1" - } - }, - "node_modules/@cloudscape-design/theming-build": { - "version": "1.0.70", - "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-build/-/theming-build-1.0.70.tgz", - "integrity": "sha512-+tA8grn5m/VbkMUwTEjO5Msi+Cvx8Bu2x8s8/XwK1XloJIPxJQoTtaJPhHbhDGxyAN62zSVonsFGmxyCcaJupw==", - "dev": true, - "dependencies": { - "autoprefixer": "^10.4.8", - "glob": "^7.2.3", - "jsonschema": "^1.4.1", - "loader-utils": "^3.2.1", - "lodash": "^4.17.21", - "postcss": "^8.4.31", - "postcss-discard-empty": "^6.0.0", - "postcss-inline-svg": "^6.0.0", - "postcss-modules": "^6.0.0", - "sass": "^1.77.8", - "string-hash": "^1.1.3", - "tslib": "^2.4.0" - } - }, - "node_modules/@cloudscape-design/theming-runtime": { - "version": "1.0.63", - "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-runtime/-/theming-runtime-1.0.63.tgz", - "integrity": "sha512-PDiNTdnLCDGHTWwNOQkyF/o5OJEScDLglsIY01qNA4NesiVzK9AtSJBlPTgZFWH5Bjp6ukkxdRuX/Ak+28GGLw==", - "dev": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, "node_modules/@csstools/css-parser-algorithms": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz", @@ -18449,147 +18300,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "@cloudscape-design/browser-test-tools": { - "version": "3.0.71", - "resolved": "https://registry.npmjs.org/@cloudscape-design/browser-test-tools/-/browser-test-tools-3.0.71.tgz", - "integrity": "sha512-ZPRKsuvvgU4lPuSomD8NzKYux6oSAJyARxZhbAIFeerXREC+j9+VlFGz+lDSuIc2pA4MVx0RiMPZgTspsSoB4A==", - "dev": true, - "requires": { - "@aws-sdk/client-device-farm": "^3.623.0", - "@types/pngjs": "^6.0.4", - "get-stream": "^6.0.1", - "lodash": "^4.17.21", - "p-retry": "^4.6.2", - "pixelmatch": "^5.3.0", - "pngjs": "^6.0.0", - "wait-on": "^7.2.0", - "webdriverio": "^7.25.2" - } - }, - "@cloudscape-design/build-tools": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@cloudscape-design/build-tools/-/build-tools-3.0.1.tgz", - "integrity": "sha512-nezgYAYxQD2sKgSot1JKGSm1VEJnlNzSXlvmz1k1JA/EZDmyKjLQqcE+KHSjkHKDVcYsenN+B4nSF0nJYWBWfg==", - "dev": true, - "requires": {} - }, - "@cloudscape-design/collection-hooks": { - "version": "1.0.54", - "resolved": "https://registry.npmjs.org/@cloudscape-design/collection-hooks/-/collection-hooks-1.0.54.tgz", - "integrity": "sha512-cp2uobsYkVgjneXhD2kD+VTRibtOVzixKx9W2s2B7dWdP1rMSB/3OFdnKWM53KHdZkjdXABahZtJwnXVs9XHXQ==", - "dev": true, - "requires": {} - }, - "@cloudscape-design/component-toolkit": { - "version": "1.0.0-beta.75", - "resolved": "https://registry.npmjs.org/@cloudscape-design/component-toolkit/-/component-toolkit-1.0.0-beta.75.tgz", - "integrity": "sha512-W9RNu6RRzFLl7r6uAqNGw+vdWhMEAEvy+Db7SW+4OsbjZ2sp5fu9m3aFUBfi3kryju+C8F3Dxum3aDLfgI001Q==", - "requires": { - "@juggle/resize-observer": "^3.3.1", - "tslib": "^2.3.1" - } - }, - "@cloudscape-design/components": { - "version": "3.0.780", - "resolved": "https://registry.npmjs.org/@cloudscape-design/components/-/components-3.0.780.tgz", - "integrity": "sha512-pGpWUO8t3l5s4TTWkGkMlaqpj0/idQsvnpQQTDHzhyJXPZFOjAn7j82QOrFriQI8OD+is6wQAuN/kKaAHd8TEA==", - "dev": true, - "requires": { - "@cloudscape-design/collection-hooks": "^1.0.0", - "@cloudscape-design/component-toolkit": "^1.0.0-beta", - "@cloudscape-design/test-utils-core": "^1.0.0", - "@cloudscape-design/theming-runtime": "^1.0.0", - "@dnd-kit/core": "^6.0.8", - "@dnd-kit/sortable": "^7.0.2", - "@dnd-kit/utilities": "^3.2.1", - "@juggle/resize-observer": "^3.3.1", - "ace-builds": "^1.34.0", - "balanced-match": "^1.0.2", - "clsx": "^1.1.0", - "d3-shape": "^1.3.7", - "date-fns": "^2.25.0", - "intl-messageformat": "^10.3.1", - "mnth": "^2.0.0", - "react-keyed-flatten-children": "^1.3.0", - "react-transition-group": "^4.4.2", - "tslib": "^2.4.0", - "weekstart": "^1.1.0" - } - }, - "@cloudscape-design/design-tokens": { - "version": "3.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/design-tokens/-/design-tokens-3.0.44.tgz", - "integrity": "sha512-Rn1r9JsGKbS8bjWMbpCEzDPokuhVVmSnbxgYzZgd9iSNSnWTHASF3GJlzfp6anglrpaJG/q3/lJstCGa6DKM+w==", - "dev": true - }, - "@cloudscape-design/documenter": { - "version": "1.0.30", - "resolved": "https://registry.npmjs.org/@cloudscape-design/documenter/-/documenter-1.0.30.tgz", - "integrity": "sha512-3YumYyIDYi4/P8HPuzLgQarkYm+ugJ9uG9ppL4MdsxeE5zz8ZaP9mVPMjz/9jERMBWMI18qOvsxGhUnfYyNBGQ==", - "dev": true, - "requires": { - "change-case": "^4.1.1", - "micromatch": "^4.0.8", - "pathe": "^1.1.2", - "typedoc": "~0.19.2" - } - }, - "@cloudscape-design/global-styles": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/@cloudscape-design/global-styles/-/global-styles-1.0.32.tgz", - "integrity": "sha512-3X7YEnzB7U0HeWS2iGIXWgdUAfloWVm+skzJlFkj0MNGIZ7jpI5rH9u9jLFsS021a4WrpK12FM+cwgLjzAq03A==", - "dev": true - }, - "@cloudscape-design/test-utils-converter": { - "version": "1.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-converter/-/test-utils-converter-1.0.44.tgz", - "integrity": "sha512-72c2jmvhhSBd2fOeMPMSHqlXKI05WLbTzg+I0MFzCzB82pJwjLAQIhU2BO6zEapjcVZ2qES+EBqx9QrbxF9Qag==", - "dev": true, - "requires": { - "@babel/core": "^7.16.0", - "@babel/plugin-syntax-decorators": "^7.16.0", - "@babel/plugin-syntax-typescript": "^7.16.0", - "glob": "^7.2.0" - } - }, - "@cloudscape-design/test-utils-core": { - "version": "1.0.44", - "resolved": "https://registry.npmjs.org/@cloudscape-design/test-utils-core/-/test-utils-core-1.0.44.tgz", - "integrity": "sha512-2nGG763Nsbac03ct4KfqH+ec/0UVrs/sjILQTInAPg9em3E9W1IPbF4nV0MBKUd1irgxwKmmbBiZNFfTFjpiqA==", - "requires": { - "css-selector-tokenizer": "^0.8.0", - "css.escape": "^1.5.1" - } - }, - "@cloudscape-design/theming-build": { - "version": "1.0.70", - "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-build/-/theming-build-1.0.70.tgz", - "integrity": "sha512-+tA8grn5m/VbkMUwTEjO5Msi+Cvx8Bu2x8s8/XwK1XloJIPxJQoTtaJPhHbhDGxyAN62zSVonsFGmxyCcaJupw==", - "dev": true, - "requires": { - "autoprefixer": "^10.4.8", - "glob": "^7.2.3", - "jsonschema": "^1.4.1", - "loader-utils": "^3.2.1", - "lodash": "^4.17.21", - "postcss": "^8.4.31", - "postcss-discard-empty": "^6.0.0", - "postcss-inline-svg": "^6.0.0", - "postcss-modules": "^6.0.0", - "sass": "^1.77.8", - "string-hash": "^1.1.3", - "tslib": "^2.4.0" - } - }, - "@cloudscape-design/theming-runtime": { - "version": "1.0.63", - "resolved": "https://registry.npmjs.org/@cloudscape-design/theming-runtime/-/theming-runtime-1.0.63.tgz", - "integrity": "sha512-PDiNTdnLCDGHTWwNOQkyF/o5OJEScDLglsIY01qNA4NesiVzK9AtSJBlPTgZFWH5Bjp6ukkxdRuX/Ak+28GGLw==", - "dev": true, - "requires": { - "tslib": "^2.4.0" - } - }, "@csstools/css-parser-algorithms": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz",