diff --git a/.yarn/cache/@carbon-colors-npm-10.37.1-8caedc3bef-7cdc38370d.zip b/.yarn/cache/@carbon-colors-npm-10.37.2-c95db17ea4-da7280c1c4.zip similarity index 95% rename from .yarn/cache/@carbon-colors-npm-10.37.1-8caedc3bef-7cdc38370d.zip rename to .yarn/cache/@carbon-colors-npm-10.37.2-c95db17ea4-da7280c1c4.zip index c85de601444..c3026117b11 100644 Binary files a/.yarn/cache/@carbon-colors-npm-10.37.1-8caedc3bef-7cdc38370d.zip and b/.yarn/cache/@carbon-colors-npm-10.37.2-c95db17ea4-da7280c1c4.zip differ diff --git a/.yarn/cache/@carbon-pictograms-react-npm-11.47.0-7e0f7e5d05-73bba67d61.zip b/.yarn/cache/@carbon-pictograms-react-npm-11.49.0-2d565c1f60-0419f23a9b.zip similarity index 63% rename from .yarn/cache/@carbon-pictograms-react-npm-11.47.0-7e0f7e5d05-73bba67d61.zip rename to .yarn/cache/@carbon-pictograms-react-npm-11.49.0-2d565c1f60-0419f23a9b.zip index c8f395f3c7e..74db2285690 100644 Binary files a/.yarn/cache/@carbon-pictograms-react-npm-11.47.0-7e0f7e5d05-73bba67d61.zip and b/.yarn/cache/@carbon-pictograms-react-npm-11.49.0-2d565c1f60-0419f23a9b.zip differ diff --git a/.yarn/cache/@carbon-themes-npm-10.55.2-38fd73efdc-baeb77c1f4.zip b/.yarn/cache/@carbon-themes-npm-10.55.3-c4715b07f7-48673222ae.zip similarity index 97% rename from .yarn/cache/@carbon-themes-npm-10.55.2-38fd73efdc-baeb77c1f4.zip rename to .yarn/cache/@carbon-themes-npm-10.55.3-c4715b07f7-48673222ae.zip index 24bebaea07c..89e75406737 100644 Binary files a/.yarn/cache/@carbon-themes-npm-10.55.2-38fd73efdc-baeb77c1f4.zip and b/.yarn/cache/@carbon-themes-npm-10.55.3-c4715b07f7-48673222ae.zip differ diff --git a/.yarn/cache/@carbon-type-npm-10.45.3-a9648fc503-e5ade58905.zip b/.yarn/cache/@carbon-type-npm-10.45.3-a9648fc503-e5ade58905.zip new file mode 100644 index 00000000000..526043a0c17 Binary files /dev/null and b/.yarn/cache/@carbon-type-npm-10.45.3-a9648fc503-e5ade58905.zip differ diff --git a/.yarn/cache/postcss-npm-8.4.27-2a9f5f8f40-1cdd0c2988.zip b/.yarn/cache/postcss-npm-8.4.27-2a9f5f8f40-1cdd0c2988.zip deleted file mode 100644 index 11d492b6c1c..00000000000 Binary files a/.yarn/cache/postcss-npm-8.4.27-2a9f5f8f40-1cdd0c2988.zip and /dev/null differ diff --git a/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip b/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip new file mode 100644 index 00000000000..dc7dd6671cb Binary files /dev/null and b/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip differ diff --git a/.yarn/cache/sass-npm-1.63.4-bf5f3496c2-12bde5beff.zip b/.yarn/cache/sass-npm-1.63.4-bf5f3496c2-12bde5beff.zip deleted file mode 100644 index adadea9538a..00000000000 Binary files a/.yarn/cache/sass-npm-1.63.4-bf5f3496c2-12bde5beff.zip and /dev/null differ diff --git a/.yarn/cache/sass-npm-1.69.0-b7f282719b-eabea31ea3.zip b/.yarn/cache/sass-npm-1.69.0-b7f282719b-eabea31ea3.zip new file mode 100644 index 00000000000..9f53d792ce5 Binary files /dev/null and b/.yarn/cache/sass-npm-1.69.0-b7f282719b-eabea31ea3.zip differ diff --git a/.yarn/cache/zone.js-npm-0.13.1-8364a77a9f-35d18f7a30.zip b/.yarn/cache/zone.js-npm-0.13.1-8364a77a9f-35d18f7a30.zip deleted file mode 100644 index 406c21e0088..00000000000 Binary files a/.yarn/cache/zone.js-npm-0.13.1-8364a77a9f-35d18f7a30.zip and /dev/null differ diff --git a/.yarn/cache/zone.js-npm-0.14.0-b692bd6ba5-8a1c055ff1.zip b/.yarn/cache/zone.js-npm-0.14.0-b692bd6ba5-8a1c055ff1.zip new file mode 100644 index 00000000000..32ecdff82eb Binary files /dev/null and b/.yarn/cache/zone.js-npm-0.14.0-b692bd6ba5-8a1c055ff1.zip differ diff --git a/packages/carbon-web-components/CHANGELOG.md b/packages/carbon-web-components/CHANGELOG.md index 48fd7aee053..67174bd1793 100644 --- a/packages/carbon-web-components/CHANGELOG.md +++ b/packages/carbon-web-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.33.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/web-components@1.32.1-rc.0...@carbon/web-components@1.33.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/web-components + + + + + ## [1.32.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/web-components@1.32.0...@carbon/web-components@1.32.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/web-components diff --git a/packages/carbon-web-components/package.json b/packages/carbon-web-components/package.json index 8479c6785fa..cf65479ba13 100644 --- a/packages/carbon-web-components/package.json +++ b/packages/carbon-web-components/package.json @@ -1,6 +1,6 @@ { "name": "@carbon/web-components", - "version": "1.32.1-rc.0", + "version": "1.33.0-rc.0", "publishConfig": { "access": "public" }, @@ -194,7 +194,7 @@ "rollup": "^2.55.1", "rollup-plugin-multi-input": "^1.3.1", "rtlcss": "^3.0.0", - "sass": "~1.63.0", + "sass": "~1.69.0", "sass-loader": "^10.0.0", "strip-comments": "^1.0.0", "style-loader": "^2.0.0", @@ -208,7 +208,7 @@ "web-component-analyzer": "1.2.0-next.0", "webpack": "^4.46.0", "webpack-dev-server": "^4.0.0", - "zone.js": "~0.13.0" + "zone.js": "~0.14.0" }, "typings": "es/index.d.ts" } diff --git a/packages/eslint-config-ibmdotcom/CHANGELOG.md b/packages/eslint-config-ibmdotcom/CHANGELOG.md index e3cbaf28093..eb08fae1d43 100644 --- a/packages/eslint-config-ibmdotcom/CHANGELOG.md +++ b/packages/eslint-config-ibmdotcom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.43.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-config-ibmdotcom@1.42.1-rc.0...@carbon/eslint-config-ibmdotcom@1.43.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/eslint-config-ibmdotcom + + + + + ## [1.42.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-config-ibmdotcom@1.42.0...@carbon/eslint-config-ibmdotcom@1.42.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/eslint-config-ibmdotcom diff --git a/packages/eslint-config-ibmdotcom/package.json b/packages/eslint-config-ibmdotcom/package.json index 68afa19cc41..c1e0e94fae2 100644 --- a/packages/eslint-config-ibmdotcom/package.json +++ b/packages/eslint-config-ibmdotcom/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/eslint-config-ibmdotcom", "private": true, - "version": "1.42.1-rc.0", + "version": "1.43.0-rc.0", "description": "ESLint configuration for Carbon for IBM.com", "license": "Apache-2.0", "main": "index.js", @@ -18,7 +18,7 @@ "eslint": "^6.8.0" }, "dependencies": { - "@carbon/eslint-plugin-react-prop-type-comments": "1.41.1-rc.0", + "@carbon/eslint-plugin-react-prop-type-comments": "1.42.0-rc.0", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", "babel-eslint": "^10.1.0", diff --git a/packages/eslint-plugin-ibmdotcom-import-rules/CHANGELOG.md b/packages/eslint-plugin-ibmdotcom-import-rules/CHANGELOG.md index e03412bc9b1..80a8a94e326 100644 --- a/packages/eslint-plugin-ibmdotcom-import-rules/CHANGELOG.md +++ b/packages/eslint-plugin-ibmdotcom-import-rules/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-plugin-ibmdotcom-import-rules@1.41.1-rc.0...@carbon/eslint-plugin-ibmdotcom-import-rules@1.42.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/eslint-plugin-ibmdotcom-import-rules + + + + + ## [1.41.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-plugin-ibmdotcom-import-rules@1.41.0...@carbon/eslint-plugin-ibmdotcom-import-rules@1.41.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/eslint-plugin-ibmdotcom-import-rules diff --git a/packages/eslint-plugin-ibmdotcom-import-rules/package.json b/packages/eslint-plugin-ibmdotcom-import-rules/package.json index 826a5fa9d24..577394b50d3 100644 --- a/packages/eslint-plugin-ibmdotcom-import-rules/package.json +++ b/packages/eslint-plugin-ibmdotcom-import-rules/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/eslint-plugin-ibmdotcom-import-rules", "private": true, - "version": "1.41.1-rc.0", + "version": "1.42.0-rc.0", "description": "ESLint plugin for Carbon for IBM.com checking imports", "license": "Apache-2.0", "main": "lib/index.js", diff --git a/packages/eslint-plugin-react-prop-type-comments/CHANGELOG.md b/packages/eslint-plugin-react-prop-type-comments/CHANGELOG.md index 24124c1b6b5..4331f18f65d 100644 --- a/packages/eslint-plugin-react-prop-type-comments/CHANGELOG.md +++ b/packages/eslint-plugin-react-prop-type-comments/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-plugin-react-prop-type-comments@1.41.1-rc.0...@carbon/eslint-plugin-react-prop-type-comments@1.42.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/eslint-plugin-react-prop-type-comments + + + + + ## [1.41.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/eslint-plugin-react-prop-type-comments@1.41.0...@carbon/eslint-plugin-react-prop-type-comments@1.41.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/eslint-plugin-react-prop-type-comments diff --git a/packages/eslint-plugin-react-prop-type-comments/package.json b/packages/eslint-plugin-react-prop-type-comments/package.json index 2f4ccd2a4d6..003e99ddbeb 100644 --- a/packages/eslint-plugin-react-prop-type-comments/package.json +++ b/packages/eslint-plugin-react-prop-type-comments/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/eslint-plugin-react-prop-type-comments", "private": true, - "version": "1.41.1-rc.0", + "version": "1.42.0-rc.0", "description": "ESLint plugin for Carbon for IBM.com checking React prop type comments", "license": "Apache-2.0", "main": "lib/index.js", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 69e33aa961f..d7691ea4971 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.52.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-react@1.51.1-rc.0...@carbon/ibmdotcom-react@1.52.0-rc.0) (2023-10-03) + + +### Bug Fixes + +* **masthead:** add high contrast styles for ibm logo ([#10988](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10988)) ([c5331f2](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/c5331f2ec063676d2efe07d05b07cd1e5a7063dc)), closes [#10977](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10977) + + + + + ## [1.51.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-react@1.51.0...@carbon/ibmdotcom-react@1.51.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/ibmdotcom-react diff --git a/packages/react/package.json b/packages/react/package.json index 1b8e1a2d1cc..82f4b12b5b8 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibmdotcom-react", "description": "Carbon for IBM.com React Components", - "version": "1.51.1-rc.0", + "version": "1.52.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -63,9 +63,9 @@ }, "dependencies": { "@babel/runtime": "^7.16.3", - "@carbon/ibmdotcom-services": "1.51.1-rc.0", - "@carbon/ibmdotcom-styles": "1.51.1-rc.0", - "@carbon/ibmdotcom-utilities": "1.51.1-rc.0", + "@carbon/ibmdotcom-services": "1.52.0-rc.0", + "@carbon/ibmdotcom-styles": "1.52.0-rc.0", + "@carbon/ibmdotcom-utilities": "1.52.0-rc.0", "@carbon/telemetry": "^0.1.0", "autosuggest-highlight": "^3.1.1", "carbon-components": "10.58.8", @@ -86,8 +86,8 @@ "@babel/preset-env": "~7.12.0", "@babel/preset-react": "~7.12.1", "@carbon/icons-react": "10.49.2", - "@carbon/pictograms-react": "11.47.0", - "@carbon/storybook-addon-theme": "1.42.1-rc.0", + "@carbon/pictograms-react": "11.49.0", + "@carbon/storybook-addon-theme": "1.43.0-rc.0", "@percy-io/in-percy": "^0.1.11", "@percy/cli": "^1.8.1", "@percy/cypress": "^3.1.1", diff --git a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap index 141554a683b..720b725f1c6 100644 --- a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap +++ b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap @@ -36322,7 +36322,7 @@ exports[`Storyshots Components/Dotcom shell Default (footer language only) 1`] = > @@ -43360,7 +43360,7 @@ exports[`Storyshots Components/Dotcom shell Default 1`] = ` > @@ -49424,7 +49424,7 @@ exports[`Storyshots Components/Dotcom shell Search open 1`] = ` > @@ -59682,7 +59682,7 @@ exports[`Storyshots Components/Dotcom shell With L1 1`] = ` > @@ -66775,7 +66775,7 @@ exports[`Storyshots Components/Dotcom shell With micro footer (language only) 1` > @@ -72740,7 +72740,7 @@ exports[`Storyshots Components/Dotcom shell With micro footer 1`] = ` > @@ -78413,7 +78413,7 @@ exports[`Storyshots Components/Dotcom shell With platform 1`] = ` > @@ -84654,7 +84654,7 @@ exports[`Storyshots Components/Dotcom shell With short footer (language only) 1` > @@ -91691,7 +91691,7 @@ exports[`Storyshots Components/Dotcom shell With short footer 1`] = ` > @@ -115341,7 +115341,7 @@ exports[`Storyshots Components/Masthead Default 1`] = ` > @@ -116022,7 +116022,7 @@ exports[`Storyshots Components/Masthead Search open onload 1`] = ` > @@ -120914,7 +120914,7 @@ exports[`Storyshots Components/Masthead With L1 1`] = ` > @@ -122574,7 +122574,7 @@ exports[`Storyshots Components/Masthead With alternate logo and tooltip 1`] = ` > @@ -127300,7 +127300,7 @@ exports[`Storyshots Components/Masthead With custom navigation 1`] = ` > @@ -128880,7 +128880,7 @@ exports[`Storyshots Components/Masthead With platform 1`] = ` > diff --git a/packages/services-store/CHANGELOG.md b/packages/services-store/CHANGELOG.md index b8b98694bce..e3a8fe12491 100644 --- a/packages/services-store/CHANGELOG.md +++ b/packages/services-store/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.52.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-services-store@1.51.1-rc.0...@carbon/ibmdotcom-services-store@1.52.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/ibmdotcom-services-store + + + + + ## [1.51.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-services-store@1.51.0...@carbon/ibmdotcom-services-store@1.51.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/ibmdotcom-services-store diff --git a/packages/services-store/package.json b/packages/services-store/package.json index ea57db764a5..1531aa8f50f 100644 --- a/packages/services-store/package.json +++ b/packages/services-store/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibmdotcom-services-store", "private": true, - "version": "1.51.1-rc.0", + "version": "1.52.0-rc.0", "description": "Redux store for Carbon for IBM.com Services", "license": "Apache-2.0", "main": "lib/store.js", @@ -30,8 +30,8 @@ "test:unit": "yarn jest" }, "dependencies": { - "@carbon/ibmdotcom-services": "1.51.1-rc.0", - "@carbon/ibmdotcom-utilities": "1.51.1-rc.0", + "@carbon/ibmdotcom-services": "1.52.0-rc.0", + "@carbon/ibmdotcom-utilities": "1.52.0-rc.0", "carbon-components": "10.58.3", "redux": "^4.0.0", "redux-logger": "^3.0.0", diff --git a/packages/services/CHANGELOG.md b/packages/services/CHANGELOG.md index 39c7031e87e..7ec9d48d074 100644 --- a/packages/services/CHANGELOG.md +++ b/packages/services/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.52.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-services@1.51.1-rc.0...@carbon/ibmdotcom-services@1.52.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/ibmdotcom-services + + + + + ## [1.51.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-services@1.51.0...@carbon/ibmdotcom-services@1.51.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/ibmdotcom-services diff --git a/packages/services/package.json b/packages/services/package.json index be03fbdcf93..b21eb4ec32c 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibmdotcom-services", "description": "Carbon for IBM.com Services", - "version": "1.51.1-rc.0", + "version": "1.52.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -48,7 +48,7 @@ }, "dependencies": { "@babel/runtime": "^7.16.3", - "@carbon/ibmdotcom-utilities": "1.51.1-rc.0", + "@carbon/ibmdotcom-utilities": "1.52.0-rc.0", "@carbon/telemetry": "0.1.0", "axios": "^0.27.2", "marked": "^4.0.10", diff --git a/packages/storybook-addon-theme/CHANGELOG.md b/packages/storybook-addon-theme/CHANGELOG.md index d1c9e82aa9b..efd792b1857 100644 --- a/packages/storybook-addon-theme/CHANGELOG.md +++ b/packages/storybook-addon-theme/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.43.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/storybook-addon-theme@1.42.1-rc.0...@carbon/storybook-addon-theme@1.43.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/storybook-addon-theme + + + + + ## [1.42.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/storybook-addon-theme@1.42.0...@carbon/storybook-addon-theme@1.42.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/storybook-addon-theme diff --git a/packages/storybook-addon-theme/package.json b/packages/storybook-addon-theme/package.json index 38036cba7bb..2022b50218b 100644 --- a/packages/storybook-addon-theme/package.json +++ b/packages/storybook-addon-theme/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/storybook-addon-theme", "private": true, - "version": "1.42.1-rc.0", + "version": "1.43.0-rc.0", "description": "Storybook add-on for Carbon theme chooser", "license": "Apache-2.0", "main": "es/index.js", diff --git a/packages/stylelint-config-ibmdotcom/CHANGELOG.md b/packages/stylelint-config-ibmdotcom/CHANGELOG.md index 829430b2f95..ba28a0ce331 100644 --- a/packages/stylelint-config-ibmdotcom/CHANGELOG.md +++ b/packages/stylelint-config-ibmdotcom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/stylelint-config-ibmdotcom@1.41.1-rc.0...@carbon/stylelint-config-ibmdotcom@1.42.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/stylelint-config-ibmdotcom + + + + + ## [1.41.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/stylelint-config-ibmdotcom@1.41.0...@carbon/stylelint-config-ibmdotcom@1.41.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/stylelint-config-ibmdotcom diff --git a/packages/stylelint-config-ibmdotcom/package.json b/packages/stylelint-config-ibmdotcom/package.json index e3bd52246bd..b31215fafe0 100644 --- a/packages/stylelint-config-ibmdotcom/package.json +++ b/packages/stylelint-config-ibmdotcom/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/stylelint-config-ibmdotcom", "private": true, - "version": "1.41.1-rc.0", + "version": "1.42.0-rc.0", "description": "Stylelint configuration for Carbon for IBM.com", "license": "Apache-2.0", "main": "index.js", diff --git a/packages/styles/CHANGELOG.md b/packages/styles/CHANGELOG.md index 87088d65e0f..6fa7097c7fb 100644 --- a/packages/styles/CHANGELOG.md +++ b/packages/styles/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.52.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-styles@1.51.1-rc.0...@carbon/ibmdotcom-styles@1.52.0-rc.0) (2023-10-03) + + +### Bug Fixes + +* **deps:** update dependency @carbon/grid to v10.43.2 ([#10948](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10948)) ([8e5996d](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/8e5996df1ec19c03656496a47988cf82cba5a2ff)) +* **deps:** update dependency @carbon/motion to v10.29.2 ([#10989](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10989)) ([64b1ed7](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/64b1ed7d7ccb5131dfb1db63d6fd95905ab6477d)) +* **deps:** update dependency @carbon/themes to v10.55.3 ([#10990](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10990)) ([20fe23e](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/20fe23eadcb7e9c86f5d39db6a7f7b0bfb042917)) +* **masthead:** add high contrast styles for ibm logo ([#10988](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10988)) ([c5331f2](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/c5331f2ec063676d2efe07d05b07cd1e5a7063dc)), closes [#10977](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10977) + + + + + ## [1.51.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-styles@1.51.0...@carbon/ibmdotcom-styles@1.51.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/ibmdotcom-styles diff --git a/packages/styles/icons/svg/IBM-8bar-logo--h23.svg b/packages/styles/icons/svg/IBM-8bar-logo--h23.svg index cf4f52131fa..dec214f8d2e 100644 --- a/packages/styles/icons/svg/IBM-8bar-logo--h23.svg +++ b/packages/styles/icons/svg/IBM-8bar-logo--h23.svg @@ -1,7 +1,7 @@ - + diff --git a/packages/styles/package.json b/packages/styles/package.json index 5fe5bbde503..38f044481ea 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibmdotcom-styles", "description": "Carbon for IBM.com Styles", - "version": "1.51.1-rc.0", + "version": "1.52.0-rc.0", "license": "Apache-2.0", "main": "dist/ibm-dotcom-styles.min.css", "module": "src/scss", @@ -37,7 +37,7 @@ "@carbon/layout": "10.37.1", "@carbon/motion": "10.29.2", "@carbon/telemetry": "0.1.0", - "@carbon/themes": "10.55.2", + "@carbon/themes": "10.55.3", "@carbon/type": "10.45.2", "carbon-components": "10.58.8" }, diff --git a/packages/styles/scss/components/masthead/_masthead.scss b/packages/styles/scss/components/masthead/_masthead.scss index dffe2ba048a..51a17ad68a1 100755 --- a/packages/styles/scss/components/masthead/_masthead.scss +++ b/packages/styles/scss/components/masthead/_masthead.scss @@ -56,6 +56,16 @@ $search-transition-timing: 95ms; svg { width: 58px; height: 23px; + + g, + path { + fill: $layer-selected-inverse; + + /* stylelint-disable-next-line media-feature-name-no-unknown */ + @media (prefers-contrast: more) { + fill: ButtonText; + } + } } &::after { diff --git a/packages/utilities/CHANGELOG.md b/packages/utilities/CHANGELOG.md index 999cabe722e..fff2810ce62 100644 --- a/packages/utilities/CHANGELOG.md +++ b/packages/utilities/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.52.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.51.1-rc.0...@carbon/ibmdotcom-utilities@1.52.0-rc.0) (2023-10-03) + +**Note:** Version bump only for package @carbon/ibmdotcom-utilities + + + + + ## [1.51.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.51.0...@carbon/ibmdotcom-utilities@1.51.1-rc.0) (2023-09-25) **Note:** Version bump only for package @carbon/ibmdotcom-utilities diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 3d04731b420..50526bc817a 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibmdotcom-utilities", "description": "Carbon for IBM.com Utilities", - "version": "1.51.1-rc.0", + "version": "1.52.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", diff --git a/packages/utilities/src/utilities/settings/settings.js b/packages/utilities/src/utilities/settings/settings.js index 78471eeec01..89aa07c0a17 100644 --- a/packages/utilities/src/utilities/settings/settings.js +++ b/packages/utilities/src/utilities/settings/settings.js @@ -11,10 +11,10 @@ * @exports ibmdotcom.settings * @type {object} Settings object * @property {string} [prefix=dds] - * Carbon for IBM.com v1.51.1', + * Carbon for IBM.com v1.52.0', */ const settings = { - version: 'Carbon for IBM.com v1.51.1', + version: 'Carbon for IBM.com v1.52.0', stablePrefix: 'dds', }; diff --git a/packages/web-components/CHANGELOG.md b/packages/web-components/CHANGELOG.md index 0dcc3e2cfbe..7638b36e72a 100644 --- a/packages/web-components/CHANGELOG.md +++ b/packages/web-components/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.37.0-rc.1](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-web-components@1.37.0-rc.0...@carbon/ibmdotcom-web-components@1.37.0-rc.1) (2023-10-04) + +**Note:** Version bump only for package @carbon/ibmdotcom-web-components + + + + + +# [1.37.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-web-components@1.36.1-rc.0...@carbon/ibmdotcom-web-components@1.37.0-rc.0) (2023-10-03) + + +### Bug Fixes + +* **carousel:** delay instantiation of IntersectionObserver ([#10971](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10971)) ([4dc0f91](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/4dc0f9129d5cc6033b562a1d682f5493555390b5)), closes [#10929](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10929) +* **masthead:** new property for custom nav links ([#10986](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10986)) ([b512715](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/b512715e936f0d729646b434020f535588fe27ff)), closes [#10984](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10984) +* **Masthead:** Search field does not display auto suggest results ([#10795](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10795)) ([db17bd9](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/db17bd96947ee28049b7ca542bf6c7a274b63404)), closes [#10741](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10741) +* **video-player-composite:** fix isPlaying boolean ([#10957](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10957)) ([78ee219](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/78ee2198042234cf1266676c8ba82d0b9b267327)) + + + + + ## [1.36.1-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-web-components@1.36.0...@carbon/ibmdotcom-web-components@1.36.1-rc.0) (2023-09-25) diff --git a/packages/web-components/package.json b/packages/web-components/package.json index 39f20794eca..d9a2cead815 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@carbon/ibmdotcom-web-components", - "version": "1.36.1-rc.0", + "version": "1.37.0-rc.1", "description": "Carbon for IBM.com Web Components", "license": "Apache-2.0", "exports": { @@ -89,13 +89,13 @@ "wca": "web-component-analyzer analyze src --outFile custom-elements.json" }, "dependencies": { - "@carbon/ibmdotcom-services": "1.51.1-rc.0", - "@carbon/ibmdotcom-styles": "1.51.1-rc.0", - "@carbon/ibmdotcom-utilities": "1.51.1-rc.0", + "@carbon/ibmdotcom-services": "1.52.0-rc.0", + "@carbon/ibmdotcom-styles": "1.52.0-rc.0", + "@carbon/ibmdotcom-utilities": "1.52.0-rc.0", "@carbon/layout": "10.37.1", "@carbon/motion": "^11.0.0", "@carbon/telemetry": "0.1.0", - "@carbon/web-components": "1.32.1-rc.0", + "@carbon/web-components": "1.33.0-rc.0", "carbon-components": "10.58.8", "lit-element": "^2.5.1", "lit-html": "^1.4.1", @@ -130,7 +130,7 @@ "@babel/preset-react": "~7.12.1", "@babel/template": "~7.12.0", "@babel/traverse": "~7.12.0", - "@carbon/ibmdotcom-services-store": "1.51.1-rc.0", + "@carbon/ibmdotcom-services-store": "1.52.0-rc.0", "@carbon/icon-helpers": "10.44.0", "@carbon/icons": "10.48.2", "@carbon/type": "10.45.2", diff --git a/packages/web-components/src/components/callout-quote/__stories__/callout-quote.stories.ts b/packages/web-components/src/components/callout-quote/__stories__/callout-quote.stories.ts index a07746340ee..d02c457cd70 100644 --- a/packages/web-components/src/components/callout-quote/__stories__/callout-quote.stories.ts +++ b/packages/web-components/src/components/callout-quote/__stories__/callout-quote.stories.ts @@ -50,7 +50,7 @@ export default { (story) => html`
-
${story()}
+
${story()}
`, diff --git a/packages/web-components/src/components/callout-quote/callout-quote.scss b/packages/web-components/src/components/callout-quote/callout-quote.scss index 69e28c87f5d..2241171307e 100644 --- a/packages/web-components/src/components/callout-quote/callout-quote.scss +++ b/packages/web-components/src/components/callout-quote/callout-quote.scss @@ -33,3 +33,18 @@ margin: 1rem 0.5rem; } } + +:host(#{$dds-prefix}-callout-quote) { + .#{$prefix}--quote__wrapper { + margin-left: -$spacing-05; + margin-right: -$spacing-05; + @include carbon--breakpoint('md') { + margin-left: -$spacing-05; + margin-right: -$spacing-05; + } + @include carbon--breakpoint('sm') { + margin-left: 0; + margin-right: 0; + } + } +} diff --git a/packages/web-components/src/components/notice-choice/__stories__/notice-choice.stories.ts b/packages/web-components/src/components/notice-choice/__stories__/notice-choice.stories.ts index a3335df7b81..5fec717ca8d 100644 --- a/packages/web-components/src/components/notice-choice/__stories__/notice-choice.stories.ts +++ b/packages/web-components/src/components/notice-choice/__stories__/notice-choice.stories.ts @@ -56,6 +56,14 @@ const stateList = { Alabama: 'AL', California: 'CA', }; +const hideErrorMessages = { + true: 'true', + false: 'false', +}; +const showLegalNotices = { + true: 'true', + false: 'false', +}; const onChange = (event: CustomEvent) => { console.log(event.detail); }; @@ -71,6 +79,8 @@ const props = () => ({ ), bpidLegalText: text('BPID Legal Text', ''), onChange: action('dds-notice-choice-change'), + hideErrorMessages: select('Hide Error Messages', hideErrorMessages, 'false'), + showLegalNotice: select('Show Legal Notice', showLegalNotices, 'true'), }); export const Default = (args) => { @@ -81,6 +91,8 @@ export const Default = (args) => { email, termsConditionLink, questionchoices, + hideErrorMessages, + showLegalNotice, enableAllOptIn, bpidLegalText, hiddenEmail, @@ -94,6 +106,8 @@ export const Default = (args) => { state="${state}" email=${email} terms-condition-link="${termsConditionLink || ''}" + hide-error-message="${hideErrorMessages}" + show-legal-notice=${showLegalNotice} ?enable-all-opt-in=${enableAllOptIn} bpid-legal-text="${bpidLegalText}" .hiddenEmail="${hiddenEmail}" diff --git a/packages/web-components/src/components/notice-choice/country-settings.ts b/packages/web-components/src/components/notice-choice/country-settings.ts index 8c642bcaff8..e92626db2ad 100644 --- a/packages/web-components/src/components/notice-choice/country-settings.ts +++ b/packages/web-components/src/components/notice-choice/country-settings.ts @@ -44,7 +44,7 @@ const countrySettings = { pt: { status: 'OPT_IN', lang: 'pt', email: 'opt-in', phone: 'opt-in' }, ar: { status: 'OPT_IN', lang: 'es', email: 'opt-in', phone: 'opt-out' }, bo: { status: 'OPT_IN', lang: 'es', email: 'opt-out', phone: 'opt-out' }, - br: { status: 'OPT_IN', lang: 'pt', email: 'opt-in', phone: 'opt-out' }, + br: { status: 'OPT_IN', lang: 'pt', email: 'opt-out', phone: 'opt-out' }, cl: { status: 'OPT_IN', lang: 'es', email: 'opt-out', phone: 'opt-out' }, co: { status: 'OPT_IN', lang: 'es', email: 'opt-in', phone: 'opt-in' }, do: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, @@ -88,7 +88,7 @@ const countrySettings = { om: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, pk: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, pl: { status: 'OPT_IN', lang: 'pl', email: 'opt-in', phone: 'opt-in' }, - qa: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, + qa: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-in' }, ro: { status: 'OPT_IN', lang: 'ro', email: 'opt-in', phone: 'opt-out' }, rs: { status: 'OPT_IN', lang: 'sr', email: 'opt-in', phone: 'opt-out' }, me: { status: 'OPT_IN', lang: 'sr', email: 'opt-in', phone: 'opt-out' }, @@ -126,7 +126,7 @@ const countrySettings = { ci: { status: 'OPT_IN', lang: 'fr', email: 'opt-out', phone: 'opt-out' }, ck: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, cm: { status: 'OPT_IN', lang: 'fr', email: 'opt-in', phone: 'opt-out' }, - cr: { status: 'OPT_IN', lang: 'es', email: 'opt-out', phone: 'opt-out' }, + cr: { status: 'OPT_IN', lang: 'es', email: 'opt-in', phone: 'opt-in' }, cu: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, cv: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, cx: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, @@ -146,7 +146,7 @@ const countrySettings = { gi: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, gl: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, gm: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, - gn: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, + gn: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-in' }, gp: { status: 'OPT_IN', lang: 'en', email: 'opt-out', phone: 'opt-out' }, gq: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, gs: { status: 'OPT_IN', lang: 'en', email: 'opt-in', phone: 'opt-out' }, diff --git a/packages/web-components/src/components/notice-choice/notice-choice.ts b/packages/web-components/src/components/notice-choice/notice-choice.ts index 0c12934a2a6..582d19bd540 100644 --- a/packages/web-components/src/components/notice-choice/notice-choice.ts +++ b/packages/web-components/src/components/notice-choice/notice-choice.ts @@ -8,7 +8,7 @@ */ import { checkPreferencesv3, loadContent } from './services'; -import { html, LitElement, property } from 'lit-element'; +import { html, LitElement, property, TemplateResult } from 'lit-element'; import { emailRegExp, pwsValueMap, @@ -67,6 +67,12 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { @property({ type: String, attribute: 'email' }) email = ''; + @property({ type: Boolean, attribute: 'hide-error-message' }) + hideErrorMessage = false; + + @property({ type: Boolean, attribute: 'show-legal-notice' }) + showLegalNotice = true; + @property({ type: Object, attribute: false }) checkboxes = {}; @@ -82,6 +88,9 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { @property({ type: Object, attribute: false }) optInContent = {}; + @property({ type: Boolean, attribute: false }) + preventFormSubmission = false; + /** * End properties for passed attributes. */ @@ -171,7 +180,8 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { } const hiddenFieldName = `NC_HIDDEN_${key}`; newValues[hiddenFieldName] = option[hiddenFieldName]; - this._onChange(hiddenFieldName, newValues[key] ? 'OPT_IN' : null); + + this._onChange(hiddenFieldName, newValues[key] ? 'OPT_IN' : 'OPT_OUT'); }); if (JSON.stringify(this.values) !== JSON.stringify(newValues)) { this.values = newValues; @@ -183,6 +193,11 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { if (splitValue == 'en') { this.preText = this.preTextTemplate(); } + this.preventFormSubmission = false; + if (this.ncData?.mandatoryCheckbox[this.country?.toLocaleLowerCase()]) { + this.preventFormSubmission = true; + this._onChange('preventFormSubmission', 'formSubmissionNo'); + } /** * @description if the user already interacted with the checkboxes, * skip country default selection. @@ -275,6 +290,18 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { } break; } + case 'hide-error-message': { + if (oldVal !== newVal) { + this.hideErrorMessage = JSON.parse(newVal); + this.countryBasedLegalNotice(); + } + + break; + } + case 'show-legal-notice': { + this.showLegalNotice = JSON.parse(newVal); + break; + } } } @@ -294,12 +321,86 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { this.values[id] = {}; this.values[id]['checkBoxStatus'] = hiddenFieldStatus; this._onChange(hiddenFieldName, hiddenFieldStatus); + this._onChange( + `${hiddenFieldName}_VALUE`, + `NC_HIDDEN_${hiddenFieldStatus}` + ); } static get stableSelector() { return `${ddsPrefix}--notice-choice`; } static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader + checkBoxLegalChange($event: any) { + const legalCheckbox = $event.target; + const isChecked = legalCheckbox.checked; + const legalTextError = legalCheckbox.parentNode.querySelector('.nc-error'); + const qChinaPIPl = isChecked ? 'qChinaPIPlYes' : 'qChinaPIPlNo'; + + if (legalTextError) { + legalTextError.style.display = isChecked ? 'none' : ''; + } + + legalCheckbox.value = isChecked ? 1 : 0; + this.preventFormSubmission = !isChecked; + const preventFormSubmissionValue = isChecked + ? 'formSubmissionYes' + : 'formSubmissionNo'; + this._onChange('preventFormSubmission', preventFormSubmissionValue); + this._onChange('Q_CHINA_PIPL', qChinaPIPl); + } + + countryBasedLegalNotice() { + const country = this.country.toLocaleLowerCase(); + const itemTemplates: Array = []; + + if ( + this.ncData?.mandatoryCheckbox && + this.ncData.mandatoryCheckbox[country] + ) { + const mandatoryCheckboxes: { [key: string]: any } = + this.ncData.mandatoryCheckbox[country]; + + for (const [key, mandatoryCheckbox] of Object.entries( + mandatoryCheckboxes + )) { + const legalTextName = key.replace(/([A-Z]+)/g, '-$1').toLowerCase(); + let mandatoryCheckboxTemplate = html` + +
+

