Skip to content

Commit d58a885

Browse files
Merge branch 'main' into 19266-breadcrumb-with-single-character-fails-wcag-target-size
2 parents 90ef6cb + 42d3f0b commit d58a885

File tree

194 files changed

+2197
-1483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+2197
-1483
lines changed

.all-contributorsrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,24 @@
18571857
"contributions": [
18581858
"code"
18591859
]
1860+
},
1861+
{
1862+
"login": "Code-Suji",
1863+
"name": "SUJITH C S",
1864+
"avatar_url": "https://avatars.githubusercontent.com/u/43125517?v=4",
1865+
"profile": "https://www.linkedin.com/in/sujithcs",
1866+
"contributions": [
1867+
"code"
1868+
]
1869+
},
1870+
{
1871+
"login": "mariyageorge01",
1872+
"name": "Mariya George",
1873+
"avatar_url": "https://avatars.githubusercontent.com/u/166684108?v=4",
1874+
"profile": "https://github.com/mariyageorge01",
1875+
"contributions": [
1876+
"code"
1877+
]
18601878
}
18611879
],
18621880
"commitConvention": "none"

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,33 @@ Closes #
22

33
{{short description}}
44

5-
#### Changelog
5+
### Changelog
66

77
**New**
88

99
- {{new thing}}
1010

1111
**Changed**
1212

13-
- {{change thing}}
13+
- {{changed thing}}
1414

1515
**Removed**
1616

1717
- {{removed thing}}
1818

1919
#### Testing / Reviewing
2020

21-
{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}
21+
{{ Add steps or a checklist for how reviewers can verify this PR works or not }}
2222

23-
<!--
24-
❗ Make sure you've included everything from the PR guide:
23+
## PR Checklist
2524

