Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
makafsal committed Nov 28, 2024
2 parents cdee198 + 9f31fc3 commit f41bacf
Show file tree
Hide file tree
Showing 29 changed files with 418 additions and 141 deletions.
55 changes: 20 additions & 35 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install
run: yarn
Expand All @@ -21,19 +21,22 @@ jobs:
yarn
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

- name: Generate token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
token: ${{ secrets.CREATE_PR_ACCESS_TOKEN }}
commit-message: 'fix: update Carbon 11 compatible versions to latest'
committer: GitHub <[email protected]>
author:
${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: 'update-packages'
token: ${{ steps.generate_token.outputs.token }}
commit-message: 'build(deps): update Carbon 11 compatible versions to latest'
delete-branch: true
branch: 'deps/update-carbon-packages'
branch-suffix: random
title: 'fix: update to Carbon 11 compatible versions to latest'
title: 'build(deps): update to Carbon 11 compatible versions to latest'
body: |
This PR was automatically generated to update Carbon 11 compatible versions on a regular basis. This is not intended to create any breaking changes, and will be reflected as a minor version bump for affected packages. NB we'll run all tests and do visual verifications, but there is always the opportunity for unexpected regressions. If you're using one of the packages in a stable or production context you may want to check this before taking the next minor version, and do let us know ASAP if you see anything problematic.
Expand All @@ -52,27 +55,11 @@ jobs:
- [ ] `yarn ci-check` runs cleanly and all tests pass (done automatically as part of the PR checks).
- [ ] the Netlify deploy-preview has been used to ensure that storybook runs and the main published components render correctly.
- name: Post reminder to Slack
id: post-reminder
uses: archive/[email protected]
with:
slack-bot-user-oauth-access-token:
${{ secrets.CREATE_PR_SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
slack-channel: G01PUCL3V8R # cspell:disable-line
slack-text: >
Hello! This is a test post. PR number:
${{steps.create-pr.outputs.pull-request-number}} 🤓
- name: Result from "Post reminder to Slack"
run: |
echo "The PR number was ${{ steps.create-pr.outputs.pull-request-number }}"
echo "The result was ${{ steps.post-reminder.outputs.slack-result }}"
dependencies:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install
run: yarn
Expand All @@ -89,16 +76,14 @@ jobs:

- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
token: ${{ secrets.CREATE_PR_ACCESS_TOKEN }}
commit-message: 'chore: update dev dependencies'
committer: GitHub <[email protected]>
author:
${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: 'update-packages'
token: ${{ steps.generate_token.outputs.token }}
commit-message: 'build(deps): update dev dependencies'
delete-branch: true
branch: 'deps/update-dev-packages'
branch-suffix: random
title: 'chore: update dev dependencies'
title: 'build(deps): update dev dependencies'
body: |
This PR was automatically generated to update versions of dev dependencies to their latest versions. This helps ensure we get fixes and improvements in a timely fashion and reduces the impact of updating the versions that can arise if versions are allowed to become stale for an extended period.
Expand Down
8 changes: 8 additions & 0 deletions config/jest-config-ibm-cloud-cognitive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.14.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-11-25)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive





# [1.13.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-11-20)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive
Expand Down
2 changes: 1 addition & 1 deletion config/jest-config-ibm-cloud-cognitive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest-config-ibm-cloud-cognitive",
"private": true,
"version": "1.13.0",
"version": "1.14.0-rc.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions config/storybook-addon-carbon-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.4.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-25)

**Note:** Version bump only for package @carbon/storybook-addon-theme





# [2.3.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-20)

**Note:** Version bump only for package @carbon/storybook-addon-theme
Expand Down
2 changes: 1 addition & 1 deletion config/storybook-addon-carbon-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/storybook-addon-theme",
"description": "Carbon theme switcher for Storybook",
"version": "2.3.0",
"version": "2.4.0-rc.0",
"license": "Apache-2.0",
"main": "dist/react.js",
"repository": {
Expand Down
10 changes: 8 additions & 2 deletions e2e/components/PageHeader/PageHeader-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ test.describe('PageHeader @avt', () => {
// collapses into menu button on small screens
await page.setViewportSize({ width: 1024, height: 768 });
// reset focus to first focusable element
await page.getByLabel('Open and close additional').focus();
await page
.getByLabel('Breadcrumb', { exact: true })
.getByRole('button')
.focus();
await pressTabKey(page, 6);

await expect(
Expand Down Expand Up @@ -229,7 +232,10 @@ test.describe('PageHeader @avt', () => {
// collapses into menu button on small screens
await page.setViewportSize({ width: 1024, height: 768 });
// reset focus to first focusable element
await page.getByLabel('Open and close additional').focus();
await page
.getByLabel('Breadcrumb', { exact: true })
.getByRole('button')
.focus();
await pressTabKey(page, 1);
await expect(page.getByRole('tooltip').getByText('Action 1')).toBeVisible();
await pressTabKey(page, 2);
Expand Down
16 changes: 16 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.31.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-25)


### Bug Fixes

* update to Carbon 11 compatible versions to latest ([#6437](https://github.com/carbon-design-system/ibm-products/issues/6437)) ([48d5c34](https://github.com/carbon-design-system/ibm-products/commit/48d5c34dca79a4b00fc69391a513431fa21295ee))


### Features

* add utils section to storybook ([#6394](https://github.com/carbon-design-system/ibm-products/issues/6394)) ([711eb72](https://github.com/carbon-design-system/ibm-products/commit/711eb72ef00d1f1935fd0fcec9e0c0383dff53dc))





# [2.30.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-20)

**Note:** Version bump only for package @carbon/ibm-cloud-cognitive-core
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/ibm-cloud-cognitive-core",
"private": true,
"version": "2.30.0",
"version": "2.31.0-rc.0",
"license": "Apache-2.0",
"main": "scripts/build.js",
"repository": {
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@carbon/grid": "^11.29.0",
"@carbon/ibm-products-styles": "^2.50.0",
"@carbon/ibm-products-styles": "^2.51.0-rc.0",
"@carbon/layout": "^11.28.0",
"@carbon/motion": "^11.24.0",
"@carbon/react": "^1.70.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/ibm-products-styles/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.51.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-25)

**Note:** Version bump only for package @carbon/ibm-products-styles





# [2.50.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-20)

**Note:** Version bump only for package @carbon/ibm-products-styles
Expand Down
4 changes: 2 additions & 2 deletions packages/ibm-products-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/ibm-products-styles",
"description": "Carbon for IBM Products styles",
"version": "2.50.0",
"version": "2.51.0-rc.0",
"license": "Apache-2.0",
"installConfig": {
"hoistingLimits": "none"
Expand Down Expand Up @@ -52,7 +52,7 @@
"cross-env": "^7.0.3",
"glob": "^10.3.10",
"jest": "^29.7.0",
"jest-config-ibm-cloud-cognitive": "^1.13.0",
"jest-config-ibm-cloud-cognitive": "^1.14.0-rc.0",
"jest-environment-jsdom": "^29.7.0",
"npm-check-updates": "^16.14.12",
"npm-run-all": "^4.1.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ p.c4p--about-modal__copyright-text:first-child {
--cds-grid-column-hang: 0.96875rem;
}
.cds--css-grid--start {
margin-inline-start: 0;
}
.cds--css-grid--end {
margin-inline-end: 0;
}
.cds--subgrid {
display: grid;
grid-template-columns: repeat(var(--cds-grid-columns), minmax(0, 1fr));
Expand Down Expand Up @@ -3402,7 +3410,7 @@ p.c4p--about-modal__copyright-text:first-child {
}
.c4p--datagrid__grid-container table.c4p--datagrid__vertical-align-center .c4p--datagrid__head .c4p--datagrid__head-select-all.c4p--datagrid__checkbox-cell.c4p--datagrid__checkbox-cell-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
}
.c4p--datagrid__grid-container table.c4p--datagrid__vertical-align-center .c4p--datagrid__cell {
Expand Down Expand Up @@ -3773,7 +3781,7 @@ p.c4p--about-modal__copyright-text:first-child {
}
.c4p--datagrid__head-hidden-select-all.c4p--datagrid__select-all-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
background-color: var(--cds-layer-accent-01, #e0e0e0);
}
Expand Down Expand Up @@ -4370,7 +4378,7 @@ p.c4p--about-modal__copyright-text:first-child {
.c4p--datagrid__left-sticky-column-header {
/* stylelint-disable-next-line declaration-no-important */
position: sticky !important;
z-index: 1;
z-index: 10;
left: 0;
border-right: 1px solid var(--cds-border-subtle);
}
Expand Down Expand Up @@ -4399,7 +4407,7 @@ p.c4p--about-modal__copyright-text:first-child {
.c4p--datagrid__select-all-toggle-on.c4p--datagrid__select-all-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
}
Expand Down Expand Up @@ -9530,6 +9538,10 @@ button.c4p--add-select__global-filter-toggle--open {
z-index: 7999;
}
.c4p--page-header__button-set-menu-options > button.cds--menu-button__trigger {
min-inline-size: 0;
}
.c4p--card__productive {
display: flex;
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ $_block-class: #{c4p-settings.$pkg-prefix}--breadcrumb-with-overflow;
text-overflow: ellipsis;
}
}

.#{$_block-class}__overflow-menu-options.#{$_block-class}__overflow-menu-options {
z-index: utilities.z('header');
.#{$_block-class}__overflow-menu {
line-height: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -667,3 +667,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
.#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
z-index: $z-index-header-minus;
}

.#{$block-class}__button-set-menu-options
> button.#{$carbon-prefix}--menu-button__trigger {
min-inline-size: 0;
}
13 changes: 13 additions & 0 deletions packages/ibm-products-web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.4.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-25)


### Bug Fixes

* **Tearsheet in Web Components:** cancel button not working as expected ([#6458](https://github.com/carbon-design-system/ibm-products/issues/6458)) ([2461f81](https://github.com/carbon-design-system/ibm-products/commit/2461f8120431c125ceb826ccb5d139a82d49f39c))
* **Tearsheet web components:** control changes doesn't reflect in stories ([#6413](https://github.com/carbon-design-system/ibm-products/issues/6413)) ([84f6d14](https://github.com/carbon-design-system/ibm-products/commit/84f6d140d0476868a13b18ea886515d856bb0835))
* update to Carbon 11 compatible versions to latest ([#6437](https://github.com/carbon-design-system/ibm-products/issues/6437)) ([48d5c34](https://github.com/carbon-design-system/ibm-products/commit/48d5c34dca79a4b00fc69391a513431fa21295ee))





# [0.3.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-20)

**Note:** Version bump only for package @carbon/ibm-products-web-components
Expand Down
4 changes: 2 additions & 2 deletions packages/ibm-products-web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/ibm-products-web-components",
"description": "Carbon for IBM Products Web Components",
"version": "0.3.0",
"version": "0.4.0-rc.0",
"license": "Apache-2.0",
"main": "es/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -49,7 +49,7 @@
"wca": "web-component-analyzer analyze src --outFile custom-elements.json"
},
"dependencies": {
"@carbon/ibm-products-styles": "^2.50.0",
"@carbon/ibm-products-styles": "^2.51.0-rc.0",
"@carbon/styles": "1.69.0",
"@carbon/web-components": "2.17.0",
"lit": "^3.1.0"
Expand Down
22 changes: 22 additions & 0 deletions packages/ibm-products/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.55.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-25)


### Bug Fixes

* **APIKeyModal:** implement focus return to generate button ([#6440](https://github.com/carbon-design-system/ibm-products/issues/6440)) ([535e871](https://github.com/carbon-design-system/ibm-products/commit/535e87142413695c530952f7b314201c8a35becc))
* **APIKeyModal:** implement useFocus hook ([#6290](https://github.com/carbon-design-system/ibm-products/issues/6290)) ([4a92770](https://github.com/carbon-design-system/ibm-products/commit/4a92770d9179f6b59bfe18e53c998fdb51bd794a))
* **conditionBuilder:** issue fix and data correction ([#6421](https://github.com/carbon-design-system/ibm-products/issues/6421)) ([1f5b63e](https://github.com/carbon-design-system/ibm-products/commit/1f5b63ec428ddd2a2b2ee7c4153c83c2fff6a61c))
* **tearsheet:** address portalTarget type ([#6400](https://github.com/carbon-design-system/ibm-products/issues/6400)) ([a11d036](https://github.com/carbon-design-system/ibm-products/commit/a11d0364a5beaa3d018db559656c3d7806e1b484))
* update to Carbon 11 compatible versions to latest ([#6437](https://github.com/carbon-design-system/ibm-products/issues/6437)) ([48d5c34](https://github.com/carbon-design-system/ibm-products/commit/48d5c34dca79a4b00fc69391a513431fa21295ee))
* **useravatar:** accessibility issue and add avt complex state ([#6399](https://github.com/carbon-design-system/ibm-products/issues/6399)) ([4a70821](https://github.com/carbon-design-system/ibm-products/commit/4a70821b85688730a9d4484340da2517ee079db1))


### Features

* add utils section to storybook ([#6394](https://github.com/carbon-design-system/ibm-products/issues/6394)) ([711eb72](https://github.com/carbon-design-system/ibm-products/commit/711eb72ef00d1f1935fd0fcec9e0c0383dff53dc))
* **productive card:** floating ui for overflow menu ([#6395](https://github.com/carbon-design-system/ibm-products/issues/6395)) ([42a1362](https://github.com/carbon-design-system/ibm-products/commit/42a1362ad2ff4998f8286ed0698a82c4ec8ea552))





# [2.54.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-11-20)

**Note:** Version bump only for package @carbon/ibm-products
Expand Down
Loading

0 comments on commit f41bacf

Please sign in to comment.