-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"TypeError: Cannot redefine property: window" (v18.6.0) #47563
Comments
That bug was fixed by #46615 but it hasn't been back-ported to v18.x yet. That happens automatically after some time so it'll likely show up in a release in the next few weeks. You can follow the linked pull request to get notified. |
Change-type: patch
issue due to nodejs/node#47563 Change-type: patch
For use in sense-client that only has node 18.15.0 because of nodejs/node#47563
### Description A current [bug](nodejs/node#47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
For use in sense-client that only has node 18.15.0 because of nodejs/node#47563
For use in sense-client that only has node 18.15.0 because of nodejs/node#47563
to avoid this bug: nodejs/node#47563
@bnoordhuis are you aware whether the backport has already happened? |
It's been back-ported to v19.x but not to v18.x yet. Give it a few more weeks. |
Is odd as I've just tried bumping from 18.15.0 to 18.16.0 and now get this Will try again when another v18.x is released. |
* chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](nodejs/node#47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="https://github.com/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="https://github.com/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="https://github.com/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="https://github.com/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="https://github.com/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="https://github.com/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="https://github.com/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="https://github.com/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="https://github.com/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="https://github.com/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="https://github.com/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com>
… 18.16.0 unit tests affected by nodejs/node#47563
Thank you for suggesting this. Using it as a temporary fix while the issue is resolved. |
In my case this doesn't resolve the issue. |
* fix(masthead): remove cm-app init as minimize workaround (#10430) * chore(automerge): get masthead-v2-dev back up to date (#10423) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * fix(masthead-v2): use correct e2e test paths (#10439) * fix(masthead-v2): rename test file * fix(masthead-v2): update e2e test paths * fix(masthead-v2): fix lazy loading functionality Somehow (probably through merge resolutions), we ended up with some duplicate logic for lazy-loading megamenus. In practice, we were loading them as soon as the nav went through its first update cycle, which is on mount. * fix(masthead-v2): adjust l1 test selectors * test(masthead-v2): test v2 L1 features * fix(tests): browser option must be passed as flag Cypress legacy configuration docs (https://docs.cypress.io/guides/references/legacy-configuration) make no reference of a "browser" config file option, and headless tests are using the default Electron browser. Passing the flag successfully causes Chrome to be used instead. * Revert "fix(tests): browser option must be passed as flag" This reverts commit e20ae23a63ca08f7384b7c809d39beae7d34856d. * test(masthead-v2): skip positional tests until styles are fixed * chore(masthead-v2): merge main into dev branch (#10481) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) ### Related Ticket(s) ### Description This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. ### Changelog **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) ### Related Ticket(s) Closes #10380 ### Description Adds `part` property with value of `image` to the rendered `<img>` tag. ### Testing Instructions In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. ### Changelog **New** - dds-image::part(image) --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andy Blum <andy.blum.01@gmail.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * fix(masthead-l1): Ensure L1 submenu closes on focusout in safari (#10483) * adds tabindex to <li> wrapping L1 buttons so submenu closes on focusout in safari * fix(masthead-l1): run yarn format --------- Co-authored-by: Andy Blum <andy.blum.01@gmail.com> * fix(masthead-l1): fix focusout logic (#10523) * feat(masthead-l1): Removing the has pseudo-class (#10504) * removing the has pseudo selector due to lack of support * running formatting, ci-check * update to BEM class names * running ci-check --------- Co-authored-by: Andy Blum <andy.blum.01@gmail.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: Pauline <paulinemjudge@gmail.com> Co-authored-by: Pauline <pauline.judge@lullabot.com>
When will this get backported? It's been more than a few weeks at this point |
I had a cryptic message from jest
and it turned out I just needed to remove from |
@vodzak, Is this issue still persist? I have the same problem when running Jest in my local environment. In our storyshots.test.js we have
And it was working fine with Node 14 but got issues with node 18. Any suggestion? |
@Daniel8564 I'm curious why do you need to do it? isn't window available? |
avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io>
avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io>
we have done like above to mock addEventListener:
|
avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io>
avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io>
avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io>
* feat: support AppImage releases using @reforged/maker-appimage Closes: #405 Signed-off-by: Robert Günzler <r@gnzler.io> * ci: add squahfs-tools dependency for packaging AppImages Signed-off-by: Robert Günzler <r@gnzler.io> * ci: bump node to 18.15.0 avoid LTS for now until nodejs/node#47563 lands (probably 18.16.2) Signed-off-by: Robert Günzler <r@gnzler.io> --------- Signed-off-by: Robert Günzler <r@gnzler.io>
* chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) ### Related Ticket(s) ### Description This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. ### Changelog **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) ### Related Ticket(s) Closes #10380 ### Description Adds `part` property with value of `image` to the rendered `<img>` tag. ### Testing Instructions In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. ### Changelog **New** - dds-image::part(image) * fix(masthead): fixes `has-search` toggle (#10478) ### Related Ticket(s) Fixes #10477 ### Description Fixes `has-search` toggle for web components masthead. Also removes unrelated knobs from masthead stories. ### Changelog **New** - {{new thing}} **Changed** - `has-search` is now a string **Removed** - unrelated knobs in all masthead stories <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.2 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.2 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.2 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.2 - @carbon/ibmdotcom-react@1.47.0-rc.2 - @carbon/ibmdotcom-services-store@1.47.0-rc.2 - @carbon/ibmdotcom-services@1.47.0-rc.2 - @carbon/storybook-addon-theme@1.38.0-rc.2 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.2 - @carbon/ibmdotcom-styles@1.47.0-rc.2 - @carbon/ibmdotcom-utilities@1.47.0-rc.2 - @carbon/ibmdotcom-web-components@1.32.0-rc.2 * fix(bx-header-menu): add button role (#10440) ### Related Ticket(s) Fixes #10392 ### Description This PR adds `role="button"` to the `<a>` tags inside the L0 menu. This improves accessibility by identifying these elements are acting as buttons. > The button role identifies an element as a button to assistive technology such as screen readers. A button is a widget used to perform actions such as submitting a form, opening a dialog, canceling an action, or performing a command such as inserting a new record or displaying information. ### Changelog **New** - Markup for `<a>` tags in dropdown menu items now includes `role="button"`. * chore(gh): revert to node 14 for react workflow (#10485) * chore(deps): update lockfile (#10486) ### Description Updates `yarn.lock` ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): lock file maintenance (#10429) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update yarn to v3.5.1 (#10448) ### Description Update Yarn to v3.5.1 ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): update dependency sass to ~1.62.0 (#10491) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sass](https://togithub.com/sass/dart-sass) | [`~1.59.0` -> `~1.62.0`](https://renovatebot.com/diffs/npm/sass/1.59.3/1.62.1) | [![age](https://badges.renovateapi.com/packages/npm/sass/1.62.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/sass/1.62.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/sass/1.62.1/compatibility-slim/1.59.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/sass/1.62.1/confidence-slim/1.59.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sass/dart-sass</summary> ### [`v1.62.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1621) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.62.0...1.62.1) - Fix a bug where `:has(+ &)` and related constructs would drop the leading combinator. ### [`v1.62.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1620) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.61.0...1.62.0) - Deprecate the use of multiple `!global` or `!default` flags on the same variable. This deprecation is named `duplicate-var-flags`. - Allow special numbers like `var()` or `calc()` in the global functions: `grayscale()`, `invert()`, `saturate()`, and `opacity()`. These are also native CSS `filter` functions. This is in addition to number values which were already allowed. - Fix a cosmetic bug where an outer rule could be duplicated after nesting was resolved, instead of re-using a shared rule. ### [`v1.61.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1610) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.60.0...1.61.0) - **Potentially breaking change:** Drop support for End-of-Life Node.js 12. - Fix remaining cases for the performance regression introduced in 1.59.0. ##### Embedded Sass - The JS embedded host now loads files from the working directory when using the legacy API. ### [`v1.60.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1600) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.59.3...1.60.0) - Add support for the `pi`, `e`, `infinity`, `-infinity`, and `NaN` constants in calculations. These will be interpreted as the corresponding numbers. - Add support for unknown constants in calculations. These will be interpreted as unquoted strings. - Serialize numbers with value `infinity`, `-infinity`, and `NaN` to `calc()` expressions rather than CSS-invalid identifiers. Numbers with complex units still can't be serialized. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuOTYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * fix(structured-list): Ensure group header text can go full width (#10451) ### Related Ticket(s) Fixes: #10449 ### Description This PR adds `max-width: 100%` to the group headers (`<th>`) of structured lists so that the text content inside of them may take up the full width of their containers. It also adds lorem ipsum text to Group 2 inside the storybook for demonstration purposes. ### Changelog **Changed** - Updated the max-width of Structured List group headers. - Updated the storybook with Lorem Ipsum for the Group 2 header, to demonstrate new style. <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0 - @carbon/eslint-config-ibmdotcom@1.38.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0 - @carbon/ibmdotcom-react@1.47.0 - @carbon/ibmdotcom-services-store@1.47.0 - @carbon/ibmdotcom-services@1.47.0 - @carbon/storybook-addon-theme@1.38.0 - @carbon/stylelint-config-ibmdotcom@1.37.0 - @carbon/ibmdotcom-styles@1.47.0 - @carbon/ibmdotcom-utilities@1.47.0 - @carbon/ibmdotcom-web-components@1.32.0 * fix(ipcInfo): set encoding for ipcinfoCookie (#10505) * chore(deps): lock file maintenance (#10492) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * fix(deps): update dependency carbon-components to v10.58.7 (#10490) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [carbon-components](https://www.carbondesignsystem.com/) ([source](https://togithub.com/carbon-design-system/carbon)) | [`10.58.6` -> `10.58.7`](https://renovatebot.com/diffs/npm/carbon-components/10.58.6/10.58.7) | [![age](https://badges.renovateapi.com/packages/npm/carbon-components/10.58.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/carbon-components/10.58.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/carbon-components/10.58.7/compatibility-slim/10.58.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/carbon-components/10.58.7/confidence-slim/10.58.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v10.58.7`](https://togithub.com/carbon-design-system/carbon/compare/7fce6306004230995ac5dd63dc85c200d4076f49...66fb09a87d829ec11f14e181596b44403c458fcd) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/7fce6306004230995ac5dd63dc85c200d4076f49...66fb09a87d829ec11f14e181596b44403c458fcd) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45NS4xIiwidXBkYXRlZEluVmVyIjoiMzUuOTUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(upgrade): upgrade to Carbon 10.58.7 (#10482) This updates the repository to Carbon v10.58.7. * chore(deps): update dependency @carbon/pictograms-react to v11.43.0 (#10519) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.42.0` -> `11.43.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.42.0/11.43.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.43.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.43.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.43.0/compatibility-slim/11.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.43.0/confidence-slim/11.42.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.43.0`](https://togithub.com/carbon-design-system/carbon/compare/75f69e49161bf54184d4392c3d48115f852dc8fc...8fb6526d2f73634b13f3bec63b7112839754092d) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/75f69e49161bf54184d4392c3d48115f852dc8fc...8fb6526d2f73634b13f3bec63b7112839754092d) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> * chore(deps): update dependency @carbon/icon-helpers to v10.40.0 (#10518) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/icon-helpers](https://togithub.com/carbon-design-system/carbon) | [`10.39.0` -> `10.40.0`](https://renovatebot.com/diffs/npm/@carbon%2ficon-helpers/10.39.0/10.40.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2ficon-helpers/10.40.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2ficon-helpers/10.40.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2ficon-helpers/10.40.0/compatibility-slim/10.39.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2ficon-helpers/10.40.0/confidence-slim/10.39.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v10.40.0`](https://togithub.com/carbon-design-system/carbon/releases/tag/v10.40.0) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/v10.39.0...v10.40.0) #### `@carbon/cli@10.26.0` ##### Documentation :memo: - docs(styles): add sass.md docs and README docs ([#​9207](https://togithub.com/carbon-design-system/carbon/issues/9207)) ([`f837fbcfb`](https://togithub.com/carbon-design-system/carbon/commit/f837fbcfb)) ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/colors@10.29.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `carbon-components@10.40.0` ##### New features :rocket: - feat(menu): add support for different sizes ([#​9210](https://togithub.com/carbon-design-system/carbon/issues/9210)) ([`263d0d9f4`](https://togithub.com/carbon-design-system/carbon/commit/263d0d9f4)) ##### Bug fixes :bug: - fix(breadcrumb): account for menu direction in breadcrumb overflow caret ([#​9189](https://togithub.com/carbon-design-system/carbon/issues/9189)) ([`388008d11`](https://togithub.com/carbon-design-system/carbon/commit/388008d11)) - fix(TextInput): use disabled token ([#​9206](https://togithub.com/carbon-design-system/carbon/issues/9206)) ([`66315c664`](https://togithub.com/carbon-design-system/carbon/commit/66315c664)) - fix(ListBox): fix selected hover style regression ([#​9193](https://togithub.com/carbon-design-system/carbon/issues/9193)) ([`2a7528476`](https://togithub.com/carbon-design-system/carbon/commit/2a7528476)) - fix(menu): render through portal to avoid z-index and overflow issues ([#​8829](https://togithub.com/carbon-design-system/carbon/issues/8829)) ([`b3cef52cf`](https://togithub.com/carbon-design-system/carbon/commit/b3cef52cf)) - fix(select): use non transparent inline select background ([#​9138](https://togithub.com/carbon-design-system/carbon/issues/9138)) ([`129a7a4a0`](https://togithub.com/carbon-design-system/carbon/commit/129a7a4a0)) ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) - refactor(treeview): use flex properties over explicit dimensions ([#​9141](https://togithub.com/carbon-design-system/carbon/issues/9141)) ([`adf9d28ca`](https://togithub.com/carbon-design-system/carbon/commit/adf9d28ca)) #### `@carbon/elements@10.39.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/grid@10.32.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/icon-helpers@10.20.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/icons-handlebars@10.36.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/icons-react@10.36.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/icons-vue@10.36.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/icons@10.36.0` ##### New features :rocket: - feat(UI icons): new icons may and june ([#​8960](https://togithub.com/carbon-design-system/carbon/issues/8960)) ([`b8859ab48`](https://togithub.com/carbon-design-system/carbon/commit/b8859ab48)) ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/layout@10.28.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/motion@10.21.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/pictograms-react@11.14.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/pictograms@11.14.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `carbon-components-react@7.40.0` ##### New features :rocket: - feat(DatePickerInput): add helperText support ([#​9200](https://togithub.com/carbon-design-system/carbon/issues/9200)) ([`4b5b5fdf8`](https://togithub.com/carbon-design-system/carbon/commit/4b5b5fdf8)) - feat(menu): add support for different sizes ([#​9210](https://togithub.com/carbon-design-system/carbon/issues/9210)) ([`263d0d9f4`](https://togithub.com/carbon-design-system/carbon/commit/263d0d9f4)) ##### Bug fixes :bug: - fix(breadcrumb): account for menu direction in breadcrumb overflow caret ([#​9189](https://togithub.com/carbon-design-system/carbon/issues/9189)) ([`388008d11`](https://togithub.com/carbon-design-system/carbon/commit/388008d11)) - fix(menu): render through portal to avoid z-index and overflow issues ([#​8829](https://togithub.com/carbon-design-system/carbon/issues/8829)) ([`b3cef52cf`](https://togithub.com/carbon-design-system/carbon/commit/b3cef52cf)) - fix(Storybook): improve filtered search text contrast ([#​9188](https://togithub.com/carbon-design-system/carbon/issues/9188)) ([`a80ca6fde`](https://togithub.com/carbon-design-system/carbon/commit/a80ca6fde)) - fix(Storybook): move margin to wrapper ([#​9154](https://togithub.com/carbon-design-system/carbon/issues/9154)) ([`fb9621717`](https://togithub.com/carbon-design-system/carbon/commit/fb9621717)) ##### Documentation :memo: - docs(toggle): add v11 migration guidance ([#​9167](https://togithub.com/carbon-design-system/carbon/issues/9167)) ([`9e2013d23`](https://togithub.com/carbon-design-system/carbon/commit/9e2013d23)) ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) #### `@carbon/themes@10.39.0` ##### New features :rocket: - feat(themes): update module builders for new design tokens ([#​9128](https://togithub.com/carbon-design-system/carbon/issues/9128)) ([`b4ce23c69`](https://togithub.com/carbon-design-system/carbon/commit/b4ce23c69)) ##### Documentation :memo: - docs(styles): add sass.md docs and README docs ([#​9207](https://togithub.com/carbon-design-system/carbon/issues/9207)) ([`f837fbcfb`](https://togithub.com/carbon-design-system/carbon/commit/f837fbcfb)) ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) - chore(project): sync generated files ([`c26ff0ed4`](https://togithub.com/carbon-design-system/carbon/commit/c26ff0ed4)) #### `@carbon/type@10.32.0` ##### Housekeeping :house: - chore(release): v10.40.0 ([#​9254](https://togithub.com/carbon-design-system/carbon/issues/9254)) ([`1c1c751ee`](https://togithub.com/carbon-design-system/carbon/commit/1c1c751ee)) - chore(release): v10.40.0-rc.0 ([#​9234](https://togithub.com/carbon-design-system/carbon/issues/9234)) ([`e67704162`](https://togithub.com/carbon-design-system/carbon/commit/e67704162)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> * chore(deps): lock file maintenance (#10520) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> * Create SECURITY.md * chore(deps): update yarn to v3.6.0 (#10533) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [yarn](https://togithub.com/yarnpkg/berry) | [`3.5.1` -> `3.6.0`](https://renovatebot.com/diffs/npm/yarn/3.5.1/3.6.0) | [![age](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/compatibility-slim/3.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/confidence-slim/3.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>yarnpkg/berry</summary> ### [`v3.6.0`](https://togithub.com/yarnpkg/berry/compare/c6bcbfe8e24c1af6d3b59436c7ef673b367a1335...98c9662047200aec924e34664ba53293474c93bc) [Compare Source](https://togithub.com/yarnpkg/berry/compare/c6bcbfe8e24c1af6d3b59436c7ef673b367a1335...98c9662047200aec924e34664ba53293474c93bc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjEwNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> * chore(jest): update cwc snapshots (#10528) ### Description Update `@carbon/web-component` snapshots. Also adds openssl flag for Node 18. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(input): autocomplete property (#10540) ### Related Ticket(s) #10498 ### Description autocomplete was showing different results in the DOM in firefox and chrome. By removing the `?` it will now show the actual value set by the user instead of being a boolean. chrome: ![Screenshot 2023-06-05 at 9 27 42 AM](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/assets/20210594/2d09d259-3e78-4f25-b69d-4cc6093fcdc6) firefox: <img width="549" alt="Screenshot 2023-06-05 at 9 27 32 AM" src="https://github.com/carbon-design-system/carbon-for-ibm-dotcom/assets/20210594/5f04e704-3426-404f-a01b-f5a415dac4d1"> if approved will confirm the change gets made in cwc-v2 as well! ### Changelog **Removed** - `?` for `autocomplete` when returning `input` <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(modal): small screen view (#10511) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> * fix(geolocation): remove geolocation utility, replace with new DDO service method - getLocation (#10547) ### Related Ticket(s) [GeoLocation service]: API endpoint has been retired, switch to DDO #10546 ### Description As the API endpoint we were using before to detect user's location (country code) has been retired by the webmaster team, new method is to grab from the DDO (`digitalData.user.location`) populated by the IBM analytics script. This PR adds a new method the DDO service, which grabs the location from the DDO in the page and removes all instances of the geolocation utility which no longer works. ### Changelog **New** - `getLocation()` method under the DDO service - have the `Locale` service use the new DDO `getLocation` method instead **Removed** - instances of the `geolocation` utility <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <…
* fix(masthead): remove cm-app init as minimize workaround (#10430) * chore(automerge): get masthead-v2-dev back up to date (#10423) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * fix(masthead-v2): use correct e2e test paths (#10439) * fix(masthead-v2): rename test file * fix(masthead-v2): update e2e test paths * fix(masthead-v2): fix lazy loading functionality Somehow (probably through merge resolutions), we ended up with some duplicate logic for lazy-loading megamenus. In practice, we were loading them as soon as the nav went through its first update cycle, which is on mount. * fix(masthead-v2): adjust l1 test selectors * test(masthead-v2): test v2 L1 features * fix(tests): browser option must be passed as flag Cypress legacy configuration docs (https://docs.cypress.io/guides/references/legacy-configuration) make no reference of a "browser" config file option, and headless tests are using the default Electron browser. Passing the flag successfully causes Chrome to be used instead. * Revert "fix(tests): browser option must be passed as flag" This reverts commit e20ae23a63ca08f7384b7c809d39beae7d34856d. * test(masthead-v2): skip positional tests until styles are fixed * chore(masthead-v2): merge main into dev branch (#10481) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) ### Related Ticket(s) ### Description This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. ### Changelog **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) ### Related Ticket(s) Closes #10380 ### Description Adds `part` property with value of `image` to the rendered `<img>` tag. ### Testing Instructions In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. ### Changelog **New** - dds-image::part(image) --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andy Blum <andy.blum.01@gmail.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * fix(masthead-l1): Ensure L1 submenu closes on focusout in safari (#10483) * adds tabindex to <li> wrapping L1 buttons so submenu closes on focusout in safari * fix(masthead-l1): run yarn format --------- Co-authored-by: Andy Blum <andy.blum.01@gmail.com> * fix(masthead-l1): fix focusout logic (#10523) * feat(masthead-l1): Removing the has pseudo-class (#10504) * removing the has pseudo selector due to lack of support * running formatting, ci-check * update to BEM class names * running ci-check * feat(masthead-v2): Add selected styles to L1 (#10552) * feat(masthead-v2): set active styling on L1 menu items * chore(masthead-v2): clean up Storybook attributes * feat(masthead-v2): check menu item text for manual selected items * chore(masthead-v2): clean up Storybook attributes * chore(masthead-v2): use unique link text to support selected item knob * feat(masthead-v2): match colors when active item receives focus * feat(masthead-v2): add selected styles to mobile L1 * fix(masthead-v2): use correct markup pattern for lists * feat(masthead-v2): try alternative mobile selected style * feat(masthead-v2): update mobile styles to match specs * feat(masthead-v2): prefer setting active on parent items only * feat(masthead-v2): rearrange logic to allow active titles * feat(masthead-v2): allow selecting top level l1 menu items * fix(masthead-v2): prevent text overflow in L1 dropdown items (#10619) * fix(masthead-v2): prevent text overflow in L1 dropdown items * fix(masthead-v2): prevent menu item overflow * fix(masthead-v2): fix formatting issues * fix(masthead-v2): remove overflow limitation * test(masthead-v2): test results and not implementations * test(masthead): disable tests dependent on lazy loading --------- Co-authored-by: Andy Blum <andy.blum.01@gmail.com> * chore(masthead-v2): prepare to release (#10635) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare…
Hey folks, I can confirm this seems to have been fixed with the release of v18.17.0. I was in the process (ha) of doing an upgrade of our Node environments to 18.16.0, and hit this issue. the nullish coalescing operator (the I'll update this comment if anything changes, but I think v18.17.0+ we're good to go! |
* chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * fix(masthead): remove cm-app init as minimize workaround (#10430) * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(automerge): get masthead-v2-dev back up to date (#10423) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) ### Related Ticket(s) ### Description This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. ### Changelog **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) ### Related Ticket(s) Closes #10380 ### Description Adds `part` property with value of `image` to the rendered `<img>` tag. ### Testing Instructions In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. ### Changelog **New** - dds-image::part(image) * fix(masthead): fixes `has-search` toggle (#10478) ### Related Ticket(s) Fixes #10477 ### Description Fixes `has-search` toggle for web components masthead. Also removes unrelated knobs from masthead stories. ### Changelog **New** - {{new thing}} **Changed** - `has-search` is now a string **Removed** - unrelated knobs in all masthead stories <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.2 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.2 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.2 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.2 - @carbon/ibmdotcom-react@1.47.0-rc.2 - @carbon/ibmdotcom-services-store@1.47.0-rc.2 - @carbon/ibmdotcom-services@1.47.0-rc.2 - @carbon/storybook-addon-theme@1.38.0-rc.2 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.2 - @carbon/ibmdotcom-styles@1.47.0-rc.2 - @carbon/ibmdotcom-utilities@1.47.0-rc.2 - @carbon/ibmdotcom-web-components@1.32.0-rc.2 * fix(masthead-v2): use correct e2e test paths (#10439) * fix(masthead-v2): rename test file * fix(masthead-v2): update e2e test paths * fix(masthead-v2): fix lazy loading functionality Somehow (probably through merge resolutions), we ended up with some duplicate logic for lazy-loading megamenus. In practice, we were loading them as soon as the nav went through its first update cycle, which is on mount. * fix(masthead-v2): adjust l1 test selectors * test(masthead-v2): test v2 L1 features * fix(tests): browser option must be passed as flag Cypress legacy configuration docs (https://docs.cypress.io/guides/references/legacy-configuration) make no reference of a "browser" config file option, and headless tests are using the default Electron browser. Passing the flag successfully causes Chrome to be used instead. * Revert "fix(tests): browser option must be passed as flag" This reverts commit e20ae23a63ca08f7384b7c809d39beae7d34856d. * test(masthead-v2): skip positional tests until styles are fixed * fix(bx-header-menu): add button role (#10440) ### Related Ticket(s) Fixes #10392 ### Description This PR adds `role="button"` to the `<a>` tags inside the L0 menu. This improves accessibility by identifying these elements are acting as buttons. > The button role identifies an element as a button to assistive technology such as screen readers. A button is a widget used to perform actions such as submitting a form, opening a dialog, canceling an action, or performing a command such as inserting a new record or displaying information. ### Changelog **New** - Markup for `<a>` tags in dropdown menu items now includes `role="button"`. * chore(masthead-v2): merge main into dev branch (#10481) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated …
…1257) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * fix(masthead): remove cm-app init as minimize workaround (#10430) * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(automerge): get masthead-v2-dev back up to date (#10423) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) ### Description Merge latest release into main. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) ### Related Ticket(s) Followup to #10342 ### Description This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story ### Changelog **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) ### Related Ticket(s) ### Description This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. ### Changelog **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) ### Description Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. ### Changelog **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) ### Related Ticket(s) Closes #10380 ### Description Adds `part` property with value of `image` to the rendered `<img>` tag. ### Testing Instructions In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. ### Changelog **New** - dds-image::part(image) * fix(masthead): fixes `has-search` toggle (#10478) ### Related Ticket(s) Fixes #10477 ### Description Fixes `has-search` toggle for web components masthead. Also removes unrelated knobs from masthead stories. ### Changelog **New** - {{new thing}} **Changed** - `has-search` is now a string **Removed** - unrelated knobs in all masthead stories <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.2 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.2 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.2 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.2 - @carbon/ibmdotcom-react@1.47.0-rc.2 - @carbon/ibmdotcom-services-store@1.47.0-rc.2 - @carbon/ibmdotcom-services@1.47.0-rc.2 - @carbon/storybook-addon-theme@1.38.0-rc.2 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.2 - @carbon/ibmdotcom-styles@1.47.0-rc.2 - @carbon/ibmdotcom-utilities@1.47.0-rc.2 - @carbon/ibmdotcom-web-components@1.32.0-rc.2 * fix(masthead-v2): use correct e2e test paths (#10439) * fix(masthead-v2): rename test file * fix(masthead-v2): update e2e test paths * fix(masthead-v2): fix lazy loading functionality Somehow (probably through merge resolutions), we ended up with some duplicate logic for lazy-loading megamenus. In practice, we were loading them as soon as the nav went through its first update cycle, which is on mount. * fix(masthead-v2): adjust l1 test selectors * test(masthead-v2): test v2 L1 features * fix(tests): browser option must be passed as flag Cypress legacy configuration docs (https://docs.cypress.io/guides/references/legacy-configuration) make no reference of a "browser" config file option, and headless tests are using the default Electron browser. Passing the flag successfully causes Chrome to be used instead. * Revert "fix(tests): browser option must be passed as flag" This reverts commit e20ae23a63ca08f7384b7c809d39beae7d34856d. * test(masthead-v2): skip positional tests until styles are fixed * fix(bx-header-menu): add button role (#10440) ### Related Ticket(s) Fixes #10392 ### Description This PR adds `role="button"` to the `<a>` tags inside the L0 menu. This improves accessibility by identifying these elements are acting as buttons. > The button role identifies an element as a button to assistive technology such as screen readers. A button is a widget used to perform actions such as submitting a form, opening a dialog, canceling an action, or performing a command such as inserting a new record or displaying information. ### Changelog **New** - Markup for `<a>` tags in dropdown menu items now includes `role="button"`. * chore(masthead-v2): merge main into dev branch (#10481) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) ### Description A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. ### Changelog **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) ### Related Ticket(s) #9093 #8814 ### Description This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. ### Changelog **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>carbon-design-system/carbon</summary> ### [`v11.42.0`](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- T…
…rbon-design-system#11257) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- <details> <summary>carbon-design-system/carbon</summary> [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) Merge latest release into main. **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) Followup to #10342 This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * fix(masthead): remove cm-app init as minimize workaround (#10430) * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 * chore(automerge): get masthead-v2-dev back up to date (#10423) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- <details> <summary>carbon-design-system/carbon</summary> [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="/actions/upload-artifact/commit/013d2b89baa2f354c5ffec54c68bec4ab39a2534"><code>013d2b8</code></a> Create devcontainer for codespaces + update all dev dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/375">#375</a>)</li> <li><a href="/actions/upload-artifact/commit/055b8b3f04a4a7ed853f2c6ab04256f83e4874dc"><code>055b8b3</code></a> Bump Actions NPM dependencies (<a href="https://redirect.github.com/actions/upload-artifact/issues/374">#374</a>)</li> <li><a href="/actions/upload-artifact/commit/7a5d4831f75130126bffffb8443b412485f7b836"><code>7a5d483</code></a> ci(github): update action/checkout from v2 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/315">#315</a>)</li> <li><a href="/actions/upload-artifact/commit/e0057a5b76f2fdad976135e8dd7b691e632b9056"><code>e0057a5</code></a> README: Bump actions/checkout to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/352">#352</a>)</li> <li><a href="/actions/upload-artifact/commit/7fe6c13ac83e8572a115d6d5e45afc880cc4fe7e"><code>7fe6c13</code></a> Update to latest <code>actions/publish-action</code> (<a href="https://redirect.github.com/actions/upload-artifact/issues/363">#363</a>)</li> <li><a href="/actions/upload-artifact/commit/83fd05a356d7e2593de66fc9913b3002723633cb"><code>83fd05a</code></a> Bump actions-core to v1.10.0 (<a href="https://redirect.github.com/actions/upload-artifact/issues/356">#356</a>)</li> <li><a href="/actions/upload-artifact/commit/3cea5372237819ed00197afe530f5a7ea3e805c8"><code>3cea537</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/327">#327</a> from actions/robherley/artifact-1.1.0</li> <li><a href="/actions/upload-artifact/commit/849aa7758a428ee22be38de371b49c8bd57c4b9d"><code>849aa77</code></a> nvm use 12 & npm run release</li> <li><a href="/actions/upload-artifact/commit/4d3986961d0423ba9a593efb490a2960eb65f43b"><code>4d39869</code></a> recompile with correct ncc version</li> <li>Additional commits viewable in <a href="/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(release): merge release/v1.46.0 to main (#10418) Merge latest release into main. **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * fix(sticky-header): table-of-contents positioning (#10408) Followup to #10342 This change fixes a bug in which the table of contents is not properly positioned along with the L0/L1 masthead menus > **Note** > Because the stickyHeader is a globally-scoped utility and could be initialized by _any_ component that imports it, we'll need to cherry-pick this PR's commit to the `feat/masthead-v2-dev` branch so the `main` branch components and the `feat/masthead-v2` branch components aren't causing race conditions https://user-images.githubusercontent.com/25532785/235171270-8da551b7-54d5-46ff-afea-f1acb3d19bf5.mov Direct link to deploy preview testing page: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/10408/iframe.html?knob-Masthead%20Version=L1&id=components-dotcom-shell--without-shell&viewMode=story **Changed** - Updates table-of-contents/stickyHeader integration * fix(video-player): account for video players in shadowroots (#10227) * fix(video-player): account for video players in shadowroots * fix(video-player): update tabs-extended-media example * fix(video-player): support environments without getRootNode method --------- Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * Nc web component documentation update and refactor (#10421) * chore(doc): update notice cohoice documentation * chore(refactor): refactor notice choice * feat: generate react element * Update packages/web-components/src/components/notice-choice/__stories__/README.stories.mdx Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> * chore(settings): update settings to v1.47.0 * Update lerna.json (#10431) * Update lerna.json * Update lerna.json * Update lerna.json (#10433) * chore(release): publish - @carbon/web-components@1.28.0-rc.0 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.0 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.0 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.0 - @carbon/ibmdotcom-react@1.47.0-rc.0 - @carbon/ibmdotcom-services-store@1.47.0-rc.0 - @carbon/ibmdotcom-services@1.47.0-rc.0 - @carbon/storybook-addon-theme@1.38.0-rc.0 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.0 - @carbon/ibmdotcom-styles@1.47.0-rc.0 - @carbon/ibmdotcom-utilities@1.47.0-rc.0 - @carbon/ibmdotcom-web-components@1.32.0-rc.0 --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ignacio Becerra <i1becerr@ucsd.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Putra Bonaccorsi <putra.roeung@gmail.com> Co-authored-by: kennylam <kennylam@proton.me> Co-authored-by: John Kaeser <jakaeser44@gmail.com> Co-authored-by: sanjitbauli <sanjitbauli@in.ibm.com> Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com> Co-authored-by: ibmdotcom-bot <digdes@us.ibm.com> Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> * chore(notice-choice): remove react wrapper causing build errors (#10442) Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(notice-choice): remove react wrapper causing build errors (#10442) (#10444) Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> {{Provide url(s) to the related ticket(s) that this pull request addresses}} {{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}} {{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}} **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.1 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.1 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.1 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.1 - @carbon/ibmdotcom-react@1.47.0-rc.1 - @carbon/ibmdotcom-services-store@1.47.0-rc.1 - @carbon/ibmdotcom-services@1.47.0-rc.1 - @carbon/storybook-addon-theme@1.38.0-rc.1 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.1 - @carbon/ibmdotcom-styles@1.47.0-rc.1 - @carbon/ibmdotcom-utilities@1.47.0-rc.1 - @carbon/ibmdotcom-web-components@1.32.0-rc.1 * fix(unit-tests): fix uncaught typescript errors (#10475) This PR should fix failing unit tests, allowing the `ci-check` job to complete successfully. **Changed** - fix unit tests * feat(table-of-contents): add self-filtering functionality (#10469) * chore(notice-choice): remove react wrapper causing build errors (#10442) Temporarily remove `notice-choice` React wrapper added in #10421 as it is throwing errors and affecting the CI workflow. @sanjitbauli Since there is still a current React version this doesn't need to be any sort of blocker. Once it is fixed we can re-enable it. **New** - {{new thing}} **Changed** - {{changed thing}} **Removed** - `notice-choice` React wrapper <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(table-of-contents): add self-filtering functionality * feat(table-of-contents): optionally filter out subtrees --------- Co-authored-by: Carbon for IBM.com Bot <53266321+ibmdotcom-bot@users.noreply.github.com> Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: John Kaeser <jakaeser44@gmail.com> * feat(image): add 'default-image' ::part (#10450) Closes #10380 Adds `part` property with value of `image` to the rendered `<img>` tag. In the styles tab of the devtools, add a new style targeting `dds-image::part(image)`, and note that style added here impact the shadow root's `<img>` tag. Would be good to have @dratzenboeck-ibm provide an SVG file with `#svgView` parameter to test with. **New** - dds-image::part(image) * fix(masthead): fixes `has-search` toggle (#10478) Fixes #10477 Fixes `has-search` toggle for web components masthead. Also removes unrelated knobs from masthead stories. **New** - {{new thing}} **Changed** - `has-search` is now a string **Removed** - unrelated knobs in all masthead stories <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(release): publish - @carbon/web-components@1.28.0-rc.2 - @carbon/eslint-config-ibmdotcom@1.38.0-rc.2 - @carbon/eslint-plugin-ibmdotcom-import-rules@1.37.0-rc.2 - @carbon/eslint-plugin-react-prop-type-comments@1.37.0-rc.2 - @carbon/ibmdotcom-react@1.47.0-rc.2 - @carbon/ibmdotcom-services-store@1.47.0-rc.2 - @carbon/ibmdotcom-services@1.47.0-rc.2 - @carbon/storybook-addon-theme@1.38.0-rc.2 - @carbon/stylelint-config-ibmdotcom@1.37.0-rc.2 - @carbon/ibmdotcom-styles@1.47.0-rc.2 - @carbon/ibmdotcom-utilities@1.47.0-rc.2 - @carbon/ibmdotcom-web-components@1.32.0-rc.2 * fix(masthead-v2): use correct e2e test paths (#10439) * fix(masthead-v2): rename test file * fix(masthead-v2): update e2e test paths * fix(masthead-v2): fix lazy loading functionality Somehow (probably through merge resolutions), we ended up with some duplicate logic for lazy-loading megamenus. In practice, we were loading them as soon as the nav went through its first update cycle, which is on mount. * fix(masthead-v2): adjust l1 test selectors * test(masthead-v2): test v2 L1 features * fix(tests): browser option must be passed as flag Cypress legacy configuration docs (https://docs.cypress.io/guides/references/legacy-configuration) make no reference of a "browser" config file option, and headless tests are using the default Electron browser. Passing the flag successfully causes Chrome to be used instead. * Revert "fix(tests): browser option must be passed as flag" This reverts commit e20ae23a63ca08f7384b7c809d39beae7d34856d. * test(masthead-v2): skip positional tests until styles are fixed * fix(bx-header-menu): add button role (#10440) Fixes #10392 This PR adds `role="button"` to the `<a>` tags inside the L0 menu. This improves accessibility by identifying these elements are acting as buttons. > The button role identifies an element as a button to assistive technology such as screen readers. A button is a widget used to perform actions such as submitting a form, opening a dialog, canceling an action, or performing a command such as inserting a new record or displaying information. **New** - Markup for `<a>` tags in dropdown menu items now includes `role="button"`. * chore(masthead-v2): merge main into dev branch (#10481) * chore(gh): remove auto assignee from issue templates (#10389) * chore(gh): remove auto assignees * chore(checks): pin node version to 18.15 * chore(project): remove unneeded package.json entries (#10352) * chore(project): remove unneeded package.json entries * chore(gh): clean up ci-check workflow * chore(actions): disable react ci-checks for now * chore(checks): pin node version to 18.15 (#10390) A current [bug](https://github.com/nodejs/node/issues/47563) in the latest version of Node is causing CI checks to fail. The bug has been fixed but not yet back-ported, so in the meantime will test pinning the version to `18.15`. **New** - {{new thing}} **Changed** - pin `ci-check` workflow Node version to `18.15` **Removed** - {{removed thing}} <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * feat(e2e): introducing parallelization (#10314) This PR introduces the parallelization feature for Cypress testing. The work for this PR consisted in creating a IBM Cloud CodeEngine instance out of an image provided by the sorry-cypress service, especifically the `sorry-cypress-director` service. The Director instance is the one who controls what tests each machine should run, coming from the same spec file run. In order to achieve parallelization among the newly created machine matrix, we are now using the `cy2` dependency, which intercepts the parallelization call made to Cypress Dashboard and redirects all the data to our CE instance. However, in order to speed things up and ensure each machine doesn't need to install and build every time, we separate the workflow into separate pieces: 1. Install job - Install dependencies - Cache dependencies - Build storybook - Upload `storybook` artifacts 2. Run tests - Retrieve cached dependencies - Retrieve `storybook` artifacts - Run tests - If one test fails, create a `failure.txt` file and upload as artifact 3. Check if all tests passed - Wait until all tests finish - Retrieve `failure.txt` artifact - If said file exists, fail this job The caching and artifact uploading ensures that each of the test jobs don't need to install/rebuild everything all over again. With this setup, that should only happen once, speeding up the rest of the jobs. **New** - introduced parallelization **Changed** - `e2e-tests.yml` file <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) --> * chore(deps): bump andstor/file-existence-action from 1 to 2 (#10399) Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/andstor/file-existence-action/releases">andstor/file-existence-action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Changed</h3> <ul> <li>Updated to the node16 runtime by default</li> <li>Deprecates the <code>allow_failure</code> variable in favor of <code>fail</code></li> </ul> <h3>Fixed</h3> <ul> <li>Updated usage of deprecated <a href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/"><code>set-output</code></a> command</li> </ul> <h2>v1.1.0</h2> <h3>Added</h3> <ul> <li>Support for glob patterns.</li> </ul> <h2>v1.0.1</h2> <h3>Added</h3> <ul> <li>Checks for existence of files and directories specified in input variables.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="/andstor/file-existence-action/commit/20b4d2e596410855db8f9ca21e96fbe18e12930b"><code>20b4d2e</code></a> Correct input name</li> <li><a href="/andstor/file-existence-action/commit/31359852f5f601604498353d20d704b27b0ed556"><code>3135985</code></a> Deprecates the "allow_failure" variable in favor of "fail"</li> <li><a href="/andstor/file-existence-action/commit/bbb27a8d0c6ffc98910d37d692fa50392dc7af64"><code>bbb27a8</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/113">#113</a> from hbiede/patch-1</li> <li><a href="/andstor/file-existence-action/commit/e6b07c7c8a57a08145b72dd11ebfd6bae5c80b6e"><code>e6b07c7</code></a> Update dependencies</li> <li><a href="/andstor/file-existence-action/commit/6b4f78425eea38eb1aa2c9829bc8489e8e5f0f03"><code>6b4f784</code></a> Fix typo</li> <li><a href="/andstor/file-existence-action/commit/ef72eba3eb7eff4045c574f384fde5688298eee8"><code>ef72eba</code></a> Updated to the node16 runtime by default</li> <li><a href="/andstor/file-existence-action/commit/c492e43713b59c0534dd9183abd6afca1a03e4a9"><code>c492e43</code></a> Merge pull request <a href="https://redirect.github.com/andstor/file-existence-action/issues/106">#106</a> from DaSchTour/patch-1</li> <li><a href="/andstor/file-existence-action/commit/afdfb059cd6d9659012341dec72fb8b9c7be8624"><code>afdfb05</code></a> Update to node16</li> <li>See full diff in <a href="/andstor/file-existence-action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=andstor/file-existence-action&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> * chore(deps): lock file maintenance (#10411) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * chore(deps): update dependency @carbon/pictograms-react to v11.42.0 (#10410) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@carbon/pictograms-react](https://togithub.com/carbon-design-system/carbon) | [`11.41.0` -> `11.42.0`](https://renovatebot.com/diffs/npm/@carbon%2fpictograms-react/11.41.0/11.42.0) | [![age](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/compatibility-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@carbon%2fpictograms-react/11.42.0/confidence-slim/11.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- <details> <summary>carbon-design-system/carbon</summary> [Compare Source](https://togithub.com/carbon-design-system/carbon/compare/9d9c35494255b0ad0996bad46ffaf093cdd20012...75f69e49161bf54184d4392c3d48115f852dc8fc) </details> --- 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> * chore(deps): bump actions/upload-artifact from 2 to 3 (#10398) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://redirect.github.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://redirect.github.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://redirect.github.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce"><code>0b7f8ab</code></a> ci(github): update action/download-artifact from v1 to v3 (<a href="https://redirect.github.com/actions/upload-artifact/issues/312">#312</a>)</li> <li><a href="http…
Version
v18.16.0
Platform
21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Error is consistent. This error did not occur when using Node 18.15.0, and also does not occur when using Node 19.9.0.
What is the expected behavior? Why is that the expected behavior?
Expected behavior is no error.
What do you see instead?
TypeError: Cannot redefine property: window
Additional information
Same issue as: #47310
Similar to that issue, I've run into this error when running tests that use JSDom:
npm i jest jest-environment-jsdom
npx jest
The text was updated successfully, but these errors were encountered: