-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #567 from wri/release/queenly-queenwood
[RELEASE] Queenly Queenwood
- Loading branch information
Showing
99 changed files
with
9,646 additions
and
3,000 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
19 changes: 19 additions & 0 deletions
19
src/components/elements/Cards/DashboardCard/ImpactStoryCard.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Meta, StoryObj } from "@storybook/react"; | ||
|
||
import ImpactStoryCard from "./ImpactStoryCard"; | ||
|
||
const meta: Meta<typeof ImpactStoryCard> = { | ||
title: "Components/Elements/Cards/ImpactStoryCard", | ||
component: ImpactStoryCard | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof ImpactStoryCard>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
title: "Impact Story Title", | ||
description: "This is a brief description of the impact story.", | ||
image: "https://via.placeholder.com/150" | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/components/elements/Cards/DashboardCard/__snapshots__/ImpactStoryCard.stories.storyshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Storyshots Components/Elements/Cards/ImpactStoryCard Default 1`] = ` | ||
<div | ||
className="flex cursor-pointer items-center gap-4 overflow-hidden rounded-lg border border-neutral-200 bg-white p-4 hover:bg-grey-200" | ||
> | ||
<img | ||
alt="profile" | ||
className="h-20 w-20 rounded-lg bg-cover" | ||
src="https://via.placeholder.com/150" | ||
/> | ||
<div | ||
className="flex-flex-col flex-1 gap-2 overflow-hidden" | ||
> | ||
<div | ||
className="flex items-center gap-1" | ||
> | ||
<p | ||
className="whitespace-nowrap text-grey-700 text-14-light" | ||
data-testid="txt" | ||
> | ||
undefined by undefined | ||
</p> | ||
<div | ||
style={ | ||
Object { | ||
"height": undefined, | ||
"width": 24, | ||
} | ||
} | ||
/> | ||
</div> | ||
<p | ||
className="overflow-hidden text-ellipsis whitespace-nowrap text-darkCustom text-14-bold" | ||
data-testid="txt" | ||
> | ||
Impact Story Title | ||
</p> | ||
<p | ||
className="overflow-hidden text-ellipsis whitespace-nowrap text-grey-700 text-14-light" | ||
data-testid="txt" | ||
> | ||
This is a brief description of the impact story. | ||
</p> | ||
</div> | ||
</div> | ||
`; |
Oops, something went wrong.