forked from openedx-unsupported/frontend-app-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b80201
commit 7b9a2b1
Showing
28 changed files
with
767 additions
and
801 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"allowlist": [ | ||
"GHSA-hpx4-r86g-5jrg", | ||
"GHSA-wf5p-g6vw-rhxx" | ||
"GHSA-wf5p-g6vw-rhxx", | ||
"GHSA-jchw-25xp-jwwc" | ||
], | ||
"moderate": true | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,201 +1,184 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AlertList should be null by default 1`] = `null`; | ||
exports[`AlertList should be null by default 1`] = `<div />`; | ||
|
||
exports[`AlertList should render messages of each type 1`] = ` | ||
Array [ | ||
<div> | ||
<div | ||
className="fade alert-content alert alert-warning show" | ||
class="fade alert-content alert alert-warning show" | ||
dialog="Boo indeed!" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
Boo indeed! | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
</div> | ||
<div | ||
className="fade alert-content alert alert-info show" | ||
class="fade alert-content alert alert-info show" | ||
dialog="Bah!" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
Bah! | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
</div> | ||
<div | ||
className="fade alert-content alert alert-success show" | ||
class="fade alert-content alert alert-success show" | ||
dialog="Meh!" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
Meh! | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
</div> | ||
<div | ||
className="fade alert-content alert alert-danger show" | ||
class="fade alert-content alert alert-danger show" | ||
dialog="Gah! An error!" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
Gah! An error! | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
</div> | ||
<div | ||
className="fade alert-content alert alert-warning show" | ||
class="fade alert-content alert alert-warning show" | ||
dialog="Debug debug" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
Debug debug | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
</div> | ||
<div | ||
className="fade alert-content alert alert-danger show" | ||
dialog={ | ||
<FallbackErrorMessage | ||
values={Object {}} | ||
/> | ||
} | ||
class="fade alert-content alert alert-danger show" | ||
dialog="[object Object]" | ||
role="alert" | ||
> | ||
<div | ||
className="pgn__alert-message-wrapper" | ||
class="pgn__alert-message-wrapper" | ||
> | ||
<div | ||
className="alert-message-content" | ||
class="alert-message-content" | ||
> | ||
There was an unexpected problem. If the problem persists, please | ||
<a | ||
className="pgn__hyperlink default-link standalone-link" | ||
class="pgn__hyperlink default-link standalone-link" | ||
href="http://localhost:18000/support" | ||
onClick={[Function]} | ||
target="_self" | ||
> | ||
contact support | ||
</a> | ||
. | ||
</div> | ||
<div | ||
className="pgn__alert-actions pgn__action-row" | ||
class="pgn__alert-actions pgn__action-row" | ||
> | ||
<span | ||
className="pgn__action-row-spacer" | ||
class="pgn__action-row-spacer" | ||
/> | ||
<button | ||
className="btn btn-tertiary btn-sm" | ||
disabled={false} | ||
onClick={[Function]} | ||
class="btn btn-tertiary btn-sm" | ||
type="button" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</div> | ||
</div>, | ||
] | ||
</div> | ||
</div> | ||
`; |
Oops, something went wrong.