Skip to content

Commit

Permalink
screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
atabel committed Jun 5, 2024
1 parent baf7293 commit 100156e
Show file tree
Hide file tree
Showing 36 changed files with 37 additions and 21 deletions.
58 changes: 37 additions & 21 deletions src/__private_stories__/skin-components-story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ import {
Hero,
Table,
Timer,
HeaderLayout,
Header,
Placeholder,
NegativeBox,
} from '..';
import {InternalIconButton} from '../icon-button';
import avatarImg from '../__stories__/images/avatar.jpg';
Expand All @@ -68,29 +72,41 @@ type Args = {
};

export const Default: StoryComponent<Args> = ({variant}) => {
// Only show inverse header when the rest of the screen is default
const inverseHeader = variant === 'default';
return (
<ResponsiveLayout fullWidth variant={variant}>
<Box padding={16}>
<ResponsiveLayout variant={variant}>
<Box paddingTop={inverseHeader ? 0 : {mobile: 32, desktop: 48}} paddingBottom={16}>
<Stack space={32}>
<Text2 regular>
This story is created to verify how some of the components look like when using
different skins
</Text2>

<RowList>
<Row
title="Title 1"
subtitle="Subtitle"
description="Description"
href="https://www.google.com/"
/>
<Row
title="Title 2"
subtitle="Subtitle"
description="Description"
href="https://www.google.com/"
/>
</RowList>
<HeaderLayout
isInverse={inverseHeader}
bleed
header={
<Header
title="Components in different skins"
description="This story is created to verify how some of the components look like when using
different skins"
/>
}
extra={<Placeholder />}
noPaddingY={!inverseHeader}
/>
<NegativeBox>
<RowList>
<Row
title="Title 1"
subtitle="Subtitle"
description="Description"
href="https://www.google.com/"
/>
<Row
title="Title 2"
subtitle="Subtitle"
description="Description"
href="https://www.google.com/"
/>
</RowList>
</NegativeBox>
{/** BoxedAccordion */}
<BoxedAccordion index={1}>
<BoxedAccordionItem
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 100156e

Please sign in to comment.