Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/packages/colors/exam…
Browse files Browse the repository at this point in the history
…ples/sass-modules/next-14.2.15
  • Loading branch information
tay1orjones authored Jan 3, 2025
2 parents 0b69045 + 284115a commit 84869d2
Show file tree
Hide file tree
Showing 220 changed files with 3,882 additions and 4,698 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
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.
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.
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.
2 changes: 1 addition & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jest-config-carbon",
"private": true,
"description": "Jest configuration and preset for Carbon",
"version": "1.16.0",
"version": "1.17.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion e2e/components/Accordion/Accordion-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ test.describe('@avt Accordion', () => {
test('@avt-advanced-states disabled', async ({ page }) => {
await visitStory(page, {
component: 'Accordion',
id: 'components-accordion--playground',
id: 'components-accordion--default',
globals: {
theme: 'white',
},
Expand Down
8 changes: 0 additions & 8 deletions e2e/components/ContainedList/ContainedList-test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ test.describe('ContainedList', () => {
});
});

test('playground @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'ContainedList',
id: 'components-containedlist--playground',
theme,
});
});

test('with-expandable-search @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'ContainedList',
Expand Down
15 changes: 0 additions & 15 deletions e2e/components/DataTable/DataTable-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,21 +276,6 @@ test.describe('@avt DataTable', () => {
'components-datatable-selection--default'
);
});
test.skip('@avt-advanced-states with-radio-expansion', async ({ page }) => {
await visitStory(page, {
component: 'DataTable',
id: 'components-datatable-dynamic--playground',
globals: {
theme: 'white',
},
args: {
radio: true,
},
});
await expect(page).toHaveNoACViolations(
'components-datatable-with-radio-expansion'
);
});
test('@avt-advanced-states with-selection-and-sorting', async ({
page,
}) => {
Expand Down
4 changes: 2 additions & 2 deletions e2e/components/DatePicker/DatePicker-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test.describe('@avt DatePicker', () => {
test('@avt-advanced-states disabled', async ({ page }) => {
await visitStory(page, {
component: 'DatePicker',
id: 'components-datepicker--playground',
id: 'components-datepicker--default',
globals: {
theme: 'white',
},
Expand Down Expand Up @@ -65,7 +65,7 @@ test.describe('@avt DatePicker', () => {
test.skip('@avt-advanced-states open', async ({ page }) => {
await visitStory(page, {
component: 'DatePicker',
id: 'components-datepicker--playground',
id: 'components-datepicker--default',
globals: {
theme: 'white',
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/components/FileUploader/FileUploader-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.describe('@avt FileUploader', () => {
test('@avt-advanced-states with upload', async ({ page }) => {
await visitStory(page, {
component: 'FileUploader',
id: 'components-fileuploader--playground',
id: 'components-fileuploader--default',
globals: {
theme: 'white',
},
Expand Down
4 changes: 2 additions & 2 deletions e2e/components/Menu/Menu-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe('@avt Menu', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'Menu',
id: 'components-menu--playground',
id: 'components-menu--default',
globals: {
theme: 'white',
},
Expand All @@ -25,7 +25,7 @@ test.describe('@avt Menu', () => {
test.fixme('@avt-keyboard-nav Menu', async ({ page }) => {
await visitStory(page, {
component: 'Menu',
id: 'components-menu--playground',
id: 'components-menu--default',
globals: {
theme: 'white',
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/components/Menu/Menu-test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test.describe('Menu', () => {
test('menu @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'Menu',
id: 'components-menu--playground',
id: 'components-menu--default',
theme,
});
});
Expand Down
20 changes: 10 additions & 10 deletions e2e/components/Notifications/Notifications-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test.describe('@avt Notifications', () => {
test('@avt-advanced-states actionable info', async ({ page }) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -84,7 +84,7 @@ test.describe('@avt Notifications', () => {
test('@avt-advanced-states actionable info-square', async ({ page }) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -100,7 +100,7 @@ test.describe('@avt Notifications', () => {
test('@avt-advanced-states actionable success', async ({ page }) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -114,7 +114,7 @@ test.describe('@avt Notifications', () => {
test('@avt-advanced-states actionable warning', async ({ page }) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -128,7 +128,7 @@ test.describe('@avt Notifications', () => {
test('@avt-advanced-states actionable warning-alt', async ({ page }) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -146,7 +146,7 @@ test.describe('@avt Notifications', () => {
}) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -165,7 +165,7 @@ test.describe('@avt Notifications', () => {
}) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -184,7 +184,7 @@ test.describe('@avt Notifications', () => {
}) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -203,7 +203,7 @@ test.describe('@avt Notifications', () => {
}) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand All @@ -222,7 +222,7 @@ test.describe('@avt Notifications', () => {
}) => {
await visitStory(page, {
component: 'Notifications',
id: 'components-notifications-actionable--playground',
id: 'components-notifications-actionable--default',
globals: {
theme: 'white',
args: {
Expand Down
2 changes: 1 addition & 1 deletion e2e/components/Popover/Popover-test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test.describe('Popover', () => {
test('Popover @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'Popover',
id: 'components-popover--playground',
id: 'components-popover--default',
theme,
});
});
Expand Down
8 changes: 4 additions & 4 deletions e2e/components/RadioButton/RadioButton-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test.describe('@avt RadioButton', () => {
test('@avt-advanced-states - invalid state', async ({ page }) => {
await visitStory(page, {
component: 'RadioButton',
id: 'components-radiobutton--playground',
id: 'components-radiobutton--default',
globals: {
theme: 'white',
},
Expand All @@ -79,7 +79,7 @@ test.describe('@avt RadioButton', () => {
test('@avt-advanced-states - warn state', async ({ page }) => {
await visitStory(page, {
component: 'RadioButton',
id: 'components-radiobutton--playground',
id: 'components-radiobutton--default',
globals: {
theme: 'white',
},
Expand All @@ -96,7 +96,7 @@ test.describe('@avt RadioButton', () => {
test('@avt-advanced-states - disabled state', async ({ page }) => {
await visitStory(page, {
component: 'RadioButton',
id: 'components-radiobutton--playground',
id: 'components-radiobutton--default',
globals: {
theme: 'white',
},
Expand All @@ -112,7 +112,7 @@ test.describe('@avt RadioButton', () => {
test('@avt-advanced-states - read only state', async ({ page }) => {
await visitStory(page, {
component: 'RadioButton',
id: 'components-radiobutton--playground',
id: 'components-radiobutton--default',
globals: {
theme: 'white',
},
Expand Down
6 changes: 3 additions & 3 deletions e2e/components/TextArea/TextArea-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.describe('@avt TextArea', () => {
test('@avt-advanced-states invalid', async ({ page }) => {
await visitStory(page, {
component: 'TextArea',
id: 'components-textarea--playground',
id: 'components-textarea--default',
globals: {
theme: 'white',
},
Expand All @@ -39,7 +39,7 @@ test.describe('@avt TextArea', () => {
test('@avt-advanced-states warn', async ({ page }) => {
await visitStory(page, {
component: 'TextArea',
id: 'components-textarea--playground',
id: 'components-textarea--default',
globals: {
theme: 'white',
},
Expand All @@ -64,7 +64,7 @@ test.describe('@avt TextArea', () => {
test('@avt-keyboard-nav TextArea keyboard counter', async ({ page }) => {
await visitStory(page, {
component: 'TextArea',
id: 'components-textarea--playground',
id: 'components-textarea--default',
globals: {
theme: 'white',
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/components/TextInput/TextInput-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.describe('@avt TextInput', () => {
test('@avt-advanced-states - disabled', async ({ page }) => {
await visitStory(page, {
component: 'TextInput',
id: 'components-textinput--playground',
id: 'components-textinput--default',
globals: {
theme: 'white',
},
Expand Down
10 changes: 0 additions & 10 deletions e2e/components/Toggletip/Toggletip-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ test.describe('@avt Toggletip', () => {
},
});

// Checking if the defaultOpen is working
await expect(page.locator('.cds--popover--open')).toBeVisible();

// Checking first Toggletip interaction
await page.keyboard.press('Tab');
await expect(page.getByLabel('Show information').first()).toBeFocused();
Expand All @@ -46,12 +43,5 @@ test.describe('@avt Toggletip', () => {
await expect(page.getByRole('button', { name: 'Button' })).toBeFocused();
await page.keyboard.press('Tab');
await expect(page.locator('.cds--popover--open')).toBeHidden();

// Checking second Toggletip interaction and close on Escape key
await expect(page.getByLabel('Show information').last()).toBeFocused();
await page.keyboard.press('Enter');
await expect(page.locator('.cds--popover--open')).toBeVisible();
await page.keyboard.press('Escape');
await expect(page.locator('.cds--popover--open')).toBeHidden();
});
});
4 changes: 2 additions & 2 deletions examples/class-prefix/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "class-prefix",
"private": true,
"version": "0.69.0",
"version": "0.70.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.72.0",
"@carbon/react": "^1.73.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/codesandbox-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codesandbox-styles",
"private": true,
"version": "0.74.0",
"version": "0.75.0",
"type": "module",
"scripts": {
"dev": "vite"
Expand All @@ -11,6 +11,6 @@
"vite": "^4.3.8"
},
"dependencies": {
"@carbon/styles": "^1.71.0"
"@carbon/styles": "^1.72.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "custom-theme",
"private": true,
"version": "0.70.0",
"version": "0.71.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.72.0",
"@carbon/react": "^1.73.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/id-prefix/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "id-prefix",
"private": true,
"version": "0.69.0",
"version": "0.70.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.72.0",
"@carbon/react": "^1.73.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Loading

0 comments on commit 84869d2

Please sign in to comment.