diff --git a/.yarn/cache/@carbon-icon-helpers-npm-10.44.0-159592a2ec-c61b711ef7.zip b/.yarn/cache/@carbon-icon-helpers-npm-10.44.0-159592a2ec-c61b711ef7.zip new file mode 100644 index 000000000000..3250c6eff14a Binary files /dev/null and b/.yarn/cache/@carbon-icon-helpers-npm-10.44.0-159592a2ec-c61b711ef7.zip differ diff --git a/config/typescript-config-carbon/package.json b/config/typescript-config-carbon/package.json index 13266790a6bc..fd619ce6eca5 100644 --- a/config/typescript-config-carbon/package.json +++ b/config/typescript-config-carbon/package.json @@ -1,7 +1,7 @@ { "name": "typescript-config-carbon", "description": "TypeScript configuration for Carbon", - "version": "0.1.0", + "version": "0.2.0-rc.0", "license": "Apache-2.0", "main": "index.js", "types": "index.d.ts", diff --git a/examples/class-prefix/package.json b/examples/class-prefix/package.json index 34cb4b91d039..7bfab037a96c 100644 --- a/examples/class-prefix/package.json +++ b/examples/class-prefix/package.json @@ -1,7 +1,7 @@ { "name": "class-prefix", "private": true, - "version": "0.37.0", + "version": "0.38.0-rc.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/codesandbox-styles/package.json b/examples/codesandbox-styles/package.json index 79981bcf67e7..e8c1fbc56709 100644 --- a/examples/codesandbox-styles/package.json +++ b/examples/codesandbox-styles/package.json @@ -1,7 +1,7 @@ { "name": "codesandbox-styles", "private": true, - "version": "0.43.0", + "version": "0.44.0-rc.0", "type": "module", "scripts": { "dev": "vite" @@ -11,6 +11,6 @@ "vite": "^4.3.8" }, "dependencies": { - "@carbon/styles": "^1.40.0" + "@carbon/styles": "^1.41.0-rc.0" } } diff --git a/examples/codesandbox-with-sass-compilation/package.json b/examples/codesandbox-with-sass-compilation/package.json index b0172bed8c3e..52aac97637a9 100644 --- a/examples/codesandbox-with-sass-compilation/package.json +++ b/examples/codesandbox-with-sass-compilation/package.json @@ -1,9 +1,9 @@ { "name": "codesandbox-with-sass-compilation", - "version": "0.41.0", + "version": "0.42.0-rc.0", "private": true, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index fd8b572bfbec..2465893f23af 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -1,9 +1,9 @@ { "name": "codesandbox", - "version": "0.41.0", + "version": "0.42.0-rc.0", "private": true, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/custom-theme/package.json b/examples/custom-theme/package.json index d310535e01d7..51c6f8354abb 100644 --- a/examples/custom-theme/package.json +++ b/examples/custom-theme/package.json @@ -1,7 +1,7 @@ { "name": "custom-theme", "private": true, - "version": "0.38.0", + "version": "0.39.0-rc.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/id-prefix/package.json b/examples/id-prefix/package.json index f5ee8fd31210..24a933fc383c 100644 --- a/examples/id-prefix/package.json +++ b/examples/id-prefix/package.json @@ -1,7 +1,7 @@ { "name": "id-prefix", "private": true, - "version": "0.37.0", + "version": "0.38.0-rc.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/incremental-migration-vite/package.json b/examples/incremental-migration-vite/package.json index 27f11de0833e..27b7e8684d6c 100644 --- a/examples/incremental-migration-vite/package.json +++ b/examples/incremental-migration-vite/package.json @@ -1,7 +1,7 @@ { "name": "incremental-migration-vite", "private": true, - "version": "0.5.0", + "version": "0.6.0-rc.0", "scripts": { "dev": "vite", "build": "vite build", @@ -12,7 +12,7 @@ }, "dependencies": { "@carbon/icons-react": "^10.49.0", - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "carbon-components": "^10.57.0", "carbon-components-react": "^7.57.0", "carbon-icons": "^7.0.7", diff --git a/examples/light-dark-mode/package.json b/examples/light-dark-mode/package.json index f6dd7292278c..0665259b1cbf 100644 --- a/examples/light-dark-mode/package.json +++ b/examples/light-dark-mode/package.json @@ -1,7 +1,7 @@ { "name": "examples-light-dark", "private": true, - "version": "0.38.0", + "version": "0.39.0-rc.0", "scripts": { "build": "next build", "dev": "next dev", @@ -9,7 +9,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "next": "12.1.4", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 01041395375a..89780eed2b8e 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -1,7 +1,7 @@ { "name": "examples-nextjs", "private": true, - "version": "0.40.0", + "version": "0.41.0-rc.0", "scripts": { "build": "next build", "dev": "next dev", @@ -9,7 +9,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "next": "13.4.7", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/v10-token-compat-in-v11/package.json b/examples/v10-token-compat-in-v11/package.json index da8336a39a1c..bdb1350e3dba 100644 --- a/examples/v10-token-compat-in-v11/package.json +++ b/examples/v10-token-compat-in-v11/package.json @@ -1,7 +1,7 @@ { "name": "v10-token-compat-in-v11", "private": true, - "version": "0.38.0", + "version": "0.39.0-rc.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/vite/package.json b/examples/vite/package.json index a631df03764e..4cfc991c281a 100644 --- a/examples/vite/package.json +++ b/examples/vite/package.json @@ -1,7 +1,7 @@ { "name": "vite", "private": true, - "version": "0.38.0", + "version": "0.39.0-rc.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/packages/carbon-components-react/package.json b/packages/carbon-components-react/package.json index 23506eeac630..1365877c0b6b 100644 --- a/packages/carbon-components-react/package.json +++ b/packages/carbon-components-react/package.json @@ -1,7 +1,7 @@ { "name": "carbon-components-react", "description": "The Carbon Design System is IBM’s open-source design system for products and experiences.", - "version": "8.40.0", + "version": "8.41.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -41,8 +41,8 @@ "sass": "^1.33.0" }, "dependencies": { - "@carbon/react": "^1.40.0", - "@carbon/styles": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", + "@carbon/styles": "^1.41.0-rc.0", "@carbon/telemetry": "0.1.0", "chalk": "1.1.3" }, diff --git a/packages/carbon-components/package.json b/packages/carbon-components/package.json index a084e2299bc4..6fbe7707696b 100644 --- a/packages/carbon-components/package.json +++ b/packages/carbon-components/package.json @@ -1,7 +1,7 @@ { "name": "carbon-components", "description": "The Carbon Design System is IBM’s open-source design system for products and experiences.", - "version": "11.40.0", + "version": "11.41.0-rc.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -42,7 +42,7 @@ "sass": "^1.33.0" }, "dependencies": { - "@carbon/styles": "^1.40.0", + "@carbon/styles": "^1.41.0-rc.0", "@carbon/telemetry": "0.1.0", "chalk": "1.1.3" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 156bbd964a23..6dfc1f5c79c3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/cli", "description": "Task automation for working with the Carbon Design System", - "version": "11.14.0", + "version": "11.15.0-rc.0", "license": "Apache-2.0", "bin": { "carbon-cli": "./bin/carbon-cli.js" @@ -51,7 +51,7 @@ "rollup": "^2.79.1", "sass": "^1.51.0", "sassdoc": "^2.7.3", - "typescript-config-carbon": "^0.1.0", + "typescript-config-carbon": "^0.2.0-rc.0", "yargs": "^17.0.1" } } diff --git a/packages/colors/package.json b/packages/colors/package.json index 73d55b5a15ff..38c8a82fd602 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/colors", "description": "Colors for digital and software products using the Carbon Design System", - "version": "11.19.0", + "version": "11.20.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -37,7 +37,7 @@ "clean": "rimraf css es lib umd scss index.scss" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", "@carbon/test-utils": "^10.30.0", diff --git a/packages/elements/package.json b/packages/elements/package.json index 9605cf8c3635..6f07db2ed060 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/elements", "description": "A collection of design elements in code for the IBM Design Language", - "version": "11.31.0", + "version": "11.32.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -36,16 +36,16 @@ "clean": "rimraf es lib umd" }, "dependencies": { - "@carbon/colors": "^11.19.0", - "@carbon/grid": "^11.20.0", - "@carbon/icons": "^11.28.0", - "@carbon/layout": "^11.19.0", - "@carbon/motion": "^11.15.0", - "@carbon/themes": "^11.25.0", - "@carbon/type": "^11.24.0" + "@carbon/colors": "^11.20.0-rc.0", + "@carbon/grid": "^11.21.0-rc.0", + "@carbon/icons": "^11.29.0-rc.0", + "@carbon/layout": "^11.20.0-rc.0", + "@carbon/motion": "^11.16.0-rc.0", + "@carbon/themes": "^11.26.0-rc.0", + "@carbon/type": "^11.25.0-rc.0" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "fs-extra": "^11.0.0", "klaw-sync": "^6.0.0", "replace-in-file": "^7.0.0", diff --git a/packages/grid/package.json b/packages/grid/package.json index d8062915fe26..626c2fbdf56d 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/grid", "description": "Grid for digital and software products using the Carbon Design System", - "version": "11.20.0", + "version": "11.21.0-rc.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -33,10 +33,10 @@ "clean": "rimraf scss/_inlined scss/vendor" }, "dependencies": { - "@carbon/layout": "^11.19.0" + "@carbon/layout": "^11.20.0-rc.0" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "rimraf": "^5.0.0" }, "eyeglass": { diff --git a/packages/icon-build-helpers/package.json b/packages/icon-build-helpers/package.json index 335437da8399..ad5d67d55878 100644 --- a/packages/icon-build-helpers/package.json +++ b/packages/icon-build-helpers/package.json @@ -2,7 +2,7 @@ "name": "@carbon/icon-build-helpers", "private": true, "description": "Build helpers for the Carbon Design System icon library", - "version": "1.18.0", + "version": "1.19.0-rc.0", "license": "Apache-2.0", "main": "src/index.js", "repository": { @@ -30,7 +30,7 @@ "@babel/template": "^7.16.7", "@babel/types": "^7.18.4", "@carbon/cli-reporter": "^10.7.0", - "@carbon/icon-helpers": "^10.44.0", + "@carbon/icon-helpers": "^10.45.0-rc.0", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-replace": "^5.0.0", "browserslist-config-carbon": "^11.2.0", @@ -51,6 +51,6 @@ "svg-parser": "^2.0.4", "svgo": "^1.1.1", "svgson": "^5.2.1", - "typescript-config-carbon": "^0.1.0" + "typescript-config-carbon": "^0.2.0-rc.0" } } diff --git a/packages/icon-helpers/package.json b/packages/icon-helpers/package.json index bead5523b549..9ef09bff0dbf 100644 --- a/packages/icon-helpers/package.json +++ b/packages/icon-helpers/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icon-helpers", "description": "Helpers used alongside icons for digital and software products using the Carbon Design System", - "version": "10.44.0", + "version": "10.45.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -34,9 +34,9 @@ "clean": "rimraf es lib umd" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "rimraf": "^5.0.0", - "typescript-config-carbon": "^0.1.0" + "typescript-config-carbon": "^0.2.0-rc.0" }, "sideEffects": false } diff --git a/packages/icons-react/package.json b/packages/icons-react/package.json index 041fa95e5f97..820c59e6d29b 100644 --- a/packages/icons-react/package.json +++ b/packages/icons-react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons-react", "description": "React components for icons in digital and software products using the Carbon Design System", - "version": "11.28.0", + "version": "11.29.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -37,13 +37,13 @@ "react": ">=16" }, "dependencies": { - "@carbon/icon-helpers": "^10.44.0", + "@carbon/icon-helpers": "^10.45.0-rc.0", "@carbon/telemetry": "0.1.0", "prop-types": "^15.7.2" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.18.0", - "@carbon/icons": "^11.28.0", + "@carbon/icon-build-helpers": "^1.19.0-rc.0", + "@carbon/icons": "^11.29.0-rc.0", "rimraf": "^5.0.0" }, "sideEffects": false diff --git a/packages/icons-vue/package.json b/packages/icons-vue/package.json index 527174faa424..c6c9d6f3efc9 100644 --- a/packages/icons-vue/package.json +++ b/packages/icons-vue/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons-vue", "description": "Vue components for icons in digital and software products using the Carbon Design System", - "version": "10.77.0", + "version": "10.78.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -29,11 +29,11 @@ "clean": "rimraf es lib" }, "dependencies": { - "@carbon/icon-helpers": "^10.44.0" + "@carbon/icon-helpers": "^10.45.0-rc.0" }, "devDependencies": { "@carbon/cli-reporter": "^10.7.0", - "@carbon/icons": "^11.28.0", + "@carbon/icons": "^11.29.0-rc.0", "fs-extra": "^11.0.0", "prettier": "^2.8.8", "rimraf": "^5.0.0", diff --git a/packages/icons/package.json b/packages/icons/package.json index 4a85e2e0f22f..b2c3e0ba4c8b 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons", "description": "Icons for digital and software products using the Carbon Design System", - "version": "11.28.0", + "version": "11.29.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -39,8 +39,8 @@ "prepublishOnly": "yarn build" }, "devDependencies": { - "@carbon/cli": "^11.14.0", - "@carbon/icon-build-helpers": "^1.18.0", + "@carbon/cli": "^11.15.0-rc.0", + "@carbon/icon-build-helpers": "^1.19.0-rc.0", "rimraf": "^5.0.0" } } diff --git a/packages/layout/package.json b/packages/layout/package.json index 02745132440b..ab3737b36bfd 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/layout", "description": "Layout helpers for digital and software products using the Carbon Design System", - "version": "11.19.0", + "version": "11.20.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -29,7 +29,7 @@ "clean": "rimraf es lib umd scss/generated" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", "@carbon/test-utils": "^10.30.0", diff --git a/packages/motion/package.json b/packages/motion/package.json index a38368fbb3f7..2d67ff8fa0e4 100644 --- a/packages/motion/package.json +++ b/packages/motion/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/motion", "description": "Motion helpers for digital and software products using the Carbon Design System", - "version": "11.15.0", + "version": "11.16.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -29,7 +29,7 @@ "clean": "rimraf es lib umd" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "rimraf": "^5.0.0" } } diff --git a/packages/pictograms-react/package.json b/packages/pictograms-react/package.json index 5a797226ef87..78b35e1f92a6 100644 --- a/packages/pictograms-react/package.json +++ b/packages/pictograms-react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/pictograms-react", "description": "React components for pictograms in digital and software products using the Carbon Design System", - "version": "11.50.0", + "version": "11.51.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -38,13 +38,13 @@ "react": ">=16" }, "dependencies": { - "@carbon/icon-helpers": "^10.44.0", + "@carbon/icon-helpers": "^10.45.0-rc.0", "@carbon/telemetry": "0.1.0", "prop-types": "^15.7.2" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.18.0", - "@carbon/pictograms": "^12.24.0", + "@carbon/icon-build-helpers": "^1.19.0-rc.0", + "@carbon/pictograms": "^12.25.0-rc.0", "rimraf": "^5.0.0" }, "sideEffects": false diff --git a/packages/pictograms/package.json b/packages/pictograms/package.json index f1bce1a9862f..cc5621ed06fe 100644 --- a/packages/pictograms/package.json +++ b/packages/pictograms/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/pictograms", "description": "Pictograms for digital and software products using the Carbon Design System", - "version": "12.24.0", + "version": "12.25.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -32,7 +32,7 @@ "prepublishOnly": "yarn build" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.18.0", + "@carbon/icon-build-helpers": "^1.19.0-rc.0", "rimraf": "^5.0.0" } } diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index 3aea37f74e09..0e53df0816fd 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -4704,6 +4704,7 @@ Map { "selectorsFloatingMenus": Object { "args": Array [ Object { + "isRequired": true, "type": "string", }, ], diff --git a/packages/react/package.json b/packages/react/package.json index 34852bed3e37..d956863640f0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/react", "description": "React components for the Carbon Design System", - "version": "1.40.0", + "version": "1.41.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -47,9 +47,9 @@ "dependencies": { "@babel/runtime": "^7.18.3", "@carbon/feature-flags": "^0.16.0", - "@carbon/icons-react": "^11.28.0", - "@carbon/layout": "^11.19.0", - "@carbon/styles": "^1.40.0", + "@carbon/icons-react": "^11.29.0-rc.0", + "@carbon/layout": "^11.20.0-rc.0", + "@carbon/styles": "^1.41.0-rc.0", "@carbon/telemetry": "0.1.0", "classnames": "2.3.2", "copy-to-clipboard": "^3.3.1", @@ -77,7 +77,7 @@ "@babel/preset-react": "^7.22.3", "@babel/preset-typescript": "^7.21.5", "@carbon/test-utils": "^10.30.0", - "@carbon/themes": "^11.25.0", + "@carbon/themes": "^11.26.0-rc.0", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", @@ -124,7 +124,7 @@ "storybook-readme": "^5.0.9", "stream-browserify": "^3.0.0", "style-loader": "^3.3.1", - "typescript-config-carbon": "^0.1.0", + "typescript-config-carbon": "^0.2.0-rc.0", "webpack": "^5.65.0", "webpack-dev-server": "^4.7.4" }, diff --git a/packages/react/src/components/ComposedModal/ComposedModal.tsx b/packages/react/src/components/ComposedModal/ComposedModal.tsx index 4cfce68b7697..ddb7c0c6d475 100644 --- a/packages/react/src/components/ComposedModal/ComposedModal.tsx +++ b/packages/react/src/components/ComposedModal/ComposedModal.tsx @@ -83,7 +83,6 @@ ModalBody.propTypes = { /** * Required props for the accessibility label of the header */ - // @ts-expect-error: Built-in prop-types > TS logic doesn't jive well with custom validators ['aria-label']: requiredIfGivenPropIsTruthy( 'hasScrollingContent', PropTypes.string diff --git a/packages/react/src/components/Modal/Modal.js b/packages/react/src/components/Modal/Modal.tsx similarity index 69% rename from packages/react/src/components/Modal/Modal.js rename to packages/react/src/components/Modal/Modal.tsx index 8ade026277af..5aa9cd9bb1b8 100644 --- a/packages/react/src/components/Modal/Modal.js +++ b/packages/react/src/components/Modal/Modal.tsx @@ -21,9 +21,169 @@ import { usePrefix } from '../../internal/usePrefix'; import { keys, match } from '../../internal/keyboard'; import { noopFn } from '../../internal/noopFn'; import { Text } from '../Text'; +import { ReactAttr } from '../../types/common'; const getInstanceId = setupGetInstanceId(); +export const ModalSizes = ['xs', 'sm', 'md', 'lg'] as const; + +export type ModalSize = (typeof ModalSizes)[number]; + +export interface ModalSecondaryButton { + buttonText?: string; + + onClick?: React.MouseEventHandler; +} + +export interface ModalProps extends ReactAttr { + /** + * Specify whether the Modal is displaying an alert, error or warning + * Should go hand in hand with the danger prop. + */ + alert?: boolean; + + /** + * Required props for the accessibility label of the header + */ + 'aria-label'?: string; + + /** + * Provide the contents of your Modal + */ + children?: React.ReactNode; + + /** + * Specify an optional className to be applied to the modal root node + */ + className?: string; + + /** + * Specify an label for the close button of the modal; defaults to close + */ + closeButtonLabel?: string; + + /** + * Specify whether the Modal is for dangerous actions + */ + danger?: boolean; + + /** + * Specify whether the modal contains scrolling content + */ + hasScrollingContent?: boolean; + + /** + * Specify the DOM element ID of the top-level node. + */ + id?: string; + + /** + * Specify whether or not the Modal content should have any inner padding. + */ + isFullWidth?: boolean; + + /** + * Provide a ref to return focus to once the modal is closed. + */ + launcherButtonRef?: any; // TODO FIXME + + /** + * Specify a label to be read by screen readers on the modal root node + */ + modalAriaLabel?: string; + + /** + * Specify the content of the modal header title. + */ + modalHeading?: React.ReactNode; + + /** + * Specify the content of the modal header label. + */ + modalLabel?: React.ReactNode; + + /** + * Specify a handler for keypresses. + * @deprecated this property is unused + */ + onKeyDown?: React.KeyboardEventHandler; + + /** + * Specify a handler for closing modal. + * The handler should care of closing modal, e.g. changing `open` prop. + */ + onRequestClose?: React.ReactEventHandler; + + /** + * Specify a handler for "submitting" modal. + * The handler should care of closing modal, e.g. changing `open` prop, if necessary. + */ + onRequestSubmit?: React.ReactEventHandler; + + /** + * Specify a handler for the secondary button. + * Useful if separate handler from `onRequestClose` is desirable + */ + onSecondarySubmit?: React.ReactEventHandler; + + /** + * Specify whether the Modal is currently open + */ + open?: boolean; + + /** + * Specify whether the modal should be button-less + */ + passiveModal?: boolean; + + /** + * Prevent closing on click outside of modal + */ + preventCloseOnClickOutside?: boolean; + + /** + * Specify whether the Button should be disabled, or not + */ + primaryButtonDisabled?: boolean; + + /** + * Specify the text for the primary button + */ + primaryButtonText?: React.ReactNode; + + /** + * Specify the text for the secondary button + */ + secondaryButtonText?: React.ReactNode; + + /** + * Specify an array of config objects for secondary buttons + */ + secondaryButtons?: ModalSecondaryButton[]; + + /** + * Specify a CSS selector that matches the DOM element that should + * be focused when the Modal opens + */ + selectorPrimaryFocus?: string; + + /** + * Specify CSS selectors that match DOM elements working as floating menus. + * Focusing on those elements won't trigger "focus-wrap" behavior + */ + selectorsFloatingMenus?: string[]; + + /** + * Specify if Enter key should be used as "submit" action + */ + shouldSubmitOnEnter?: boolean; + + /** + * Specify the size variant. + */ + size?: ModalSize; +} + const Modal = React.forwardRef(function Modal( { 'aria-label': ariaLabelProp, @@ -53,29 +213,29 @@ const Modal = React.forwardRef(function Modal( isFullWidth, launcherButtonRef, ...rest - }, - ref + }: ModalProps, + ref: React.LegacyRef ) { const prefix = usePrefix(); - const button = useRef(); + const button = useRef(null); const secondaryButton = useRef(); - const innerModal = useRef(); - const startTrap = useRef(); - const endTrap = useRef(); + const innerModal = useRef(null); + const startTrap = useRef(null); + const endTrap = useRef(null); const modalInstanceId = `modal-${getInstanceId()}`; const modalLabelId = `${prefix}--modal-header__label--${modalInstanceId}`; const modalHeadingId = `${prefix}--modal-header__heading--${modalInstanceId}`; const modalBodyId = `${prefix}--modal-body--${modalInstanceId}`; const modalCloseButtonClass = `${prefix}--modal-close`; - function isCloseButton(element) { + function isCloseButton(element: Element) { return ( (!onSecondarySubmit && element === secondaryButton.current) || element.classList.contains(modalCloseButtonClass) ); } - function handleKeyDown(evt) { + function handleKeyDown(evt: React.KeyboardEvent) { if (open) { if (match(evt, keys.Escape)) { onRequestClose(evt); @@ -83,18 +243,19 @@ const Modal = React.forwardRef(function Modal( if ( match(evt, keys.Enter) && shouldSubmitOnEnter && - !isCloseButton(evt.target) + !isCloseButton(evt.target as Element) ) { onRequestSubmit(evt); } } } - function handleMousedown(evt) { + function handleMousedown(evt: React.MouseEvent) { + const target = evt.target as Node; if ( innerModal.current && - !innerModal.current.contains(evt.target) && - !elementOrParentIsFloatingMenu(evt.target, selectorsFloatingMenus) && + !innerModal.current.contains(target) && + !elementOrParentIsFloatingMenu(target, selectorsFloatingMenus) && !preventCloseOnClickOutside ) { onRequestClose(evt); @@ -104,7 +265,7 @@ const Modal = React.forwardRef(function Modal( function handleBlur({ target: oldActiveNode, relatedTarget: currentActiveNode, - }) { + }: React.FocusEvent) { if (open && currentActiveNode && oldActiveNode) { const { current: bodyNode } = innerModal; const { current: startTrapNode } = startTrap; @@ -124,12 +285,15 @@ const Modal = React.forwardRef(function Modal( ? onSecondarySubmit : onRequestClose; - const modalClasses = classNames(`${prefix}--modal`, { - [`${prefix}--modal-tall`]: !passiveModal, - 'is-visible': open, - [`${prefix}--modal--danger`]: danger, - [className]: className, - }); + const modalClasses = classNames( + `${prefix}--modal`, + { + [`${prefix}--modal-tall`]: !passiveModal, + 'is-visible': open, + [`${prefix}--modal--danger`]: danger, + }, + className + ); const containerClasses = classNames(`${prefix}--modal-container`, { [`${prefix}--modal-container--${size}`]: size, @@ -145,8 +309,13 @@ const Modal = React.forwardRef(function Modal( Array.isArray(secondaryButtons) && secondaryButtons.length === 2, }); + const asStringOrUndefined = (node: React.ReactNode): string | undefined => { + return typeof node === 'string' ? node : undefined; + }; + const modalLabelStr = asStringOrUndefined(modalLabel); + const modalHeadingStr = asStringOrUndefined(modalHeading); const ariaLabel = - modalLabel || ariaLabelProp || modalAriaLabel || modalHeading; + modalLabelStr || ariaLabelProp || modalAriaLabel || modalHeadingStr; const getAriaLabelledBy = modalLabel ? modalLabelId : modalHeadingId; const hasScrollingContentProps = hasScrollingContent @@ -158,7 +327,7 @@ const Modal = React.forwardRef(function Modal( } : {}; - const alertDialogProps = {}; + const alertDialogProps: ReactAttr = {}; if (alert && passiveModal) { alertDialogProps.role = 'alert'; } @@ -174,7 +343,11 @@ const Modal = React.forwardRef(function Modal( }, [prefix]); useEffect(() => { - toggleClass(document.body, `${prefix}--body--with-modal-open`, open); + toggleClass( + document.body, + `${prefix}--body--with-modal-open`, + open ?? false + ); }, [open, prefix]); useEffect(() => { @@ -186,10 +359,10 @@ const Modal = React.forwardRef(function Modal( }, [open, launcherButtonRef]); useEffect(() => { - const initialFocus = (focusContainerElement) => { + const initialFocus = (focusContainerElement: HTMLElement | null) => { const containerElement = focusContainerElement || innerModal.current; const primaryFocusElement = containerElement - ? containerElement.querySelector( + ? containerElement.querySelector( danger ? `.${prefix}--btn--secondary` : selectorPrimaryFocus ) : null; @@ -201,9 +374,9 @@ const Modal = React.forwardRef(function Modal( return button && button.current; }; - const focusButton = (focusContainerElement) => { + const focusButton = (focusContainerElement: HTMLElement | null) => { const target = initialFocus(focusContainerElement); - if (target) { + if (target !== null) { target.focus(); } }; @@ -238,7 +411,7 @@ const Modal = React.forwardRef(function Modal( className={containerClasses} aria-label={ariaLabel} aria-modal="true" - tabIndex="-1"> + tabIndex={-1}>
{passiveModal && modalButton} {modalLabel && ( @@ -311,7 +484,7 @@ const Modal = React.forwardRef(function Modal( {/* Non-translatable: Focus-wrap code makes this `` not actually read by screen readers */} Focus sentinel @@ -320,7 +493,7 @@ const Modal = React.forwardRef(function Modal( {/* Non-translatable: Focus-wrap code makes this `` not actually read by screen readers */} Focus sentinel @@ -503,7 +676,7 @@ Modal.propTypes = { * Specify CSS selectors that match DOM elements working as floating menus. * Focusing on those elements won't trigger "focus-wrap" behavior */ - selectorsFloatingMenus: PropTypes.arrayOf(PropTypes.string), + selectorsFloatingMenus: PropTypes.arrayOf(PropTypes.string.isRequired), /** * Specify if Enter key should be used as "submit" action @@ -513,7 +686,7 @@ Modal.propTypes = { /** * Specify the size variant. */ - size: PropTypes.oneOf(['xs', 'sm', 'md', 'lg']), + size: PropTypes.oneOf(ModalSizes), }; export default Modal; diff --git a/packages/react/src/components/Modal/index.js b/packages/react/src/components/Modal/index.ts similarity index 100% rename from packages/react/src/components/Modal/index.js rename to packages/react/src/components/Modal/index.ts diff --git a/packages/react/src/internal/wrapFocus.js b/packages/react/src/internal/wrapFocus.js index e918199021c6..fc51ab409fbf 100644 --- a/packages/react/src/internal/wrapFocus.js +++ b/packages/react/src/internal/wrapFocus.js @@ -32,11 +32,11 @@ function elementOrParentIsFloatingMenu(node, selectorsFloatingMenus = []) { /** * Ensures the focus is kept in the given `modalNode`, implementing "focus-wrap" behavior. * @param {object} options The options. - * @param {HTMLElement|null} options.bodyNode - * @param {HTMLElement|null} options.startTrapNode The DOM node of the focus sentinel the is placed earlier next to `modalNode`. - * @param {HTMLElement|null} options.endTrapNode The DOM node of the focus sentinel the is placed next to `modalNode`. - * @param {HTMLElement} options.currentActiveNode The DOM node that has focus. - * @param {HTMLElement} options.oldActiveNode The DOM node that previously had focus. + * @param {Node|null} options.bodyNode + * @param {Node|null} options.startTrapNode The DOM node of the focus sentinel the is placed earlier next to `modalNode`. + * @param {Node|null} options.endTrapNode The DOM node of the focus sentinel the is placed next to `modalNode`. + * @param {Node} options.currentActiveNode The DOM node that has focus. + * @param {Node} options.oldActiveNode The DOM node that previously had focus. * @param {string[]} [options.selectorsFloatingMenus] The CSS selectors that matches floating menus. */ function wrapFocus({ diff --git a/packages/react/src/prop-types/requiredIfGivenPropIsTruthy.js b/packages/react/src/prop-types/requiredIfGivenPropIsTruthy.js index 65de1f262d47..6c511e63e70a 100644 --- a/packages/react/src/prop-types/requiredIfGivenPropIsTruthy.js +++ b/packages/react/src/prop-types/requiredIfGivenPropIsTruthy.js @@ -8,8 +8,8 @@ /** * @param {string} name The name of the prop that must exist to validate * the current prop. - * @param {Function} propType The original prop type checker. - * @returns {Function} The new prop type checker for the current prop that + * @param {React.Validator} propType The original prop type checker. + * @returns {React.Validator} The new prop type checker for the current prop that * becomes required if the prop corresponding to the provided prop name exists. */ export default function requiredIfGivenPropIsTruthy(name, propType) { diff --git a/packages/styles/package.json b/packages/styles/package.json index 38f4bb292ff8..22585e5d15ea 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/styles", "description": "Styles for the Carbon Design System", - "version": "1.40.0", + "version": "1.41.0-rc.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -38,13 +38,13 @@ } }, "dependencies": { - "@carbon/colors": "^11.19.0", + "@carbon/colors": "^11.20.0-rc.0", "@carbon/feature-flags": "^0.16.0", - "@carbon/grid": "^11.20.0", - "@carbon/layout": "^11.19.0", - "@carbon/motion": "^11.15.0", - "@carbon/themes": "^11.25.0", - "@carbon/type": "^11.24.0", + "@carbon/grid": "^11.21.0-rc.0", + "@carbon/layout": "^11.20.0-rc.0", + "@carbon/motion": "^11.16.0-rc.0", + "@carbon/themes": "^11.26.0-rc.0", + "@carbon/type": "^11.25.0-rc.0", "@ibm/plex": "6.0.0-next.6" }, "devDependencies": { diff --git a/packages/themes/package.json b/packages/themes/package.json index f64f23d93b43..fb7c589f7130 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/themes", "description": "Themes for applying color in the Carbon Design System", - "version": "11.25.0", + "version": "11.26.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -30,15 +30,15 @@ "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonThemes && babel-node --presets '@babel/preset-env' tasks/build.js && carbon-cli check \"scss/*.scss\"" }, "dependencies": { - "@carbon/colors": "^11.19.0", - "@carbon/layout": "^11.19.0", - "@carbon/type": "^11.24.0", + "@carbon/colors": "^11.20.0-rc.0", + "@carbon/layout": "^11.20.0-rc.0", + "@carbon/type": "^11.25.0-rc.0", "color": "^4.0.0" }, "devDependencies": { "@babel/node": "^7.17.10", "@babel/preset-env": "^7.18.2", - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", "@carbon/test-utils": "^10.30.0", diff --git a/packages/type/package.json b/packages/type/package.json index cf48d470fc2d..f6c7ec0841bb 100644 --- a/packages/type/package.json +++ b/packages/type/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/type", "description": "Typography for digital and software products using the Carbon Design System", - "version": "11.24.0", + "version": "11.25.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -38,11 +38,11 @@ "clean": "rimraf css es lib umd" }, "dependencies": { - "@carbon/grid": "^11.20.0", - "@carbon/layout": "^11.19.0" + "@carbon/grid": "^11.21.0-rc.0", + "@carbon/layout": "^11.20.0-rc.0" }, "devDependencies": { - "@carbon/cli": "^11.14.0", + "@carbon/cli": "^11.15.0-rc.0", "@carbon/test-utils": "^10.30.0", "change-case": "^4.1.1", "css": "^3.0.0", diff --git a/www/package.json b/www/package.json index f247b673b604..d6680327b89f 100644 --- a/www/package.json +++ b/www/package.json @@ -1,7 +1,7 @@ { "name": "www", "private": true, - "version": "0.49.0", + "version": "0.50.0-rc.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -22,7 +22,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.40.0", + "@carbon/react": "^1.41.0-rc.0", "@octokit/core": "^4.0.0", "@octokit/plugin-retry": "^3.0.9", "@octokit/plugin-throttling": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index e07cefc9ea47..cacd0ec4c3f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1845,7 +1845,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/cli@^11.14.0, @carbon/cli@workspace:packages/cli": +"@carbon/cli@^11.15.0-rc.0, @carbon/cli@workspace:packages/cli": version: 0.0.0-use.local resolution: "@carbon/cli@workspace:packages/cli" dependencies: @@ -1876,18 +1876,18 @@ __metadata: rollup: ^2.79.1 sass: ^1.51.0 sassdoc: ^2.7.3 - typescript-config-carbon: ^0.1.0 + typescript-config-carbon: ^0.2.0-rc.0 yargs: ^17.0.1 bin: carbon-cli: ./bin/carbon-cli.js languageName: unknown linkType: soft -"@carbon/colors@^11.19.0, @carbon/colors@workspace:packages/colors": +"@carbon/colors@^11.20.0-rc.0, @carbon/colors@workspace:packages/colors": version: 0.0.0-use.local resolution: "@carbon/colors@workspace:packages/colors" dependencies: - "@carbon/cli": ^11.14.0 + "@carbon/cli": ^11.15.0-rc.0 "@carbon/cli-reporter": ^10.7.0 "@carbon/scss-generator": ^10.18.0 "@carbon/test-utils": ^10.30.0 @@ -1907,14 +1907,14 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/elements@workspace:packages/elements" dependencies: - "@carbon/cli": ^11.14.0 - "@carbon/colors": ^11.19.0 - "@carbon/grid": ^11.20.0 - "@carbon/icons": ^11.28.0 - "@carbon/layout": ^11.19.0 - "@carbon/motion": ^11.15.0 - "@carbon/themes": ^11.25.0 - "@carbon/type": ^11.24.0 + "@carbon/cli": ^11.15.0-rc.0 + "@carbon/colors": ^11.20.0-rc.0 + "@carbon/grid": ^11.21.0-rc.0 + "@carbon/icons": ^11.29.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 + "@carbon/motion": ^11.16.0-rc.0 + "@carbon/themes": ^11.26.0-rc.0 + "@carbon/type": ^11.25.0-rc.0 fs-extra: ^11.0.0 klaw-sync: ^6.0.0 replace-in-file: ^7.0.0 @@ -1950,17 +1950,17 @@ __metadata: languageName: node linkType: hard -"@carbon/grid@^11.20.0, @carbon/grid@workspace:packages/grid": +"@carbon/grid@^11.21.0-rc.0, @carbon/grid@workspace:packages/grid": version: 0.0.0-use.local resolution: "@carbon/grid@workspace:packages/grid" dependencies: - "@carbon/cli": ^11.14.0 - "@carbon/layout": ^11.19.0 + "@carbon/cli": ^11.15.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 rimraf: ^5.0.0 languageName: unknown linkType: soft -"@carbon/icon-build-helpers@^1.18.0, @carbon/icon-build-helpers@workspace:packages/icon-build-helpers": +"@carbon/icon-build-helpers@^1.19.0-rc.0, @carbon/icon-build-helpers@workspace:packages/icon-build-helpers": version: 0.0.0-use.local resolution: "@carbon/icon-build-helpers@workspace:packages/icon-build-helpers" dependencies: @@ -1971,7 +1971,7 @@ __metadata: "@babel/template": ^7.16.7 "@babel/types": ^7.18.4 "@carbon/cli-reporter": ^10.7.0 - "@carbon/icon-helpers": ^10.44.0 + "@carbon/icon-helpers": ^10.45.0-rc.0 "@rollup/plugin-babel": ^6.0.0 "@rollup/plugin-replace": ^5.0.0 browserslist-config-carbon: ^11.2.0 @@ -1992,27 +1992,34 @@ __metadata: svg-parser: ^2.0.4 svgo: ^1.1.1 svgson: ^5.2.1 - typescript-config-carbon: ^0.1.0 + typescript-config-carbon: ^0.2.0-rc.0 languageName: unknown linkType: soft -"@carbon/icon-helpers@^10.28.0, @carbon/icon-helpers@^10.44.0, @carbon/icon-helpers@workspace:packages/icon-helpers": +"@carbon/icon-helpers@^10.45.0-rc.0, @carbon/icon-helpers@workspace:packages/icon-helpers": version: 0.0.0-use.local resolution: "@carbon/icon-helpers@workspace:packages/icon-helpers" dependencies: - "@carbon/cli": ^11.14.0 + "@carbon/cli": ^11.15.0-rc.0 rimraf: ^5.0.0 - typescript-config-carbon: ^0.1.0 + typescript-config-carbon: ^0.2.0-rc.0 languageName: unknown linkType: soft -"@carbon/icons-react@^11.28.0, @carbon/icons-react@workspace:packages/icons-react": +"@carbon/icon-helpers@npm:^10.28.0": + version: 10.44.0 + resolution: "@carbon/icon-helpers@npm:10.44.0" + checksum: c61b711ef78ba5546514917571ccec01c0943a2dc53d34a90987985bd839de7c164ce7bf9890d21012e585c1a655f6a5a9ac88492af4345653f095f9ddebe54a + languageName: node + linkType: hard + +"@carbon/icons-react@^11.29.0-rc.0, @carbon/icons-react@workspace:packages/icons-react": version: 0.0.0-use.local resolution: "@carbon/icons-react@workspace:packages/icons-react" dependencies: - "@carbon/icon-build-helpers": ^1.18.0 - "@carbon/icon-helpers": ^10.44.0 - "@carbon/icons": ^11.28.0 + "@carbon/icon-build-helpers": ^1.19.0-rc.0 + "@carbon/icon-helpers": ^10.45.0-rc.0 + "@carbon/icons": ^11.29.0-rc.0 "@carbon/telemetry": 0.1.0 prop-types: ^15.7.2 rimraf: ^5.0.0 @@ -2039,8 +2046,8 @@ __metadata: resolution: "@carbon/icons-vue@workspace:packages/icons-vue" dependencies: "@carbon/cli-reporter": ^10.7.0 - "@carbon/icon-helpers": ^10.44.0 - "@carbon/icons": ^11.28.0 + "@carbon/icon-helpers": ^10.45.0-rc.0 + "@carbon/icons": ^11.29.0-rc.0 fs-extra: ^11.0.0 prettier: ^2.8.8 rimraf: ^5.0.0 @@ -2049,21 +2056,21 @@ __metadata: languageName: unknown linkType: soft -"@carbon/icons@^11.28.0, @carbon/icons@workspace:packages/icons": +"@carbon/icons@^11.29.0-rc.0, @carbon/icons@workspace:packages/icons": version: 0.0.0-use.local resolution: "@carbon/icons@workspace:packages/icons" dependencies: - "@carbon/cli": ^11.14.0 - "@carbon/icon-build-helpers": ^1.18.0 + "@carbon/cli": ^11.15.0-rc.0 + "@carbon/icon-build-helpers": ^1.19.0-rc.0 rimraf: ^5.0.0 languageName: unknown linkType: soft -"@carbon/layout@^11.19.0, @carbon/layout@workspace:packages/layout": +"@carbon/layout@^11.20.0-rc.0, @carbon/layout@workspace:packages/layout": version: 0.0.0-use.local resolution: "@carbon/layout@workspace:packages/layout" dependencies: - "@carbon/cli": ^11.14.0 + "@carbon/cli": ^11.15.0-rc.0 "@carbon/cli-reporter": ^10.7.0 "@carbon/scss-generator": ^10.18.0 "@carbon/test-utils": ^10.30.0 @@ -2079,11 +2086,11 @@ __metadata: languageName: node linkType: hard -"@carbon/motion@^11.15.0, @carbon/motion@workspace:packages/motion": +"@carbon/motion@^11.16.0-rc.0, @carbon/motion@workspace:packages/motion": version: 0.0.0-use.local resolution: "@carbon/motion@workspace:packages/motion" dependencies: - "@carbon/cli": ^11.14.0 + "@carbon/cli": ^11.15.0-rc.0 rimraf: ^5.0.0 languageName: unknown linkType: soft @@ -2092,9 +2099,9 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/pictograms-react@workspace:packages/pictograms-react" dependencies: - "@carbon/icon-build-helpers": ^1.18.0 - "@carbon/icon-helpers": ^10.44.0 - "@carbon/pictograms": ^12.24.0 + "@carbon/icon-build-helpers": ^1.19.0-rc.0 + "@carbon/icon-helpers": ^10.45.0-rc.0 + "@carbon/pictograms": ^12.25.0-rc.0 "@carbon/telemetry": 0.1.0 prop-types: ^15.7.2 rimraf: ^5.0.0 @@ -2103,16 +2110,16 @@ __metadata: languageName: unknown linkType: soft -"@carbon/pictograms@^12.24.0, @carbon/pictograms@workspace:packages/pictograms": +"@carbon/pictograms@^12.25.0-rc.0, @carbon/pictograms@workspace:packages/pictograms": version: 0.0.0-use.local resolution: "@carbon/pictograms@workspace:packages/pictograms" dependencies: - "@carbon/icon-build-helpers": ^1.18.0 + "@carbon/icon-build-helpers": ^1.19.0-rc.0 rimraf: ^5.0.0 languageName: unknown linkType: soft -"@carbon/react@^1.40.0, @carbon/react@workspace:packages/react": +"@carbon/react@^1.41.0-rc.0, @carbon/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@carbon/react@workspace:packages/react" dependencies: @@ -2126,12 +2133,12 @@ __metadata: "@babel/preset-typescript": ^7.21.5 "@babel/runtime": ^7.18.3 "@carbon/feature-flags": ^0.16.0 - "@carbon/icons-react": ^11.28.0 - "@carbon/layout": ^11.19.0 - "@carbon/styles": ^1.40.0 + "@carbon/icons-react": ^11.29.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 + "@carbon/styles": ^1.41.0-rc.0 "@carbon/telemetry": 0.1.0 "@carbon/test-utils": ^10.30.0 - "@carbon/themes": ^11.25.0 + "@carbon/themes": ^11.26.0-rc.0 "@rollup/plugin-babel": ^6.0.0 "@rollup/plugin-commonjs": ^25.0.0 "@rollup/plugin-node-resolve": ^15.0.0 @@ -2189,7 +2196,7 @@ __metadata: storybook-readme: ^5.0.9 stream-browserify: ^3.0.0 style-loader: ^3.3.1 - typescript-config-carbon: ^0.1.0 + typescript-config-carbon: ^0.2.0-rc.0 use-resize-observer: ^6.0.0 webpack: ^5.65.0 webpack-dev-server: ^4.7.4 @@ -2210,18 +2217,18 @@ __metadata: languageName: unknown linkType: soft -"@carbon/styles@^1.40.0, @carbon/styles@workspace:packages/styles": +"@carbon/styles@^1.41.0-rc.0, @carbon/styles@workspace:packages/styles": version: 0.0.0-use.local resolution: "@carbon/styles@workspace:packages/styles" dependencies: - "@carbon/colors": ^11.19.0 + "@carbon/colors": ^11.20.0-rc.0 "@carbon/feature-flags": ^0.16.0 - "@carbon/grid": ^11.20.0 - "@carbon/layout": ^11.19.0 - "@carbon/motion": ^11.15.0 + "@carbon/grid": ^11.21.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 + "@carbon/motion": ^11.16.0-rc.0 "@carbon/test-utils": ^10.30.0 - "@carbon/themes": ^11.25.0 - "@carbon/type": ^11.24.0 + "@carbon/themes": ^11.26.0-rc.0 + "@carbon/type": ^11.25.0-rc.0 "@ibm/plex": 6.0.0-next.6 autoprefixer: ^10.4.7 browserslist-config-carbon: ^11.2.0 @@ -2263,19 +2270,19 @@ __metadata: languageName: unknown linkType: soft -"@carbon/themes@^11.25.0, @carbon/themes@workspace:packages/themes": +"@carbon/themes@^11.26.0-rc.0, @carbon/themes@workspace:packages/themes": version: 0.0.0-use.local resolution: "@carbon/themes@workspace:packages/themes" dependencies: "@babel/node": ^7.17.10 "@babel/preset-env": ^7.18.2 - "@carbon/cli": ^11.14.0 + "@carbon/cli": ^11.15.0-rc.0 "@carbon/cli-reporter": ^10.7.0 - "@carbon/colors": ^11.19.0 - "@carbon/layout": ^11.19.0 + "@carbon/colors": ^11.20.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 "@carbon/scss-generator": ^10.18.0 "@carbon/test-utils": ^10.30.0 - "@carbon/type": ^11.24.0 + "@carbon/type": ^11.25.0-rc.0 change-case: ^4.1.1 color: ^4.0.0 core-js: ^3.16.0 @@ -2285,13 +2292,13 @@ __metadata: languageName: unknown linkType: soft -"@carbon/type@^11.24.0, @carbon/type@workspace:packages/type": +"@carbon/type@^11.25.0-rc.0, @carbon/type@workspace:packages/type": version: 0.0.0-use.local resolution: "@carbon/type@workspace:packages/type" dependencies: - "@carbon/cli": ^11.14.0 - "@carbon/grid": ^11.20.0 - "@carbon/layout": ^11.19.0 + "@carbon/cli": ^11.15.0-rc.0 + "@carbon/grid": ^11.21.0-rc.0 + "@carbon/layout": ^11.20.0-rc.0 "@carbon/test-utils": ^10.30.0 change-case: ^4.1.1 css: ^3.0.0 @@ -10697,8 +10704,8 @@ __metadata: "@babel/plugin-transform-react-constant-elements": ^7.17.12 "@babel/preset-env": ^7.18.2 "@babel/preset-react": ^7.17.12 - "@carbon/react": ^1.40.0 - "@carbon/styles": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 + "@carbon/styles": ^1.41.0-rc.0 "@carbon/telemetry": 0.1.0 "@carbon/test-utils": ^10.30.0 "@rollup/plugin-babel": ^6.0.0 @@ -10737,7 +10744,7 @@ __metadata: version: 0.0.0-use.local resolution: "carbon-components@workspace:packages/carbon-components" dependencies: - "@carbon/styles": ^1.40.0 + "@carbon/styles": ^1.41.0-rc.0 "@carbon/telemetry": 0.1.0 "@carbon/test-utils": ^10.30.0 chalk: 1.1.3 @@ -11101,7 +11108,7 @@ __metadata: version: 0.0.0-use.local resolution: "class-prefix@workspace:examples/class-prefix" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -11423,7 +11430,7 @@ __metadata: version: 0.0.0-use.local resolution: "codesandbox-styles@workspace:examples/codesandbox-styles" dependencies: - "@carbon/styles": ^1.40.0 + "@carbon/styles": ^1.41.0-rc.0 sass: ^1.51.0 vite: ^4.3.8 languageName: unknown @@ -11433,7 +11440,7 @@ __metadata: version: 0.0.0-use.local resolution: "codesandbox-with-sass-compilation@workspace:examples/codesandbox-with-sass-compilation" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 react: ^18.2.0 react-dom: ^18.2.0 react-scripts: 5.0.0 @@ -11445,7 +11452,7 @@ __metadata: version: 0.0.0-use.local resolution: "codesandbox@workspace:examples/codesandbox" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 react: ^18.2.0 react-dom: ^18.2.0 react-scripts: 5.0.0 @@ -12664,7 +12671,7 @@ __metadata: version: 0.0.0-use.local resolution: "custom-theme@workspace:examples/custom-theme" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -14991,7 +14998,7 @@ __metadata: version: 0.0.0-use.local resolution: "examples-light-dark@workspace:examples/light-dark-mode" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 eslint: 8.40.0 next: 12.1.4 react: 18.2.0 @@ -15004,7 +15011,7 @@ __metadata: version: 0.0.0-use.local resolution: "examples-nextjs@workspace:examples/nextjs" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 eslint: 8.40.0 eslint-config-next: 13.4.7 next: 13.4.7 @@ -17363,7 +17370,7 @@ __metadata: version: 0.0.0-use.local resolution: "id-prefix@workspace:examples/id-prefix" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -17500,7 +17507,7 @@ __metadata: resolution: "incremental-migration-vite@workspace:examples/incremental-migration-vite" dependencies: "@carbon/icons-react": ^10.49.0 - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 carbon-components: ^10.57.0 carbon-components-react: ^7.57.0 @@ -30665,7 +30672,7 @@ __metadata: languageName: node linkType: hard -"typescript-config-carbon@^0.1.0, typescript-config-carbon@workspace:config/typescript-config-carbon": +"typescript-config-carbon@^0.2.0-rc.0, typescript-config-carbon@workspace:config/typescript-config-carbon": version: 0.0.0-use.local resolution: "typescript-config-carbon@workspace:config/typescript-config-carbon" dependencies: @@ -31418,7 +31425,7 @@ __metadata: version: 0.0.0-use.local resolution: "v10-token-compat-in-v11@workspace:examples/v10-token-compat-in-v11" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -31722,7 +31729,7 @@ __metadata: version: 0.0.0-use.local resolution: "vite@workspace:examples/vite" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@vitejs/plugin-react": 4.0.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -32637,7 +32644,7 @@ __metadata: version: 0.0.0-use.local resolution: "www@workspace:www" dependencies: - "@carbon/react": ^1.40.0 + "@carbon/react": ^1.41.0-rc.0 "@octokit/core": ^4.0.0 "@octokit/plugin-retry": ^3.0.9 "@octokit/plugin-throttling": ^4.0.0