+ + + ${!this.hideErrorMessage && this.preventFormSubmission + ? html`${mandatoryCheckbox.error}` + : ''} +

+
+
+ `; + itemTemplates.push(mandatoryCheckboxTemplate); + } + } + + return itemTemplates; + } + checkBoxTemplate(checkbox, checked, hiddenBox) { + this._onChange(`${hiddenBox.id}_VALUE`, `NC_HIDDEN_${hiddenBox.value}`); return html`
|<\/tc>/g, ''); const link = `${anrTagHtml}`; const reg = new RegExp('' + anrTagHtml + '', 'g'); - postText = postText + originalValue.replace(reg, link); + + postText = + postText + + originalValue + .replace(reg, link) + .replace(/

/g, '

'); } } if (postText !== '') { @@ -392,7 +498,9 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { } render() { return html`

-

${this.preTextTemplate()}

+

${ + this.showLegalNotice ? this.countryBasedLegalNotice() : '' + } ${this.preTextTemplate()}

${ Object.keys(this.checkboxes).length !== 0 @@ -418,7 +526,9 @@ class NoticeChoice extends StableSelectorMixin(LitElement) {
${this.postTextTemplate()}
- +
${this.getBpidLegalText()} `; @@ -523,6 +633,10 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { const pwsFieldsMap = { NC_HIDDEN_EMAIL: 'permission_email', NC_HIDDEN_PHONE: 'permission_phone', + preventFormSubmission: 'preventFormSubmission', + Q_CHINA_PIPL: 'Q_CHINA_PIPL', + NC_HIDDEN_EMAIL_VALUE: 'NC_HIDDEN_EMAIL', + NC_HIDDEN_PHONE_VALUE: 'NC_HIDDEN_PHONE', }; if (Object.prototype.hasOwnProperty.call(pwsFieldsMap, field)) { diff --git a/packages/web-components/src/components/notice-choice/utils.ts b/packages/web-components/src/components/notice-choice/utils.ts index d94b63e1cf8..06c373f4585 100644 --- a/packages/web-components/src/components/notice-choice/utils.ts +++ b/packages/web-components/src/components/notice-choice/utils.ts @@ -57,6 +57,13 @@ export function pwsValueMap(value) { OPT_OUT: 'no', PERMISSION: 'yes', SUPPRESSION: 'no', + formSubmissionYes: 'false', + formSubmissionNo: 'true', + qChinaPIPlYes: 'true', + qChinaPIPlNo: 'false', + NC_HIDDEN_PERMISSION: 'PERMISSION', + NC_HIDDEN_SUPPRESSION: 'SUPPRESSION', + NC_HIDDEN_UNCHANGED: 'UNCHANGED', }[value] || null ); } diff --git a/packages/web-components/tools/get-rollup-config.js b/packages/web-components/tools/get-rollup-config.js index a2438d14641..52a57eba5b4 100644 --- a/packages/web-components/tools/get-rollup-config.js +++ b/packages/web-components/tools/get-rollup-config.js @@ -124,6 +124,9 @@ function getRollupConfig({ inputs[ `lightbox-image-viewer${dirSuffixes[dir]}${modeSuffixes[mode]}` ] = `src/components/lightbox-media-viewer/lightbox-image-viewer.ts`; + inputs[ + `lightbox-media-viewer${dirSuffixes[dir]}${modeSuffixes[mode]}` + ] = `src/components/lightbox-media-viewer/lightbox-media-viewer.ts`; inputs[ `lightbox-video-player${dirSuffixes[dir]}${modeSuffixes[mode]}` ] = `src/components/lightbox-media-viewer/lightbox-video-player-container.ts`; diff --git a/yarn.lock b/yarn.lock index b4608aaf94b..43207ac3ba6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2197,10 +2197,10 @@ __metadata: languageName: node linkType: hard -"@carbon/colors@npm:^10.37.1": - version: 10.37.1 - resolution: "@carbon/colors@npm:10.37.1" - checksum: 7cdc38370d1a51d968f28de951a180211b33db14f6dee5cd55c1d965ebe74c19c55924898df7c344f72dfa2c46a764ad16696038911e77b43d9b701d34c56514 +"@carbon/colors@npm:^10.37.2": + version: 10.37.2 + resolution: "@carbon/colors@npm:10.37.2" + checksum: da7280c1c48f4edea8898f2e03404fdbb48b1d17a95fa494bd481c29f9bc2338169f4ad0b705a02ad4e1f94ef7b047793e8c24aad3db2f4a91d4b1d734bee950 languageName: node linkType: hard @@ -2208,7 +2208,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/eslint-config-ibmdotcom@workspace:packages/eslint-config-ibmdotcom" dependencies: - "@carbon/eslint-plugin-react-prop-type-comments": 1.41.1-rc.0 + "@carbon/eslint-plugin-react-prop-type-comments": 1.42.0-rc.0 "@typescript-eslint/eslint-plugin": ^5.43.0 "@typescript-eslint/parser": ^5.43.0 babel-eslint: ^10.1.0 @@ -2240,7 +2240,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/eslint-plugin-react-prop-type-comments@1.41.1-rc.0, @carbon/eslint-plugin-react-prop-type-comments@workspace:packages/eslint-plugin-react-prop-type-comments": +"@carbon/eslint-plugin-react-prop-type-comments@1.42.0-rc.0, @carbon/eslint-plugin-react-prop-type-comments@workspace:packages/eslint-plugin-react-prop-type-comments": version: 0.0.0-use.local resolution: "@carbon/eslint-plugin-react-prop-type-comments@workspace:packages/eslint-plugin-react-prop-type-comments" peerDependencies: @@ -2255,7 +2255,7 @@ __metadata: languageName: node linkType: hard -"@carbon/grid@npm:10.43.2": +"@carbon/grid@npm:10.43.2, @carbon/grid@npm:^10.43.2": version: 10.43.2 resolution: "@carbon/grid@npm:10.43.2" dependencies: @@ -2289,12 +2289,12 @@ __metadata: "@babel/preset-env": ~7.12.0 "@babel/preset-react": ~7.12.1 "@babel/runtime": ^7.16.3 - "@carbon/ibmdotcom-services": 1.51.1-rc.0 - "@carbon/ibmdotcom-styles": 1.51.1-rc.0 - "@carbon/ibmdotcom-utilities": 1.51.1-rc.0 + "@carbon/ibmdotcom-services": 1.52.0-rc.0 + "@carbon/ibmdotcom-styles": 1.52.0-rc.0 + "@carbon/ibmdotcom-utilities": 1.52.0-rc.0 "@carbon/icons-react": 10.49.2 - "@carbon/pictograms-react": 11.47.0 - "@carbon/storybook-addon-theme": 1.42.1-rc.0 + "@carbon/pictograms-react": 11.49.0 + "@carbon/storybook-addon-theme": 1.43.0-rc.0 "@carbon/telemetry": ^0.1.0 "@percy-io/in-percy": ^0.1.11 "@percy/cli": ^1.8.1 @@ -2407,7 +2407,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibmdotcom-services-store@1.51.1-rc.0, @carbon/ibmdotcom-services-store@workspace:packages/services-store": +"@carbon/ibmdotcom-services-store@1.52.0-rc.0, @carbon/ibmdotcom-services-store@workspace:packages/services-store": version: 0.0.0-use.local resolution: "@carbon/ibmdotcom-services-store@workspace:packages/services-store" dependencies: @@ -2418,8 +2418,8 @@ __metadata: "@babel/plugin-transform-modules-commonjs": ~7.12.0 "@babel/plugin-transform-typescript": ~7.12.0 "@babel/preset-modules": ^0.1.5 - "@carbon/ibmdotcom-services": 1.51.1-rc.0 - "@carbon/ibmdotcom-utilities": 1.51.1-rc.0 + "@carbon/ibmdotcom-services": 1.52.0-rc.0 + "@carbon/ibmdotcom-utilities": 1.52.0-rc.0 async-done: ^1.3.0 babel-eslint: ^10.1.0 babel-jest: ^24.0.0 @@ -2444,7 +2444,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibmdotcom-services@1.51.1-rc.0, @carbon/ibmdotcom-services@workspace:packages/services": +"@carbon/ibmdotcom-services@1.52.0-rc.0, @carbon/ibmdotcom-services@workspace:packages/services": version: 0.0.0-use.local resolution: "@carbon/ibmdotcom-services@workspace:packages/services" dependencies: @@ -2457,7 +2457,7 @@ __metadata: "@babel/plugin-transform-runtime": 7.18.5 "@babel/preset-env": ~7.12.0 "@babel/runtime": ^7.16.3 - "@carbon/ibmdotcom-utilities": 1.51.1-rc.0 + "@carbon/ibmdotcom-utilities": 1.52.0-rc.0 "@carbon/telemetry": 0.1.0 "@rollup/plugin-babel": ^5.3.1 "@rollup/plugin-commonjs": ^21.0.3 @@ -2491,7 +2491,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibmdotcom-styles@1.51.1-rc.0, @carbon/ibmdotcom-styles@workspace:packages/styles": +"@carbon/ibmdotcom-styles@1.52.0-rc.0, @carbon/ibmdotcom-styles@workspace:packages/styles": version: 0.0.0-use.local resolution: "@carbon/ibmdotcom-styles@workspace:packages/styles" dependencies: @@ -2501,7 +2501,7 @@ __metadata: "@carbon/layout": 10.37.1 "@carbon/motion": 10.29.2 "@carbon/telemetry": 0.1.0 - "@carbon/themes": 10.55.2 + "@carbon/themes": 10.55.3 "@carbon/type": 10.45.2 carbon-components: 10.58.8 carbon-components-react: 7.59.8 @@ -2517,7 +2517,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibmdotcom-utilities@1.51.1-rc.0, @carbon/ibmdotcom-utilities@workspace:packages/utilities": +"@carbon/ibmdotcom-utilities@1.52.0-rc.0, @carbon/ibmdotcom-utilities@workspace:packages/utilities": version: 0.0.0-use.local resolution: "@carbon/ibmdotcom-utilities@workspace:packages/utilities" dependencies: @@ -2583,10 +2583,10 @@ __metadata: "@babel/preset-react": ~7.12.1 "@babel/template": ~7.12.0 "@babel/traverse": ~7.12.0 - "@carbon/ibmdotcom-services": 1.51.1-rc.0 - "@carbon/ibmdotcom-services-store": 1.51.1-rc.0 - "@carbon/ibmdotcom-styles": 1.51.1-rc.0 - "@carbon/ibmdotcom-utilities": 1.51.1-rc.0 + "@carbon/ibmdotcom-services": 1.52.0-rc.0 + "@carbon/ibmdotcom-services-store": 1.52.0-rc.0 + "@carbon/ibmdotcom-styles": 1.52.0-rc.0 + "@carbon/ibmdotcom-utilities": 1.52.0-rc.0 "@carbon/icon-helpers": 10.44.0 "@carbon/icons": 10.48.2 "@carbon/icons-react": 10.49.2 @@ -2594,7 +2594,7 @@ __metadata: "@carbon/motion": ^11.0.0 "@carbon/telemetry": 0.1.0 "@carbon/type": 10.45.2 - "@carbon/web-components": 1.32.1-rc.0 + "@carbon/web-components": 1.33.0-rc.0 "@open-wc/semantic-dom-diff": ~0.18.0 "@percy-io/in-percy": ^0.1.11 "@percy/cli": ^1.8.1 @@ -2816,20 +2816,20 @@ __metadata: languageName: node linkType: hard -"@carbon/pictograms-react@npm:11.47.0": - version: 11.47.0 - resolution: "@carbon/pictograms-react@npm:11.47.0" +"@carbon/pictograms-react@npm:11.49.0": + version: 11.49.0 + resolution: "@carbon/pictograms-react@npm:11.49.0" dependencies: "@carbon/icon-helpers": ^10.44.0 "@carbon/telemetry": 0.1.0 prop-types: ^15.7.2 peerDependencies: react: ">=16" - checksum: 73bba67d61fca4c55afa02486e7b7277585ce9ef8b933901553d97ca60c01184645325aaf4c9ad0376075ee7958895291cbae704f30f1285d029eff36ab54821 + checksum: 0419f23a9b7137b4c3c697ae6c8f4272929e69434fad6a2c7530bcf530a45b242e766651d1bf1992765af1cede728deac680b55e18f8186542421610cceba98e languageName: node linkType: hard -"@carbon/storybook-addon-theme@1.42.1-rc.0, @carbon/storybook-addon-theme@workspace:packages/storybook-addon-theme": +"@carbon/storybook-addon-theme@1.43.0-rc.0, @carbon/storybook-addon-theme@workspace:packages/storybook-addon-theme": version: 0.0.0-use.local resolution: "@carbon/storybook-addon-theme@workspace:packages/storybook-addon-theme" dependencies: @@ -2865,19 +2865,19 @@ __metadata: languageName: node linkType: hard -"@carbon/themes@npm:10.55.2": - version: 10.55.2 - resolution: "@carbon/themes@npm:10.55.2" +"@carbon/themes@npm:10.55.3": + version: 10.55.3 + resolution: "@carbon/themes@npm:10.55.3" dependencies: - "@carbon/colors": ^10.37.1 - "@carbon/layout": ^10.37.1 - "@carbon/type": ^10.45.2 + "@carbon/colors": ^10.37.2 + "@carbon/layout": ^10.37.2 + "@carbon/type": ^10.45.3 color: ^3.1.2 - checksum: baeb77c1f497be131e497919f5b9935021f8204d952e38411a924cf382aefa8ca2cbf89601cef527cfe9874ddd6b6cd8565392100fe75c1d66d9b1c0499dd43b + checksum: 48673222ae1d21258f99baf984cf60af15b4ab111481fd609c209afe86643ba7e753f4dd1373e0a6c6cb650abdd822db59de38ee525821ae8736a200c02d758f languageName: node linkType: hard -"@carbon/type@npm:10.45.2, @carbon/type@npm:^10.45.2": +"@carbon/type@npm:10.45.2": version: 10.45.2 resolution: "@carbon/type@npm:10.45.2" dependencies: @@ -2887,7 +2887,17 @@ __metadata: languageName: node linkType: hard -"@carbon/web-components@1.32.1-rc.0, @carbon/web-components@workspace:packages/carbon-web-components": +"@carbon/type@npm:^10.45.3": + version: 10.45.3 + resolution: "@carbon/type@npm:10.45.3" + dependencies: + "@carbon/grid": ^10.43.2 + "@carbon/import-once": ^10.7.0 + checksum: e5ade5890510a29dd4d0a275b8be53c7bd22d44d884c9ce49717b0ef6ef6d689eb8001af869afb377c10026d1d4c25b38ba43d5d77b5d4d374f8bcf48340d40d + languageName: node + linkType: hard + +"@carbon/web-components@1.33.0-rc.0, @carbon/web-components@workspace:packages/carbon-web-components": version: 0.0.0-use.local resolution: "@carbon/web-components@workspace:packages/carbon-web-components" dependencies: @@ -3015,7 +3025,7 @@ __metadata: rollup: ^2.55.1 rollup-plugin-multi-input: ^1.3.1 rtlcss: ^3.0.0 - sass: ~1.63.0 + sass: ~1.69.0 sass-loader: ^10.0.0 strip-comments: ^1.0.0 style-loader: ^2.0.0 @@ -3029,7 +3039,7 @@ __metadata: web-component-analyzer: 1.2.0-next.0 webpack: ^4.46.0 webpack-dev-server: ^4.0.0 - zone.js: ~0.13.0 + zone.js: ~0.14.0 languageName: unknown linkType: soft @@ -27729,13 +27739,13 @@ __metadata: linkType: hard "postcss@npm:^8.2.10, postcss@npm:^8.2.15, postcss@npm:^8.3.11": - version: 8.4.27 - resolution: "postcss@npm:8.4.27" + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 1cdd0c298849df6cd65f7e646a3ba36870a37b65f55fd59d1a165539c263e9b4872a402bf4ed1ca1bc31f58b68b2835545e33ea1a23b161a1f8aa6d5ded81e78 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard @@ -30513,16 +30523,16 @@ __metadata: languageName: node linkType: hard -"sass@npm:~1.63.0": - version: 1.63.4 - resolution: "sass@npm:1.63.4" +"sass@npm:~1.69.0": + version: 1.69.0 + resolution: "sass@npm:1.69.0" dependencies: chokidar: ">=3.0.0 <4.0.0" immutable: ^4.0.0 source-map-js: ">=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 12bde5beff85a7018157d90c8b9d5aec8b56832f89fcfeca146f10936eecf97e669d22fd41f812b3407ed259bbb114d69c9ecbfc7ee9b15308211fb910cdf5eb + checksum: eabea31ea3b1dd529c7eff345c8b6468afe6ab8011bd4f95caa2cffb8fb115cc055ea21de425be6197f7ed22516f5652eccb98d315d592ea152ada553f964b8a languageName: node linkType: hard @@ -35918,12 +35928,12 @@ __metadata: languageName: node linkType: hard -"zone.js@npm:~0.13.0": - version: 0.13.1 - resolution: "zone.js@npm:0.13.1" +"zone.js@npm:~0.14.0": + version: 0.14.0 + resolution: "zone.js@npm:0.14.0" dependencies: tslib: ^2.3.0 - checksum: 35d18f7a3016c5c98d793ef7dd78acd53da7df38f45dc4739c562ff04189682ee8d2f9ee25faf1ac756d97fdb19bbaa73f3dc0acb192e5c56786ff33a31db56f + checksum: 8a1c055ff1f3da6e80f27bdc1b3a69cdb0098194ddfd9d9cee19414d5e00f09863f53a5746835ab711ef94bb828f44e4fe9f6c1491a0981dbcd13d3b88f5d997 languageName: node linkType: hard