Skip to content

Commit

Permalink
feat(cardeditor): update snaps and fix prop error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidicus committed Dec 8, 2020
1 parent 03cb5ea commit 5108e2e
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const CardGalleryList = ({ supportedCardTypes, onAddCard, i18n }) => {
const mergedI18n = { ...defaultProps.i18n, ...i18n };
return (
<SimpleList
title=""
isFullHeight
hasSearch
hasPagination={false}
Expand Down
21 changes: 9 additions & 12 deletions src/components/CardEditor/__snapshots__/CardEditor.story.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -3064,6 +3064,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -3073,18 +3082,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -869,18 +878,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -1867,6 +1864,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -1876,18 +1882,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -3607,6 +3601,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -3616,18 +3619,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -5046,6 +5037,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -5055,18 +5055,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -6339,6 +6327,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -6348,18 +6345,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -8983,6 +8968,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -8992,18 +8986,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down Expand Up @@ -10384,6 +10366,15 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--card-editor"
>
<div
className="iot--card-editor--header"
>
<h2
className="iot--card-editor--header--title"
>
Gallery
</h2>
</div>
<div
className="iot--card-editor--content"
>
Expand All @@ -10393,18 +10384,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT Exper
<div
className="iot--list-header-container"
>
<div
className="iot--list-header"
>
<div
className="iot--list-header--title"
>
Gallery
</div>
<div
className="iot--list-header--btn-container"
/>
</div>
<div
className="iot--list-header--search"
>
Expand Down

0 comments on commit 5108e2e

Please sign in to comment.