Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to carbon 10.9.3 #341

Merged
merged 6 commits into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-grid-10.8.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-grid-10.8.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-layout-10.7.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-layout-10.7.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-motion-10.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-motion-10.5.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-themes-10.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-themes-10.9.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-type-10.8.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-type-10.8.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@
},
"dependencies": {
"@babel/runtime": "^7.4.3",
"@carbon/colors": "10.7.0",
"@carbon/grid": "10.8.0",
"@carbon/icons-react": "10.8.0",
"@carbon/colors": "10.7.2",
"@carbon/grid": "10.8.2",
"@carbon/icons-react": "10.8.2",
"@carbon/import-once": "10.3.0",
"@carbon/layout": "10.7.0",
"@carbon/motion": "10.5.0",
"@carbon/themes": "10.9.0",
"@carbon/type": "10.8.0",
"carbon-components": "10.10.0-alpha.0",
"carbon-components-react": "7.9.0",
"@carbon/layout": "10.7.3",
"@carbon/motion": "10.5.2",
"@carbon/themes": "10.9.3",
"@carbon/type": "10.8.3",
"carbon-components": "10.9.3",
"carbon-components-react": "7.9.3",
"classnames": "^2.2.5",
"downshift": "^1.31.14",
"export-to-csv": "^0.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ exports[`DataTablePagination Rendering renders the HTML of the node's subtree 1`
>
<label
class="bx--label bx--visually-hidden"
for="bx-pagination-select-3"
for="bx-pagination-select-1-right"
>
Page number, of 3 pages
</label>
Expand All @@ -406,7 +406,7 @@ exports[`DataTablePagination Rendering renders the HTML of the node's subtree 1`
>
<select
class="bx--select-input"
id="bx-pagination-select-3"
id="bx-pagination-select-1-right"
>
<option
class="bx--select-option"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ exports[`StackedNotification render renders correctly 1`] = `

exports[`StackedNotification render renders the HTML of the node's subtree 1`] = `
<div
class="bx--toast-notification bx--toast-notification--info security--stacked-notification"
class="security--stacked-notification bx--toast-notification bx--toast-notification--info"
kind="info"
role="alert"
timeout="0"
>
<div
class="bx--toast-notification__details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`SummaryCardBatchActions renders 1`] = `
>
<button
class="bx--batch-summary__cancel bx--btn bx--btn--primary"
tabindex="0"
tabindex="-1"
type="button"
>
Cancel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports[`SummaryCardContainer Rendering renders 1`] = `
</button>
<button
class="bx--batch-summary__cancel bx--btn bx--btn--primary"
tabindex="0"
tabindex="-1"
type="button"
>
Cancel
Expand Down
1 change: 1 addition & 0 deletions src/components/Tag/InteractiveTag/InteractiveTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const InteractiveTag = ({
[`${namespace}--removable`]: removable,
[`${namespace}--selected`]: isSelected,
})}
filter={false}
{...other}
>
{children}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`InteractiveTag Rendering renders correctly 1`] = `
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
Label
Expand Down Expand Up @@ -60,6 +61,7 @@ exports[`InteractiveTag Rendering renders the HTML of the node's subtree 1`] = `
exports[`InteractiveTag Rendering renders the selected variation correctly 1`] = `
<Tag
className="security--tag--interactive security--tag--interactive--removable security--tag--interactive--selected"
filter={false}
type="gray"
>
Label
Expand Down
4 changes: 3 additions & 1 deletion src/components/TagWall/__tests__/TagWall.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import React from 'react';
import { Button, InteractiveTag, TagWall } from '../../..';

import { type } from '../TagWall';
import { namespace as interactiveTagNamespace } from '../../Tag/InteractiveTag/InteractiveTag';

import props from '../_mocks_';

Expand Down Expand Up @@ -38,11 +39,12 @@ describe('TagWall', () => {
describe('Events', () => {
const { fn } = jest;

// Get the "close" button:
const getButton = () =>
tagWall
.find(InteractiveTag)
.first()
.find('button');
.find(`button.${interactiveTagNamespace}__button`);

it('should call the `onChange` method', () => {
const onChange = fn();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--removable security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -162,6 +163,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--removable security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -249,6 +251,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--removable security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -336,6 +339,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -423,6 +427,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -510,6 +515,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -597,6 +603,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -684,6 +691,7 @@ exports[`TagWall Rendering renders 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -1090,6 +1098,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand All @@ -1109,6 +1118,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand All @@ -1128,6 +1138,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--selected"
filter={false}
type="gray"
>
<span
Expand All @@ -1147,6 +1158,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default"
filter={false}
type="gray"
>
<span
Expand All @@ -1166,6 +1178,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default"
filter={false}
type="gray"
>
<span
Expand All @@ -1185,6 +1198,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default"
filter={false}
type="gray"
>
<span
Expand All @@ -1204,6 +1218,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default"
filter={false}
type="gray"
>
<span
Expand All @@ -1223,6 +1238,7 @@ exports[`TagWall Rendering renders the disabled variation 1`] = `
>
<Tag
className="security--tag--interactive security--tag--interactive--default"
filter={false}
type="gray"
>
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,7 @@ exports[`TagWallFilter tests FilterTagFragment should render the fragment 1`] =
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -1892,6 +1893,7 @@ exports[`TagWallFilter tests FilterTagFragment should render the fragment 2`] =
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down Expand Up @@ -3657,6 +3659,7 @@ exports[`TagWallFilter tests TagWallFilter should mount the TagWallFilter compon
>
<Tag
className="security--tag--interactive security--tag--interactive--default security--tag--interactive--removable"
filter={false}
type="gray"
>
<span
Expand Down
Loading