Skip to content

Commit

Permalink
Merge branch 'main' into fix/form-story
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed May 27, 2022
2 parents 426f401 + 3536b86 commit 3ea6f4f
Show file tree
Hide file tree
Showing 47 changed files with 396 additions and 177 deletions.
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.1.0-rc.0",
"version": "1.1.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
26 changes: 14 additions & 12 deletions e2e/components/Slider/Slider-test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

'use strict';

const { expect, test } = require('@playwright/test');
const { expect, test } = require('@playwright/test'); // eslint-disable-line
const { themes } = require('../../test-utils/env');
const { snapshotStory, visitStory } = require('../../test-utils/storybook');
const { snapshotStory, visitStory } = require('../../test-utils/storybook'); // eslint-disable-line

test.describe('Slider', () => {
themes.forEach((theme) => {
Expand All @@ -32,14 +32,16 @@ test.describe('Slider', () => {
});
});

test('accessibility-checker @avt', async ({ page }) => {
await visitStory(page, {
component: 'Slider',
id: 'components-slider--default',
globals: {
theme: 'white',
},
});
await expect(page).toHaveNoACViolations('Slider');
});
// TODO: uncomment when https://github.com/IBMa/equal-access/issues/761 is resolved

// test('accessibility-checker @avt', async ({ page }) => {
// await visitStory(page, {
// component: 'Slider',
// id: 'components-slider--default',
// globals: {
// theme: 'white',
// },
// });
// await expect(page).toHaveNoACViolations('Slider');
// });
});
26 changes: 14 additions & 12 deletions e2e/components/Toggle/Toggle-test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

'use strict';

const { expect, test } = require('@playwright/test');
const { expect, test } = require('@playwright/test'); // eslint-disable-line
const { themes } = require('../../test-utils/env');
const { snapshotStory, visitStory } = require('../../test-utils/storybook');
const { snapshotStory, visitStory } = require('../../test-utils/storybook'); // eslint-disable-line

test.describe('Toggle', () => {
themes.forEach((theme) => {
Expand All @@ -32,14 +32,16 @@ test.describe('Toggle', () => {
});
});

test('accessibility-checker @avt', async ({ page }) => {
await visitStory(page, {
component: 'Toggle',
id: 'components-toggle--default',
globals: {
theme: 'white',
},
});
await expect(page).toHaveNoACViolations('Toggle');
});
// TODO: uncomment when https://github.com/IBMa/equal-access/issues/761 is resolved

// test('accessibility-checker @avt', async ({ page }) => {
// await visitStory(page, {
// component: 'Toggle',
// id: 'components-toggle--default',
// globals: {
// theme: 'white',
// },
// });
// await expect(page).toHaveNoACViolations('Toggle');
// });
});
4 changes: 2 additions & 2 deletions examples/codesandbox-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "codesandbox-styles",
"private": true,
"version": "0.7.0-rc.0",
"version": "0.7.0",
"scripts": {
"develop": "vite"
},
"devDependencies": {
"vite": "^2.8.0"
},
"dependencies": {
"@carbon/styles": "^1.4.0-rc.0",
"@carbon/styles": "^1.4.0",
"sass": "^1.51.0"
}
}
4 changes: 2 additions & 2 deletions examples/codesandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "codesandbox",
"version": "0.5.0-rc.0",
"version": "0.5.0",
"private": true,
"dependencies": {
"@carbon/react": "^1.4.0-rc.0",
"@carbon/react": "^1.4.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/light-dark-mode/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "examples-light-dark",
"private": true,
"version": "0.2.0-rc.0",
"version": "0.2.0",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@carbon/react": "^1.4.0-rc.0",
"@carbon/react": "^1.4.0",
"next": "12.1.4",
"react": "18.0.0",
"react-dom": "18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "examples-nextjs",
"private": true,
"version": "0.4.0-rc.0",
"version": "0.4.0",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@carbon/react": "^1.4.0-rc.0",
"@carbon/react": "^1.4.0",
"next": "12.1.4",
"react": "18.0.0",
"react-dom": "18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "vite",
"private": true,
"version": "0.2.0-rc.0",
"version": "0.2.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.4.0-rc.0",
"@carbon/react": "^1.4.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/carbon-components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components-react",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "8.4.0-rc.0",
"version": "8.4.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -39,8 +39,8 @@
"sass": "^1.33.0"
},
"dependencies": {
"@carbon/react": "^1.4.0-rc.0",
"@carbon/styles": "^1.4.0-rc.0",
"@carbon/react": "^1.4.0",
"@carbon/styles": "^1.4.0",
"@carbon/telemetry": "0.1.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/carbon-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "11.4.0-rc.0",
"version": "11.4.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,7 +40,7 @@
"sass": "^1.33.0"
},
"dependencies": {
"@carbon/styles": "^1.4.0-rc.0",
"@carbon/styles": "^1.4.0",
"@carbon/telemetry": "0.1.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/elements",
"description": "A collection of design elements in code for the IBM Design Language",
"version": "11.3.0",
"version": "11.4.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@carbon/colors": "^11.2.0-rc.0",
"@carbon/grid": "^11.2.0-rc.0",
"@carbon/icons": "^11.3.0-rc.0",
"@carbon/icons": "^11.4.0",
"@carbon/layout": "^11.2.0-rc.0",
"@carbon/motion": "^11.1.0-rc.0",
"@carbon/themes": "^11.3.0-rc.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/icons-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons-react",
"description": "React components for icons in digital and software products using the Carbon Design System",
"version": "11.3.0",
"version": "11.4.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"devDependencies": {
"@carbon/icon-build-helpers": "^1.1.0-rc.0",
"@carbon/icons": "^11.3.0-rc.0",
"@carbon/icons": "^11.4.0",
"rimraf": "^3.0.2"
},
"sideEffects": false
Expand Down
4 changes: 2 additions & 2 deletions packages/icons-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons-vue",
"description": "Vue components for icons in digital and software products using the Carbon Design System",
"version": "10.52.0",
"version": "10.53.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@carbon/cli-reporter": "^10.5.0",
"@carbon/icons": "^11.3.0-rc.0",
"@carbon/icons": "^11.4.0",
"fs-extra": "^10.0.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.0",
Expand Down
Loading

0 comments on commit 3ea6f4f

Please sign in to comment.