Skip to content

Commit

Permalink
Merge branch 'master' into 7475-disabled-select-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Jan 12, 2021
2 parents 238fb2d + 8d79712 commit 9f65c91
Show file tree
Hide file tree
Showing 196 changed files with 161 additions and 2,355 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'

# Maintain dependencies for npm
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI
on:
pull_request:
branches:
- master
jobs:
dedupe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/[email protected]
with:
node-version: '14.x'
- name: Run yarn dedupe
run: yarn dedupe --check
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.
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.
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 removed .yarn/cache/del-npm-4.1.1-8bc04567c6-87eecb2af5.zip
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.
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 removed .yarn/cache/resolve-patch-df83d4ddc9-d544b03a55.zip
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.
46 changes: 0 additions & 46 deletions aat/aat.js

This file was deleted.

33 changes: 0 additions & 33 deletions config/jest-config-carbon/matchers/toHaveNoDAPViolations.js

This file was deleted.

1 change: 0 additions & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@babel/preset-env": "^7.10.0",
"@babel/preset-react": "^7.10.0",
"@babel/runtime": "^7.10.0",
"@ibma/aat": "https://able.ibm.com/tools/dist/ibma-aat-2.0.6.tgz",
"accessibility-checker": "^3.1.1",
"axe-core": "^3.3.2",
"babel-jest": "^26.0.1",
Expand Down
2 changes: 0 additions & 2 deletions config/jest-config-carbon/setup/setupAfterEnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
const chalk = require('chalk');
const util = require('util');
const toHaveNoAxeViolations = require('../matchers/toHaveNoAxeViolations');
const toHaveNoDAPViolations = require('../matchers/toHaveNoDAPViolations');
const toHaveNoACViolations = require('../matchers/toHaveNoACViolations');

// We can extend `expect` using custom matchers as defined by:
Expand All @@ -24,7 +23,6 @@ const toHaveNoACViolations = require('../matchers/toHaveNoACViolations');
// https://jestjs.io/docs/en/configuration.html#setupfilesafterenv-array
expect.extend({
toHaveNoAxeViolations,
toHaveNoDAPViolations,
toHaveNoACViolations,
});

Expand Down
4 changes: 0 additions & 4 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -21447,10 +21447,6 @@ Link styles
.#{$prefix}--link.#{$prefix}--link--inline {
text-decoration: underline;

&:hover {
color: $hover-primary-text;
}

&:focus,
&:visited {
text-decoration: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ describe('CodeSnippetSkeleton', () => {
);

it.each(snippetTypes)(
'should have no DAP violations with type="%s"',
'should have no AC violations with type="%s"',
async (type) => {
const { container } = render(<CodeSnippetSkeleton type={type} />);
await expect(container).toHaveNoDAPViolations(
await expect(container).toHaveNoACViolations(
`CodeSnippetSkeleton-${type}`
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ describe('FileUploader', () => {
await expect(container).toHaveNoAxeViolations();
});

it.skip('should have no DAP violations', async () => {
it.skip('should have no AC violations', async () => {
const { container } = render(<FileUploader />);
await expect(container).toHaveNoDAPViolations('FileUploader');
await expect(container).toHaveNoACViolations('FileUploader');
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ describe('FileUploaderSkeleton', () => {
await expect(container).toHaveNoAxeViolations();
});

it('should have no DAP violations', async () => {
it('should have no AC violations', async () => {
const { container } = render(<FileUploaderSkeleton />);
await expect(container).toHaveNoDAPViolations('FileUploaderSkeleton');
await expect(container).toHaveNoACViolations('FileUploaderSkeleton');
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ describe('Filename', () => {
);

it.each(statuses)(
'should have no DAP violations with status %s',
'should have no AC violations with status %s',
async (status) => {
const { container } = render(
<Filename iconDescription="test description" status={status} />
);
await expect(container).toHaveNoDAPViolations(`Filename-${status}`);
await expect(container).toHaveNoACViolations(`Filename-${status}`);
}
);
});
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Loading/Loading-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ describe('Loading', () => {
await expect(container).toHaveNoAxeViolations();
});

it('should have no DAP violations', async () => {
it('should have no AC violations', async () => {
const { container } = render(<Loading />);
await expect(container).toHaveNoDAPViolations('Loading');
await expect(container).toHaveNoACViolations('Loading');
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ describe('MultiSelect', () => {
await expect(container).toHaveNoAxeViolations();
});

it('should have no DAP violations', async () => {
it('should have no AC violations', async () => {
const items = generateItems(4, generateGenericItem);
const { container } = render(
<MultiSelect id="test" label="Field" items={items} />
);
await expect(container).toHaveNoDAPViolations();
await expect(container).toHaveNoACViolations('MultiSelect');
});
});

Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Tag/Tag-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ describe('Tag', () => {
await expect(container).toHaveNoAxeViolations();
});

it('should have no DAP violations', async () => {
it('should have no AC violations', async () => {
const { container } = render(
<main>
<Tag type="red">This is not a tag</Tag>
</main>
);
await expect(container).toHaveNoDAPViolations('Tag');
await expect(container).toHaveNoACViolations('Tag');
});
});

Expand Down
Loading

0 comments on commit 9f65c91

Please sign in to comment.