-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show error page if embed version out of supported range (#335)
- Loading branch information
Showing
7 changed files
with
79 additions
and
10 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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script lang="ts"> | ||
export let requestedVersion: string; | ||
export let compatibleVersionSemver: string; | ||
</script> | ||
|
||
<div class="container flex flex-col gap-4 p-4"> | ||
<div class="header flex justify-between items-center"> | ||
<h1 class="text-lg font-bold">Unsupported Version</h1> | ||
</div> | ||
|
||
<div class="controls p-4"> | ||
<p> | ||
Version <strong>{requestedVersion}</strong> is not supported by the Wizard. | ||
</p> | ||
<p> | ||
Select a version that is compatible with the version range: <strong>{compatibleVersionSemver}</strong>. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<style lang="postcss"> | ||
.container { | ||
background-color: var(--gray-1); | ||
border: 1px solid var(--gray-2); | ||
border-radius: 10px; | ||
min-width: 32rem; | ||
} | ||
.header { | ||
font-size: var(--text-small); | ||
} | ||
.controls { | ||
background-color: white; | ||
padding: var(--size-4); | ||
border-radius: 5px; | ||
box-shadow: var(--shadow); | ||
} | ||
</style> |
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