26-
https://github.com/carbon-design-system/carbon/blob/main/docs/guides/reviewing-pull-requests.md
27-
-->
25+
As the author of this PR, before marking ready for review, confirm you:
26+
27+
- [ ] Reviewed every line of the diff
28+
- [ ] Updated documentation and storybook examples
29+
- [ ] Wrote passing tests that cover this change
30+
- [ ] Addressed any impact on accessibility (a11y)
31+
- [ ] Tested for cross-browser consistency
32+
- [ ] Validated that this code is ready for review and status checks should pass
33+
34+
More details can be found in the [pull request guide](https://github.com/carbon-design-system/carbon/blob/main/docs/guides/reviewing-pull-requests.md)

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
27+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
2828
with:
2929
languages: javascript-typescript
3030
config: |
3131
paths-ignore:
3232
- 'packages/cli/src/component/templates/**'
3333
3434
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
35+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ packages/upgrade/**/*.output.tsx
6464
# Accessibility Verification Testing
6565
**/.avt/**
6666

67-
# CODEOWNERS
67+
# .github files
6868
CODEOWNERS
69+
PULL_REQUEST_TEMPLATE.md
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
337337
<td align="center"><a href="https://github.com/warrenmblood"><img src="https://avatars.githubusercontent.com/u/69060697?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Warren Blood</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=warrenmblood" title="Code">💻</a></td>
338338
<td align="center"><a href="https://github.com/vcherneny"><img src="https://avatars.githubusercontent.com/u/11604315?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vlad Cherneny</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=vcherneny" title="Code">💻</a></td>
339339
<td align="center"><a href="https://github.com/murito"><img src="https://avatars.githubusercontent.com/u/2628140?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Francisco Alcalá</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=murito" title="Code">💻</a></td>
340+
<td align="center"><a href="https://www.linkedin.com/in/sujithcs"><img src="https://avatars.githubusercontent.com/u/43125517?v=4?s=100" width="100px;" alt=""/><br /><sub><b>SUJITH C S</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=Code-Suji" title="Code">💻</a></td>
341+
<td align="center"><a href="https://github.com/mariyageorge01"><img src="https://avatars.githubusercontent.com/u/166684108?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mariya George</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=mariyageorge01" title="Code">💻</a></td>
340342
</tr>
341343
</table>
342344

config/eslint-config-carbon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "eslint-config-carbon",
33
"description": "ESLint configuration for Carbon",
4-
"version": "3.21.0",
4+
"version": "3.22.0",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"repository": {

config/jest-config-carbon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jest-config-carbon",
33
"private": true,
44
"description": "Jest configuration and preset for Carbon",
5-
"version": "1.21.0",
5+
"version": "1.22.0",
66
"license": "Apache-2.0",
77
"main": "index.js",
88
"repository": {

docs/experimental-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ All breaking changes will be shipped as `enable-v12-*` flags within the current
101101
major release (v11). This enables projects to opt-in to breaking changes earlier
102102
and at their own pace avoiding one huge changeset when upgrading to the next
103103
major release. In theory, if all `enable-v12-*` flags are enabled within your
104-
project before the v12 release, no changes should need to be made when updating
105-
to v12.
104+
project before the v12 release, no changes should need to be made to the
105+
affected components when updating to v12.
106106

107107
For a flag to be committed to a release and renamed to `enable-v#-*` it must:
108108

docs/guides/reviewing-pull-requests.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@
186186
- Ensure that the `#{$prefix}` is applied.
187187
- Verify that dependent style modules are imported correctly (e.g., Tooltip
188188
styles depending on Popover styles).
189+
- **Browser testing:**
190+
- Perform cross-browser test by looking at the changes in major browsers
191+
(chrome, firefox, edge, safari, opera)
192+
- Use the storybook viewport width toolbar option to ensure the changes work
193+
as expected at every major breakpoint
189194

190195
### Workflow/CI Changes
191196

docs/release-schedule.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,32 @@ major versions of the Carbon Design System.
88
| `main` | unstable | unstable | unstable | unstable | unstable |
99
| v9 | End of life | 2018-06-04 | 2018-06-04 | 2019-03-29 | 2022-03-31 |
1010
| v10 | End of life | 2019-03-29 | 2019-03-29 | 2022-03-31 | 2024-09-30 |
11-
| v11 | Active | 2021-08-06 | 2022-03-31 | 2026-03-31 | 2028-03-31 |
12-
| v12 | Unreleased | 2025-08-01 | 2026-03-31 | 2028-03-31 | 2029-03-31 |
11+
| v11 | Active | 2021-08-06 | 2022-03-31 | TBD | TBD |
12+
| v12 | Preview | 2023-05-25 | TBD | TBD | TBD |
1313

1414
> Dates are subject to change
1515
16-
![schedule](https://github.com/carbon-design-system/carbon/assets/3360588/b8014b83-a743-4ace-83a3-ff1c96eef194)
16+
![schedule](https://github.com/user-attachments/assets/bc5ccd5a-8781-4ba5-9024-2aaaf0a53121)
1717

1818
## Release phases
1919

20+
### Preview
21+
22+
The preview phase allows consumers to incrementally opt in to changes that will
23+
be present in the next major, but through the current active release. This phase
24+
begins when the first feature flag is "committed" to be on-by-default in a
25+
future major version.
26+
27+
Once committed, flag names contain the version they've been committed to with
28+
the prefix `enable-v#-*`. At this point the API or functionality behind this
29+
flag is now fixed and won't change. We intend to ship this flag as "on by
30+
default" in the major version indicated in the name. e.g.
31+
`enable-v12-tile-default-icons`
32+
33+
In theory, if all `enable-v12-*` flags are enabled within your project before
34+
the v12 release, no changes should need to be made to the affected components
35+
when updating to v12.
36+
2037
### Prerelease
2138

2239
The prerelease phase is intended to be the opportunity for early adopters,

e2e/components/Tabs/Tabs-test.avt.e2e.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,35 @@ test.describe('@avt Tabs', () => {
235235
await page.keyboard.press('Delete');
236236
await expect(page.getByRole('tab', { name: 'Tab label 4' })).toBeHidden();
237237
});
238+
239+
test('@avt-keyboard-nav - horizontal manual scroll', async ({ page }) => {
240+
await visitStory(page, {
241+
component: 'Tabs',
242+
id: 'components-tabs--default',
243+
globals: {
244+
theme: 'white',
245+
},
246+
});
247+
248+
// Set viewport size so scroll buttons appear
249+
await page.setViewportSize({
250+
width: 200,
251+
height: 480,
252+
});
253+
await page.waitForSelector('.cds--tab--overflow-nav-button--next', {
254+
state: 'visible',
255+
});
256+
257+
// Right scroll button should disappear after manually scrolling horizontally to end of tabs
258+
const tabList = page.locator('.cds--tab--list');
259+
const lastElement = page.getByText('Settings').nth(1);
260+
const nextButton = page.getByLabel('Scroll right');
261+
await tabList.hover();
262+
await lastElement.scrollIntoViewIfNeeded();
263+
await page.waitForSelector('.cds--tab--overflow-nav-button--next', {
264+
state: 'hidden',
265+
timeout: 1000,
266+
});
267+
await expect(nextButton).toBeHidden();
268+
});
238269
});

examples/class-prefix/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "class-prefix",
33
"private": true,
4-
"version": "0.78.0",
4+
"version": "0.79.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},
1616
"devDependencies": {
1717
"@vitejs/plugin-react": "4.0.0",
1818
"sass": "^1.77.7",
19-
"vite": "^6.2.3"
19+
"vite": "^6.3.5"
2020
}
2121
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "codesandbox-styles",
33
"private": true,
4-
"version": "0.83.0",
4+
"version": "0.84.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite"
88
},
99
"devDependencies": {
1010
"sass": "^1.77.7",
11-
"vite": "^6.2.3"
11+
"vite": "^6.3.5"
1212
},
1313
"dependencies": {
14-
"@carbon/styles": "^1.80.0"
14+
"@carbon/styles": "^1.81.0"
1515
}
1616
}

examples/custom-theme/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "custom-theme",
33
"private": true,
4-
"version": "0.79.0",
4+
"version": "0.80.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},
1616
"devDependencies": {
1717
"@vitejs/plugin-react": "4.0.0",
1818
"sass": "^1.77.7",
19-
"vite": "^6.2.3"
19+
"vite": "^6.3.5"
2020
}
2121
}

examples/id-prefix/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "id-prefix",
33
"private": true,
4-
"version": "0.78.0",
4+
"version": "0.79.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},
1616
"devDependencies": {
1717
"@vitejs/plugin-react": "4.0.0",
1818
"sass": "^1.77.7",
19-
"vite": "^6.2.3"
19+
"vite": "^6.3.5"
2020
}
2121
}

examples/light-dark-mode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "examples-light-dark",
33
"private": true,
4-
"version": "0.79.0",
4+
"version": "0.80.0",
55
"scripts": {
66
"build": "next build",
77
"dev": "next dev",
88
"lint": "next lint",
99
"start": "next start"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"next": "14.2.25",
1414
"react": "19.0.0",
1515
"react-dom": "19.0.0"

examples/nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "examples-nextjs",
33
"private": true,
4-
"version": "0.81.0",
4+
"version": "0.82.0",
55
"scripts": {
66
"build": "next build",
77
"dev": "next dev",
88
"lint": "next lint",
99
"start": "next start"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"next": "14.2.26",
1414
"react": "^19.0.0",
1515
"react-dom": "^19.0.0"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "v10-token-compat-in-v11",
33
"private": true,
4-
"version": "0.79.0",
4+
"version": "0.80.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},
1616
"devDependencies": {
1717
"@vitejs/plugin-react": "4.0.0",
1818
"sass": "^1.77.7",
19-
"vite": "^6.2.3"
19+
"vite": "^6.3.5"
2020
}
2121
}

examples/vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "vite",
33
"private": true,
4-
"version": "0.79.0",
4+
"version": "0.80.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@carbon/react": "^1.81.0",
12+
"@carbon/react": "^1.82.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},
1616
"devDependencies": {
1717
"@vitejs/plugin-react": "4.0.0",
1818
"sass": "^1.77.7",
19-
"vite": "^6.2.3"
19+
"vite": "^6.3.5"
2020
}
2121
}

0 commit comments

Comments
 (0)