Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #105 from Ultimaker/STAR-326_marketplace-improveme…
Browse files Browse the repository at this point in the history
…nts-2

STAR-326 improvements to Page and Ratings components
  • Loading branch information
ImreBognarUltimaker authored Dec 4, 2018
2 parents 5d69125 + 07f4268 commit 8453667
Show file tree
Hide file tree
Showing 16 changed files with 487 additions and 238 deletions.
18 changes: 9 additions & 9 deletions src/components/__tests__/__snapshots__/carousel.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ exports[`The carousel component should render a carousel 1`] = `
"0": Object {
"items": 1,
},
"1025": Object {
"1024": Object {
"items": 2,
},
"620": Object {
"619": Object {
"items": 2,
},
"800": Object {
"799": Object {
"items": 2,
},
}
Expand Down Expand Up @@ -71,7 +71,7 @@ exports[`The carousel component should render a grid 1`] = `
>
<Grid
align="center"
className="carousel__fixed hide-xs"
className="carousel__fixed show-xs"
gutter="md"
position="top"
>
Expand Down Expand Up @@ -112,7 +112,7 @@ exports[`The carousel component should render a grid and a carousel 1`] = `
>
<Grid
align="center"
className="carousel__fixed hide-md"
className="carousel__fixed show-md"
gutter="md"
position="top"
>
Expand Down Expand Up @@ -145,7 +145,7 @@ exports[`The carousel component should render a grid and a carousel 1`] = `
</GridItem>
</Grid>
<div
className="carousel__carousel show-md"
className="carousel__carousel hide-md"
>
<AliceCarousel
autoPlay={true}
Expand All @@ -167,13 +167,13 @@ exports[`The carousel component should render a grid and a carousel 1`] = `
"0": Object {
"items": 1,
},
"1025": Object {
"1024": Object {
"items": 3,
},
"620": Object {
"619": Object {
"items": 2,
},
"800": Object {
"799": Object {
"items": 3,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`The Navigation component should render 1`] = `
class="nav-links-container"
>
<div
class="burger-menu show-xs"
class="burger-menu hide-sm"
>
<button
class="btn btn--primary btn--circle "
Expand Down
21 changes: 15 additions & 6 deletions src/components/__tests__/__snapshots__/page.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

exports[`The Page component should render 1`] = `
<div
className="page"
style={
Object {
"maxWidth": "100%",
className="page page-class"
id="page-id"
>
<div
className="page__content"
style={
Object {
"maxWidth": "100rem",
}
}
}
/>
>
<PageTitle
title="Page title"
/>
</div>
</div>
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`The Page component should render 1`] = `
<Page
className="page-class"
id="page-id"
maxWidth="100rem"
/>
`;
Loading

0 comments on commit 8453667

Please sign in to comment.