Skip to content

Commit

Permalink
fix(tests): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Apr 3, 2020
1 parent 17b38bc commit 62ac79c
Show file tree
Hide file tree
Showing 22 changed files with 45 additions and 226 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import PropTypes from 'prop-types';
import React from 'react';

const Icon = React.forwardRef(function Icon(
{ className, children, style = {}, tabIndex, ...rest },
{ className, children, tabIndex, ...rest },
ref
) {
const { tabindex, ...props } = getAttributes({
Expand All @@ -30,10 +30,6 @@ const Icon = React.forwardRef(function Icon(
props.ref = ref;
}

props.style = {
...style,
};

return React.createElement('svg', props, children);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ exports[`Accordion should render 1`] = `
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -125,11 +121,7 @@ exports[`Accordion should render 1`] = `
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -198,11 +190,7 @@ exports[`Accordion should render 1`] = `
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ exports[`AccordionSkeleton should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -140,11 +136,7 @@ exports[`AccordionSkeleton should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -200,11 +192,7 @@ exports[`AccordionSkeleton should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -260,11 +248,7 @@ exports[`AccordionSkeleton should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ exports[`AccordionItem should render 1`] = `
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2040,11 +2040,7 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -2112,11 +2108,7 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -2184,11 +2176,7 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -2292,11 +2280,7 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -2345,11 +2329,7 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -2454,11 +2434,7 @@ exports[`DataTable should render 1`] = `
onKeyDown={[Function]}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3043,11 +3019,7 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3115,11 +3087,7 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3187,11 +3155,7 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3295,11 +3259,7 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3348,11 +3308,7 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -3457,11 +3413,7 @@ exports[`DataTable sticky header should render 1`] = `
onKeyDown={[Function]}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ exports[`DataTable.TableBatchAction should render 1`] = `
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ exports[`DataTable.TableExpandRow should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ exports[`DataTable.TableToolbarMenu should render 1`] = `
onKeyDown={[Function]}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -104,11 +100,7 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 32 32"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ exports[`Dropdown should render 1`] = `
name="chevron--down"
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -319,11 +315,7 @@ exports[`Dropdown should render custom item components 1`] = `
name="chevron--down"
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -652,11 +644,7 @@ exports[`Dropdown should render with strings as items 1`] = `
name="chevron--down"
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
}
}
style={Object {}}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand Down
Loading

0 comments on commit 62ac79c

Please sign in to comment.